docs.go 443 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "produces": [
  370. "application/json"
  371. ],
  372. "tags": [
  373. "通用服务"
  374. ],
  375. "summary": "获取所有枚举信息",
  376. "responses": {
  377. "200": {
  378. "description": "OK",
  379. "schema": {
  380. "$ref": "#/definitions/models.Enumdicitem"
  381. }
  382. },
  383. "500": {
  384. "description": "Internal Server Error",
  385. "schema": {
  386. "$ref": "#/definitions/app.Response"
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/Common/GetServerTime": {
  393. "get": {
  394. "produces": [
  395. "application/json"
  396. ],
  397. "tags": [
  398. "通用服务"
  399. ],
  400. "summary": "获取服务器时间",
  401. "responses": {
  402. "200": {
  403. "description": "OK",
  404. "schema": {
  405. "$ref": "#/definitions/app.Response"
  406. }
  407. },
  408. "500": {
  409. "description": "Internal Server Error",
  410. "schema": {
  411. "$ref": "#/definitions/app.Response"
  412. }
  413. }
  414. }
  415. }
  416. },
  417. "/Common/NoticeReaded": {
  418. "post": {
  419. "security": [
  420. {
  421. "ApiKeyAuth": []
  422. }
  423. ],
  424. "produces": [
  425. "application/json"
  426. ],
  427. "tags": [
  428. "通用服务"
  429. ],
  430. "summary": "通知公告设置已读请求",
  431. "parameters": [
  432. {
  433. "type": "integer",
  434. "description": "登录账号",
  435. "name": "loginID",
  436. "in": "query",
  437. "required": true
  438. },
  439. {
  440. "type": "integer",
  441. "description": "通知公告ID",
  442. "name": "noticeID",
  443. "in": "query",
  444. "required": true
  445. }
  446. ],
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/app.Response"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/QueryImageConfigs": {
  464. "get": {
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "通用服务"
  470. ],
  471. "summary": "查询轮播图配置信息",
  472. "parameters": [
  473. {
  474. "type": "integer",
  475. "description": "类型 - 1:App首页轮播 2:我的",
  476. "name": "imageType",
  477. "in": "query"
  478. }
  479. ],
  480. "responses": {
  481. "200": {
  482. "description": "OK",
  483. "schema": {
  484. "$ref": "#/definitions/models.Szdz2imageconfig"
  485. }
  486. },
  487. "500": {
  488. "description": "Internal Server Error",
  489. "schema": {
  490. "$ref": "#/definitions/app.Response"
  491. }
  492. }
  493. }
  494. }
  495. },
  496. "/Common/QueryNotice": {
  497. "get": {
  498. "security": [
  499. {
  500. "ApiKeyAuth": []
  501. }
  502. ],
  503. "produces": [
  504. "application/json"
  505. ],
  506. "tags": [
  507. "通用服务"
  508. ],
  509. "summary": "通知公告系统消息查询",
  510. "parameters": [
  511. {
  512. "type": "integer",
  513. "description": "页码",
  514. "name": "page",
  515. "in": "query"
  516. },
  517. {
  518. "type": "integer",
  519. "description": "每页条数",
  520. "name": "pagesize",
  521. "in": "query"
  522. },
  523. {
  524. "type": "integer",
  525. "description": "登录账号",
  526. "name": "loginID",
  527. "in": "query",
  528. "required": true
  529. },
  530. {
  531. "type": "integer",
  532. "description": "消息类型 - 1:公告通知 2:系统消息",
  533. "name": "msgType",
  534. "in": "query"
  535. },
  536. {
  537. "type": "boolean",
  538. "description": "是否只获取未读信息",
  539. "name": "onlyUnRead",
  540. "in": "query"
  541. }
  542. ],
  543. "responses": {
  544. "200": {
  545. "description": "OK",
  546. "schema": {
  547. "$ref": "#/definitions/common.QueryNoticeRsp"
  548. }
  549. },
  550. "500": {
  551. "description": "Internal Server Error",
  552. "schema": {
  553. "$ref": "#/definitions/app.Response"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "/Common/QueryProvincesAndCities": {
  560. "get": {
  561. "produces": [
  562. "application/json"
  563. ],
  564. "tags": [
  565. "通用服务"
  566. ],
  567. "summary": "查询省市信息(不包括区)",
  568. "parameters": [
  569. {
  570. "type": "integer",
  571. "description": "省ID",
  572. "name": "provinceID",
  573. "in": "query"
  574. }
  575. ],
  576. "responses": {
  577. "200": {
  578. "description": "OK",
  579. "schema": {
  580. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  581. }
  582. },
  583. "500": {
  584. "description": "Internal Server Error",
  585. "schema": {
  586. "$ref": "#/definitions/app.Response"
  587. }
  588. }
  589. }
  590. }
  591. },
  592. "/Common/QueryTableDefine": {
  593. "get": {
  594. "produces": [
  595. "application/json"
  596. ],
  597. "tags": [
  598. "通用服务"
  599. ],
  600. "summary": "查询交易端列表头信息",
  601. "parameters": [
  602. {
  603. "type": "string",
  604. "description": "表key",
  605. "name": "tableKey",
  606. "in": "query"
  607. },
  608. {
  609. "type": "integer",
  610. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  611. "name": "tableType",
  612. "in": "query"
  613. }
  614. ],
  615. "responses": {
  616. "200": {
  617. "description": "OK",
  618. "schema": {
  619. "$ref": "#/definitions/common.QueryTableDefineRsp"
  620. }
  621. },
  622. "500": {
  623. "description": "Internal Server Error",
  624. "schema": {
  625. "$ref": "#/definitions/app.Response"
  626. }
  627. }
  628. }
  629. }
  630. },
  631. "/Common/QueryTraderMenu": {
  632. "get": {
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "查询交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginid",
  645. "in": "query",
  646. "required": true
  647. }
  648. ],
  649. "responses": {
  650. "200": {
  651. "description": "OK",
  652. "schema": {
  653. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  654. }
  655. },
  656. "500": {
  657. "description": "Internal Server Error",
  658. "schema": {
  659. "$ref": "#/definitions/app.Response"
  660. }
  661. }
  662. }
  663. }
  664. },
  665. "/Delivery/QueryDeliveryRelation": {
  666. "get": {
  667. "security": [
  668. {
  669. "ApiKeyAuth": []
  670. }
  671. ],
  672. "produces": [
  673. "application/json"
  674. ],
  675. "tags": [
  676. "交割服务"
  677. ],
  678. "summary": "查询商品交割关系表",
  679. "parameters": [
  680. {
  681. "type": "integer",
  682. "description": "商品ID",
  683. "name": "goodsid",
  684. "in": "query"
  685. },
  686. {
  687. "type": "integer",
  688. "description": "品种ID",
  689. "name": "deliverygoodsid",
  690. "in": "query"
  691. },
  692. {
  693. "type": "integer",
  694. "description": "市场ID",
  695. "name": "marketid",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Ermcp/QueryBusinessDj": {
  716. "get": {
  717. "security": [
  718. {
  719. "ApiKeyAuth": []
  720. }
  721. ],
  722. "produces": [
  723. "application/json"
  724. ],
  725. "tags": [
  726. "企业风险管理(app)"
  727. ],
  728. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  729. "responses": {
  730. "200": {
  731. "description": "OK",
  732. "schema": {
  733. "type": "array",
  734. "items": {
  735. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  736. }
  737. }
  738. },
  739. "500": {
  740. "description": "Internal Server Error",
  741. "schema": {
  742. "$ref": "#/definitions/app.Response"
  743. }
  744. }
  745. }
  746. }
  747. },
  748. "/Ermcp/QueryBusinessFp": {
  749. "get": {
  750. "security": [
  751. {
  752. "ApiKeyAuth": []
  753. }
  754. ],
  755. "produces": [
  756. "application/json"
  757. ],
  758. "tags": [
  759. "企业风险管理(app)"
  760. ],
  761. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  762. "responses": {
  763. "200": {
  764. "description": "OK",
  765. "schema": {
  766. "type": "array",
  767. "items": {
  768. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  769. }
  770. }
  771. },
  772. "500": {
  773. "description": "Internal Server Error",
  774. "schema": {
  775. "$ref": "#/definitions/app.Response"
  776. }
  777. }
  778. }
  779. }
  780. },
  781. "/Ermcp/QueryBusinessJs": {
  782. "get": {
  783. "security": [
  784. {
  785. "ApiKeyAuth": []
  786. }
  787. ],
  788. "produces": [
  789. "application/json"
  790. ],
  791. "tags": [
  792. "企业风险管理(app)"
  793. ],
  794. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  795. "responses": {
  796. "200": {
  797. "description": "OK",
  798. "schema": {
  799. "type": "array",
  800. "items": {
  801. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  802. }
  803. }
  804. },
  805. "500": {
  806. "description": "Internal Server Error",
  807. "schema": {
  808. "$ref": "#/definitions/app.Response"
  809. }
  810. }
  811. }
  812. }
  813. },
  814. "/Ermcp/QueryBusinessKx": {
  815. "get": {
  816. "security": [
  817. {
  818. "ApiKeyAuth": []
  819. }
  820. ],
  821. "produces": [
  822. "application/json"
  823. ],
  824. "tags": [
  825. "企业风险管理(app)"
  826. ],
  827. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  828. "responses": {
  829. "200": {
  830. "description": "OK",
  831. "schema": {
  832. "type": "array",
  833. "items": {
  834. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  835. }
  836. }
  837. },
  838. "500": {
  839. "description": "Internal Server Error",
  840. "schema": {
  841. "$ref": "#/definitions/app.Response"
  842. }
  843. }
  844. }
  845. }
  846. },
  847. "/Ermcp/QueryContract": {
  848. "get": {
  849. "security": [
  850. {
  851. "ApiKeyAuth": []
  852. }
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "企业风险管理(app)"
  859. ],
  860. "summary": "查询合同(采购和销售)",
  861. "parameters": [
  862. {
  863. "type": "integer",
  864. "description": "合同类型 1-采购, -1-销售",
  865. "name": "contracttype",
  866. "in": "query",
  867. "required": true
  868. },
  869. {
  870. "type": "integer",
  871. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  872. "name": "QueryType",
  873. "in": "query",
  874. "required": true
  875. }
  876. ],
  877. "responses": {
  878. "200": {
  879. "description": "OK",
  880. "schema": {
  881. "type": "array",
  882. "items": {
  883. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  884. }
  885. }
  886. },
  887. "500": {
  888. "description": "Internal Server Error",
  889. "schema": {
  890. "$ref": "#/definitions/app.Response"
  891. }
  892. }
  893. }
  894. }
  895. },
  896. "/Ermcp/QueryHedgePlan": {
  897. "get": {
  898. "security": [
  899. {
  900. "ApiKeyAuth": []
  901. }
  902. ],
  903. "produces": [
  904. "application/json"
  905. ],
  906. "tags": [
  907. "企业风险管理(app)"
  908. ],
  909. "summary": "查询套保计划",
  910. "parameters": [
  911. {
  912. "type": "integer",
  913. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  914. "name": "HedgePlanStatus",
  915. "in": "query",
  916. "required": true
  917. }
  918. ],
  919. "responses": {
  920. "200": {
  921. "description": "OK",
  922. "schema": {
  923. "type": "array",
  924. "items": {
  925. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  926. }
  927. }
  928. },
  929. "500": {
  930. "description": "Internal Server Error",
  931. "schema": {
  932. "$ref": "#/definitions/app.Response"
  933. }
  934. }
  935. }
  936. }
  937. },
  938. "/Ermcp/QuerySpotContract": {
  939. "get": {
  940. "security": [
  941. {
  942. "ApiKeyAuth": []
  943. }
  944. ],
  945. "produces": [
  946. "application/json"
  947. ],
  948. "tags": [
  949. "企业风险管理(app)"
  950. ],
  951. "summary": "查询现货合同(对应现货合同菜单)",
  952. "parameters": [
  953. {
  954. "type": "integer",
  955. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  956. "name": "QueryType",
  957. "in": "query",
  958. "required": true
  959. }
  960. ],
  961. "responses": {
  962. "200": {
  963. "description": "OK",
  964. "schema": {
  965. "type": "array",
  966. "items": {
  967. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  968. }
  969. }
  970. },
  971. "500": {
  972. "description": "Internal Server Error",
  973. "schema": {
  974. "$ref": "#/definitions/app.Response"
  975. }
  976. }
  977. }
  978. }
  979. },
  980. "/Ermcp/QueryUserInfo": {
  981. "get": {
  982. "security": [
  983. {
  984. "ApiKeyAuth": []
  985. }
  986. ],
  987. "produces": [
  988. "application/json"
  989. ],
  990. "tags": [
  991. "企业风险管理(app)"
  992. ],
  993. "summary": "查询客户资料",
  994. "parameters": [
  995. {
  996. "type": "string",
  997. "description": "账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  998. "name": "AccountStatus",
  999. "in": "query",
  1000. "required": true
  1001. }
  1002. ],
  1003. "responses": {
  1004. "200": {
  1005. "description": "OK",
  1006. "schema": {
  1007. "type": "array",
  1008. "items": {
  1009. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1010. }
  1011. }
  1012. },
  1013. "500": {
  1014. "description": "Internal Server Error",
  1015. "schema": {
  1016. "$ref": "#/definitions/app.Response"
  1017. }
  1018. }
  1019. }
  1020. }
  1021. },
  1022. "/Ermcp/QueryWrStandard": {
  1023. "get": {
  1024. "security": [
  1025. {
  1026. "ApiKeyAuth": []
  1027. }
  1028. ],
  1029. "produces": [
  1030. "application/json"
  1031. ],
  1032. "tags": [
  1033. "企业风险管理(app)"
  1034. ],
  1035. "summary": "查询现货商品",
  1036. "responses": {
  1037. "200": {
  1038. "description": "OK",
  1039. "schema": {
  1040. "type": "array",
  1041. "items": {
  1042. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1043. }
  1044. }
  1045. },
  1046. "500": {
  1047. "description": "Internal Server Error",
  1048. "schema": {
  1049. "$ref": "#/definitions/app.Response"
  1050. }
  1051. }
  1052. }
  1053. }
  1054. },
  1055. "/Erms2/QueryArbitrageStrategy": {
  1056. "get": {
  1057. "security": [
  1058. {
  1059. "ApiKeyAuth": []
  1060. }
  1061. ],
  1062. "produces": [
  1063. "application/json"
  1064. ],
  1065. "tags": [
  1066. "风险管理"
  1067. ],
  1068. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1069. "parameters": [
  1070. {
  1071. "type": "integer",
  1072. "description": "账户ID",
  1073. "name": "userid",
  1074. "in": "query",
  1075. "required": true
  1076. },
  1077. {
  1078. "type": "string",
  1079. "description": "商品组ID(品种ID)",
  1080. "name": "goodsgroupid",
  1081. "in": "query"
  1082. }
  1083. ],
  1084. "responses": {
  1085. "200": {
  1086. "description": "OK",
  1087. "schema": {
  1088. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1089. }
  1090. },
  1091. "500": {
  1092. "description": "Internal Server Error",
  1093. "schema": {
  1094. "$ref": "#/definitions/app.Response"
  1095. }
  1096. }
  1097. }
  1098. }
  1099. },
  1100. "/Erms2/QueryInnerTradeDetail": {
  1101. "get": {
  1102. "security": [
  1103. {
  1104. "ApiKeyAuth": []
  1105. }
  1106. ],
  1107. "produces": [
  1108. "application/json"
  1109. ],
  1110. "tags": [
  1111. "风险管理"
  1112. ],
  1113. "summary": "查询内部成交单信息",
  1114. "parameters": [
  1115. {
  1116. "type": "integer",
  1117. "description": "资金账户",
  1118. "name": "accountid",
  1119. "in": "query",
  1120. "required": true
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1128. }
  1129. },
  1130. "500": {
  1131. "description": "Internal Server Error",
  1132. "schema": {
  1133. "$ref": "#/definitions/app.Response"
  1134. }
  1135. }
  1136. }
  1137. }
  1138. },
  1139. "/Erms2/QuerySpotContract": {
  1140. "get": {
  1141. "security": [
  1142. {
  1143. "ApiKeyAuth": []
  1144. }
  1145. ],
  1146. "produces": [
  1147. "application/json"
  1148. ],
  1149. "tags": [
  1150. "风险管理"
  1151. ],
  1152. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1153. "parameters": [
  1154. {
  1155. "type": "integer",
  1156. "description": "策略申请ID",
  1157. "name": "asapplyid",
  1158. "in": "query",
  1159. "required": true
  1160. },
  1161. {
  1162. "type": "integer",
  1163. "description": "现货合同ID",
  1164. "name": "spotcontractid",
  1165. "in": "query"
  1166. }
  1167. ],
  1168. "responses": {
  1169. "200": {
  1170. "description": "OK",
  1171. "schema": {
  1172. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1173. }
  1174. },
  1175. "500": {
  1176. "description": "Internal Server Error",
  1177. "schema": {
  1178. "$ref": "#/definitions/app.Response"
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "/Erms3/AddErms2ASApply": {
  1185. "post": {
  1186. "security": [
  1187. {
  1188. "ApiKeyAuth": []
  1189. }
  1190. ],
  1191. "produces": [
  1192. "application/json"
  1193. ],
  1194. "tags": [
  1195. "风险管理v3"
  1196. ],
  1197. "summary": "新增期现套利业务申请",
  1198. "parameters": [
  1199. {
  1200. "description": "申请参数",
  1201. "name": "jsonBody",
  1202. "in": "body",
  1203. "required": true,
  1204. "schema": {
  1205. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1206. }
  1207. }
  1208. ],
  1209. "responses": {
  1210. "200": {
  1211. "description": "OK",
  1212. "schema": {
  1213. "$ref": "#/definitions/app.Response"
  1214. }
  1215. },
  1216. "500": {
  1217. "description": "Internal Server Error",
  1218. "schema": {
  1219. "$ref": "#/definitions/app.Response"
  1220. }
  1221. }
  1222. }
  1223. }
  1224. },
  1225. "/Erms3/AddErms2SpotTradeApply": {
  1226. "post": {
  1227. "security": [
  1228. {
  1229. "ApiKeyAuth": []
  1230. }
  1231. ],
  1232. "produces": [
  1233. "application/json"
  1234. ],
  1235. "tags": [
  1236. "风险管理v3"
  1237. ],
  1238. "summary": "新增现货贸易业务申请",
  1239. "parameters": [
  1240. {
  1241. "description": "申请参数",
  1242. "name": "jsonBody",
  1243. "in": "body",
  1244. "required": true,
  1245. "schema": {
  1246. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1247. }
  1248. }
  1249. ],
  1250. "responses": {
  1251. "200": {
  1252. "description": "OK",
  1253. "schema": {
  1254. "$ref": "#/definitions/app.Response"
  1255. }
  1256. },
  1257. "500": {
  1258. "description": "Internal Server Error",
  1259. "schema": {
  1260. "$ref": "#/definitions/app.Response"
  1261. }
  1262. }
  1263. }
  1264. }
  1265. },
  1266. "/Erms3/AddSpotContractApply": {
  1267. "post": {
  1268. "security": [
  1269. {
  1270. "ApiKeyAuth": []
  1271. }
  1272. ],
  1273. "produces": [
  1274. "application/json"
  1275. ],
  1276. "tags": [
  1277. "风险管理v3"
  1278. ],
  1279. "summary": "新增现货合同申请",
  1280. "parameters": [
  1281. {
  1282. "description": "申请参数",
  1283. "name": "jsonBody",
  1284. "in": "body",
  1285. "required": true,
  1286. "schema": {
  1287. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1288. }
  1289. }
  1290. ],
  1291. "responses": {
  1292. "200": {
  1293. "description": "OK",
  1294. "schema": {
  1295. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1296. }
  1297. },
  1298. "500": {
  1299. "description": "Internal Server Error",
  1300. "schema": {
  1301. "$ref": "#/definitions/app.Response"
  1302. }
  1303. }
  1304. }
  1305. }
  1306. },
  1307. "/Erms3/AddUserInfoApply": {
  1308. "post": {
  1309. "security": [
  1310. {
  1311. "ApiKeyAuth": []
  1312. }
  1313. ],
  1314. "produces": [
  1315. "application/json"
  1316. ],
  1317. "tags": [
  1318. "风险管理v3"
  1319. ],
  1320. "summary": "新增客户申请",
  1321. "parameters": [
  1322. {
  1323. "description": "申请参数",
  1324. "name": "jsonBody",
  1325. "in": "body",
  1326. "required": true,
  1327. "schema": {
  1328. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1329. }
  1330. }
  1331. ],
  1332. "responses": {
  1333. "200": {
  1334. "description": "OK",
  1335. "schema": {
  1336. "$ref": "#/definitions/app.Response"
  1337. }
  1338. },
  1339. "500": {
  1340. "description": "Internal Server Error",
  1341. "schema": {
  1342. "$ref": "#/definitions/app.Response"
  1343. }
  1344. }
  1345. }
  1346. }
  1347. },
  1348. "/Erms3/QueryBusinessInfo": {
  1349. "get": {
  1350. "security": [
  1351. {
  1352. "ApiKeyAuth": []
  1353. }
  1354. ],
  1355. "produces": [
  1356. "application/json"
  1357. ],
  1358. "tags": [
  1359. "风险管理v3"
  1360. ],
  1361. "summary": "查询业务表单数据",
  1362. "parameters": [
  1363. {
  1364. "type": "string",
  1365. "description": "资金账号ID列表,用逗号分隔",
  1366. "name": "accountids",
  1367. "in": "query",
  1368. "required": true
  1369. },
  1370. {
  1371. "type": "integer",
  1372. "description": "状态,0为未结束 1为已结束",
  1373. "name": "status",
  1374. "in": "query",
  1375. "required": true
  1376. }
  1377. ],
  1378. "responses": {
  1379. "200": {
  1380. "description": "OK",
  1381. "schema": {
  1382. "type": "array",
  1383. "items": {
  1384. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1385. }
  1386. }
  1387. },
  1388. "500": {
  1389. "description": "Internal Server Error",
  1390. "schema": {
  1391. "$ref": "#/definitions/app.Response"
  1392. }
  1393. }
  1394. }
  1395. }
  1396. },
  1397. "/Erms3/QueryPendingAuditContract": {
  1398. "get": {
  1399. "security": [
  1400. {
  1401. "ApiKeyAuth": []
  1402. }
  1403. ],
  1404. "produces": [
  1405. "application/json"
  1406. ],
  1407. "tags": [
  1408. "风险管理v3"
  1409. ],
  1410. "summary": "查询待审核合同",
  1411. "parameters": [
  1412. {
  1413. "type": "string",
  1414. "description": "资金账号ID列表,逗号隔开",
  1415. "name": "accountids",
  1416. "in": "query",
  1417. "required": true
  1418. },
  1419. {
  1420. "type": "integer",
  1421. "description": "合同类型 1-采购 -1-销售",
  1422. "name": "contracttype",
  1423. "in": "query",
  1424. "required": true
  1425. },
  1426. {
  1427. "type": "integer",
  1428. "description": "合同模式 1-普通 2-回购",
  1429. "name": "contractmode",
  1430. "in": "query",
  1431. "required": true
  1432. }
  1433. ],
  1434. "responses": {
  1435. "200": {
  1436. "description": "OK",
  1437. "schema": {
  1438. "type": "array",
  1439. "items": {
  1440. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1441. }
  1442. }
  1443. },
  1444. "500": {
  1445. "description": "Internal Server Error",
  1446. "schema": {
  1447. "$ref": "#/definitions/app.Response"
  1448. }
  1449. }
  1450. }
  1451. }
  1452. },
  1453. "/Erms3/QueryPendingBusiness": {
  1454. "get": {
  1455. "security": [
  1456. {
  1457. "ApiKeyAuth": []
  1458. }
  1459. ],
  1460. "produces": [
  1461. "application/json"
  1462. ],
  1463. "tags": [
  1464. "风险管理v3"
  1465. ],
  1466. "summary": "查询待审核基差贸易业务",
  1467. "parameters": [
  1468. {
  1469. "type": "string",
  1470. "description": "资金账号ID列表,逗号隔开",
  1471. "name": "accountids",
  1472. "in": "query",
  1473. "required": true
  1474. }
  1475. ],
  1476. "responses": {
  1477. "200": {
  1478. "description": "OK",
  1479. "schema": {
  1480. "type": "array",
  1481. "items": {
  1482. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1483. }
  1484. }
  1485. },
  1486. "500": {
  1487. "description": "Internal Server Error",
  1488. "schema": {
  1489. "$ref": "#/definitions/app.Response"
  1490. }
  1491. }
  1492. }
  1493. }
  1494. },
  1495. "/Erms3/QuerySpotContractAppleForm": {
  1496. "get": {
  1497. "security": [
  1498. {
  1499. "ApiKeyAuth": []
  1500. }
  1501. ],
  1502. "produces": [
  1503. "application/json"
  1504. ],
  1505. "tags": [
  1506. "风险管理v3"
  1507. ],
  1508. "summary": "查询合同申请表单数据",
  1509. "parameters": [
  1510. {
  1511. "type": "integer",
  1512. "description": "登录账号",
  1513. "name": "loginID",
  1514. "in": "query",
  1515. "required": true
  1516. }
  1517. ],
  1518. "responses": {
  1519. "200": {
  1520. "description": "OK",
  1521. "schema": {
  1522. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1523. }
  1524. },
  1525. "500": {
  1526. "description": "Internal Server Error",
  1527. "schema": {
  1528. "$ref": "#/definitions/app.Response"
  1529. }
  1530. }
  1531. }
  1532. }
  1533. },
  1534. "/Erms3/QuerySpotContractDetail": {
  1535. "get": {
  1536. "security": [
  1537. {
  1538. "ApiKeyAuth": []
  1539. }
  1540. ],
  1541. "produces": [
  1542. "application/json"
  1543. ],
  1544. "tags": [
  1545. "风险管理v3"
  1546. ],
  1547. "summary": "查询合同详细信息",
  1548. "parameters": [
  1549. {
  1550. "type": "string",
  1551. "description": "资金账号ID列表,用逗号分隔",
  1552. "name": "accountids",
  1553. "in": "query",
  1554. "required": true
  1555. },
  1556. {
  1557. "type": "integer",
  1558. "description": "合同类型,1为采购合同 -1为销售合同",
  1559. "name": "contracttype",
  1560. "in": "query",
  1561. "required": true
  1562. },
  1563. {
  1564. "type": "integer",
  1565. "description": "合同模式,1为普通合同 2为回购销售合同",
  1566. "name": "contractmode",
  1567. "in": "query",
  1568. "required": true
  1569. },
  1570. {
  1571. "type": "integer",
  1572. "description": "状态,0为履约中 1为已完成",
  1573. "name": "status",
  1574. "in": "query",
  1575. "required": true
  1576. }
  1577. ],
  1578. "responses": {
  1579. "200": {
  1580. "description": "OK",
  1581. "schema": {
  1582. "type": "array",
  1583. "items": {
  1584. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1585. }
  1586. }
  1587. },
  1588. "500": {
  1589. "description": "Internal Server Error",
  1590. "schema": {
  1591. "$ref": "#/definitions/app.Response"
  1592. }
  1593. }
  1594. }
  1595. }
  1596. },
  1597. "/Erms3/QueryUserInfoApplies": {
  1598. "get": {
  1599. "security": [
  1600. {
  1601. "ApiKeyAuth": []
  1602. }
  1603. ],
  1604. "produces": [
  1605. "application/json"
  1606. ],
  1607. "tags": [
  1608. "风险管理v3"
  1609. ],
  1610. "summary": "客户申请信息查询",
  1611. "parameters": [
  1612. {
  1613. "type": "integer",
  1614. "description": "页码",
  1615. "name": "page",
  1616. "in": "query"
  1617. },
  1618. {
  1619. "type": "integer",
  1620. "description": "每页条数",
  1621. "name": "pagesize",
  1622. "in": "query"
  1623. },
  1624. {
  1625. "type": "string",
  1626. "description": "客户名称,支持模糊查询",
  1627. "name": "userName",
  1628. "in": "query"
  1629. }
  1630. ],
  1631. "responses": {
  1632. "200": {
  1633. "description": "OK",
  1634. "schema": {
  1635. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1636. }
  1637. },
  1638. "500": {
  1639. "description": "Internal Server Error",
  1640. "schema": {
  1641. "$ref": "#/definitions/app.Response"
  1642. }
  1643. }
  1644. }
  1645. }
  1646. },
  1647. "/Erms3/QueryUserInfos": {
  1648. "get": {
  1649. "security": [
  1650. {
  1651. "ApiKeyAuth": []
  1652. }
  1653. ],
  1654. "produces": [
  1655. "application/json"
  1656. ],
  1657. "tags": [
  1658. "风险管理v3"
  1659. ],
  1660. "summary": "客户信息查询",
  1661. "parameters": [
  1662. {
  1663. "type": "integer",
  1664. "description": "页码",
  1665. "name": "page",
  1666. "in": "query"
  1667. },
  1668. {
  1669. "type": "integer",
  1670. "description": "每页条数",
  1671. "name": "pagesize",
  1672. "in": "query"
  1673. },
  1674. {
  1675. "type": "string",
  1676. "description": "客户名称,支持模糊查询",
  1677. "name": "userName",
  1678. "in": "query"
  1679. }
  1680. ],
  1681. "responses": {
  1682. "200": {
  1683. "description": "OK",
  1684. "schema": {
  1685. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1686. }
  1687. },
  1688. "500": {
  1689. "description": "Internal Server Error",
  1690. "schema": {
  1691. "$ref": "#/definitions/app.Response"
  1692. }
  1693. }
  1694. }
  1695. }
  1696. },
  1697. "/HSBY/GetHsbyMyCount": {
  1698. "get": {
  1699. "security": [
  1700. {
  1701. "ApiKeyAuth": []
  1702. }
  1703. ],
  1704. "description": "说明: 不包括已完成的数量。",
  1705. "produces": [
  1706. "application/json"
  1707. ],
  1708. "tags": [
  1709. "定制【海商报业】"
  1710. ],
  1711. "summary": "获取我的订单与包裹数量",
  1712. "parameters": [
  1713. {
  1714. "type": "string",
  1715. "description": "资金账户列表,格式:1,2,3",
  1716. "name": "accountIDs",
  1717. "in": "query",
  1718. "required": true
  1719. }
  1720. ],
  1721. "responses": {
  1722. "200": {
  1723. "description": "OK",
  1724. "schema": {
  1725. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1726. }
  1727. },
  1728. "500": {
  1729. "description": "Internal Server Error",
  1730. "schema": {
  1731. "$ref": "#/definitions/app.Response"
  1732. }
  1733. }
  1734. }
  1735. }
  1736. },
  1737. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1738. "get": {
  1739. "security": [
  1740. {
  1741. "ApiKeyAuth": []
  1742. }
  1743. ],
  1744. "produces": [
  1745. "application/json"
  1746. ],
  1747. "tags": [
  1748. "定制【海商报业】"
  1749. ],
  1750. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1751. "parameters": [
  1752. {
  1753. "type": "integer",
  1754. "description": "页码",
  1755. "name": "page",
  1756. "in": "query"
  1757. },
  1758. {
  1759. "type": "integer",
  1760. "description": "每页条数",
  1761. "name": "pagesize",
  1762. "in": "query"
  1763. },
  1764. {
  1765. "type": "string",
  1766. "description": "资金账户列表,格式:1,2,3",
  1767. "name": "accountIDs",
  1768. "in": "query",
  1769. "required": true
  1770. }
  1771. ],
  1772. "responses": {
  1773. "200": {
  1774. "description": "OK",
  1775. "schema": {
  1776. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1777. }
  1778. },
  1779. "500": {
  1780. "description": "Internal Server Error",
  1781. "schema": {
  1782. "$ref": "#/definitions/app.Response"
  1783. }
  1784. }
  1785. }
  1786. }
  1787. },
  1788. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1789. "get": {
  1790. "security": [
  1791. {
  1792. "ApiKeyAuth": []
  1793. }
  1794. ],
  1795. "description": "说明:查询结果已按委托价格和委托时间排序",
  1796. "produces": [
  1797. "application/json"
  1798. ],
  1799. "tags": [
  1800. "定制【海商报业】"
  1801. ],
  1802. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1803. "parameters": [
  1804. {
  1805. "type": "integer",
  1806. "description": "商品ID",
  1807. "name": "goodsID",
  1808. "in": "query",
  1809. "required": true
  1810. },
  1811. {
  1812. "type": "string",
  1813. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1814. "name": "accountIDs",
  1815. "in": "query"
  1816. },
  1817. {
  1818. "type": "integer",
  1819. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1820. "name": "buyOrSell",
  1821. "in": "query"
  1822. },
  1823. {
  1824. "type": "number",
  1825. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1826. "name": "price",
  1827. "in": "query"
  1828. },
  1829. {
  1830. "type": "integer",
  1831. "description": "档位,不传则默认为3档",
  1832. "name": "speed",
  1833. "in": "query"
  1834. }
  1835. ],
  1836. "responses": {
  1837. "200": {
  1838. "description": "OK",
  1839. "schema": {
  1840. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1841. }
  1842. },
  1843. "500": {
  1844. "description": "Internal Server Error",
  1845. "schema": {
  1846. "$ref": "#/definitions/app.Response"
  1847. }
  1848. }
  1849. }
  1850. }
  1851. },
  1852. "/HSBY/QueryHsbyListingGoodsDetail": {
  1853. "get": {
  1854. "security": [
  1855. {
  1856. "ApiKeyAuth": []
  1857. }
  1858. ],
  1859. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  1860. "produces": [
  1861. "application/json"
  1862. ],
  1863. "tags": [
  1864. "定制【海商报业】"
  1865. ],
  1866. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1867. "parameters": [
  1868. {
  1869. "type": "integer",
  1870. "description": "商品ID",
  1871. "name": "goodsID",
  1872. "in": "query",
  1873. "required": true
  1874. },
  1875. {
  1876. "type": "integer",
  1877. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1878. "name": "accountID",
  1879. "in": "query"
  1880. }
  1881. ],
  1882. "responses": {
  1883. "200": {
  1884. "description": "OK",
  1885. "schema": {
  1886. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1887. }
  1888. },
  1889. "500": {
  1890. "description": "Internal Server Error",
  1891. "schema": {
  1892. "$ref": "#/definitions/app.Response"
  1893. }
  1894. }
  1895. }
  1896. }
  1897. },
  1898. "/HSBY/QueryHsbyMarketGoodsDetail": {
  1899. "get": {
  1900. "security": [
  1901. {
  1902. "ApiKeyAuth": []
  1903. }
  1904. ],
  1905. "produces": [
  1906. "application/json"
  1907. ],
  1908. "tags": [
  1909. "定制【海商报业】"
  1910. ],
  1911. "summary": "查询三级市场(商城)商品信息详情",
  1912. "parameters": [
  1913. {
  1914. "type": "integer",
  1915. "description": "委托单号",
  1916. "name": "orderID",
  1917. "in": "query",
  1918. "required": true
  1919. },
  1920. {
  1921. "type": "integer",
  1922. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  1923. "name": "accountID",
  1924. "in": "query"
  1925. }
  1926. ],
  1927. "responses": {
  1928. "200": {
  1929. "description": "OK",
  1930. "schema": {
  1931. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  1932. }
  1933. },
  1934. "500": {
  1935. "description": "Internal Server Error",
  1936. "schema": {
  1937. "$ref": "#/definitions/app.Response"
  1938. }
  1939. }
  1940. }
  1941. }
  1942. },
  1943. "/HSBY/QueryHsbyMarketGoodses": {
  1944. "get": {
  1945. "security": [
  1946. {
  1947. "ApiKeyAuth": []
  1948. }
  1949. ],
  1950. "produces": [
  1951. "application/json"
  1952. ],
  1953. "tags": [
  1954. "定制【海商报业】"
  1955. ],
  1956. "summary": "查询特卖商品列表(三级商城)",
  1957. "parameters": [
  1958. {
  1959. "type": "integer",
  1960. "description": "页码",
  1961. "name": "page",
  1962. "in": "query"
  1963. },
  1964. {
  1965. "type": "integer",
  1966. "description": "每页条数",
  1967. "name": "pagesize",
  1968. "in": "query"
  1969. },
  1970. {
  1971. "type": "string",
  1972. "description": "市场ID列表,格式:1,2,3",
  1973. "name": "marketIDs",
  1974. "in": "query",
  1975. "required": true
  1976. },
  1977. {
  1978. "type": "integer",
  1979. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  1980. "name": "accountID",
  1981. "in": "query"
  1982. },
  1983. {
  1984. "type": "integer",
  1985. "description": "类别ID",
  1986. "name": "categoryID",
  1987. "in": "query"
  1988. },
  1989. {
  1990. "type": "string",
  1991. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  1992. "name": "goodsIDs",
  1993. "in": "query"
  1994. },
  1995. {
  1996. "type": "integer",
  1997. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  1998. "name": "couponTypeID",
  1999. "in": "query"
  2000. }
  2001. ],
  2002. "responses": {
  2003. "200": {
  2004. "description": "OK",
  2005. "schema": {
  2006. "$ref": "#/definitions/models.HsbyMarketGoods"
  2007. }
  2008. },
  2009. "500": {
  2010. "description": "Internal Server Error",
  2011. "schema": {
  2012. "$ref": "#/definitions/app.Response"
  2013. }
  2014. }
  2015. }
  2016. }
  2017. },
  2018. "/HSBY/QueryHsbyMarkets": {
  2019. "get": {
  2020. "security": [
  2021. {
  2022. "ApiKeyAuth": []
  2023. }
  2024. ],
  2025. "produces": [
  2026. "application/json"
  2027. ],
  2028. "tags": [
  2029. "定制【海商报业】"
  2030. ],
  2031. "summary": "查询海商报业相关市场信息",
  2032. "responses": {
  2033. "200": {
  2034. "description": "OK",
  2035. "schema": {
  2036. "$ref": "#/definitions/models.HsbyMarketInfo"
  2037. }
  2038. },
  2039. "500": {
  2040. "description": "Internal Server Error",
  2041. "schema": {
  2042. "$ref": "#/definitions/app.Response"
  2043. }
  2044. }
  2045. }
  2046. }
  2047. },
  2048. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2049. "get": {
  2050. "security": [
  2051. {
  2052. "ApiKeyAuth": []
  2053. }
  2054. ],
  2055. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2056. "produces": [
  2057. "application/json"
  2058. ],
  2059. "tags": [
  2060. "定制【海商报业】"
  2061. ],
  2062. "summary": "查询“我的订单”信息",
  2063. "parameters": [
  2064. {
  2065. "type": "string",
  2066. "description": "资金账户列表,格式:1,2,3",
  2067. "name": "accountIDs",
  2068. "in": "query",
  2069. "required": true
  2070. },
  2071. {
  2072. "type": "integer",
  2073. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2074. "name": "myBuyStatus",
  2075. "in": "query"
  2076. }
  2077. ],
  2078. "responses": {
  2079. "200": {
  2080. "description": "OK",
  2081. "schema": {
  2082. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2083. }
  2084. },
  2085. "500": {
  2086. "description": "Internal Server Error",
  2087. "schema": {
  2088. "$ref": "#/definitions/app.Response"
  2089. }
  2090. }
  2091. }
  2092. }
  2093. },
  2094. "/HSBY/QueryHsbyMyGoods": {
  2095. "get": {
  2096. "security": [
  2097. {
  2098. "ApiKeyAuth": []
  2099. }
  2100. ],
  2101. "produces": [
  2102. "application/json"
  2103. ],
  2104. "tags": [
  2105. "定制【海商报业】"
  2106. ],
  2107. "summary": "查询“我的商品”信息",
  2108. "parameters": [
  2109. {
  2110. "type": "string",
  2111. "description": "资金账户列表,格式:1,2,3",
  2112. "name": "accountIDs",
  2113. "in": "query",
  2114. "required": true
  2115. }
  2116. ],
  2117. "responses": {
  2118. "200": {
  2119. "description": "OK",
  2120. "schema": {
  2121. "$ref": "#/definitions/models.HsbyMyGoods"
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/HSBY/QueryHsbyMyPackages": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "定制【海商报业】"
  2145. ],
  2146. "summary": "查询我的包裹信息",
  2147. "parameters": [
  2148. {
  2149. "type": "string",
  2150. "description": "资金账户列表,格式:1,2,3",
  2151. "name": "accountIDs",
  2152. "in": "query",
  2153. "required": true
  2154. },
  2155. {
  2156. "type": "integer",
  2157. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2158. "name": "takeOrderStatus",
  2159. "in": "query"
  2160. }
  2161. ],
  2162. "responses": {
  2163. "200": {
  2164. "description": "OK",
  2165. "schema": {
  2166. "$ref": "#/definitions/models.HsbyMyPackage"
  2167. }
  2168. },
  2169. "500": {
  2170. "description": "Internal Server Error",
  2171. "schema": {
  2172. "$ref": "#/definitions/app.Response"
  2173. }
  2174. }
  2175. }
  2176. }
  2177. },
  2178. "/HSBY/QueryHsbyPreGoodsDetail": {
  2179. "get": {
  2180. "security": [
  2181. {
  2182. "ApiKeyAuth": []
  2183. }
  2184. ],
  2185. "produces": [
  2186. "application/json"
  2187. ],
  2188. "tags": [
  2189. "定制【海商报业】"
  2190. ],
  2191. "summary": "查询一级市场(预售)商品信息详情",
  2192. "parameters": [
  2193. {
  2194. "type": "integer",
  2195. "description": "商品ID",
  2196. "name": "goodsID",
  2197. "in": "query",
  2198. "required": true
  2199. },
  2200. {
  2201. "type": "integer",
  2202. "description": "资金账户,主要用于获取预售商品购买上限",
  2203. "name": "accountID",
  2204. "in": "query"
  2205. }
  2206. ],
  2207. "responses": {
  2208. "200": {
  2209. "description": "OK",
  2210. "schema": {
  2211. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2212. }
  2213. },
  2214. "500": {
  2215. "description": "Internal Server Error",
  2216. "schema": {
  2217. "$ref": "#/definitions/app.Response"
  2218. }
  2219. }
  2220. }
  2221. }
  2222. },
  2223. "/HSBY/QueryHsbyPreGoodses": {
  2224. "get": {
  2225. "security": [
  2226. {
  2227. "ApiKeyAuth": []
  2228. }
  2229. ],
  2230. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2231. "produces": [
  2232. "application/json"
  2233. ],
  2234. "tags": [
  2235. "定制【海商报业】"
  2236. ],
  2237. "summary": "查询新品上市商品列表(一级市场预售)",
  2238. "parameters": [
  2239. {
  2240. "type": "integer",
  2241. "description": "页码",
  2242. "name": "page",
  2243. "in": "query"
  2244. },
  2245. {
  2246. "type": "integer",
  2247. "description": "每页条数",
  2248. "name": "pagesize",
  2249. "in": "query"
  2250. },
  2251. {
  2252. "type": "string",
  2253. "description": "市场ID列表,格式:1,2,3",
  2254. "name": "marketIDs",
  2255. "in": "query",
  2256. "required": true
  2257. },
  2258. {
  2259. "type": "integer",
  2260. "description": "目的地(省)ID",
  2261. "name": "descProvinceID",
  2262. "in": "query"
  2263. },
  2264. {
  2265. "type": "integer",
  2266. "description": "目的地(市)ID",
  2267. "name": "descCityID",
  2268. "in": "query"
  2269. }
  2270. ],
  2271. "responses": {
  2272. "200": {
  2273. "description": "OK",
  2274. "schema": {
  2275. "$ref": "#/definitions/models.HsbyPreGoods"
  2276. }
  2277. },
  2278. "500": {
  2279. "description": "Internal Server Error",
  2280. "schema": {
  2281. "$ref": "#/definitions/app.Response"
  2282. }
  2283. }
  2284. }
  2285. }
  2286. },
  2287. "/HSBY/QueryHsbySellMyDetails": {
  2288. "get": {
  2289. "security": [
  2290. {
  2291. "ApiKeyAuth": []
  2292. }
  2293. ],
  2294. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2295. "produces": [
  2296. "application/json"
  2297. ],
  2298. "tags": [
  2299. "定制【海商报业】"
  2300. ],
  2301. "summary": "查询\"我的闲置\"单据信息",
  2302. "parameters": [
  2303. {
  2304. "type": "integer",
  2305. "description": "页码",
  2306. "name": "page",
  2307. "in": "query"
  2308. },
  2309. {
  2310. "type": "integer",
  2311. "description": "每页条数",
  2312. "name": "pagesize",
  2313. "in": "query"
  2314. },
  2315. {
  2316. "type": "string",
  2317. "description": "资金账户列表,格式:1,2,3",
  2318. "name": "accountIDs",
  2319. "in": "query",
  2320. "required": true
  2321. },
  2322. {
  2323. "type": "integer",
  2324. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2325. "name": "orderType",
  2326. "in": "query"
  2327. }
  2328. ],
  2329. "responses": {
  2330. "200": {
  2331. "description": "OK",
  2332. "schema": {
  2333. "$ref": "#/definitions/models.HsbySellMyDetail"
  2334. }
  2335. },
  2336. "500": {
  2337. "description": "Internal Server Error",
  2338. "schema": {
  2339. "$ref": "#/definitions/app.Response"
  2340. }
  2341. }
  2342. }
  2343. }
  2344. },
  2345. "/HSBY/QueryHsbyTopGoodses": {
  2346. "get": {
  2347. "security": [
  2348. {
  2349. "ApiKeyAuth": []
  2350. }
  2351. ],
  2352. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2353. "produces": [
  2354. "application/json"
  2355. ],
  2356. "tags": [
  2357. "定制【海商报业】"
  2358. ],
  2359. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2360. "parameters": [
  2361. {
  2362. "type": "integer",
  2363. "description": "页码",
  2364. "name": "page",
  2365. "in": "query"
  2366. },
  2367. {
  2368. "type": "integer",
  2369. "description": "每页条数",
  2370. "name": "pagesize",
  2371. "in": "query"
  2372. },
  2373. {
  2374. "type": "string",
  2375. "description": "市场ID列表,格式:1,2,3",
  2376. "name": "marketIDs",
  2377. "in": "query",
  2378. "required": true
  2379. },
  2380. {
  2381. "type": "integer",
  2382. "description": "目的地(省)ID",
  2383. "name": "descProvinceID",
  2384. "in": "query"
  2385. },
  2386. {
  2387. "type": "integer",
  2388. "description": "目的地(市)ID",
  2389. "name": "descCityID",
  2390. "in": "query"
  2391. }
  2392. ],
  2393. "responses": {
  2394. "200": {
  2395. "description": "OK",
  2396. "schema": {
  2397. "$ref": "#/definitions/models.HsbyTopGoods"
  2398. }
  2399. },
  2400. "500": {
  2401. "description": "Internal Server Error",
  2402. "schema": {
  2403. "$ref": "#/definitions/app.Response"
  2404. }
  2405. }
  2406. }
  2407. }
  2408. },
  2409. "/HSBY/QueryMyCollectionOrders": {
  2410. "get": {
  2411. "security": [
  2412. {
  2413. "ApiKeyAuth": []
  2414. }
  2415. ],
  2416. "produces": [
  2417. "application/json"
  2418. ],
  2419. "tags": [
  2420. "定制【海商报业】"
  2421. ],
  2422. "summary": "我的闲置中收款信息查询",
  2423. "parameters": [
  2424. {
  2425. "type": "integer",
  2426. "description": "页码",
  2427. "name": "page",
  2428. "in": "query"
  2429. },
  2430. {
  2431. "type": "integer",
  2432. "description": "每页条数",
  2433. "name": "pagesize",
  2434. "in": "query"
  2435. },
  2436. {
  2437. "type": "string",
  2438. "description": "资金账户,格式:1,2,3",
  2439. "name": "accountIDs",
  2440. "in": "query",
  2441. "required": true
  2442. }
  2443. ],
  2444. "responses": {
  2445. "200": {
  2446. "description": "OK",
  2447. "schema": {
  2448. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2449. }
  2450. },
  2451. "500": {
  2452. "description": "Internal Server Error",
  2453. "schema": {
  2454. "$ref": "#/definitions/app.Response"
  2455. }
  2456. }
  2457. }
  2458. }
  2459. },
  2460. "/HSBY/QueryMyCouponHolds": {
  2461. "get": {
  2462. "security": [
  2463. {
  2464. "ApiKeyAuth": []
  2465. }
  2466. ],
  2467. "produces": [
  2468. "application/json"
  2469. ],
  2470. "tags": [
  2471. "定制【海商报业】"
  2472. ],
  2473. "summary": "我的优惠卷持仓查询",
  2474. "parameters": [
  2475. {
  2476. "type": "string",
  2477. "description": "资金账户列表,格式:1,2,3",
  2478. "name": "accountIDs",
  2479. "in": "query",
  2480. "required": true
  2481. },
  2482. {
  2483. "type": "string",
  2484. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2485. "name": "holdStatus",
  2486. "in": "query"
  2487. }
  2488. ],
  2489. "responses": {
  2490. "200": {
  2491. "description": "OK",
  2492. "schema": {
  2493. "$ref": "#/definitions/models.MyCouponHold"
  2494. }
  2495. },
  2496. "500": {
  2497. "description": "Internal Server Error",
  2498. "schema": {
  2499. "$ref": "#/definitions/app.Response"
  2500. }
  2501. }
  2502. }
  2503. }
  2504. },
  2505. "/HSBY/QueryMyCoupons": {
  2506. "get": {
  2507. "security": [
  2508. {
  2509. "ApiKeyAuth": []
  2510. }
  2511. ],
  2512. "produces": [
  2513. "application/json"
  2514. ],
  2515. "tags": [
  2516. "定制【海商报业】"
  2517. ],
  2518. "summary": "我的优惠卷查询",
  2519. "parameters": [
  2520. {
  2521. "type": "string",
  2522. "description": "资金账户列表,格式:1,2,3",
  2523. "name": "accountIDs",
  2524. "in": "query",
  2525. "required": true
  2526. },
  2527. {
  2528. "type": "integer",
  2529. "description": "商品ID, 一般与sellUserID配套传入",
  2530. "name": "goodsID",
  2531. "in": "query"
  2532. },
  2533. {
  2534. "type": "integer",
  2535. "description": "卖方UserID",
  2536. "name": "sellUserID",
  2537. "in": "query"
  2538. }
  2539. ],
  2540. "responses": {
  2541. "200": {
  2542. "description": "OK",
  2543. "schema": {
  2544. "$ref": "#/definitions/models.MyCoupon"
  2545. }
  2546. },
  2547. "500": {
  2548. "description": "Internal Server Error",
  2549. "schema": {
  2550. "$ref": "#/definitions/app.Response"
  2551. }
  2552. }
  2553. }
  2554. }
  2555. },
  2556. "/HSBY/QueryMyPayOrders": {
  2557. "get": {
  2558. "security": [
  2559. {
  2560. "ApiKeyAuth": []
  2561. }
  2562. ],
  2563. "produces": [
  2564. "application/json"
  2565. ],
  2566. "tags": [
  2567. "定制【海商报业】"
  2568. ],
  2569. "summary": "获取我的订单中待付款信息",
  2570. "parameters": [
  2571. {
  2572. "type": "integer",
  2573. "description": "页码",
  2574. "name": "page",
  2575. "in": "query"
  2576. },
  2577. {
  2578. "type": "integer",
  2579. "description": "每页条数",
  2580. "name": "pagesize",
  2581. "in": "query"
  2582. },
  2583. {
  2584. "type": "string",
  2585. "description": "资金账户列表,格式:1,2,3",
  2586. "name": "accountIDs",
  2587. "in": "query",
  2588. "required": true
  2589. },
  2590. {
  2591. "type": "integer",
  2592. "description": "买方委托单号",
  2593. "name": "buyOrderID",
  2594. "in": "query"
  2595. },
  2596. {
  2597. "type": "integer",
  2598. "description": "卖方委托单号",
  2599. "name": "sellOrderID",
  2600. "in": "query"
  2601. }
  2602. ],
  2603. "responses": {
  2604. "200": {
  2605. "description": "OK",
  2606. "schema": {
  2607. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2608. }
  2609. },
  2610. "500": {
  2611. "description": "Internal Server Error",
  2612. "schema": {
  2613. "$ref": "#/definitions/app.Response"
  2614. }
  2615. }
  2616. }
  2617. }
  2618. },
  2619. "/HSBY/QueryMyUsedCoupon": {
  2620. "get": {
  2621. "security": [
  2622. {
  2623. "ApiKeyAuth": []
  2624. }
  2625. ],
  2626. "produces": [
  2627. "application/json"
  2628. ],
  2629. "tags": [
  2630. "定制【海商报业】"
  2631. ],
  2632. "summary": "已使用优惠卷查询",
  2633. "parameters": [
  2634. {
  2635. "type": "string",
  2636. "description": "资金账户列表,格式:1,2,3",
  2637. "name": "accountIDs",
  2638. "in": "query",
  2639. "required": true
  2640. }
  2641. ],
  2642. "responses": {
  2643. "200": {
  2644. "description": "OK",
  2645. "schema": {
  2646. "$ref": "#/definitions/models.MyUsedCoupon"
  2647. }
  2648. },
  2649. "500": {
  2650. "description": "Internal Server Error",
  2651. "schema": {
  2652. "$ref": "#/definitions/app.Response"
  2653. }
  2654. }
  2655. }
  2656. }
  2657. },
  2658. "/HSBY/QueryProvincesAndCities": {
  2659. "get": {
  2660. "security": [
  2661. {
  2662. "ApiKeyAuth": []
  2663. }
  2664. ],
  2665. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2666. "produces": [
  2667. "application/json"
  2668. ],
  2669. "tags": [
  2670. "定制【海商报业】"
  2671. ],
  2672. "summary": "查询省市信息(不包括区)",
  2673. "parameters": [
  2674. {
  2675. "type": "integer",
  2676. "description": "省ID",
  2677. "name": "provinceID",
  2678. "in": "query"
  2679. }
  2680. ],
  2681. "responses": {
  2682. "200": {
  2683. "description": "OK",
  2684. "schema": {
  2685. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2686. }
  2687. },
  2688. "500": {
  2689. "description": "Internal Server Error",
  2690. "schema": {
  2691. "$ref": "#/definitions/app.Response"
  2692. }
  2693. }
  2694. }
  2695. }
  2696. },
  2697. "/HSBY/SetHsbyMyPackagesStatus": {
  2698. "post": {
  2699. "security": [
  2700. {
  2701. "ApiKeyAuth": []
  2702. }
  2703. ],
  2704. "produces": [
  2705. "application/json"
  2706. ],
  2707. "tags": [
  2708. "定制【海商报业】"
  2709. ],
  2710. "summary": "设置我的包裹已收货状态",
  2711. "parameters": [
  2712. {
  2713. "type": "string",
  2714. "description": "提货单号",
  2715. "name": "takeOrderID",
  2716. "in": "query",
  2717. "required": true
  2718. },
  2719. {
  2720. "type": "integer",
  2721. "description": "资金账号",
  2722. "name": "accountID",
  2723. "in": "query",
  2724. "required": true
  2725. }
  2726. ],
  2727. "responses": {
  2728. "200": {
  2729. "description": "OK",
  2730. "schema": {
  2731. "$ref": "#/definitions/app.Response"
  2732. }
  2733. },
  2734. "500": {
  2735. "description": "Internal Server Error",
  2736. "schema": {
  2737. "$ref": "#/definitions/app.Response"
  2738. }
  2739. }
  2740. }
  2741. }
  2742. },
  2743. "/Market/QueryMarketRun": {
  2744. "get": {
  2745. "security": [
  2746. {
  2747. "ApiKeyAuth": []
  2748. }
  2749. ],
  2750. "produces": [
  2751. "application/json"
  2752. ],
  2753. "tags": [
  2754. "通用市场"
  2755. ],
  2756. "summary": "查询市场运行信息",
  2757. "parameters": [
  2758. {
  2759. "type": "integer",
  2760. "description": "市场ID,不传返回所有",
  2761. "name": "marketID",
  2762. "in": "query"
  2763. }
  2764. ],
  2765. "responses": {
  2766. "200": {
  2767. "description": "OK",
  2768. "schema": {
  2769. "$ref": "#/definitions/models.Marketrun"
  2770. }
  2771. },
  2772. "500": {
  2773. "description": "Internal Server Error",
  2774. "schema": {
  2775. "$ref": "#/definitions/app.Response"
  2776. }
  2777. }
  2778. }
  2779. }
  2780. },
  2781. "/Order/QueryHisTradeDetail": {
  2782. "get": {
  2783. "security": [
  2784. {
  2785. "ApiKeyAuth": []
  2786. }
  2787. ],
  2788. "produces": [
  2789. "application/json"
  2790. ],
  2791. "tags": [
  2792. "通用单据"
  2793. ],
  2794. "summary": "历史成交单查询(合约市场)",
  2795. "parameters": [
  2796. {
  2797. "type": "string",
  2798. "description": "资金账户 - 格式:1,2,3",
  2799. "name": "accountID",
  2800. "in": "query",
  2801. "required": true
  2802. },
  2803. {
  2804. "type": "integer",
  2805. "description": "成交单号",
  2806. "name": "tradeID",
  2807. "in": "query"
  2808. },
  2809. {
  2810. "type": "integer",
  2811. "description": "委托单号",
  2812. "name": "orderID",
  2813. "in": "query"
  2814. },
  2815. {
  2816. "type": "string",
  2817. "description": "交易模式 - 格式:1,2,3",
  2818. "name": "tradeMode",
  2819. "in": "query"
  2820. },
  2821. {
  2822. "type": "integer",
  2823. "description": "委托单据类型",
  2824. "name": "buildType",
  2825. "in": "query"
  2826. },
  2827. {
  2828. "type": "string",
  2829. "description": "成交类别 - 格式:1,2,3",
  2830. "name": "tradeType",
  2831. "in": "query"
  2832. },
  2833. {
  2834. "type": "string",
  2835. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2836. "name": "startDate",
  2837. "in": "query"
  2838. },
  2839. {
  2840. "type": "string",
  2841. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2842. "name": "endDate",
  2843. "in": "query"
  2844. }
  2845. ],
  2846. "responses": {
  2847. "200": {
  2848. "description": "OK",
  2849. "schema": {
  2850. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2851. }
  2852. },
  2853. "500": {
  2854. "description": "Internal Server Error",
  2855. "schema": {
  2856. "$ref": "#/definitions/app.Response"
  2857. }
  2858. }
  2859. }
  2860. }
  2861. },
  2862. "/Order/QueryHisTradeOrderDetail": {
  2863. "get": {
  2864. "security": [
  2865. {
  2866. "ApiKeyAuth": []
  2867. }
  2868. ],
  2869. "produces": [
  2870. "application/json"
  2871. ],
  2872. "tags": [
  2873. "通用单据"
  2874. ],
  2875. "summary": "历史委托单查询请求(合约市场)",
  2876. "parameters": [
  2877. {
  2878. "type": "string",
  2879. "description": "资金账户 - 格式:1,2,3",
  2880. "name": "accountID",
  2881. "in": "query",
  2882. "required": true
  2883. },
  2884. {
  2885. "type": "string",
  2886. "description": "交易模式 - 格式:1,2,3",
  2887. "name": "tradeMode",
  2888. "in": "query"
  2889. },
  2890. {
  2891. "type": "string",
  2892. "description": "委托状态 - 格式:1,2,3",
  2893. "name": "orderStatus",
  2894. "in": "query"
  2895. },
  2896. {
  2897. "type": "integer",
  2898. "description": "委托单号",
  2899. "name": "orderID",
  2900. "in": "query"
  2901. },
  2902. {
  2903. "type": "string",
  2904. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2905. "name": "startDate",
  2906. "in": "query"
  2907. },
  2908. {
  2909. "type": "string",
  2910. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2911. "name": "endDate",
  2912. "in": "query"
  2913. }
  2914. ],
  2915. "responses": {
  2916. "200": {
  2917. "description": "OK",
  2918. "schema": {
  2919. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2920. }
  2921. },
  2922. "500": {
  2923. "description": "Internal Server Error",
  2924. "schema": {
  2925. "$ref": "#/definitions/app.Response"
  2926. }
  2927. }
  2928. }
  2929. }
  2930. },
  2931. "/Order/QueryTradeDetail": {
  2932. "get": {
  2933. "security": [
  2934. {
  2935. "ApiKeyAuth": []
  2936. }
  2937. ],
  2938. "produces": [
  2939. "application/json"
  2940. ],
  2941. "tags": [
  2942. "通用单据"
  2943. ],
  2944. "summary": "成交单查询(合约市场)",
  2945. "parameters": [
  2946. {
  2947. "type": "string",
  2948. "description": "资金账户 - 格式:1,2,3",
  2949. "name": "accountID",
  2950. "in": "query",
  2951. "required": true
  2952. },
  2953. {
  2954. "type": "integer",
  2955. "description": "成交单号",
  2956. "name": "tradeID",
  2957. "in": "query"
  2958. },
  2959. {
  2960. "type": "integer",
  2961. "description": "委托单号",
  2962. "name": "orderID",
  2963. "in": "query"
  2964. },
  2965. {
  2966. "type": "string",
  2967. "description": "交易模式 - 格式:1,2,3",
  2968. "name": "tradeMode",
  2969. "in": "query"
  2970. },
  2971. {
  2972. "type": "integer",
  2973. "description": "委托单据类型",
  2974. "name": "buildType",
  2975. "in": "query"
  2976. },
  2977. {
  2978. "type": "string",
  2979. "description": "成交类别 - 格式:1,2,3",
  2980. "name": "tradeType",
  2981. "in": "query"
  2982. }
  2983. ],
  2984. "responses": {
  2985. "200": {
  2986. "description": "OK",
  2987. "schema": {
  2988. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2989. }
  2990. },
  2991. "500": {
  2992. "description": "Internal Server Error",
  2993. "schema": {
  2994. "$ref": "#/definitions/app.Response"
  2995. }
  2996. }
  2997. }
  2998. }
  2999. },
  3000. "/Order/QueryTradeOrderDetail": {
  3001. "get": {
  3002. "security": [
  3003. {
  3004. "ApiKeyAuth": []
  3005. }
  3006. ],
  3007. "produces": [
  3008. "application/json"
  3009. ],
  3010. "tags": [
  3011. "通用单据"
  3012. ],
  3013. "summary": "委托单查询请求(合约市场)",
  3014. "parameters": [
  3015. {
  3016. "type": "string",
  3017. "description": "资金账户 - 格式:1,2,3",
  3018. "name": "accountID",
  3019. "in": "query",
  3020. "required": true
  3021. },
  3022. {
  3023. "type": "string",
  3024. "description": "交易模式 - 格式:1,2,3",
  3025. "name": "tradeMode",
  3026. "in": "query"
  3027. },
  3028. {
  3029. "type": "string",
  3030. "description": "委托状态 - 格式:1,2,3",
  3031. "name": "orderStatus",
  3032. "in": "query"
  3033. },
  3034. {
  3035. "type": "integer",
  3036. "description": "委托单号",
  3037. "name": "orderID",
  3038. "in": "query"
  3039. }
  3040. ],
  3041. "responses": {
  3042. "200": {
  3043. "description": "OK",
  3044. "schema": {
  3045. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3046. }
  3047. },
  3048. "500": {
  3049. "description": "Internal Server Error",
  3050. "schema": {
  3051. "$ref": "#/definitions/app.Response"
  3052. }
  3053. }
  3054. }
  3055. }
  3056. },
  3057. "/Order/QueryTradePosition": {
  3058. "get": {
  3059. "security": [
  3060. {
  3061. "ApiKeyAuth": []
  3062. }
  3063. ],
  3064. "produces": [
  3065. "application/json"
  3066. ],
  3067. "tags": [
  3068. "通用单据"
  3069. ],
  3070. "summary": "持仓汇总查询(合约市场)",
  3071. "parameters": [
  3072. {
  3073. "type": "string",
  3074. "description": "资金账户 - 格式:1,2,3",
  3075. "name": "accountID",
  3076. "in": "query",
  3077. "required": true
  3078. },
  3079. {
  3080. "type": "string",
  3081. "description": "交易模式 - 格式:1,2,3",
  3082. "name": "tradeMode",
  3083. "in": "query"
  3084. }
  3085. ],
  3086. "responses": {
  3087. "200": {
  3088. "description": "OK",
  3089. "schema": {
  3090. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3091. }
  3092. },
  3093. "500": {
  3094. "description": "Internal Server Error",
  3095. "schema": {
  3096. "$ref": "#/definitions/app.Response"
  3097. }
  3098. }
  3099. }
  3100. }
  3101. },
  3102. "/Quote/QueryHistoryDatas": {
  3103. "get": {
  3104. "security": [
  3105. {
  3106. "ApiKeyAuth": []
  3107. }
  3108. ],
  3109. "produces": [
  3110. "application/json"
  3111. ],
  3112. "tags": [
  3113. "行情服务"
  3114. ],
  3115. "summary": "查询行情历史数据",
  3116. "parameters": [
  3117. {
  3118. "type": "integer",
  3119. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3120. "name": "cycleType",
  3121. "in": "query",
  3122. "required": true
  3123. },
  3124. {
  3125. "type": "string",
  3126. "description": "商品代码",
  3127. "name": "goodsCode",
  3128. "in": "query",
  3129. "required": true
  3130. },
  3131. {
  3132. "type": "string",
  3133. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3134. "name": "startTime",
  3135. "in": "query"
  3136. },
  3137. {
  3138. "type": "string",
  3139. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3140. "name": "endTime",
  3141. "in": "query"
  3142. },
  3143. {
  3144. "type": "integer",
  3145. "description": "条数",
  3146. "name": "count",
  3147. "in": "query"
  3148. },
  3149. {
  3150. "type": "boolean",
  3151. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3152. "name": "isAsc",
  3153. "in": "query"
  3154. }
  3155. ],
  3156. "responses": {
  3157. "200": {
  3158. "description": "OK",
  3159. "schema": {
  3160. "$ref": "#/definitions/quote.HistoryData"
  3161. }
  3162. },
  3163. "500": {
  3164. "description": "Internal Server Error",
  3165. "schema": {
  3166. "$ref": "#/definitions/app.Response"
  3167. }
  3168. }
  3169. }
  3170. }
  3171. },
  3172. "/Quote/QueryTSData": {
  3173. "get": {
  3174. "produces": [
  3175. "application/json"
  3176. ],
  3177. "tags": [
  3178. "行情服务"
  3179. ],
  3180. "summary": "分时图数据查询",
  3181. "parameters": [
  3182. {
  3183. "type": "string",
  3184. "description": "商品代码",
  3185. "name": "GoodsCode",
  3186. "in": "query",
  3187. "required": true
  3188. }
  3189. ],
  3190. "responses": {
  3191. "200": {
  3192. "description": "OK",
  3193. "schema": {
  3194. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3195. }
  3196. },
  3197. "500": {
  3198. "description": "Internal Server Error",
  3199. "schema": {
  3200. "$ref": "#/definitions/app.Response"
  3201. }
  3202. }
  3203. }
  3204. }
  3205. },
  3206. "/SZDZ/QueryConvertConfig": {
  3207. "get": {
  3208. "security": [
  3209. {
  3210. "ApiKeyAuth": []
  3211. }
  3212. ],
  3213. "produces": [
  3214. "application/json"
  3215. ],
  3216. "tags": [
  3217. "定制【尚志大宗】"
  3218. ],
  3219. "summary": "查询交易系统转换设置",
  3220. "parameters": [
  3221. {
  3222. "type": "integer",
  3223. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3224. "name": "convertType",
  3225. "in": "query"
  3226. },
  3227. {
  3228. "type": "string",
  3229. "description": "外部商品代码[JD\\PD]",
  3230. "name": "outerGoodsCode",
  3231. "in": "query"
  3232. },
  3233. {
  3234. "type": "string",
  3235. "description": "内部商品ID列表[交易],格式:1,2,3",
  3236. "name": "innerGoodsIDs",
  3237. "in": "query"
  3238. }
  3239. ],
  3240. "responses": {
  3241. "200": {
  3242. "description": "OK",
  3243. "schema": {
  3244. "$ref": "#/definitions/models.Szdz3convertconfig"
  3245. }
  3246. },
  3247. "500": {
  3248. "description": "Internal Server Error",
  3249. "schema": {
  3250. "$ref": "#/definitions/app.Response"
  3251. }
  3252. }
  3253. }
  3254. }
  3255. },
  3256. "/SZDZ/QueryConvertLog": {
  3257. "get": {
  3258. "security": [
  3259. {
  3260. "ApiKeyAuth": []
  3261. }
  3262. ],
  3263. "produces": [
  3264. "application/json"
  3265. ],
  3266. "tags": [
  3267. "定制【尚志大宗】"
  3268. ],
  3269. "summary": "交易系统转换流水查询",
  3270. "parameters": [
  3271. {
  3272. "type": "string",
  3273. "description": "资金账户 - 格式:1,2,3",
  3274. "name": "accountID",
  3275. "in": "query",
  3276. "required": true
  3277. },
  3278. {
  3279. "type": "string",
  3280. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3281. "name": "startDate",
  3282. "in": "query"
  3283. },
  3284. {
  3285. "type": "string",
  3286. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3287. "name": "endDate",
  3288. "in": "query"
  3289. }
  3290. ],
  3291. "responses": {
  3292. "200": {
  3293. "description": "OK",
  3294. "schema": {
  3295. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3296. }
  3297. },
  3298. "500": {
  3299. "description": "Internal Server Error",
  3300. "schema": {
  3301. "$ref": "#/definitions/app.Response"
  3302. }
  3303. }
  3304. }
  3305. }
  3306. },
  3307. "/SZDZ/QueryGoodsPickup": {
  3308. "get": {
  3309. "security": [
  3310. {
  3311. "ApiKeyAuth": []
  3312. }
  3313. ],
  3314. "produces": [
  3315. "application/json"
  3316. ],
  3317. "tags": [
  3318. "定制【尚志大宗】"
  3319. ],
  3320. "summary": "商品提货单查询",
  3321. "parameters": [
  3322. {
  3323. "type": "string",
  3324. "description": "资金账户 - 格式:1,2,3",
  3325. "name": "accountID",
  3326. "in": "query",
  3327. "required": true
  3328. },
  3329. {
  3330. "type": "integer",
  3331. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3332. "name": "takeOrderStatus",
  3333. "in": "query"
  3334. }
  3335. ],
  3336. "responses": {
  3337. "200": {
  3338. "description": "OK",
  3339. "schema": {
  3340. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3341. }
  3342. },
  3343. "500": {
  3344. "description": "Internal Server Error",
  3345. "schema": {
  3346. "$ref": "#/definitions/app.Response"
  3347. }
  3348. }
  3349. }
  3350. }
  3351. },
  3352. "/SZDZ/QueryRecieptOrder": {
  3353. "get": {
  3354. "security": [
  3355. {
  3356. "ApiKeyAuth": []
  3357. }
  3358. ],
  3359. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3360. "produces": [
  3361. "application/json"
  3362. ],
  3363. "tags": [
  3364. "定制【尚志大宗】"
  3365. ],
  3366. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3367. "parameters": [
  3368. {
  3369. "type": "integer",
  3370. "description": "页码",
  3371. "name": "page",
  3372. "in": "query"
  3373. },
  3374. {
  3375. "type": "integer",
  3376. "description": "每页条数",
  3377. "name": "pagesize",
  3378. "in": "query"
  3379. },
  3380. {
  3381. "type": "integer",
  3382. "description": "商品ID",
  3383. "name": "goodsID",
  3384. "in": "query",
  3385. "required": true
  3386. },
  3387. {
  3388. "type": "string",
  3389. "description": "所属账户名称",
  3390. "name": "accountName",
  3391. "in": "query"
  3392. },
  3393. {
  3394. "type": "integer",
  3395. "description": "市场ID",
  3396. "name": "marketID",
  3397. "in": "query"
  3398. },
  3399. {
  3400. "type": "integer",
  3401. "description": "方向 - 0:买 1:卖",
  3402. "name": "buyorsell",
  3403. "in": "query",
  3404. "required": true
  3405. }
  3406. ],
  3407. "responses": {
  3408. "200": {
  3409. "description": "OK",
  3410. "schema": {
  3411. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3412. }
  3413. },
  3414. "500": {
  3415. "description": "Internal Server Error",
  3416. "schema": {
  3417. "$ref": "#/definitions/app.Response"
  3418. }
  3419. }
  3420. }
  3421. }
  3422. },
  3423. "/SZDZ/QuerySZDZTradePosition": {
  3424. "get": {
  3425. "security": [
  3426. {
  3427. "ApiKeyAuth": []
  3428. }
  3429. ],
  3430. "produces": [
  3431. "application/json"
  3432. ],
  3433. "tags": [
  3434. "定制【尚志大宗】"
  3435. ],
  3436. "summary": "持仓汇总查询(尚志大宗)",
  3437. "parameters": [
  3438. {
  3439. "type": "integer",
  3440. "description": "资金账户",
  3441. "name": "accountID",
  3442. "in": "query",
  3443. "required": true
  3444. }
  3445. ],
  3446. "responses": {
  3447. "200": {
  3448. "description": "OK",
  3449. "schema": {
  3450. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3451. }
  3452. },
  3453. "500": {
  3454. "description": "Internal Server Error",
  3455. "schema": {
  3456. "$ref": "#/definitions/app.Response"
  3457. }
  3458. }
  3459. }
  3460. }
  3461. },
  3462. "/SZDZ/SearchWhite": {
  3463. "get": {
  3464. "security": [
  3465. {
  3466. "ApiKeyAuth": []
  3467. }
  3468. ],
  3469. "produces": [
  3470. "application/json"
  3471. ],
  3472. "tags": [
  3473. "定制【尚志大宗】"
  3474. ],
  3475. "summary": "搜索白名单",
  3476. "parameters": [
  3477. {
  3478. "type": "integer",
  3479. "description": "用户ID",
  3480. "name": "userID",
  3481. "in": "query",
  3482. "required": true
  3483. }
  3484. ],
  3485. "responses": {
  3486. "200": {
  3487. "description": "OK",
  3488. "schema": {
  3489. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3490. }
  3491. },
  3492. "500": {
  3493. "description": "Internal Server Error",
  3494. "schema": {
  3495. "$ref": "#/definitions/app.Response"
  3496. }
  3497. }
  3498. }
  3499. }
  3500. },
  3501. "/Search/SearchGoodses": {
  3502. "get": {
  3503. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3504. "produces": [
  3505. "application/json"
  3506. ],
  3507. "tags": [
  3508. "检索服务"
  3509. ],
  3510. "summary": "检索商品信息",
  3511. "parameters": [
  3512. {
  3513. "type": "string",
  3514. "description": "检索内容",
  3515. "name": "content",
  3516. "in": "query",
  3517. "required": true
  3518. },
  3519. {
  3520. "type": "string",
  3521. "description": "交易模式,格式:1,2,3",
  3522. "name": "tradeModes",
  3523. "in": "query"
  3524. }
  3525. ],
  3526. "responses": {
  3527. "200": {
  3528. "description": "OK",
  3529. "schema": {
  3530. "$ref": "#/definitions/models.SearchGoods"
  3531. }
  3532. },
  3533. "500": {
  3534. "description": "Internal Server Error",
  3535. "schema": {
  3536. "$ref": "#/definitions/app.Response"
  3537. }
  3538. }
  3539. }
  3540. }
  3541. },
  3542. "/TaAccount/QueryAmountLog": {
  3543. "get": {
  3544. "security": [
  3545. {
  3546. "ApiKeyAuth": []
  3547. }
  3548. ],
  3549. "produces": [
  3550. "application/json"
  3551. ],
  3552. "tags": [
  3553. "资金账户"
  3554. ],
  3555. "summary": "资金流水查询(当前)",
  3556. "parameters": [
  3557. {
  3558. "type": "integer",
  3559. "description": "页码",
  3560. "name": "page",
  3561. "in": "query"
  3562. },
  3563. {
  3564. "type": "integer",
  3565. "description": "每页条数",
  3566. "name": "pagesize",
  3567. "in": "query"
  3568. },
  3569. {
  3570. "type": "string",
  3571. "description": "资金账户 - 格式:1,2,3",
  3572. "name": "accountID",
  3573. "in": "query",
  3574. "required": true
  3575. },
  3576. {
  3577. "type": "string",
  3578. "description": "资金操作类型 - 格式:1,2,3",
  3579. "name": "OperateType",
  3580. "in": "query"
  3581. }
  3582. ],
  3583. "responses": {
  3584. "200": {
  3585. "description": "OK",
  3586. "schema": {
  3587. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3588. }
  3589. },
  3590. "500": {
  3591. "description": "Internal Server Error",
  3592. "schema": {
  3593. "$ref": "#/definitions/app.Response"
  3594. }
  3595. }
  3596. }
  3597. }
  3598. },
  3599. "/TaAccount/QueryHisAmountLog": {
  3600. "get": {
  3601. "security": [
  3602. {
  3603. "ApiKeyAuth": []
  3604. }
  3605. ],
  3606. "produces": [
  3607. "application/json"
  3608. ],
  3609. "tags": [
  3610. "资金账户"
  3611. ],
  3612. "summary": "资金流水查询(历史)",
  3613. "parameters": [
  3614. {
  3615. "type": "integer",
  3616. "description": "页码",
  3617. "name": "page",
  3618. "in": "query"
  3619. },
  3620. {
  3621. "type": "integer",
  3622. "description": "每页条数",
  3623. "name": "pagesize",
  3624. "in": "query"
  3625. },
  3626. {
  3627. "type": "string",
  3628. "description": "资金账户 - 格式:1,2,3",
  3629. "name": "accountID",
  3630. "in": "query",
  3631. "required": true
  3632. },
  3633. {
  3634. "type": "string",
  3635. "description": "资金操作类型 - 格式:1,2,3",
  3636. "name": "OperateType",
  3637. "in": "query"
  3638. },
  3639. {
  3640. "type": "string",
  3641. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3642. "name": "startDate",
  3643. "in": "query"
  3644. },
  3645. {
  3646. "type": "string",
  3647. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3648. "name": "endDate",
  3649. "in": "query"
  3650. }
  3651. ],
  3652. "responses": {
  3653. "200": {
  3654. "description": "OK",
  3655. "schema": {
  3656. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3657. }
  3658. },
  3659. "500": {
  3660. "description": "Internal Server Error",
  3661. "schema": {
  3662. "$ref": "#/definitions/app.Response"
  3663. }
  3664. }
  3665. }
  3666. }
  3667. },
  3668. "/Trade/QueryRecieptOrder": {
  3669. "get": {
  3670. "security": [
  3671. {
  3672. "ApiKeyAuth": []
  3673. }
  3674. ],
  3675. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3676. "produces": [
  3677. "application/json"
  3678. ],
  3679. "tags": [
  3680. "通用交易"
  3681. ],
  3682. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3683. "parameters": [
  3684. {
  3685. "type": "integer",
  3686. "description": "页码",
  3687. "name": "page",
  3688. "in": "query"
  3689. },
  3690. {
  3691. "type": "integer",
  3692. "description": "每页条数",
  3693. "name": "pagesize",
  3694. "in": "query"
  3695. },
  3696. {
  3697. "type": "integer",
  3698. "description": "商品ID",
  3699. "name": "goodsID",
  3700. "in": "query",
  3701. "required": true
  3702. },
  3703. {
  3704. "type": "string",
  3705. "description": "所属账户名称",
  3706. "name": "accountName",
  3707. "in": "query"
  3708. },
  3709. {
  3710. "type": "integer",
  3711. "description": "市场ID",
  3712. "name": "marketID",
  3713. "in": "query"
  3714. },
  3715. {
  3716. "type": "integer",
  3717. "description": "方向 - 0:买 1:卖",
  3718. "name": "buyorsell",
  3719. "in": "query",
  3720. "required": true
  3721. }
  3722. ],
  3723. "responses": {
  3724. "200": {
  3725. "description": "OK",
  3726. "schema": {
  3727. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3728. }
  3729. },
  3730. "500": {
  3731. "description": "Internal Server Error",
  3732. "schema": {
  3733. "$ref": "#/definitions/app.Response"
  3734. }
  3735. }
  3736. }
  3737. }
  3738. },
  3739. "/User/AddMessageBoard": {
  3740. "post": {
  3741. "security": [
  3742. {
  3743. "ApiKeyAuth": []
  3744. }
  3745. ],
  3746. "produces": [
  3747. "application/json"
  3748. ],
  3749. "tags": [
  3750. "用户信息"
  3751. ],
  3752. "summary": "添加用户留言板信息",
  3753. "parameters": [
  3754. {
  3755. "type": "integer",
  3756. "description": "用户ID",
  3757. "name": "userID",
  3758. "in": "query",
  3759. "required": true
  3760. },
  3761. {
  3762. "type": "string",
  3763. "description": "留言信息",
  3764. "name": "message",
  3765. "in": "query",
  3766. "required": true
  3767. }
  3768. ],
  3769. "responses": {
  3770. "200": {
  3771. "description": "OK",
  3772. "schema": {
  3773. "$ref": "#/definitions/app.Response"
  3774. }
  3775. },
  3776. "500": {
  3777. "description": "Internal Server Error",
  3778. "schema": {
  3779. "$ref": "#/definitions/app.Response"
  3780. }
  3781. }
  3782. }
  3783. }
  3784. },
  3785. "/User/AddUserFavoriteGoods": {
  3786. "post": {
  3787. "security": [
  3788. {
  3789. "ApiKeyAuth": []
  3790. }
  3791. ],
  3792. "produces": [
  3793. "application/json"
  3794. ],
  3795. "tags": [
  3796. "用户信息"
  3797. ],
  3798. "summary": "添加用户商品收藏信息",
  3799. "parameters": [
  3800. {
  3801. "type": "integer",
  3802. "description": "用户ID",
  3803. "name": "userID",
  3804. "in": "query",
  3805. "required": true
  3806. },
  3807. {
  3808. "type": "integer",
  3809. "description": "商品ID",
  3810. "name": "goodsID",
  3811. "in": "query",
  3812. "required": true
  3813. }
  3814. ],
  3815. "responses": {
  3816. "200": {
  3817. "description": "OK",
  3818. "schema": {
  3819. "$ref": "#/definitions/app.Response"
  3820. }
  3821. },
  3822. "500": {
  3823. "description": "Internal Server Error",
  3824. "schema": {
  3825. "$ref": "#/definitions/app.Response"
  3826. }
  3827. }
  3828. }
  3829. }
  3830. },
  3831. "/User/GetLoginID": {
  3832. "get": {
  3833. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3834. "produces": [
  3835. "application/json"
  3836. ],
  3837. "tags": [
  3838. "用户信息"
  3839. ],
  3840. "summary": "获取登录ID",
  3841. "parameters": [
  3842. {
  3843. "type": "string",
  3844. "description": "登录代码",
  3845. "name": "username",
  3846. "in": "query",
  3847. "required": true
  3848. }
  3849. ],
  3850. "responses": {
  3851. "200": {
  3852. "description": "OK",
  3853. "schema": {
  3854. "$ref": "#/definitions/app.Response"
  3855. }
  3856. },
  3857. "500": {
  3858. "description": "Internal Server Error",
  3859. "schema": {
  3860. "$ref": "#/definitions/app.Response"
  3861. }
  3862. }
  3863. }
  3864. }
  3865. },
  3866. "/User/GetUserAccount": {
  3867. "get": {
  3868. "security": [
  3869. {
  3870. "ApiKeyAuth": []
  3871. }
  3872. ],
  3873. "produces": [
  3874. "application/json"
  3875. ],
  3876. "tags": [
  3877. "用户信息"
  3878. ],
  3879. "summary": "获取用户账号信息",
  3880. "parameters": [
  3881. {
  3882. "type": "integer",
  3883. "description": "用户ID",
  3884. "name": "userID",
  3885. "in": "query",
  3886. "required": true
  3887. }
  3888. ],
  3889. "responses": {
  3890. "200": {
  3891. "description": "OK",
  3892. "schema": {
  3893. "$ref": "#/definitions/models.Useraccount"
  3894. }
  3895. },
  3896. "500": {
  3897. "description": "Internal Server Error",
  3898. "schema": {
  3899. "$ref": "#/definitions/app.Response"
  3900. }
  3901. }
  3902. }
  3903. }
  3904. },
  3905. "/User/GetUserAuthStatus": {
  3906. "get": {
  3907. "security": [
  3908. {
  3909. "ApiKeyAuth": []
  3910. }
  3911. ],
  3912. "produces": [
  3913. "application/json"
  3914. ],
  3915. "tags": [
  3916. "用户信息"
  3917. ],
  3918. "summary": "获取用户实名认证状态",
  3919. "parameters": [
  3920. {
  3921. "type": "integer",
  3922. "description": "用户ID",
  3923. "name": "userID",
  3924. "in": "query",
  3925. "required": true
  3926. }
  3927. ],
  3928. "responses": {
  3929. "200": {
  3930. "description": "OK",
  3931. "schema": {
  3932. "$ref": "#/definitions/app.Response"
  3933. }
  3934. },
  3935. "500": {
  3936. "description": "Internal Server Error",
  3937. "schema": {
  3938. "$ref": "#/definitions/app.Response"
  3939. }
  3940. }
  3941. }
  3942. }
  3943. },
  3944. "/User/QueryMessageBoard": {
  3945. "get": {
  3946. "security": [
  3947. {
  3948. "ApiKeyAuth": []
  3949. }
  3950. ],
  3951. "produces": [
  3952. "application/json"
  3953. ],
  3954. "tags": [
  3955. "用户信息"
  3956. ],
  3957. "summary": "获取用户留言板信息",
  3958. "parameters": [
  3959. {
  3960. "type": "integer",
  3961. "description": "用户ID",
  3962. "name": "userID",
  3963. "in": "query",
  3964. "required": true
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "$ref": "#/definitions/models.Messageboard"
  3972. }
  3973. },
  3974. "500": {
  3975. "description": "Internal Server Error",
  3976. "schema": {
  3977. "$ref": "#/definitions/app.Response"
  3978. }
  3979. }
  3980. }
  3981. }
  3982. },
  3983. "/User/QueryUserFavoriteGoodses": {
  3984. "get": {
  3985. "security": [
  3986. {
  3987. "ApiKeyAuth": []
  3988. }
  3989. ],
  3990. "produces": [
  3991. "application/json"
  3992. ],
  3993. "tags": [
  3994. "用户信息"
  3995. ],
  3996. "summary": "获取用户商品收藏信息",
  3997. "parameters": [
  3998. {
  3999. "type": "integer",
  4000. "description": "用户ID",
  4001. "name": "userID",
  4002. "in": "query",
  4003. "required": true
  4004. }
  4005. ],
  4006. "responses": {
  4007. "200": {
  4008. "description": "OK",
  4009. "schema": {
  4010. "$ref": "#/definitions/models.Userfavoritegoods"
  4011. }
  4012. },
  4013. "500": {
  4014. "description": "Internal Server Error",
  4015. "schema": {
  4016. "$ref": "#/definitions/app.Response"
  4017. }
  4018. }
  4019. }
  4020. }
  4021. },
  4022. "/User/QueryUserInfo": {
  4023. "get": {
  4024. "security": [
  4025. {
  4026. "ApiKeyAuth": []
  4027. }
  4028. ],
  4029. "produces": [
  4030. "application/json"
  4031. ],
  4032. "tags": [
  4033. "用户信息"
  4034. ],
  4035. "summary": "获取用户信息",
  4036. "parameters": [
  4037. {
  4038. "type": "integer",
  4039. "description": "用户ID",
  4040. "name": "userID",
  4041. "in": "query",
  4042. "required": true
  4043. }
  4044. ],
  4045. "responses": {
  4046. "200": {
  4047. "description": "OK",
  4048. "schema": {
  4049. "$ref": "#/definitions/models.Userinfo"
  4050. }
  4051. },
  4052. "500": {
  4053. "description": "Internal Server Error",
  4054. "schema": {
  4055. "$ref": "#/definitions/app.Response"
  4056. }
  4057. }
  4058. }
  4059. }
  4060. },
  4061. "/User/QueryUserReferNum": {
  4062. "get": {
  4063. "produces": [
  4064. "application/json"
  4065. ],
  4066. "tags": [
  4067. "用户信息"
  4068. ],
  4069. "summary": "获取用户邀请码",
  4070. "parameters": [
  4071. {
  4072. "type": "integer",
  4073. "description": "用户ID",
  4074. "name": "userID",
  4075. "in": "query",
  4076. "required": true
  4077. }
  4078. ],
  4079. "responses": {
  4080. "200": {
  4081. "description": "OK",
  4082. "schema": {
  4083. "$ref": "#/definitions/app.Response"
  4084. }
  4085. },
  4086. "500": {
  4087. "description": "Internal Server Error",
  4088. "schema": {
  4089. "$ref": "#/definitions/app.Response"
  4090. }
  4091. }
  4092. }
  4093. }
  4094. },
  4095. "/User/RemoveUserFavoriteGoods": {
  4096. "post": {
  4097. "security": [
  4098. {
  4099. "ApiKeyAuth": []
  4100. }
  4101. ],
  4102. "produces": [
  4103. "application/json"
  4104. ],
  4105. "tags": [
  4106. "用户信息"
  4107. ],
  4108. "summary": "移除用户商品收藏信息",
  4109. "parameters": [
  4110. {
  4111. "type": "integer",
  4112. "description": "用户ID",
  4113. "name": "userID",
  4114. "in": "query",
  4115. "required": true
  4116. },
  4117. {
  4118. "type": "integer",
  4119. "description": "商品ID",
  4120. "name": "goodsID",
  4121. "in": "query",
  4122. "required": true
  4123. }
  4124. ],
  4125. "responses": {
  4126. "200": {
  4127. "description": "OK",
  4128. "schema": {
  4129. "$ref": "#/definitions/app.Response"
  4130. }
  4131. },
  4132. "500": {
  4133. "description": "Internal Server Error",
  4134. "schema": {
  4135. "$ref": "#/definitions/app.Response"
  4136. }
  4137. }
  4138. }
  4139. }
  4140. },
  4141. "/WR/GetWRCategoryInfo": {
  4142. "get": {
  4143. "produces": [
  4144. "application/json"
  4145. ],
  4146. "tags": [
  4147. "仓单服务"
  4148. ],
  4149. "summary": "获取现货分类信息",
  4150. "responses": {
  4151. "200": {
  4152. "description": "OK",
  4153. "schema": {
  4154. "$ref": "#/definitions/models.WRCategoryTree"
  4155. }
  4156. },
  4157. "500": {
  4158. "description": "Internal Server Error",
  4159. "schema": {
  4160. "$ref": "#/definitions/app.Response"
  4161. }
  4162. }
  4163. }
  4164. }
  4165. },
  4166. "/WRTrade/GetAllDeliveryGoods": {
  4167. "get": {
  4168. "security": [
  4169. {
  4170. "ApiKeyAuth": []
  4171. },
  4172. {
  4173. "ApiKeyAuth": []
  4174. }
  4175. ],
  4176. "produces": [
  4177. "application/json",
  4178. "application/json"
  4179. ],
  4180. "tags": [
  4181. "仓单贸易",
  4182. "仓单贸易"
  4183. ],
  4184. "summary": "获取带仓单分类的种类信息",
  4185. "responses": {
  4186. "200": {
  4187. "description": "OK",
  4188. "schema": {
  4189. "$ref": "#/definitions/app.Response"
  4190. }
  4191. },
  4192. "500": {
  4193. "description": "Internal Server Error",
  4194. "schema": {
  4195. "$ref": "#/definitions/app.Response"
  4196. }
  4197. }
  4198. }
  4199. }
  4200. }
  4201. },
  4202. "definitions": {
  4203. "app.Response": {
  4204. "type": "object",
  4205. "properties": {
  4206. "code": {
  4207. "type": "integer"
  4208. },
  4209. "data": {
  4210. "type": "object"
  4211. },
  4212. "msg": {
  4213. "type": "string"
  4214. },
  4215. "page": {
  4216. "description": "页码",
  4217. "type": "integer"
  4218. },
  4219. "pagesize": {
  4220. "description": "每页条数",
  4221. "type": "integer"
  4222. },
  4223. "total": {
  4224. "description": "总条数",
  4225. "type": "integer"
  4226. }
  4227. }
  4228. },
  4229. "common.QueryNoticeRsp": {
  4230. "type": "object",
  4231. "required": [
  4232. "autoid"
  4233. ],
  4234. "properties": {
  4235. "auditoruserid": {
  4236. "description": "审核人",
  4237. "type": "integer"
  4238. },
  4239. "auditremark": {
  4240. "description": "审核备注",
  4241. "type": "string"
  4242. },
  4243. "audittime": {
  4244. "description": "审核日期",
  4245. "type": "string"
  4246. },
  4247. "autoid": {
  4248. "description": "自增ID",
  4249. "type": "integer"
  4250. },
  4251. "content": {
  4252. "description": "内容",
  4253. "type": "string"
  4254. },
  4255. "createtime": {
  4256. "description": "创建时间",
  4257. "type": "string"
  4258. },
  4259. "creatorid": {
  4260. "description": "建仓人",
  4261. "type": "integer"
  4262. },
  4263. "endtime": {
  4264. "description": "结束时间",
  4265. "type": "string"
  4266. },
  4267. "istop": {
  4268. "description": "是否置顶 - 0:不置顶 1:置顶",
  4269. "type": "integer"
  4270. },
  4271. "msgiconurl": {
  4272. "description": "消息图标Url",
  4273. "type": "string"
  4274. },
  4275. "msgtype": {
  4276. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4277. "type": "integer"
  4278. },
  4279. "publisher": {
  4280. "description": "消息发布者",
  4281. "type": "string"
  4282. },
  4283. "readed": {
  4284. "description": "是否已读",
  4285. "type": "boolean"
  4286. },
  4287. "scheduletime": {
  4288. "description": "计划发送时间",
  4289. "type": "string"
  4290. },
  4291. "sendtype": {
  4292. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4293. "type": "integer"
  4294. },
  4295. "sentstatus": {
  4296. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4297. "type": "integer"
  4298. },
  4299. "title": {
  4300. "description": "标题",
  4301. "type": "string"
  4302. },
  4303. "userid": {
  4304. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4305. "type": "integer"
  4306. }
  4307. }
  4308. },
  4309. "common.QueryProvincesAndCitiesRsp": {
  4310. "type": "object",
  4311. "properties": {
  4312. "cities": {
  4313. "description": "市",
  4314. "type": "array",
  4315. "items": {
  4316. "$ref": "#/definitions/models.Division"
  4317. }
  4318. },
  4319. "province": {
  4320. "description": "省",
  4321. "$ref": "#/definitions/models.Division"
  4322. }
  4323. }
  4324. },
  4325. "common.QueryTableDefineRsp": {
  4326. "type": "object",
  4327. "required": [
  4328. "tablekey"
  4329. ],
  4330. "properties": {
  4331. "columns": {
  4332. "description": "列头信息数组",
  4333. "type": "array",
  4334. "items": {
  4335. "$ref": "#/definitions/models.Tablecolumnconfig"
  4336. }
  4337. },
  4338. "remark": {
  4339. "description": "Remark",
  4340. "type": "string"
  4341. },
  4342. "tabelmenu": {
  4343. "description": "列表菜单",
  4344. "type": "string"
  4345. },
  4346. "tablekey": {
  4347. "description": "列表Key",
  4348. "type": "string"
  4349. },
  4350. "tablename": {
  4351. "description": "列表名称",
  4352. "type": "string"
  4353. },
  4354. "tabletype": {
  4355. "description": "列表类型 - 1:管理端 2:终端",
  4356. "type": "integer"
  4357. }
  4358. }
  4359. },
  4360. "common.QueryTraderMenuRsp": {
  4361. "type": "object",
  4362. "properties": {
  4363. "OperationMenu": {
  4364. "description": "功能菜单",
  4365. "type": "array",
  4366. "items": {
  4367. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4368. }
  4369. },
  4370. "QuoteMenu": {
  4371. "description": "报价牌分类菜单",
  4372. "type": "array",
  4373. "items": {
  4374. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4375. }
  4376. }
  4377. }
  4378. },
  4379. "cptrade.Cptradepositioncancel": {
  4380. "type": "object",
  4381. "required": [
  4382. "cancelid"
  4383. ],
  4384. "properties": {
  4385. "accountid": {
  4386. "description": "申请人账户ID",
  4387. "type": "integer"
  4388. },
  4389. "applystatus": {
  4390. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4391. "type": "integer"
  4392. },
  4393. "applytime": {
  4394. "description": "申请时间",
  4395. "type": "string"
  4396. },
  4397. "cancelid": {
  4398. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4399. "type": "integer"
  4400. },
  4401. "cancelqty": {
  4402. "description": "注销数量",
  4403. "type": "integer"
  4404. },
  4405. "createtime": {
  4406. "description": "创建时间",
  4407. "type": "string"
  4408. },
  4409. "creatorid": {
  4410. "description": "创建人ID",
  4411. "type": "integer"
  4412. },
  4413. "creatorname": {
  4414. "description": "创建人",
  4415. "type": "string"
  4416. },
  4417. "goodscode": {
  4418. "description": "订单商品代码",
  4419. "type": "string"
  4420. },
  4421. "goodsid": {
  4422. "description": "商品ID",
  4423. "type": "integer"
  4424. },
  4425. "goodsname": {
  4426. "description": "订单商品名称",
  4427. "type": "string"
  4428. },
  4429. "goodunit": {
  4430. "description": "报价单位",
  4431. "type": "string"
  4432. },
  4433. "handlestatus": {
  4434. "description": "处理状态",
  4435. "type": "integer"
  4436. },
  4437. "marketid": {
  4438. "description": "市场ID",
  4439. "type": "integer"
  4440. },
  4441. "marketname": {
  4442. "description": "市场名称",
  4443. "type": "string"
  4444. },
  4445. "tradedate": {
  4446. "description": "交易日(yyyyMMdd)",
  4447. "type": "string"
  4448. },
  4449. "userid": {
  4450. "description": "申请人ID",
  4451. "type": "integer"
  4452. }
  4453. }
  4454. },
  4455. "cptrade.Cptradepresaleapply": {
  4456. "type": "object",
  4457. "required": [
  4458. "applyid"
  4459. ],
  4460. "properties": {
  4461. "accountid": {
  4462. "description": "申请人账户ID",
  4463. "type": "integer"
  4464. },
  4465. "applyid": {
  4466. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4467. "type": "integer"
  4468. },
  4469. "applyremark": {
  4470. "description": "申请备注",
  4471. "type": "string"
  4472. },
  4473. "applystatus": {
  4474. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4475. "type": "integer"
  4476. },
  4477. "applytime": {
  4478. "description": "申请时间",
  4479. "type": "string"
  4480. },
  4481. "attachmenturl": {
  4482. "description": "附件地址",
  4483. "type": "string"
  4484. },
  4485. "endtime": {
  4486. "description": "预售结束时间",
  4487. "type": "string"
  4488. },
  4489. "goodscode": {
  4490. "description": "商品代码",
  4491. "type": "string"
  4492. },
  4493. "goodsid": {
  4494. "description": "商品ID",
  4495. "type": "integer"
  4496. },
  4497. "goodsname": {
  4498. "description": "商品名称",
  4499. "type": "string"
  4500. },
  4501. "goodunit": {
  4502. "description": "报价单位",
  4503. "type": "string"
  4504. },
  4505. "handlestatus": {
  4506. "description": "处理状态",
  4507. "type": "integer"
  4508. },
  4509. "marketid": {
  4510. "description": "预售市场ID",
  4511. "type": "integer"
  4512. },
  4513. "marketname": {
  4514. "description": "预售市场名称",
  4515. "type": "string"
  4516. },
  4517. "presaleqty": {
  4518. "description": "预售数量",
  4519. "type": "integer"
  4520. },
  4521. "relatedgoodscode": {
  4522. "description": "关联交易合约代码",
  4523. "type": "string"
  4524. },
  4525. "relatedgoodsid": {
  4526. "description": "关联交易合约ID",
  4527. "type": "integer"
  4528. },
  4529. "relatedgoodsname": {
  4530. "description": "关联交易合约名称",
  4531. "type": "string"
  4532. },
  4533. "starttime": {
  4534. "description": "预售开始时间",
  4535. "type": "string"
  4536. },
  4537. "tradedate": {
  4538. "description": "交易日(yyyyMMdd)",
  4539. "type": "string"
  4540. },
  4541. "trademode": {
  4542. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4543. "type": "integer"
  4544. },
  4545. "userid": {
  4546. "description": "申请人ID",
  4547. "type": "integer"
  4548. }
  4549. }
  4550. },
  4551. "cptrade.Cptradeusergoodsdata": {
  4552. "type": "object",
  4553. "required": [
  4554. "accountid",
  4555. "goodsid"
  4556. ],
  4557. "properties": {
  4558. "EnabledQty": {
  4559. "description": "可用量",
  4560. "type": "integer"
  4561. },
  4562. "GoodsCode": {
  4563. "description": "订单商品代码",
  4564. "type": "string"
  4565. },
  4566. "GoodsName": {
  4567. "description": "订单商品名称",
  4568. "type": "string"
  4569. },
  4570. "WRStandardCode": {
  4571. "description": "仓单标准代码",
  4572. "type": "string"
  4573. },
  4574. "WRStandardName": {
  4575. "description": "仓单标准名称",
  4576. "type": "string"
  4577. },
  4578. "accountid": {
  4579. "description": "账户ID",
  4580. "type": "integer"
  4581. },
  4582. "cancelqty": {
  4583. "description": "注销量",
  4584. "type": "integer"
  4585. },
  4586. "curpresaleqty": {
  4587. "description": "当前预售量",
  4588. "type": "integer"
  4589. },
  4590. "deliveryqty": {
  4591. "description": "交割量",
  4592. "type": "integer"
  4593. },
  4594. "freezeamount": {
  4595. "description": "冻结金额",
  4596. "type": "number"
  4597. },
  4598. "goodsid": {
  4599. "description": "商品ID",
  4600. "type": "integer"
  4601. },
  4602. "goodunit": {
  4603. "description": "报价单位",
  4604. "type": "string"
  4605. },
  4606. "hasspotfreeze": {
  4607. "description": "是否有现货冻结 - 0:否 1:有",
  4608. "type": "integer"
  4609. },
  4610. "inqty": {
  4611. "description": "转入量(总数量)",
  4612. "type": "integer"
  4613. },
  4614. "marketid": {
  4615. "description": "市场ID",
  4616. "type": "integer"
  4617. },
  4618. "presaledamount": {
  4619. "description": "已预售总金额",
  4620. "type": "integer"
  4621. },
  4622. "presaledqty": {
  4623. "description": "已预售量",
  4624. "type": "integer"
  4625. },
  4626. "userid": {
  4627. "description": "用户ID",
  4628. "type": "integer"
  4629. },
  4630. "wrstandardid": {
  4631. "description": "仓单标准ID",
  4632. "type": "integer"
  4633. }
  4634. }
  4635. },
  4636. "cptrade.QueryCPTradeMyBidRsp": {
  4637. "type": "object",
  4638. "required": [
  4639. "accountid",
  4640. "goodsid",
  4641. "marketid",
  4642. "orderid",
  4643. "orderqty",
  4644. "ordertime",
  4645. "tradeprice",
  4646. "tradeqty"
  4647. ],
  4648. "properties": {
  4649. "accountid": {
  4650. "description": "账户ID[报价币种]",
  4651. "type": "integer"
  4652. },
  4653. "goodsid": {
  4654. "description": "商品ID",
  4655. "type": "integer"
  4656. },
  4657. "goodunit": {
  4658. "description": "报价单位",
  4659. "type": "string"
  4660. },
  4661. "marketid": {
  4662. "description": "市场ID",
  4663. "type": "integer"
  4664. },
  4665. "orderid": {
  4666. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4667. "type": "integer"
  4668. },
  4669. "orderprice": {
  4670. "description": "委托价格",
  4671. "type": "number"
  4672. },
  4673. "orderqty": {
  4674. "description": "委托数量",
  4675. "type": "integer"
  4676. },
  4677. "ordertime": {
  4678. "description": "委托时间",
  4679. "type": "string"
  4680. },
  4681. "ordertotalprice": {
  4682. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4683. "type": "number"
  4684. },
  4685. "ordertotalweight": {
  4686. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4687. "type": "integer"
  4688. },
  4689. "totaltotalprice": {
  4690. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4691. "type": "number"
  4692. },
  4693. "tradeprice": {
  4694. "description": "成交价格",
  4695. "type": "number"
  4696. },
  4697. "tradeqty": {
  4698. "description": "成交数量",
  4699. "type": "integer"
  4700. }
  4701. }
  4702. },
  4703. "cptrade.QueryCPTradeOrderDetailRsq": {
  4704. "type": "object",
  4705. "required": [
  4706. "accountid",
  4707. "buildtype",
  4708. "buyorsell",
  4709. "goodsid",
  4710. "marketid",
  4711. "memberuserid",
  4712. "operatetype",
  4713. "orderqty",
  4714. "ordertime",
  4715. "pricemode",
  4716. "strorderid",
  4717. "tradedate",
  4718. "validtype"
  4719. ],
  4720. "properties": {
  4721. "accountid": {
  4722. "description": "账户ID[报价币种]",
  4723. "type": "integer"
  4724. },
  4725. "buildtype": {
  4726. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4727. "type": "integer"
  4728. },
  4729. "buyorsell": {
  4730. "description": "买卖 - 0:买 1:卖",
  4731. "type": "integer"
  4732. },
  4733. "cancelorderid": {
  4734. "description": "撤单单号(撤单时填写)",
  4735. "type": "integer"
  4736. },
  4737. "cancelqty": {
  4738. "description": "撤单数量",
  4739. "type": "integer"
  4740. },
  4741. "clientordertime": {
  4742. "description": "客户端委托时间",
  4743. "type": "string"
  4744. },
  4745. "clientticket": {
  4746. "description": "客户端流水号",
  4747. "type": "string"
  4748. },
  4749. "clienttype": {
  4750. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4751. "type": "integer"
  4752. },
  4753. "closeexchagechargevalue": {
  4754. "description": "平仓交易所手续费设置值",
  4755. "type": "number"
  4756. },
  4757. "closefeealgorithm": {
  4758. "description": "平仓手续费收取方式 1:比率 2:固定",
  4759. "type": "integer"
  4760. },
  4761. "closefreezecharge": {
  4762. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4763. "type": "number"
  4764. },
  4765. "closememberchargevalue": {
  4766. "description": "平仓会员手续费设置值",
  4767. "type": "number"
  4768. },
  4769. "closeqty": {
  4770. "description": "平仓数量(先建后平操作 需要记录)",
  4771. "type": "integer"
  4772. },
  4773. "closetradeqty": {
  4774. "description": "平仓成交数量(先建后平操作,需要记录)",
  4775. "type": "integer"
  4776. },
  4777. "closeunfreezecharge": {
  4778. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4779. "type": "number"
  4780. },
  4781. "delistingtype": {
  4782. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4783. "type": "integer"
  4784. },
  4785. "freezecharge": {
  4786. "description": "冻结手续费",
  4787. "type": "number"
  4788. },
  4789. "freezemargin": {
  4790. "description": "冻结保证金(冻结交易金额)",
  4791. "type": "number"
  4792. },
  4793. "gcaccountid": {
  4794. "description": "账户ID[合约币种]",
  4795. "type": "integer"
  4796. },
  4797. "goodsid": {
  4798. "description": "商品ID",
  4799. "type": "integer"
  4800. },
  4801. "isconfirmexercise": {
  4802. "description": "是否确认行权- 0:否 1:是",
  4803. "type": "integer"
  4804. },
  4805. "ispreexercise": {
  4806. "description": "是否预申报- 0:否 1:是",
  4807. "type": "integer"
  4808. },
  4809. "listingselecttype": {
  4810. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4811. "type": "integer"
  4812. },
  4813. "marginalgorithm": {
  4814. "description": "保证金收取方式 1:比率 2:固定",
  4815. "type": "integer"
  4816. },
  4817. "marginvalue": {
  4818. "description": "即市保证金设置值",
  4819. "type": "number"
  4820. },
  4821. "marketid": {
  4822. "description": "市场ID",
  4823. "type": "integer"
  4824. },
  4825. "marketmaxsub": {
  4826. "description": "市价最大偏移范围",
  4827. "type": "number"
  4828. },
  4829. "memberuserid": {
  4830. "description": "所属会员UserID",
  4831. "type": "integer"
  4832. },
  4833. "openexchagechargevalue": {
  4834. "description": "建仓交易所手续费设置值",
  4835. "type": "number"
  4836. },
  4837. "openfeealgorithm": {
  4838. "description": "建仓手续费收取方式 1:比率 2:固定",
  4839. "type": "integer"
  4840. },
  4841. "openfreezecharge": {
  4842. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4843. "type": "number"
  4844. },
  4845. "openmemberchargevalue": {
  4846. "description": "建仓会员手续费设置值",
  4847. "type": "number"
  4848. },
  4849. "openqty": {
  4850. "description": "开仓数量(先建后平操作,需要记录)",
  4851. "type": "integer"
  4852. },
  4853. "opentradeqty": {
  4854. "description": "开仓成交数量(先建后平操作,需要记录)",
  4855. "type": "integer"
  4856. },
  4857. "openunfreezecharge": {
  4858. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4859. "type": "number"
  4860. },
  4861. "operatetype": {
  4862. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4863. "type": "integer"
  4864. },
  4865. "operatorid": {
  4866. "description": "登录账号(LoginID)",
  4867. "type": "integer"
  4868. },
  4869. "optiontype": {
  4870. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4871. "type": "integer"
  4872. },
  4873. "orderprice": {
  4874. "description": "委托价格",
  4875. "type": "number"
  4876. },
  4877. "orderqty": {
  4878. "description": "委托数量",
  4879. "type": "integer"
  4880. },
  4881. "ordersrc": {
  4882. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4883. "type": "integer"
  4884. },
  4885. "orderstatus": {
  4886. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4887. "type": "integer"
  4888. },
  4889. "ordertime": {
  4890. "description": "委托时间",
  4891. "type": "string"
  4892. },
  4893. "preexerciseprice": {
  4894. "description": "预申报价格",
  4895. "type": "number"
  4896. },
  4897. "premium": {
  4898. "description": "权利金",
  4899. "type": "number"
  4900. },
  4901. "preorderid": {
  4902. "description": "关联预埋单号(止盈止损单时填写)",
  4903. "type": "integer"
  4904. },
  4905. "pricemode": {
  4906. "description": "取价方式 - 1:市价 2: 限价",
  4907. "type": "integer"
  4908. },
  4909. "quoteid": {
  4910. "description": "报价单ID",
  4911. "type": "integer"
  4912. },
  4913. "relatedid": {
  4914. "description": "关联单号(交割单)",
  4915. "type": "integer"
  4916. },
  4917. "retcode": {
  4918. "description": "错误代码",
  4919. "type": "integer"
  4920. },
  4921. "sessionid": {
  4922. "description": "会话ID",
  4923. "type": "integer"
  4924. },
  4925. "strorderid": {
  4926. "description": "委托单号",
  4927. "type": "string"
  4928. },
  4929. "tradedate": {
  4930. "description": "交易日(yyyyMMdd)",
  4931. "type": "string"
  4932. },
  4933. "tradeproperty": {
  4934. "description": "交易属性",
  4935. "type": "integer"
  4936. },
  4937. "tradeqty": {
  4938. "description": "成交数量",
  4939. "type": "integer"
  4940. },
  4941. "unfreezecharge": {
  4942. "description": "解冻手续费",
  4943. "type": "number"
  4944. },
  4945. "unfreezemargin": {
  4946. "description": "解冻保证金",
  4947. "type": "number"
  4948. },
  4949. "updatetime": {
  4950. "description": "更新时间",
  4951. "type": "string"
  4952. },
  4953. "uuid": {
  4954. "description": "发起端唯一id",
  4955. "type": "string"
  4956. },
  4957. "validtime": {
  4958. "description": "有效期限",
  4959. "type": "string"
  4960. },
  4961. "validtype": {
  4962. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4963. "type": "integer"
  4964. },
  4965. "volumetype": {
  4966. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4967. "type": "integer"
  4968. }
  4969. }
  4970. },
  4971. "cptrade.QueryMyCPTradeGoodsRsp": {
  4972. "type": "object",
  4973. "required": [
  4974. "goodscode",
  4975. "goodsid",
  4976. "goodsname",
  4977. "marketid",
  4978. "relatedgoodscode",
  4979. "relatedgoodsname"
  4980. ],
  4981. "properties": {
  4982. "accountid": {
  4983. "description": "卖方账户ID",
  4984. "type": "integer"
  4985. },
  4986. "agreeunit": {
  4987. "description": "合约单位",
  4988. "type": "number"
  4989. },
  4990. "applyid": {
  4991. "description": "关联申请ID",
  4992. "type": "integer"
  4993. },
  4994. "attachmenturl": {
  4995. "description": "附件地址",
  4996. "type": "string"
  4997. },
  4998. "createtime": {
  4999. "description": "创建时间",
  5000. "type": "string"
  5001. },
  5002. "currencyid": {
  5003. "description": "报价货币ID",
  5004. "type": "integer"
  5005. },
  5006. "decimalplace": {
  5007. "description": "报价小数位",
  5008. "type": "integer"
  5009. },
  5010. "endtime": {
  5011. "description": "预售结束时间",
  5012. "type": "string"
  5013. },
  5014. "floorprice": {
  5015. "description": "底价[大宗式竞拍]",
  5016. "type": "number"
  5017. },
  5018. "goodscode": {
  5019. "description": "商品代码(预售)",
  5020. "type": "string"
  5021. },
  5022. "goodsdetail": {
  5023. "description": "详情[大宗]",
  5024. "type": "string"
  5025. },
  5026. "goodsid": {
  5027. "description": "商品ID(自增ID SEQ_GOODS)",
  5028. "type": "integer"
  5029. },
  5030. "goodsname": {
  5031. "description": "商品名称(预售)",
  5032. "type": "string"
  5033. },
  5034. "goodunit": {
  5035. "description": "报价单位",
  5036. "type": "string"
  5037. },
  5038. "goodunitid": {
  5039. "description": "报价单位ID",
  5040. "type": "integer"
  5041. },
  5042. "marketid": {
  5043. "description": "所属市场ID",
  5044. "type": "integer"
  5045. },
  5046. "marketname": {
  5047. "description": "预售市场名称",
  5048. "type": "string"
  5049. },
  5050. "presaledamount": {
  5051. "description": "已预售总金额(预售结束时更新)",
  5052. "type": "number"
  5053. },
  5054. "presaledqty": {
  5055. "description": "已预售量(预售结束时更新)",
  5056. "type": "integer"
  5057. },
  5058. "presalemode": {
  5059. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5060. "type": "integer"
  5061. },
  5062. "presaleqty": {
  5063. "description": "预售数量",
  5064. "type": "integer"
  5065. },
  5066. "refprice": {
  5067. "description": "参考价格[一口价]",
  5068. "type": "number"
  5069. },
  5070. "relatedgoodscode": {
  5071. "description": "商品代码(订单)",
  5072. "type": "string"
  5073. },
  5074. "relatedgoodsid": {
  5075. "description": "关联交易合约ID",
  5076. "type": "integer"
  5077. },
  5078. "relatedgoodsname": {
  5079. "description": "商品名称(订单)",
  5080. "type": "string"
  5081. },
  5082. "relatedmarketid": {
  5083. "description": "关联交易合约市场ID",
  5084. "type": "integer"
  5085. },
  5086. "sellstatus": {
  5087. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5088. "type": "integer"
  5089. },
  5090. "startprice": {
  5091. "description": "起拍价[大宗式竞拍]",
  5092. "type": "number"
  5093. },
  5094. "starttime": {
  5095. "description": "预售开始时间",
  5096. "type": "string"
  5097. },
  5098. "tradedate": {
  5099. "description": "交易日(yyyyMMdd)",
  5100. "type": "string"
  5101. },
  5102. "tradeprice": {
  5103. "description": "成交价[大宗]",
  5104. "type": "number"
  5105. },
  5106. "userid": {
  5107. "description": "卖方用户ID",
  5108. "type": "integer"
  5109. }
  5110. }
  5111. },
  5112. "cptrade.QueryPresaleGoodsExRsp": {
  5113. "type": "object",
  5114. "required": [
  5115. "goodsid"
  5116. ],
  5117. "properties": {
  5118. "attachmenturl": {
  5119. "description": "附件地址",
  5120. "type": "string"
  5121. },
  5122. "createtime": {
  5123. "description": "创建时间",
  5124. "type": "string"
  5125. },
  5126. "endtime": {
  5127. "description": "预售结束时间",
  5128. "type": "string"
  5129. },
  5130. "floorprice": {
  5131. "description": "底价[大宗式竞拍]",
  5132. "type": "number"
  5133. },
  5134. "goodsdetail": {
  5135. "description": "详情[大宗]",
  5136. "type": "string"
  5137. },
  5138. "goodsid": {
  5139. "description": "商品ID(预售)",
  5140. "type": "integer"
  5141. },
  5142. "goodunit": {
  5143. "description": "报价单位",
  5144. "type": "string"
  5145. },
  5146. "marketid": {
  5147. "description": "预售市场ID - 根据预售模式选择市场",
  5148. "type": "integer"
  5149. },
  5150. "presaledamount": {
  5151. "description": "已预售总金额(预售结束时更新)",
  5152. "type": "number"
  5153. },
  5154. "presaledqty": {
  5155. "description": "已预售量(预售结束时更新)",
  5156. "type": "integer"
  5157. },
  5158. "presalemode": {
  5159. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5160. "type": "integer"
  5161. },
  5162. "presaleqty": {
  5163. "description": "预售数量",
  5164. "type": "integer"
  5165. },
  5166. "refprice": {
  5167. "description": "参考价格[一口价]",
  5168. "type": "number"
  5169. },
  5170. "relatedgoodsid": {
  5171. "description": "关联交易合约ID",
  5172. "type": "integer"
  5173. },
  5174. "relatedmarketid": {
  5175. "description": "关联交易合约市场ID",
  5176. "type": "integer"
  5177. },
  5178. "sellstatus": {
  5179. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5180. "type": "integer"
  5181. },
  5182. "startprice": {
  5183. "description": "起拍价[大宗式竞拍]",
  5184. "type": "number"
  5185. },
  5186. "starttime": {
  5187. "description": "预售开始时间",
  5188. "type": "string"
  5189. },
  5190. "tradedate": {
  5191. "description": "交易日(yyyyMMdd)",
  5192. "type": "string"
  5193. },
  5194. "tradeprice": {
  5195. "description": "成交价[大宗]",
  5196. "type": "number"
  5197. }
  5198. }
  5199. },
  5200. "delivery.QueryDeliveryRelationRsp": {
  5201. "type": "object",
  5202. "required": [
  5203. "begindate",
  5204. "enddate",
  5205. "goodsid",
  5206. "mindeliveryqty",
  5207. "xdeliveryratio"
  5208. ],
  5209. "properties": {
  5210. "begindate": {
  5211. "description": "起始日期(yyyyMMdd)",
  5212. "type": "string"
  5213. },
  5214. "buytemplateid": {
  5215. "description": "买履约计划模板ID",
  5216. "type": "integer"
  5217. },
  5218. "deliverygoodscode": {
  5219. "description": "品种代码",
  5220. "type": "string"
  5221. },
  5222. "deliverygoodsid": {
  5223. "description": "交割商品",
  5224. "type": "integer"
  5225. },
  5226. "deliverygoodsname": {
  5227. "description": "品种名称",
  5228. "type": "string"
  5229. },
  5230. "deliverymode": {
  5231. "description": "交割方式 - 1:点选式 2:申报式",
  5232. "type": "integer"
  5233. },
  5234. "deliverypricerule": {
  5235. "description": "交割价规则- 1:行情价 2:建仓价",
  5236. "type": "integer"
  5237. },
  5238. "deliverytype": {
  5239. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5240. "type": "integer"
  5241. },
  5242. "enddate": {
  5243. "description": "结束日期(yyyyMMdd)",
  5244. "type": "string"
  5245. },
  5246. "goodscode": {
  5247. "description": "商品代码",
  5248. "type": "string"
  5249. },
  5250. "goodsid": {
  5251. "description": "交易合约ID",
  5252. "type": "integer"
  5253. },
  5254. "goodsname": {
  5255. "description": "商品名称",
  5256. "type": "string"
  5257. },
  5258. "marketid": {
  5259. "description": "市场ID",
  5260. "type": "integer"
  5261. },
  5262. "mindeliveryqty": {
  5263. "description": "最小交割系数(K)",
  5264. "type": "integer"
  5265. },
  5266. "p2deliveryprice": {
  5267. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5268. "type": "number"
  5269. },
  5270. "p2deliveryratio": {
  5271. "description": "P2合约系数(p)",
  5272. "type": "integer"
  5273. },
  5274. "p2goodsid": {
  5275. "description": "P2合约ID",
  5276. "type": "integer"
  5277. },
  5278. "p2pricemode": {
  5279. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5280. "type": "integer"
  5281. },
  5282. "pdeliveryprice": {
  5283. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5284. "type": "number"
  5285. },
  5286. "pdeliveryratio": {
  5287. "description": "P合约系数(n)",
  5288. "type": "integer"
  5289. },
  5290. "pgoodsid": {
  5291. "description": "P合约ID",
  5292. "type": "integer"
  5293. },
  5294. "ppricemode": {
  5295. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5296. "type": "integer"
  5297. },
  5298. "rratio": {
  5299. "description": "兑换系数(R)",
  5300. "type": "integer"
  5301. },
  5302. "rratio1": {
  5303. "description": "兑换系数(交易合约)(R1)",
  5304. "type": "integer"
  5305. },
  5306. "rratio2": {
  5307. "description": "兑换系数(仓单标准)(R2)",
  5308. "type": "integer"
  5309. },
  5310. "selltemplateid": {
  5311. "description": "卖履约计划模板ID",
  5312. "type": "integer"
  5313. },
  5314. "wrstandardid": {
  5315. "description": "仓单标准ID",
  5316. "type": "integer"
  5317. },
  5318. "xdeliveryratio": {
  5319. "description": "交易合约系数(m)",
  5320. "type": "integer"
  5321. }
  5322. }
  5323. },
  5324. "ermcp.QryBusinessDjRsp": {
  5325. "type": "object",
  5326. "properties": {
  5327. "applyid": {
  5328. "description": "申请人",
  5329. "type": "string"
  5330. },
  5331. "applyname": {
  5332. "description": "申请人名称",
  5333. "type": "string"
  5334. },
  5335. "applystatus": {
  5336. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5337. "type": "integer"
  5338. },
  5339. "applytime": {
  5340. "description": "申请时间",
  5341. "type": "string"
  5342. },
  5343. "auditname": {
  5344. "description": "审核人名称",
  5345. "type": "string"
  5346. },
  5347. "audittime": {
  5348. "description": "审核时间",
  5349. "type": "string"
  5350. },
  5351. "buyusername": {
  5352. "description": "采购方名称",
  5353. "type": "string"
  5354. },
  5355. "contractno": {
  5356. "description": "合同编号",
  5357. "type": "string"
  5358. },
  5359. "contracttype": {
  5360. "description": "现货合同类型 - 1:采购 -1:销售",
  5361. "type": "integer"
  5362. },
  5363. "enumdicname": {
  5364. "description": "单位名称",
  5365. "type": "string"
  5366. },
  5367. "goodscode": {
  5368. "description": "点价合约",
  5369. "type": "string"
  5370. },
  5371. "goodsname": {
  5372. "description": "商品名称",
  5373. "type": "string"
  5374. },
  5375. "operateapplyid": {
  5376. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5377. "type": "string"
  5378. },
  5379. "operateapplytype": {
  5380. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5381. "type": "integer"
  5382. },
  5383. "pricedPrice": {
  5384. "description": "点价价格(非必填)",
  5385. "type": "number"
  5386. },
  5387. "pricedQty": {
  5388. "description": "点价数量(非必填)",
  5389. "type": "number"
  5390. },
  5391. "pricemove": {
  5392. "description": "升贴水",
  5393. "type": "number"
  5394. },
  5395. "pricetype": {
  5396. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5397. "type": "integer"
  5398. },
  5399. "relatedid": {
  5400. "description": "现货合同ID",
  5401. "type": "string"
  5402. },
  5403. "sellusername": {
  5404. "description": "销售方名字",
  5405. "type": "string"
  5406. }
  5407. }
  5408. },
  5409. "ermcp.QryBussinessFpRsp": {
  5410. "type": "object",
  5411. "properties": {
  5412. "applyid": {
  5413. "description": "申请人",
  5414. "type": "string"
  5415. },
  5416. "applyname": {
  5417. "description": "申请人名称",
  5418. "type": "string"
  5419. },
  5420. "applystatus": {
  5421. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5422. "type": "integer"
  5423. },
  5424. "applytime": {
  5425. "description": "申请时间",
  5426. "type": "string"
  5427. },
  5428. "auditname": {
  5429. "description": "审核人名称",
  5430. "type": "string"
  5431. },
  5432. "audittime": {
  5433. "description": "审核时间",
  5434. "type": "string"
  5435. },
  5436. "buyusername": {
  5437. "description": "采购方名称",
  5438. "type": "string"
  5439. },
  5440. "contractno": {
  5441. "description": "合同编号",
  5442. "type": "string"
  5443. },
  5444. "contracttype": {
  5445. "description": "现货合同类型 - 1:采购 -1:销售",
  5446. "type": "integer"
  5447. },
  5448. "enumdicname": {
  5449. "description": "单位名称",
  5450. "type": "string"
  5451. },
  5452. "goodscode": {
  5453. "description": "点价合约",
  5454. "type": "string"
  5455. },
  5456. "goodsname": {
  5457. "description": "商品名称",
  5458. "type": "string"
  5459. },
  5460. "invoiceAmount": {
  5461. "description": "已开收票金额(销售为开票,采购为收票)",
  5462. "type": "number"
  5463. },
  5464. "operateapplyid": {
  5465. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5466. "type": "string"
  5467. },
  5468. "operateapplytype": {
  5469. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5470. "type": "integer"
  5471. },
  5472. "pricemove": {
  5473. "description": "升贴水",
  5474. "type": "number"
  5475. },
  5476. "pricetype": {
  5477. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5478. "type": "integer"
  5479. },
  5480. "relatedid": {
  5481. "description": "现货合同ID",
  5482. "type": "string"
  5483. },
  5484. "sellusername": {
  5485. "description": "销售方名字",
  5486. "type": "string"
  5487. }
  5488. }
  5489. },
  5490. "ermcp.QryBussinessJsRsp": {
  5491. "type": "object",
  5492. "properties": {
  5493. "addmargin": {
  5494. "description": "追加保证金(非必填)",
  5495. "type": "number"
  5496. },
  5497. "applyid": {
  5498. "description": "申请人",
  5499. "type": "string"
  5500. },
  5501. "applyname": {
  5502. "description": "申请人名称",
  5503. "type": "string"
  5504. },
  5505. "applystatus": {
  5506. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5507. "type": "integer"
  5508. },
  5509. "applytime": {
  5510. "description": "申请时间",
  5511. "type": "string"
  5512. },
  5513. "auditname": {
  5514. "description": "审核人名称",
  5515. "type": "string"
  5516. },
  5517. "audittime": {
  5518. "description": "审核时间",
  5519. "type": "string"
  5520. },
  5521. "buyusername": {
  5522. "description": "采购方名称",
  5523. "type": "string"
  5524. },
  5525. "contractno": {
  5526. "description": "合同编号",
  5527. "type": "string"
  5528. },
  5529. "contracttype": {
  5530. "description": "现货合同类型 - 1:采购 -1:销售",
  5531. "type": "integer"
  5532. },
  5533. "decmargin": {
  5534. "description": "减少保证金(非必填)",
  5535. "type": "number"
  5536. },
  5537. "enumdicname": {
  5538. "description": "单位名称",
  5539. "type": "string"
  5540. },
  5541. "goodscode": {
  5542. "description": "点价合约",
  5543. "type": "string"
  5544. },
  5545. "goodsname": {
  5546. "description": "商品名称",
  5547. "type": "string"
  5548. },
  5549. "operateapplyid": {
  5550. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5551. "type": "string"
  5552. },
  5553. "operateapplytype": {
  5554. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5555. "type": "integer"
  5556. },
  5557. "pricemove": {
  5558. "description": "升贴水",
  5559. "type": "number"
  5560. },
  5561. "pricetype": {
  5562. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5563. "type": "integer"
  5564. },
  5565. "reckonadjustamount": {
  5566. "description": "结算调整金额(非必填)",
  5567. "type": "number"
  5568. },
  5569. "reckonosamount": {
  5570. "description": "结算溢短金额(非必填)",
  5571. "type": "number"
  5572. },
  5573. "reckonotheramount": {
  5574. "description": "结算其他费用(非必填)",
  5575. "type": "number"
  5576. },
  5577. "reckonrealqty": {
  5578. "description": "结算实际数量(非必填)",
  5579. "type": "number"
  5580. },
  5581. "relatedid": {
  5582. "description": "现货合同ID",
  5583. "type": "string"
  5584. },
  5585. "sellusername": {
  5586. "description": "销售方名字",
  5587. "type": "string"
  5588. }
  5589. }
  5590. },
  5591. "ermcp.QryBussinessKxRsp": {
  5592. "type": "object",
  5593. "properties": {
  5594. "applyid": {
  5595. "description": "申请人",
  5596. "type": "string"
  5597. },
  5598. "applyname": {
  5599. "description": "申请人名称",
  5600. "type": "string"
  5601. },
  5602. "applystatus": {
  5603. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5604. "type": "integer"
  5605. },
  5606. "applytime": {
  5607. "description": "申请时间",
  5608. "type": "string"
  5609. },
  5610. "auditname": {
  5611. "description": "审核人名称",
  5612. "type": "string"
  5613. },
  5614. "audittime": {
  5615. "description": "审核时间",
  5616. "type": "string"
  5617. },
  5618. "buyusername": {
  5619. "description": "采购方名称",
  5620. "type": "string"
  5621. },
  5622. "contractno": {
  5623. "description": "合同编号",
  5624. "type": "string"
  5625. },
  5626. "contracttype": {
  5627. "description": "现货合同类型 - 1:采购 -1:销售",
  5628. "type": "integer"
  5629. },
  5630. "deductamount": {
  5631. "description": "退款(非必填)",
  5632. "type": "number"
  5633. },
  5634. "enumdicname": {
  5635. "description": "单位名称",
  5636. "type": "string"
  5637. },
  5638. "goodscode": {
  5639. "description": "点价合约",
  5640. "type": "string"
  5641. },
  5642. "goodsname": {
  5643. "description": "商品名称",
  5644. "type": "string"
  5645. },
  5646. "operateapplyid": {
  5647. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5648. "type": "string"
  5649. },
  5650. "operateapplytype": {
  5651. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5652. "type": "integer"
  5653. },
  5654. "payamount": {
  5655. "description": "收付款(非必填)",
  5656. "type": "number"
  5657. },
  5658. "pricemove": {
  5659. "description": "升贴水",
  5660. "type": "number"
  5661. },
  5662. "pricetype": {
  5663. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5664. "type": "integer"
  5665. },
  5666. "relatedid": {
  5667. "description": "现货合同ID",
  5668. "type": "string"
  5669. },
  5670. "sellusername": {
  5671. "description": "销售方名字",
  5672. "type": "string"
  5673. }
  5674. }
  5675. },
  5676. "ermcp.QryErmcpRsp": {
  5677. "type": "object",
  5678. "properties": {
  5679. "accountid": {
  5680. "description": "账户ID",
  5681. "type": "string"
  5682. },
  5683. "accountname": {
  5684. "description": "账户名称",
  5685. "type": "string"
  5686. },
  5687. "contracctstatus": {
  5688. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5689. "type": "integer"
  5690. },
  5691. "convertfactor": {
  5692. "description": "标仓系数",
  5693. "type": "number"
  5694. },
  5695. "daikaiamount": {
  5696. "description": "待开票额",
  5697. "type": "number"
  5698. },
  5699. "deliveryenddate": {
  5700. "description": "交割结束日",
  5701. "type": "string"
  5702. },
  5703. "deliverygoodscode": {
  5704. "description": "现货商品代码",
  5705. "type": "string"
  5706. },
  5707. "deliverygoodsid": {
  5708. "description": "现货商品ID",
  5709. "type": "integer"
  5710. },
  5711. "deliverygoodsname": {
  5712. "description": "现货商品名称",
  5713. "type": "string"
  5714. },
  5715. "deliverystartdate": {
  5716. "description": "交割开始日",
  5717. "type": "string"
  5718. },
  5719. "enddate": {
  5720. "description": "点价结束日",
  5721. "type": "string"
  5722. },
  5723. "enumdicname": {
  5724. "description": "单位名称",
  5725. "type": "string"
  5726. },
  5727. "goodscode": {
  5728. "description": "点价商品代码",
  5729. "type": "string"
  5730. },
  5731. "goodsid": {
  5732. "description": "点价商品ID",
  5733. "type": "integer"
  5734. },
  5735. "invoiceamount": {
  5736. "description": "已开票额",
  5737. "type": "number"
  5738. },
  5739. "payamount": {
  5740. "description": "已收付额(收款或付款)",
  5741. "type": "number"
  5742. },
  5743. "pricedqty": {
  5744. "description": "已定价量",
  5745. "type": "number"
  5746. },
  5747. "pricemove": {
  5748. "description": "升贴水",
  5749. "type": "number"
  5750. },
  5751. "pricetype": {
  5752. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5753. "type": "integer"
  5754. },
  5755. "producttype": {
  5756. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5757. "type": "integer"
  5758. },
  5759. "qty": {
  5760. "description": "合同量",
  5761. "type": "number"
  5762. },
  5763. "spotcontractid": {
  5764. "description": "合同ID",
  5765. "type": "string"
  5766. },
  5767. "spotgoodsdesc": {
  5768. "description": "商品型号(商品规格)",
  5769. "type": "string"
  5770. },
  5771. "startdate": {
  5772. "description": "点价开始日",
  5773. "type": "string"
  5774. },
  5775. "unpayamount": {
  5776. "description": "待支收额(支付或收款)",
  5777. "type": "number"
  5778. },
  5779. "unpricedqty": {
  5780. "description": "未定价量",
  5781. "type": "number"
  5782. },
  5783. "unsureqty": {
  5784. "description": "未确定量",
  5785. "type": "number"
  5786. }
  5787. }
  5788. },
  5789. "ermcp.QryHedgePlanRsp": {
  5790. "type": "object",
  5791. "properties": {
  5792. "contracttype": {
  5793. "description": "计划类型 - 1:采购 -1:销售",
  5794. "type": "integer"
  5795. },
  5796. "convertfactor": {
  5797. "description": "标仓系数",
  5798. "type": "number"
  5799. },
  5800. "deliverygoodsid": {
  5801. "description": "现货品种ID",
  5802. "type": "integer"
  5803. },
  5804. "deliverygoodsname": {
  5805. "description": "现货品种名称",
  5806. "type": "string"
  5807. },
  5808. "hedgeplanid": {
  5809. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  5810. "type": "string"
  5811. },
  5812. "hedgeplanno": {
  5813. "description": "套保计划编号",
  5814. "type": "string"
  5815. },
  5816. "hedgeplanstatus": {
  5817. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5818. "type": "integer"
  5819. },
  5820. "planqty": {
  5821. "description": "计划数量",
  5822. "type": "number"
  5823. },
  5824. "plantime": {
  5825. "description": "计划时间",
  5826. "type": "string"
  5827. },
  5828. "producttype": {
  5829. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5830. "type": "integer"
  5831. },
  5832. "remark": {
  5833. "description": "备注",
  5834. "type": "string"
  5835. },
  5836. "spotgoodsdesc": {
  5837. "description": "商品型号",
  5838. "type": "string"
  5839. },
  5840. "wrstandardid": {
  5841. "description": "现货商品ID",
  5842. "type": "integer"
  5843. },
  5844. "wrstandardname": {
  5845. "description": "现货商品名称",
  5846. "type": "string"
  5847. }
  5848. }
  5849. },
  5850. "ermcp.QrySpotContractRsp": {
  5851. "type": "object",
  5852. "properties": {
  5853. "amount": {
  5854. "description": "金额 [1:一口价、3:暂定价]",
  5855. "type": "number"
  5856. },
  5857. "buyuserid": {
  5858. "description": "采购方ID",
  5859. "type": "integer"
  5860. },
  5861. "buyusername": {
  5862. "description": "采购方名称",
  5863. "type": "string"
  5864. },
  5865. "contracctstatus": {
  5866. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5867. "type": "integer"
  5868. },
  5869. "contractno": {
  5870. "description": "现货合同编号",
  5871. "type": "string"
  5872. },
  5873. "contracttype": {
  5874. "description": "现货合同类型 - 1:采购 -1:销售",
  5875. "type": "integer"
  5876. },
  5877. "convertfactor": {
  5878. "description": "标仓系数",
  5879. "type": "number"
  5880. },
  5881. "deliveryenddate": {
  5882. "description": "交收期(结束)",
  5883. "type": "string"
  5884. },
  5885. "deliverygoodscode": {
  5886. "description": "现货品种代码",
  5887. "type": "string"
  5888. },
  5889. "deliverygoodsid": {
  5890. "description": "现货品种ID",
  5891. "type": "integer"
  5892. },
  5893. "deliverygoodsname": {
  5894. "description": "现货品种名称",
  5895. "type": "string"
  5896. },
  5897. "deliverystartdate": {
  5898. "description": "交收期(开始)",
  5899. "type": "string"
  5900. },
  5901. "enddate": {
  5902. "description": "点价结束日期 [2:点价 3:暂定价]",
  5903. "type": "string"
  5904. },
  5905. "enumdicname": {
  5906. "description": "单位名称",
  5907. "type": "string"
  5908. },
  5909. "goodscode": {
  5910. "description": "点价合约代码",
  5911. "type": "string"
  5912. },
  5913. "goodsid": {
  5914. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  5915. "type": "integer"
  5916. },
  5917. "margin": {
  5918. "description": "当前保证金",
  5919. "type": "number"
  5920. },
  5921. "price": {
  5922. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  5923. "type": "number"
  5924. },
  5925. "pricemove": {
  5926. "description": "升贴水 [2:点价 3:暂定价]",
  5927. "type": "number"
  5928. },
  5929. "pricetype": {
  5930. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5931. "type": "integer"
  5932. },
  5933. "producttype": {
  5934. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5935. "type": "integer"
  5936. },
  5937. "qty": {
  5938. "description": "数量",
  5939. "type": "number"
  5940. },
  5941. "selluserid": {
  5942. "description": "销售方ID",
  5943. "type": "integer"
  5944. },
  5945. "sellusername": {
  5946. "description": "销售方名称",
  5947. "type": "string"
  5948. },
  5949. "spotcontractid": {
  5950. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  5951. "type": "string"
  5952. },
  5953. "spotgoodsdesc": {
  5954. "description": "商品型号",
  5955. "type": "string"
  5956. },
  5957. "startdate": {
  5958. "description": "点价开始日期 [2:点价 3:暂定价]",
  5959. "type": "string"
  5960. }
  5961. }
  5962. },
  5963. "ermcp.QryUserInfoRsp": {
  5964. "type": "object",
  5965. "properties": {
  5966. "address": {
  5967. "description": "通讯地址",
  5968. "type": "string"
  5969. },
  5970. "cardnum": {
  5971. "description": "证件号码",
  5972. "type": "string"
  5973. },
  5974. "cardtype": {
  5975. "description": "证件类型",
  5976. "type": "string"
  5977. },
  5978. "customername": {
  5979. "description": "企业名称",
  5980. "type": "string"
  5981. },
  5982. "mobile": {
  5983. "description": "手机号码",
  5984. "type": "string"
  5985. },
  5986. "remark": {
  5987. "description": "备注",
  5988. "type": "string"
  5989. },
  5990. "status": {
  5991. "description": "账户状态",
  5992. "type": "string"
  5993. },
  5994. "telphone": {
  5995. "description": "联系电话",
  5996. "type": "string"
  5997. },
  5998. "userinfotype": {
  5999. "description": "客户类型",
  6000. "type": "string"
  6001. }
  6002. }
  6003. },
  6004. "ermcp.QryWrStandardRsp": {
  6005. "type": "object",
  6006. "properties": {
  6007. "areauserid": {
  6008. "description": "所属机构",
  6009. "type": "integer"
  6010. },
  6011. "createtime": {
  6012. "description": "创建时间",
  6013. "type": "string"
  6014. },
  6015. "creatorid": {
  6016. "description": "创建人",
  6017. "type": "integer"
  6018. },
  6019. "deliverygoodsid": {
  6020. "description": "品种ID",
  6021. "type": "integer"
  6022. },
  6023. "enumdicname": {
  6024. "description": "单位名称",
  6025. "type": "string"
  6026. },
  6027. "minivalue": {
  6028. "description": "最小变动值",
  6029. "type": "integer"
  6030. },
  6031. "minivaluedp": {
  6032. "description": "最小变动值小数位",
  6033. "type": "integer"
  6034. },
  6035. "realminivalue": {
  6036. "description": "实际最小变动值",
  6037. "type": "integer"
  6038. },
  6039. "realminivaluedp": {
  6040. "description": "实际最小变动值小数位",
  6041. "type": "integer"
  6042. },
  6043. "unitid": {
  6044. "description": "单位ID",
  6045. "type": "integer"
  6046. },
  6047. "wrstandardcode": {
  6048. "description": "现货商品代码",
  6049. "type": "string"
  6050. },
  6051. "wrstandardid": {
  6052. "description": "现货商品ID(SEQ_WRSTANDARD)",
  6053. "type": "integer"
  6054. },
  6055. "wrstandardname": {
  6056. "description": "现货商品名称",
  6057. "type": "string"
  6058. }
  6059. }
  6060. },
  6061. "erms2.QueryArbitrageStrategyRsp": {
  6062. "type": "object",
  6063. "required": [
  6064. "asapplyid"
  6065. ],
  6066. "properties": {
  6067. "applybasis": {
  6068. "description": "申请基差",
  6069. "type": "number"
  6070. },
  6071. "asapplyid": {
  6072. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  6073. "type": "string"
  6074. },
  6075. "asname": {
  6076. "description": "策略名称",
  6077. "type": "string"
  6078. },
  6079. "asno": {
  6080. "description": "策略编号",
  6081. "type": "string"
  6082. },
  6083. "basischangepl": {
  6084. "description": "基差变动损益[结算更新]",
  6085. "type": "number"
  6086. },
  6087. "biztype": {
  6088. "description": "业务类型 - 1:正向套利 -1:反向套利",
  6089. "type": "integer"
  6090. },
  6091. "closetradedate": {
  6092. "description": "完结交易日(yyyyMMdd)",
  6093. "type": "string"
  6094. },
  6095. "curbasis": {
  6096. "description": "当前基差[结算更新]",
  6097. "type": "number"
  6098. },
  6099. "deliverygoodsid": {
  6100. "description": "现货品种ID",
  6101. "type": "integer"
  6102. },
  6103. "futureavgprice": {
  6104. "description": "期货建仓均价",
  6105. "type": "number"
  6106. },
  6107. "futurecloseamount": {
  6108. "description": "期货平仓金额",
  6109. "type": "number"
  6110. },
  6111. "futurecloseqty": {
  6112. "description": "期货平仓数量",
  6113. "type": "number"
  6114. },
  6115. "futureopenamount": {
  6116. "description": "期货开仓金额",
  6117. "type": "number"
  6118. },
  6119. "futureopenqty": {
  6120. "description": "期货开仓数量",
  6121. "type": "number"
  6122. },
  6123. "futurepl": {
  6124. "description": "期货总盈亏[结算更新]",
  6125. "type": "number"
  6126. },
  6127. "futureqty": {
  6128. "description": "期货持仓数量",
  6129. "type": "number"
  6130. },
  6131. "futurequote": {
  6132. "description": "期货额度",
  6133. "type": "number"
  6134. },
  6135. "goodsgroupid": {
  6136. "description": "期货品种ID",
  6137. "type": "integer"
  6138. },
  6139. "marketid": {
  6140. "description": "市场ID",
  6141. "type": "integer"
  6142. },
  6143. "netexposure": {
  6144. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6145. "type": "number"
  6146. },
  6147. "netexposurepl": {
  6148. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6149. "type": "number"
  6150. },
  6151. "netexposurerate": {
  6152. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6153. "type": "number"
  6154. },
  6155. "openbasis": {
  6156. "description": "建仓基差",
  6157. "type": "number"
  6158. },
  6159. "pricedspotqty": {
  6160. "description": "已定价现货数量",
  6161. "type": "number"
  6162. },
  6163. "pricedspotqtynotax": {
  6164. "description": "已定价现货不含税数量",
  6165. "type": "number"
  6166. },
  6167. "remark": {
  6168. "description": "备注",
  6169. "type": "string"
  6170. },
  6171. "spotavgprice": {
  6172. "description": "现货均价",
  6173. "type": "number"
  6174. },
  6175. "spotbuyamount": {
  6176. "description": "现货采购金额",
  6177. "type": "number"
  6178. },
  6179. "spotbuyqty": {
  6180. "description": "现货采购数量",
  6181. "type": "number"
  6182. },
  6183. "spotpl": {
  6184. "description": "现货总盈亏[结算更新]",
  6185. "type": "number"
  6186. },
  6187. "spotquota": {
  6188. "description": "现货额度",
  6189. "type": "number"
  6190. },
  6191. "spotsellamount": {
  6192. "description": "现货销售金额",
  6193. "type": "number"
  6194. },
  6195. "spotsellqty": {
  6196. "description": "现货销售数量",
  6197. "type": "number"
  6198. },
  6199. "spotusedquota": {
  6200. "description": "现货占用资金",
  6201. "type": "number"
  6202. },
  6203. "strategystatus": {
  6204. "description": "策略状态 - 0:未结束 1:已结束",
  6205. "type": "integer"
  6206. },
  6207. "totalpl": {
  6208. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6209. "type": "number"
  6210. },
  6211. "tradedate": {
  6212. "description": "交易日(yyyyMMdd)",
  6213. "type": "string"
  6214. },
  6215. "updatetime": {
  6216. "description": "更新时间",
  6217. "type": "string"
  6218. },
  6219. "usedquota": {
  6220. "description": "已占用资金",
  6221. "type": "number"
  6222. },
  6223. "userid": {
  6224. "description": "所属机构",
  6225. "type": "integer"
  6226. }
  6227. }
  6228. },
  6229. "erms2.QueryInnerTradeDetailRsp": {
  6230. "type": "object",
  6231. "required": [
  6232. "asapplyid",
  6233. "buyorsell",
  6234. "goodscode",
  6235. "goodsgroupid",
  6236. "goodsgroupname",
  6237. "goodsname",
  6238. "tradeid"
  6239. ],
  6240. "properties": {
  6241. "accountid": {
  6242. "description": "账号ID",
  6243. "type": "integer"
  6244. },
  6245. "agreeunit": {
  6246. "description": "合约单位",
  6247. "type": "number"
  6248. },
  6249. "asapplyid": {
  6250. "description": "策略申请ID",
  6251. "type": "integer"
  6252. },
  6253. "asname": {
  6254. "description": "策略名称",
  6255. "type": "string"
  6256. },
  6257. "asno": {
  6258. "description": "策略编号",
  6259. "type": "string"
  6260. },
  6261. "buyorsell": {
  6262. "description": "方向 - 0:买 1:卖",
  6263. "type": "integer"
  6264. },
  6265. "channelbuildtype": {
  6266. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  6267. "type": "integer"
  6268. },
  6269. "closetype": {
  6270. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  6271. "type": "integer"
  6272. },
  6273. "decimalplace": {
  6274. "description": "报价小数位",
  6275. "type": "integer"
  6276. },
  6277. "detailtype": {
  6278. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  6279. "type": "integer"
  6280. },
  6281. "exexchangecode": {
  6282. "description": "外部交易所代码",
  6283. "type": "string"
  6284. },
  6285. "exexchangename": {
  6286. "description": "外部交易所名称",
  6287. "type": "string"
  6288. },
  6289. "goodscode": {
  6290. "description": "商品代码(合约)",
  6291. "type": "string"
  6292. },
  6293. "goodsgroupid": {
  6294. "description": "商品组ID(品种ID)",
  6295. "type": "integer"
  6296. },
  6297. "goodsgroupname": {
  6298. "description": "商品组名称(品种)",
  6299. "type": "string"
  6300. },
  6301. "goodsid": {
  6302. "description": "商品ID",
  6303. "type": "integer"
  6304. },
  6305. "goodsname": {
  6306. "description": "商品名称(合约)",
  6307. "type": "string"
  6308. },
  6309. "goodunit": {
  6310. "description": "报价单位",
  6311. "type": "string"
  6312. },
  6313. "marketid": {
  6314. "description": "市场ID",
  6315. "type": "integer"
  6316. },
  6317. "orderid": {
  6318. "description": "委托单号",
  6319. "type": "string"
  6320. },
  6321. "outgoodscode": {
  6322. "description": "商品代码(外部)",
  6323. "type": "string"
  6324. },
  6325. "relatedouttradeid": {
  6326. "description": "关联外部成交单ID",
  6327. "type": "string"
  6328. },
  6329. "remark": {
  6330. "description": "备注",
  6331. "type": "string"
  6332. },
  6333. "spotcontractid": {
  6334. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  6335. "type": "integer"
  6336. },
  6337. "spotcontractno": {
  6338. "description": "现货合同编号",
  6339. "type": "string"
  6340. },
  6341. "tradeid": {
  6342. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6343. "type": "string"
  6344. },
  6345. "tradeprice": {
  6346. "description": "成交价格",
  6347. "type": "number"
  6348. },
  6349. "tradeqty": {
  6350. "description": "成交数量",
  6351. "type": "integer"
  6352. },
  6353. "tradetime": {
  6354. "description": "成交时间",
  6355. "type": "string"
  6356. },
  6357. "updatetime": {
  6358. "description": "更新时间",
  6359. "type": "string"
  6360. }
  6361. }
  6362. },
  6363. "erms2.QuerySpotContractRsp": {
  6364. "type": "object",
  6365. "required": [
  6366. "spotcontractid"
  6367. ],
  6368. "properties": {
  6369. "accountid": {
  6370. "description": "资金账户ID",
  6371. "type": "integer"
  6372. },
  6373. "areauserid": {
  6374. "description": "所属机构",
  6375. "type": "integer"
  6376. },
  6377. "closedate": {
  6378. "description": "终止日期",
  6379. "type": "string"
  6380. },
  6381. "closeremark": {
  6382. "description": "结束备注",
  6383. "type": "string"
  6384. },
  6385. "closetradedate": {
  6386. "description": "完结交易日(yyyyMMdd)",
  6387. "type": "string"
  6388. },
  6389. "closetype": {
  6390. "description": "终止类型 - 1:违约 2:提前终止",
  6391. "type": "integer"
  6392. },
  6393. "contractamount": {
  6394. "description": "合同金额",
  6395. "type": "number"
  6396. },
  6397. "contractattachment": {
  6398. "description": "合同附件",
  6399. "type": "string"
  6400. },
  6401. "contractno": {
  6402. "description": "现货合同编号",
  6403. "type": "string"
  6404. },
  6405. "contractqty": {
  6406. "description": "合同数量(数值) (用于计算)",
  6407. "type": "number"
  6408. },
  6409. "contractqtychar": {
  6410. "description": "合同数量\\已订价数量 (用于显示)",
  6411. "type": "string"
  6412. },
  6413. "contractstatus": {
  6414. "description": "合同状态 - 0:未结束 1:已结束",
  6415. "type": "integer"
  6416. },
  6417. "contracttype": {
  6418. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  6419. "type": "integer"
  6420. },
  6421. "customeraccountid": {
  6422. "description": "客户资金账户ID",
  6423. "type": "integer"
  6424. },
  6425. "customeruserid": {
  6426. "description": "客户ID",
  6427. "type": "integer"
  6428. },
  6429. "deliverygoodsdesc": {
  6430. "description": "品种说明",
  6431. "type": "string"
  6432. },
  6433. "deliverygoodsid": {
  6434. "description": "现货品种ID",
  6435. "type": "integer"
  6436. },
  6437. "handlestatus": {
  6438. "description": "处理状态",
  6439. "type": "integer"
  6440. },
  6441. "invoiceatt": {
  6442. "description": "发票附件",
  6443. "type": "string"
  6444. },
  6445. "invoicedatetime": {
  6446. "description": "开收票更新时间",
  6447. "type": "string"
  6448. },
  6449. "invoiceopentime": {
  6450. "description": "开票时间",
  6451. "type": "string"
  6452. },
  6453. "invoiceremark": {
  6454. "description": "发票备注",
  6455. "type": "string"
  6456. },
  6457. "invoicestatus": {
  6458. "description": "开收票状态 - 0:未开票 1:已开票",
  6459. "type": "integer"
  6460. },
  6461. "lastdate": {
  6462. "description": "交货时间",
  6463. "type": "string"
  6464. },
  6465. "marketid": {
  6466. "description": "市场ID",
  6467. "type": "integer"
  6468. },
  6469. "paydatetime": {
  6470. "description": "收付款更新时间",
  6471. "type": "string"
  6472. },
  6473. "payremark": {
  6474. "description": "收付款备注",
  6475. "type": "string"
  6476. },
  6477. "paystatus": {
  6478. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  6479. "type": "integer"
  6480. },
  6481. "positionqty": {
  6482. "description": "头寸数量 - 合同数量去小数部分",
  6483. "type": "integer"
  6484. },
  6485. "producttype": {
  6486. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6487. "type": "integer"
  6488. },
  6489. "relatedqty": {
  6490. "description": "已关联数量",
  6491. "type": "number"
  6492. },
  6493. "relatedstatus": {
  6494. "description": "关联完结状态 - 0:未结束 1:已结束",
  6495. "type": "integer"
  6496. },
  6497. "remark": {
  6498. "description": "备注",
  6499. "type": "string"
  6500. },
  6501. "signdate": {
  6502. "description": "签订日期",
  6503. "type": "string"
  6504. },
  6505. "spotcontractid": {
  6506. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  6507. "type": "string"
  6508. },
  6509. "spotdatetime": {
  6510. "description": "收发货更新时间",
  6511. "type": "string"
  6512. },
  6513. "spotprice": {
  6514. "description": "价格",
  6515. "type": "number"
  6516. },
  6517. "spotremark": {
  6518. "description": "收发货备注",
  6519. "type": "string"
  6520. },
  6521. "spotstatus": {
  6522. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  6523. "type": "integer"
  6524. },
  6525. "tradedate": {
  6526. "description": "交易日(yyyyMMdd)",
  6527. "type": "string"
  6528. },
  6529. "userid": {
  6530. "description": "业务员用户ID",
  6531. "type": "integer"
  6532. },
  6533. "warehouseid": {
  6534. "description": "仓库ID",
  6535. "type": "integer"
  6536. },
  6537. "wrfactortypeid": {
  6538. "description": "仓单要素类型ID",
  6539. "type": "integer"
  6540. },
  6541. "wrstandardid": {
  6542. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6543. "type": "integer"
  6544. }
  6545. }
  6546. },
  6547. "erms3.AddErms2ASApplyReq": {
  6548. "type": "object",
  6549. "required": [
  6550. "asapplyid"
  6551. ],
  6552. "properties": {
  6553. "applybasis": {
  6554. "description": "申请基差",
  6555. "type": "number"
  6556. },
  6557. "applystatus": {
  6558. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6559. "type": "integer"
  6560. },
  6561. "asapplyid": {
  6562. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  6563. "type": "integer"
  6564. },
  6565. "asname": {
  6566. "description": "策略名称",
  6567. "type": "string"
  6568. },
  6569. "asno": {
  6570. "description": "策略编号",
  6571. "type": "string"
  6572. },
  6573. "auditid": {
  6574. "description": "审核人",
  6575. "type": "integer"
  6576. },
  6577. "auditremark": {
  6578. "description": "审核备注",
  6579. "type": "string"
  6580. },
  6581. "audittime": {
  6582. "description": "审核时间",
  6583. "type": "string"
  6584. },
  6585. "biztype": {
  6586. "description": "业务类型 - 1:正向套利 2:反向套利",
  6587. "type": "integer"
  6588. },
  6589. "createtime": {
  6590. "description": "创建时间",
  6591. "type": "string"
  6592. },
  6593. "creatorid": {
  6594. "description": "创建人",
  6595. "type": "integer"
  6596. },
  6597. "deliverygoodsid": {
  6598. "description": "现货品种ID",
  6599. "type": "integer"
  6600. },
  6601. "futurequote": {
  6602. "description": "期货额度",
  6603. "type": "number"
  6604. },
  6605. "goodsgroupid": {
  6606. "description": "期货品种ID",
  6607. "type": "integer"
  6608. },
  6609. "marketid": {
  6610. "description": "市场ID",
  6611. "type": "integer"
  6612. },
  6613. "remark": {
  6614. "description": "备注",
  6615. "type": "string"
  6616. },
  6617. "spotquota": {
  6618. "description": "现货额度",
  6619. "type": "number"
  6620. },
  6621. "tradedate": {
  6622. "description": "交易日(yyyyMMdd)",
  6623. "type": "string"
  6624. },
  6625. "userid": {
  6626. "description": "所属机构",
  6627. "type": "integer"
  6628. }
  6629. }
  6630. },
  6631. "erms3.AddErms2SpotTradeApplyReq": {
  6632. "type": "object",
  6633. "required": [
  6634. "spottradeid"
  6635. ],
  6636. "properties": {
  6637. "applyjsondetail": {
  6638. "description": "申请明细(JSON)",
  6639. "type": "string"
  6640. },
  6641. "applystatus": {
  6642. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6643. "type": "integer"
  6644. },
  6645. "areauserid": {
  6646. "description": "所属机构",
  6647. "type": "integer"
  6648. },
  6649. "auditid": {
  6650. "description": "审核人",
  6651. "type": "integer"
  6652. },
  6653. "auditremark": {
  6654. "description": "审核备注",
  6655. "type": "string"
  6656. },
  6657. "audittime": {
  6658. "description": "审核时间",
  6659. "type": "string"
  6660. },
  6661. "createtime": {
  6662. "description": "创建时间",
  6663. "type": "string"
  6664. },
  6665. "creatorid": {
  6666. "description": "创建人",
  6667. "type": "integer"
  6668. },
  6669. "deliverygoodsid": {
  6670. "description": "现货品种ID",
  6671. "type": "integer"
  6672. },
  6673. "futureaccountid": {
  6674. "description": "期货资金账户",
  6675. "type": "integer"
  6676. },
  6677. "goodsgroupid": {
  6678. "description": "期货品种",
  6679. "type": "integer"
  6680. },
  6681. "marketid": {
  6682. "description": "市场ID",
  6683. "type": "integer"
  6684. },
  6685. "remark": {
  6686. "description": "备注",
  6687. "type": "string"
  6688. },
  6689. "spotaccountid": {
  6690. "description": "现货资金账户",
  6691. "type": "integer"
  6692. },
  6693. "spottradeid": {
  6694. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  6695. "type": "integer"
  6696. },
  6697. "spottradename": {
  6698. "description": "业务名称",
  6699. "type": "string"
  6700. },
  6701. "spottradeno": {
  6702. "description": "业务编号",
  6703. "type": "string"
  6704. },
  6705. "tradedate": {
  6706. "description": "交易日(yyyyMMdd)",
  6707. "type": "string"
  6708. },
  6709. "wrstandardid": {
  6710. "description": "仓单标准ID",
  6711. "type": "integer"
  6712. }
  6713. }
  6714. },
  6715. "erms3.AddSpotContractApplyReq": {
  6716. "type": "object",
  6717. "required": [
  6718. "accountid",
  6719. "areauserid",
  6720. "contractno",
  6721. "contracttype",
  6722. "customeraccountid",
  6723. "customeruserid",
  6724. "details",
  6725. "orimargin",
  6726. "signdate"
  6727. ],
  6728. "properties": {
  6729. "accountid": {
  6730. "description": "资金账户ID",
  6731. "type": "integer"
  6732. },
  6733. "areauserid": {
  6734. "description": "所属机构",
  6735. "type": "integer"
  6736. },
  6737. "contractattachment": {
  6738. "description": "合同附件",
  6739. "type": "string"
  6740. },
  6741. "contractno": {
  6742. "description": "现货合同编号",
  6743. "type": "string"
  6744. },
  6745. "contracttype": {
  6746. "description": "现货合同类型 - 1:采购 -1:销售",
  6747. "type": "integer"
  6748. },
  6749. "creatorid": {
  6750. "description": "申请人",
  6751. "type": "integer"
  6752. },
  6753. "customeraccountid": {
  6754. "description": "客户资金账户ID",
  6755. "type": "integer"
  6756. },
  6757. "customeruserid": {
  6758. "description": "客户ID",
  6759. "type": "integer"
  6760. },
  6761. "details": {
  6762. "description": "明细",
  6763. "type": "array",
  6764. "items": {
  6765. "$ref": "#/definitions/erms3.SoptContractDetail"
  6766. }
  6767. },
  6768. "orimargin": {
  6769. "description": "初始保证金",
  6770. "type": "number"
  6771. },
  6772. "remark": {
  6773. "description": "备注",
  6774. "type": "string"
  6775. },
  6776. "signdate": {
  6777. "description": "签订日期",
  6778. "type": "string"
  6779. }
  6780. }
  6781. },
  6782. "erms3.AddSpotContractApplyRsp": {
  6783. "type": "object",
  6784. "required": [
  6785. "contractno"
  6786. ],
  6787. "properties": {
  6788. "contractno": {
  6789. "description": "现货合同编号",
  6790. "type": "string"
  6791. },
  6792. "spotcontractid": {
  6793. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  6794. "type": "integer"
  6795. }
  6796. }
  6797. },
  6798. "erms3.AddUserInfoApplyReq": {
  6799. "type": "object",
  6800. "required": [
  6801. "userid"
  6802. ],
  6803. "properties": {
  6804. "accountid": {
  6805. "description": "交易系统帐号Id (加密存储)",
  6806. "type": "integer"
  6807. },
  6808. "areacode": {
  6809. "description": "机构代码",
  6810. "type": "string"
  6811. },
  6812. "areaid": {
  6813. "description": "机构Id",
  6814. "type": "integer"
  6815. },
  6816. "attachment1": {
  6817. "description": "附件1",
  6818. "type": "string"
  6819. },
  6820. "attachment2": {
  6821. "description": "附件2",
  6822. "type": "string"
  6823. },
  6824. "attachment3": {
  6825. "description": "附件3",
  6826. "type": "string"
  6827. },
  6828. "attachment4": {
  6829. "description": "附件4",
  6830. "type": "string"
  6831. },
  6832. "attachment5": {
  6833. "description": "附件5",
  6834. "type": "string"
  6835. },
  6836. "auditedby": {
  6837. "description": "审核人",
  6838. "type": "string"
  6839. },
  6840. "auditime": {
  6841. "description": "审核时间",
  6842. "type": "string"
  6843. },
  6844. "bankaccount": {
  6845. "description": "银行帐号 (加密存储)",
  6846. "type": "string"
  6847. },
  6848. "bankaccountname": {
  6849. "description": "收款人名称",
  6850. "type": "string"
  6851. },
  6852. "bankcardbackphotourl": {
  6853. "description": "银行卡背面照地址",
  6854. "type": "string"
  6855. },
  6856. "bankcardfrontphotourl": {
  6857. "description": "银行卡正面照地址",
  6858. "type": "string"
  6859. },
  6860. "bankid": {
  6861. "description": "银行编码",
  6862. "type": "string"
  6863. },
  6864. "bankname": {
  6865. "description": "银行名称",
  6866. "type": "string"
  6867. },
  6868. "bankpictureurl": {
  6869. "description": "银行卡正面地址",
  6870. "type": "string"
  6871. },
  6872. "biznature": {
  6873. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6874. "type": "integer"
  6875. },
  6876. "bizscope": {
  6877. "description": "企业经营范围(企业)",
  6878. "type": "string"
  6879. },
  6880. "biztype": {
  6881. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  6882. "type": "integer"
  6883. },
  6884. "brokerid": {
  6885. "description": "经纪人ID(加密存储)",
  6886. "type": "string"
  6887. },
  6888. "cardaddress": {
  6889. "description": "证件地址 (加密存储)",
  6890. "type": "string"
  6891. },
  6892. "cardbackphotourl": {
  6893. "description": "背面证件照地址",
  6894. "type": "string"
  6895. },
  6896. "cardfrontphotourl": {
  6897. "description": "正面证件照地址",
  6898. "type": "string"
  6899. },
  6900. "cardnum": {
  6901. "description": "证件号码 (加密存储)",
  6902. "type": "string"
  6903. },
  6904. "cardtype": {
  6905. "description": "证件类型",
  6906. "type": "integer"
  6907. },
  6908. "cityid": {
  6909. "description": "市",
  6910. "type": "integer"
  6911. },
  6912. "company": {
  6913. "description": "公司(个人)",
  6914. "type": "string"
  6915. },
  6916. "contactcardbackphotourl": {
  6917. "description": "联系人证件背面图片地址",
  6918. "type": "string"
  6919. },
  6920. "contactcardfrontphotourl": {
  6921. "description": "联系人证件正面图片地址",
  6922. "type": "string"
  6923. },
  6924. "contactname": {
  6925. "description": "联系人",
  6926. "type": "string"
  6927. },
  6928. "countryid": {
  6929. "description": "国家",
  6930. "type": "integer"
  6931. },
  6932. "createtime": {
  6933. "description": "开户申请时间",
  6934. "type": "string"
  6935. },
  6936. "cusbankid": {
  6937. "description": "签约类型",
  6938. "type": "string"
  6939. },
  6940. "cusbankname": {
  6941. "description": "签约类型名称",
  6942. "type": "string"
  6943. },
  6944. "customername": {
  6945. "description": "客户名称(企业名称)",
  6946. "type": "string"
  6947. },
  6948. "districtid": {
  6949. "description": "地区",
  6950. "type": "integer"
  6951. },
  6952. "email": {
  6953. "description": "Email地址(加密存储)",
  6954. "type": "string"
  6955. },
  6956. "halfbodyphotourl": {
  6957. "description": "半身照地址",
  6958. "type": "string"
  6959. },
  6960. "headurl": {
  6961. "description": "头像地址",
  6962. "type": "string"
  6963. },
  6964. "ipaddress": {
  6965. "description": "IP地址",
  6966. "type": "string"
  6967. },
  6968. "isvalidate": {
  6969. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  6970. "type": "string"
  6971. },
  6972. "legalcardbackphotourl": {
  6973. "description": "法人身份证背面照地址",
  6974. "type": "string"
  6975. },
  6976. "legalcardfrontphotourl": {
  6977. "description": "法人身份证正面照地址",
  6978. "type": "string"
  6979. },
  6980. "legalpersonname": {
  6981. "description": "法人姓名(企业)",
  6982. "type": "string"
  6983. },
  6984. "logincode": {
  6985. "description": "登录帐号 (加密存储)",
  6986. "type": "string"
  6987. },
  6988. "memberareaid": {
  6989. "description": "所属会员ID",
  6990. "type": "integer"
  6991. },
  6992. "mobile2": {
  6993. "description": "手机号码[明文-尚志]",
  6994. "type": "string"
  6995. },
  6996. "mobilephone": {
  6997. "description": "手机号码 (加密存储)",
  6998. "type": "string"
  6999. },
  7000. "modifiedby": {
  7001. "description": "修改人帐号",
  7002. "type": "integer"
  7003. },
  7004. "modifiedtime": {
  7005. "description": "修改时间",
  7006. "type": "string"
  7007. },
  7008. "nickname": {
  7009. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7010. "type": "string"
  7011. },
  7012. "openmode": {
  7013. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7014. "type": "integer"
  7015. },
  7016. "otherurl": {
  7017. "description": "其它图片地址[使用分号分隔]",
  7018. "type": "string"
  7019. },
  7020. "postalcode": {
  7021. "description": "邮政编码",
  7022. "type": "string"
  7023. },
  7024. "provinceid": {
  7025. "description": "省",
  7026. "type": "integer"
  7027. },
  7028. "proxystatementurl": {
  7029. "description": "授权委托书",
  7030. "type": "string"
  7031. },
  7032. "qq": {
  7033. "description": "QQ(加密存储",
  7034. "type": "string"
  7035. },
  7036. "referral": {
  7037. "description": "推荐人编码",
  7038. "type": "string"
  7039. },
  7040. "remark": {
  7041. "description": "备注",
  7042. "type": "string"
  7043. },
  7044. "removebeforestatus": {
  7045. "description": "REMOVEBEFORESTATUS",
  7046. "type": "integer"
  7047. },
  7048. "sex": {
  7049. "description": "性别 - 0:女 1:男",
  7050. "type": "integer"
  7051. },
  7052. "signedstatus": {
  7053. "description": "账户一号签签约状态",
  7054. "type": "integer"
  7055. },
  7056. "signpdfurl": {
  7057. "description": "签约pdf文件",
  7058. "type": "string"
  7059. },
  7060. "subbranch": {
  7061. "description": "开户支行",
  7062. "type": "string"
  7063. },
  7064. "telphone": {
  7065. "description": "联系电话(加密存储)",
  7066. "type": "string"
  7067. },
  7068. "userid": {
  7069. "description": "用户ID(自增ID)",
  7070. "type": "integer"
  7071. },
  7072. "userinfotype": {
  7073. "description": "用户信息类型 - 1:个人 2:企业",
  7074. "type": "integer"
  7075. },
  7076. "username": {
  7077. "description": "用户姓名",
  7078. "type": "string"
  7079. },
  7080. "userstate": {
  7081. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7082. "type": "integer"
  7083. },
  7084. "usertype": {
  7085. "description": "用户类型 - 1:投资者 2:机构",
  7086. "type": "integer"
  7087. },
  7088. "videourl": {
  7089. "description": "视频地址",
  7090. "type": "string"
  7091. },
  7092. "wechat": {
  7093. "description": "微信号 (加密存储)",
  7094. "type": "string"
  7095. }
  7096. }
  7097. },
  7098. "erms3.CustomerInfo": {
  7099. "type": "object",
  7100. "required": [
  7101. "userid"
  7102. ],
  7103. "properties": {
  7104. "accountids": {
  7105. "description": "资金账户ID列表",
  7106. "type": "array",
  7107. "items": {
  7108. "type": "integer"
  7109. }
  7110. },
  7111. "customername": {
  7112. "description": "名称(企业名称)",
  7113. "type": "string"
  7114. },
  7115. "mobile": {
  7116. "description": "手机号码",
  7117. "type": "string"
  7118. },
  7119. "userid": {
  7120. "description": "用户ID",
  7121. "type": "integer"
  7122. }
  7123. }
  7124. },
  7125. "erms3.QryAuditContractRsp": {
  7126. "type": "object",
  7127. "required": [
  7128. "matchcustomername",
  7129. "spotcontractid"
  7130. ],
  7131. "properties": {
  7132. "accountid": {
  7133. "description": "交易员ID",
  7134. "type": "string"
  7135. },
  7136. "applystatus": {
  7137. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7138. "type": "integer"
  7139. },
  7140. "curdeliveryqty": {
  7141. "description": "未交收量",
  7142. "type": "integer"
  7143. },
  7144. "customername": {
  7145. "description": "采购方ID",
  7146. "type": "string"
  7147. },
  7148. "deliverygoodsid": {
  7149. "description": "品种ID",
  7150. "type": "string"
  7151. },
  7152. "deliveryqty": {
  7153. "description": "交收量",
  7154. "type": "integer"
  7155. },
  7156. "enumdicname": {
  7157. "description": "单位名称",
  7158. "type": "string"
  7159. },
  7160. "matchaccountid": {
  7161. "description": "业务员ID",
  7162. "type": "string"
  7163. },
  7164. "matchcustomername": {
  7165. "description": "销售方ID",
  7166. "type": "string"
  7167. },
  7168. "pricedqty": {
  7169. "description": "定价量",
  7170. "type": "number"
  7171. },
  7172. "signdate": {
  7173. "description": "签订日期",
  7174. "type": "string"
  7175. },
  7176. "spotcontractid": {
  7177. "description": "合同ID",
  7178. "type": "string"
  7179. },
  7180. "totaldqty": {
  7181. "description": "合同量",
  7182. "type": "number"
  7183. },
  7184. "unpricedqty": {
  7185. "description": "未定价量",
  7186. "type": "number"
  7187. },
  7188. "wrstandardname": {
  7189. "description": "商品名称",
  7190. "type": "string"
  7191. }
  7192. }
  7193. },
  7194. "erms3.QryPendingBizRsp": {
  7195. "type": "object",
  7196. "properties": {
  7197. "accountid": {
  7198. "description": "现货账户",
  7199. "type": "string"
  7200. },
  7201. "areaname": {
  7202. "description": "所属部门",
  7203. "type": "string"
  7204. },
  7205. "bizid": {
  7206. "description": "业务ID",
  7207. "type": "string"
  7208. },
  7209. "bizname": {
  7210. "description": "业务名称",
  7211. "type": "string"
  7212. },
  7213. "status": {
  7214. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7215. "type": "integer"
  7216. },
  7217. "type": {
  7218. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  7219. "type": "integer"
  7220. }
  7221. }
  7222. },
  7223. "erms3.QueryBusinessInfoRsp": {
  7224. "type": "object",
  7225. "properties": {
  7226. "businessid": {
  7227. "description": "业务ID.",
  7228. "type": "integer"
  7229. },
  7230. "buyamount": {
  7231. "description": "采购额.",
  7232. "type": "number"
  7233. },
  7234. "buyqty": {
  7235. "description": "采购量.",
  7236. "type": "string"
  7237. },
  7238. "futurepl": {
  7239. "description": "期货盈亏.",
  7240. "type": "number"
  7241. },
  7242. "futureqty": {
  7243. "description": "期货敞口.",
  7244. "type": "string"
  7245. },
  7246. "goodsid": {
  7247. "description": "商品名称/商品代码.",
  7248. "type": "string"
  7249. },
  7250. "hedgingqty": {
  7251. "description": "套保量.",
  7252. "type": "string"
  7253. },
  7254. "sellamount": {
  7255. "description": "销售额.",
  7256. "type": "number"
  7257. },
  7258. "sellqty": {
  7259. "description": "销售量.",
  7260. "type": "string"
  7261. },
  7262. "spotmarketvalue": {
  7263. "description": "现货市值.",
  7264. "type": "number"
  7265. },
  7266. "spotpl": {
  7267. "description": "浮动权益.",
  7268. "type": "number"
  7269. },
  7270. "spotqty": {
  7271. "description": "现货量.",
  7272. "type": "string"
  7273. },
  7274. "statu": {
  7275. "description": "状态,0-未结束 1-已结束.",
  7276. "type": "integer"
  7277. },
  7278. "totalpl": {
  7279. "description": "总盈亏.",
  7280. "type": "number"
  7281. },
  7282. "totalqty": {
  7283. "description": "总敞口.",
  7284. "type": "string"
  7285. },
  7286. "type": {
  7287. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  7288. "type": "integer"
  7289. }
  7290. }
  7291. },
  7292. "erms3.QuerySpotContractAppleFormRsp": {
  7293. "type": "object",
  7294. "properties": {
  7295. "goodses": {
  7296. "description": "合约列表",
  7297. "type": "array",
  7298. "items": {
  7299. "$ref": "#/definitions/models.GoodsIDAndName"
  7300. }
  7301. },
  7302. "oppositeusers": {
  7303. "description": "对方账号列表",
  7304. "type": "array",
  7305. "items": {
  7306. "$ref": "#/definitions/erms3.CustomerInfo"
  7307. }
  7308. },
  7309. "ouruser": {
  7310. "description": "我方账号",
  7311. "$ref": "#/definitions/erms3.CustomerInfo"
  7312. },
  7313. "warehouseinfos": {
  7314. "description": "仓库信息列表",
  7315. "type": "array",
  7316. "items": {
  7317. "$ref": "#/definitions/models.Warehouseinfo"
  7318. }
  7319. },
  7320. "wrstandards": {
  7321. "description": "仓单标准列表",
  7322. "type": "array",
  7323. "items": {
  7324. "$ref": "#/definitions/models.WRStandardInfo"
  7325. }
  7326. }
  7327. }
  7328. },
  7329. "erms3.QuerySpotContractInfoRsp": {
  7330. "type": "object",
  7331. "properties": {
  7332. "accountid": {
  7333. "description": "表示交易员ID.",
  7334. "type": "integer"
  7335. },
  7336. "curdeliveryqty": {
  7337. "description": "表示未交收量.",
  7338. "type": "number"
  7339. },
  7340. "customername": {
  7341. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  7342. "type": "string"
  7343. },
  7344. "deliverygoodsid": {
  7345. "description": "表示品种ID.",
  7346. "type": "string"
  7347. },
  7348. "deliveryqty": {
  7349. "description": "表示交收量.",
  7350. "type": "number"
  7351. },
  7352. "matchaccountid": {
  7353. "description": "表示业务员ID.",
  7354. "type": "integer"
  7355. },
  7356. "matchcustomername": {
  7357. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  7358. "type": "string"
  7359. },
  7360. "priceqty": {
  7361. "description": "表示定价量.",
  7362. "type": "number"
  7363. },
  7364. "relatedbizid": {
  7365. "description": "表示业务ID.",
  7366. "type": "string"
  7367. },
  7368. "signdate": {
  7369. "description": "表示签订日期.",
  7370. "type": "string"
  7371. },
  7372. "spotcontractid": {
  7373. "description": "合同ID",
  7374. "type": "string"
  7375. },
  7376. "status": {
  7377. "description": "表示状态,0-履约中 1-已完成.",
  7378. "type": "integer"
  7379. },
  7380. "totalqty": {
  7381. "description": "表示合同量.",
  7382. "type": "number"
  7383. },
  7384. "unpricedqty": {
  7385. "description": "表示未定价量.",
  7386. "type": "number"
  7387. },
  7388. "wrstandardname": {
  7389. "description": "表示商品ID.",
  7390. "type": "string"
  7391. }
  7392. }
  7393. },
  7394. "erms3.QueryUserInfoAppliesRsp": {
  7395. "type": "object",
  7396. "required": [
  7397. "userid"
  7398. ],
  7399. "properties": {
  7400. "biznature": {
  7401. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7402. "type": "integer"
  7403. },
  7404. "contactname": {
  7405. "description": "联系人",
  7406. "type": "string"
  7407. },
  7408. "createtime": {
  7409. "description": "开户申请时间",
  7410. "type": "string"
  7411. },
  7412. "userid": {
  7413. "description": "用户ID(自增ID)",
  7414. "type": "integer"
  7415. },
  7416. "userinfotype": {
  7417. "description": "用户信息类型 - 1:个人 2:企业",
  7418. "type": "integer"
  7419. },
  7420. "username": {
  7421. "description": "用户姓名",
  7422. "type": "string"
  7423. },
  7424. "userstate": {
  7425. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7426. "type": "integer"
  7427. }
  7428. }
  7429. },
  7430. "erms3.QueryUserInfosRsp": {
  7431. "type": "object",
  7432. "required": [
  7433. "userid"
  7434. ],
  7435. "properties": {
  7436. "biznature": {
  7437. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7438. "type": "integer"
  7439. },
  7440. "contactname": {
  7441. "description": "联系人",
  7442. "type": "string"
  7443. },
  7444. "customername": {
  7445. "description": "客户名称(企业名称)",
  7446. "type": "string"
  7447. },
  7448. "userid": {
  7449. "description": "用户ID",
  7450. "type": "integer"
  7451. },
  7452. "userinfotype": {
  7453. "description": "用户信息类型 - 1:个人 2:企业",
  7454. "type": "integer"
  7455. },
  7456. "userstatus": {
  7457. "description": "用户状态 - 1:正常 2:注销",
  7458. "type": "integer"
  7459. }
  7460. }
  7461. },
  7462. "erms3.SoptContractDetail": {
  7463. "type": "object",
  7464. "required": [
  7465. "deliverygoodsid",
  7466. "producttype",
  7467. "unitname",
  7468. "warehouseid",
  7469. "wrstandardid",
  7470. "wrstandardname"
  7471. ],
  7472. "properties": {
  7473. "deliverygoodsdesc": {
  7474. "description": "现货品种说明",
  7475. "type": "string"
  7476. },
  7477. "deliverygoodsid": {
  7478. "description": "现货品种ID",
  7479. "type": "integer"
  7480. },
  7481. "deliverygoodsname": {
  7482. "description": "现货品种名称",
  7483. "type": "string"
  7484. },
  7485. "pointdesc": {
  7486. "description": "点价描述",
  7487. "type": "string"
  7488. },
  7489. "producttype": {
  7490. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  7491. "type": "integer"
  7492. },
  7493. "producttypename": {
  7494. "description": "产品类型名称",
  7495. "type": "string"
  7496. },
  7497. "spotPointOrderVoList": {
  7498. "description": "点价列表",
  7499. "type": "array",
  7500. "items": {
  7501. "$ref": "#/definitions/erms3.SpotPointOrder"
  7502. }
  7503. },
  7504. "spotPriceOrderList": {
  7505. "description": "定价列表",
  7506. "type": "array",
  7507. "items": {
  7508. "$ref": "#/definitions/erms3.SpotPriceOrder"
  7509. }
  7510. },
  7511. "unitname": {
  7512. "description": "单位名称",
  7513. "type": "string"
  7514. },
  7515. "warehouseid": {
  7516. "description": "仓库ID",
  7517. "type": "integer"
  7518. },
  7519. "warehousename": {
  7520. "description": "仓库名称",
  7521. "type": "string"
  7522. },
  7523. "wrstandardid": {
  7524. "description": "交易标的ID",
  7525. "type": "integer"
  7526. },
  7527. "wrstandardname": {
  7528. "description": "交易标的名称",
  7529. "type": "string"
  7530. }
  7531. }
  7532. },
  7533. "erms3.SpotPointOrder": {
  7534. "type": "object",
  7535. "required": [
  7536. "basic",
  7537. "goodsid",
  7538. "qty"
  7539. ],
  7540. "properties": {
  7541. "basic": {
  7542. "description": "基差",
  7543. "type": "number"
  7544. },
  7545. "deliveryenddate": {
  7546. "description": "交收结束日期",
  7547. "type": "string"
  7548. },
  7549. "deliverystartdate": {
  7550. "description": "交收开始日期",
  7551. "type": "string"
  7552. },
  7553. "enddate": {
  7554. "description": "点价结束日期",
  7555. "type": "string"
  7556. },
  7557. "goodsid": {
  7558. "description": "商品ID",
  7559. "type": "integer"
  7560. },
  7561. "goodsname": {
  7562. "description": "商品名称",
  7563. "type": "string"
  7564. },
  7565. "qty": {
  7566. "description": "数量",
  7567. "type": "number"
  7568. },
  7569. "startdate": {
  7570. "description": "点价开始日期",
  7571. "type": "string"
  7572. }
  7573. }
  7574. },
  7575. "erms3.SpotPriceOrder": {
  7576. "type": "object",
  7577. "required": [
  7578. "amount",
  7579. "price",
  7580. "qty"
  7581. ],
  7582. "properties": {
  7583. "amount": {
  7584. "description": "金额",
  7585. "type": "number"
  7586. },
  7587. "deliveryenddate": {
  7588. "description": "交收结束日期",
  7589. "type": "string"
  7590. },
  7591. "deliverystartdate": {
  7592. "description": "交收开始日期",
  7593. "type": "string"
  7594. },
  7595. "price": {
  7596. "description": "价格",
  7597. "type": "number"
  7598. },
  7599. "qty": {
  7600. "description": "数量",
  7601. "type": "number"
  7602. }
  7603. }
  7604. },
  7605. "hsby.GetHsbyMyCountRsp": {
  7606. "type": "object",
  7607. "properties": {
  7608. "myCouponCount": {
  7609. "description": "我的优惠卷数量",
  7610. "type": "integer"
  7611. },
  7612. "myOrderDetailListingCount": {
  7613. "description": "我的订单求购中数量",
  7614. "type": "integer"
  7615. },
  7616. "myOrderDetailPreCount": {
  7617. "description": "我的订单抢购中数量",
  7618. "type": "integer"
  7619. },
  7620. "myPackageUnReceiveCount": {
  7621. "description": "我的包裹待收货数量",
  7622. "type": "integer"
  7623. },
  7624. "myPackageUnSendCount": {
  7625. "description": "我的包裹待发货数量",
  7626. "type": "integer"
  7627. },
  7628. "myPayOrderCount": {
  7629. "description": "我的订单待付款数量",
  7630. "type": "integer"
  7631. }
  7632. }
  7633. },
  7634. "hsby.QueryProvincesAndCitiesRsp": {
  7635. "type": "object",
  7636. "properties": {
  7637. "cities": {
  7638. "description": "市",
  7639. "type": "array",
  7640. "items": {
  7641. "$ref": "#/definitions/models.Division"
  7642. }
  7643. },
  7644. "province": {
  7645. "description": "省",
  7646. "$ref": "#/definitions/models.Division"
  7647. }
  7648. }
  7649. },
  7650. "models.Division": {
  7651. "type": "object",
  7652. "required": [
  7653. "autoid",
  7654. "divisioncode"
  7655. ],
  7656. "properties": {
  7657. "autoid": {
  7658. "description": "自增ID",
  7659. "type": "integer"
  7660. },
  7661. "divisioncode": {
  7662. "description": "行政代码",
  7663. "type": "string"
  7664. },
  7665. "divisionlevel": {
  7666. "description": "行政级别",
  7667. "type": "string"
  7668. },
  7669. "divisionname": {
  7670. "description": "行政名称",
  7671. "type": "string"
  7672. },
  7673. "modifierid": {
  7674. "description": "修改人",
  7675. "type": "integer"
  7676. },
  7677. "modifytime": {
  7678. "description": "修改时间",
  7679. "type": "string"
  7680. },
  7681. "parentcode": {
  7682. "description": "上级行政代码",
  7683. "type": "string"
  7684. },
  7685. "pathname": {
  7686. "description": "路径名称",
  7687. "type": "string"
  7688. },
  7689. "postcode": {
  7690. "description": "邮政编码",
  7691. "type": "string"
  7692. },
  7693. "separablename": {
  7694. "description": "可拆分的全称",
  7695. "type": "string"
  7696. },
  7697. "shortcode": {
  7698. "description": "地区简码",
  7699. "type": "string"
  7700. }
  7701. }
  7702. },
  7703. "models.Enumdicitem": {
  7704. "type": "object",
  7705. "required": [
  7706. "autoid",
  7707. "enumdiccode",
  7708. "enumdicid",
  7709. "enumitemname"
  7710. ],
  7711. "properties": {
  7712. "autoid": {
  7713. "description": "自增ID",
  7714. "type": "integer"
  7715. },
  7716. "bankmappedvalue": {
  7717. "description": "银行服务对应值",
  7718. "type": "string"
  7719. },
  7720. "enumdiccode": {
  7721. "description": "所属枚举代码",
  7722. "type": "string"
  7723. },
  7724. "enumdicid": {
  7725. "description": "所属枚举ID",
  7726. "type": "integer"
  7727. },
  7728. "enumdicname": {
  7729. "description": "枚举项名称",
  7730. "type": "string"
  7731. },
  7732. "enumitemname": {
  7733. "description": "枚举项值",
  7734. "type": "integer"
  7735. },
  7736. "enumitemstatus": {
  7737. "description": "枚举项状态 - 1.启用 2.不启用",
  7738. "type": "integer"
  7739. },
  7740. "enumitemvalue": {
  7741. "description": "通用值 - [币种通用简写]",
  7742. "type": "string"
  7743. },
  7744. "param1": {
  7745. "description": "参数1[币种:币种小数位]",
  7746. "type": "string"
  7747. },
  7748. "param2": {
  7749. "description": "参数1[币种:币种显示单位]",
  7750. "type": "string"
  7751. },
  7752. "remark": {
  7753. "description": "备注",
  7754. "type": "string"
  7755. }
  7756. }
  7757. },
  7758. "models.GoodsIDAndName": {
  7759. "type": "object",
  7760. "required": [
  7761. "goodscode",
  7762. "goodsid",
  7763. "goodsname",
  7764. "marketid"
  7765. ],
  7766. "properties": {
  7767. "goodscode": {
  7768. "description": "商品代码(内部)",
  7769. "type": "string"
  7770. },
  7771. "goodsid": {
  7772. "description": "商品ID(自增ID SEQ_GOODS)",
  7773. "type": "integer"
  7774. },
  7775. "goodsname": {
  7776. "description": "商品名称",
  7777. "type": "string"
  7778. },
  7779. "marketid": {
  7780. "description": "所属市场ID",
  7781. "type": "integer"
  7782. }
  7783. }
  7784. },
  7785. "models.HsbyBuyMyPayOrder": {
  7786. "type": "object",
  7787. "required": [
  7788. "goodscode",
  7789. "goodsname",
  7790. "tradeid",
  7791. "trademode"
  7792. ],
  7793. "properties": {
  7794. "agreeunit": {
  7795. "description": "合约单位",
  7796. "type": "number"
  7797. },
  7798. "buyaccountid": {
  7799. "description": "买方账号ID[报价币种]",
  7800. "type": "integer"
  7801. },
  7802. "buyorderid": {
  7803. "description": "买方委托单号",
  7804. "type": "string"
  7805. },
  7806. "createtime": {
  7807. "description": "创建时间",
  7808. "type": "string"
  7809. },
  7810. "currencysign": {
  7811. "description": "货币符号",
  7812. "type": "string"
  7813. },
  7814. "decimalplace": {
  7815. "description": "报价小数位",
  7816. "type": "integer"
  7817. },
  7818. "goodscode": {
  7819. "description": "商品代码(内部)",
  7820. "type": "string"
  7821. },
  7822. "goodsid": {
  7823. "description": "商品ID",
  7824. "type": "integer"
  7825. },
  7826. "goodsname": {
  7827. "description": "商品名称",
  7828. "type": "string"
  7829. },
  7830. "marketid": {
  7831. "description": "市场ID",
  7832. "type": "integer"
  7833. },
  7834. "offamount": {
  7835. "description": "优惠金额",
  7836. "type": "number"
  7837. },
  7838. "payamount": {
  7839. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7840. "type": "number"
  7841. },
  7842. "payflag": {
  7843. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7844. "type": "integer"
  7845. },
  7846. "paylimitedtime": {
  7847. "description": "支付期限",
  7848. "type": "string"
  7849. },
  7850. "paytime": {
  7851. "description": "付款时间",
  7852. "type": "string"
  7853. },
  7854. "picurls1": {
  7855. "description": "预售商品介绍图片[多张用逗号分隔]",
  7856. "type": "string"
  7857. },
  7858. "picurls2": {
  7859. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7860. "type": "string"
  7861. },
  7862. "sellaccountid": {
  7863. "description": "卖方账号ID[报价币种]",
  7864. "type": "integer"
  7865. },
  7866. "sellorderid": {
  7867. "description": "卖方委托单号",
  7868. "type": "string"
  7869. },
  7870. "tradeamount": {
  7871. "description": "成交金额",
  7872. "type": "number"
  7873. },
  7874. "tradecharge": {
  7875. "description": "成交手续费(买方)",
  7876. "type": "number"
  7877. },
  7878. "tradedate": {
  7879. "description": "交易日(yyyyMMdd)",
  7880. "type": "string"
  7881. },
  7882. "tradeid": {
  7883. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7884. "type": "string"
  7885. },
  7886. "trademode": {
  7887. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7888. "type": "integer"
  7889. },
  7890. "tradeprice": {
  7891. "description": "成交价格",
  7892. "type": "number"
  7893. },
  7894. "tradeqty": {
  7895. "description": "成交数量",
  7896. "type": "integer"
  7897. },
  7898. "vendorname1": {
  7899. "description": "预售商品供应商名称",
  7900. "type": "string"
  7901. },
  7902. "vendorname2": {
  7903. "description": "挂牌商品供应商名称",
  7904. "type": "string"
  7905. }
  7906. }
  7907. },
  7908. "models.HsbyBuyMyTradeDetail": {
  7909. "type": "object",
  7910. "required": [
  7911. "accountid",
  7912. "buyorsell",
  7913. "goodscode",
  7914. "goodsid",
  7915. "goodsname",
  7916. "marketid",
  7917. "orderid",
  7918. "qty",
  7919. "time",
  7920. "trademode"
  7921. ],
  7922. "properties": {
  7923. "accountid": {
  7924. "description": "账户ID[报价币种]",
  7925. "type": "integer"
  7926. },
  7927. "agreeunit": {
  7928. "description": "合约单位",
  7929. "type": "number"
  7930. },
  7931. "amount": {
  7932. "description": "金额 = 价格 * 数量 * 合约单位",
  7933. "type": "number"
  7934. },
  7935. "buyorsell": {
  7936. "description": "买卖 - 0:买 1:卖",
  7937. "type": "integer"
  7938. },
  7939. "currencysign": {
  7940. "description": "货币符号",
  7941. "type": "string"
  7942. },
  7943. "decimalplace": {
  7944. "description": "报价小数位",
  7945. "type": "integer"
  7946. },
  7947. "goodscode": {
  7948. "description": "商品代码(内部)",
  7949. "type": "string"
  7950. },
  7951. "goodsid": {
  7952. "description": "商品ID",
  7953. "type": "integer"
  7954. },
  7955. "goodsname": {
  7956. "description": "商品名称",
  7957. "type": "string"
  7958. },
  7959. "marketid": {
  7960. "description": "市场ID",
  7961. "type": "integer"
  7962. },
  7963. "orderid": {
  7964. "description": "单号(成交单号)",
  7965. "type": "string"
  7966. },
  7967. "picurls1": {
  7968. "description": "预售商品介绍图片[多张用逗号分隔]",
  7969. "type": "string"
  7970. },
  7971. "picurls2": {
  7972. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7973. "type": "string"
  7974. },
  7975. "price": {
  7976. "description": "价格",
  7977. "type": "number"
  7978. },
  7979. "qty": {
  7980. "description": "数量",
  7981. "type": "integer"
  7982. },
  7983. "time": {
  7984. "description": "时间",
  7985. "type": "string"
  7986. },
  7987. "trademode": {
  7988. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7989. "type": "integer"
  7990. },
  7991. "vendorname1": {
  7992. "description": "预售商品供应商名称",
  7993. "type": "string"
  7994. },
  7995. "vendorname2": {
  7996. "description": "挂牌商品供应商名称",
  7997. "type": "string"
  7998. }
  7999. }
  8000. },
  8001. "models.HsbyGoodsOrderDetail": {
  8002. "type": "object",
  8003. "required": [
  8004. "buyorsell",
  8005. "orderid",
  8006. "ordertime"
  8007. ],
  8008. "properties": {
  8009. "buyorsell": {
  8010. "description": "买卖 - 0:买 1:卖",
  8011. "type": "integer"
  8012. },
  8013. "currencysign": {
  8014. "description": "货币符号",
  8015. "type": "string"
  8016. },
  8017. "customername": {
  8018. "description": "客户名称(企业名称),已脱敏",
  8019. "type": "string"
  8020. },
  8021. "enableqty": {
  8022. "description": "可用数量",
  8023. "type": "integer"
  8024. },
  8025. "goodunit": {
  8026. "description": "报价单位",
  8027. "type": "string"
  8028. },
  8029. "orderid": {
  8030. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8031. "type": "string"
  8032. },
  8033. "orderprice": {
  8034. "description": "委托价格",
  8035. "type": "number"
  8036. },
  8037. "ordertime": {
  8038. "description": "委托时间",
  8039. "type": "string"
  8040. }
  8041. }
  8042. },
  8043. "models.HsbyListingGoodsDetail": {
  8044. "type": "object",
  8045. "required": [
  8046. "goodscode",
  8047. "goodsid",
  8048. "goodsname",
  8049. "marketid",
  8050. "trademode"
  8051. ],
  8052. "properties": {
  8053. "agreeunit": {
  8054. "description": "合约单位",
  8055. "type": "number"
  8056. },
  8057. "buymaxqty": {
  8058. "description": "购买上限 [71] - 0为不限",
  8059. "type": "integer"
  8060. },
  8061. "currency": {
  8062. "description": "货币",
  8063. "type": "string"
  8064. },
  8065. "currencysign": {
  8066. "description": "货币符号",
  8067. "type": "string"
  8068. },
  8069. "decimalplace": {
  8070. "description": "报价小数位",
  8071. "type": "integer"
  8072. },
  8073. "desccityid": {
  8074. "description": "目的地(市)ID",
  8075. "type": "integer"
  8076. },
  8077. "descprovinceid": {
  8078. "description": "目的地(省)ID",
  8079. "type": "integer"
  8080. },
  8081. "goodscode": {
  8082. "description": "商品代码(内部)",
  8083. "type": "string"
  8084. },
  8085. "goodsdesc": {
  8086. "description": "商品详情",
  8087. "type": "string"
  8088. },
  8089. "goodsid": {
  8090. "description": "商品ID(自增ID SEQ_GOODS)",
  8091. "type": "integer"
  8092. },
  8093. "goodsname": {
  8094. "description": "商品名称",
  8095. "type": "string"
  8096. },
  8097. "goodsprice": {
  8098. "description": "商品价格",
  8099. "type": "number"
  8100. },
  8101. "hotindex": {
  8102. "description": "景点热度",
  8103. "type": "integer"
  8104. },
  8105. "last": {
  8106. "description": "现价",
  8107. "type": "number"
  8108. },
  8109. "limitdown": {
  8110. "description": "跌停价",
  8111. "type": "number"
  8112. },
  8113. "limitup": {
  8114. "description": "涨停价",
  8115. "type": "number"
  8116. },
  8117. "lotsize": {
  8118. "description": "手数最小变动单位",
  8119. "type": "integer"
  8120. },
  8121. "marketid": {
  8122. "description": "所属市场ID",
  8123. "type": "integer"
  8124. },
  8125. "picurls": {
  8126. "description": "介绍图片[多张用逗号分隔]",
  8127. "type": "string"
  8128. },
  8129. "quoteminunit": {
  8130. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8131. "type": "integer"
  8132. },
  8133. "stepvalue": {
  8134. "description": "价格最小变动单位",
  8135. "type": "number"
  8136. },
  8137. "trademode": {
  8138. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8139. "type": "integer"
  8140. },
  8141. "vendorattr": {
  8142. "description": "供应商附件(多张,逗号分隔)",
  8143. "type": "string"
  8144. },
  8145. "vendorname": {
  8146. "description": "供应商名称",
  8147. "type": "string"
  8148. },
  8149. "vendorphone": {
  8150. "description": "供应商客服电话",
  8151. "type": "string"
  8152. },
  8153. "videourls": {
  8154. "description": "介绍视频[多张用逗号分隔]",
  8155. "type": "string"
  8156. }
  8157. }
  8158. },
  8159. "models.HsbyMarketGoods": {
  8160. "type": "object",
  8161. "required": [
  8162. "accountid",
  8163. "buyorsell",
  8164. "goodscode",
  8165. "goodsid",
  8166. "goodsname",
  8167. "marketid",
  8168. "orderid",
  8169. "trademode"
  8170. ],
  8171. "properties": {
  8172. "accountid": {
  8173. "description": "账户ID[报价币种]",
  8174. "type": "integer"
  8175. },
  8176. "agreeunit": {
  8177. "description": "合约单位",
  8178. "type": "number"
  8179. },
  8180. "buyorsell": {
  8181. "description": "买卖 - 0:买 1:卖",
  8182. "type": "integer"
  8183. },
  8184. "categoryid": {
  8185. "description": "类别ID(WRCATEGORY)",
  8186. "type": "integer"
  8187. },
  8188. "currency": {
  8189. "description": "货币",
  8190. "type": "string"
  8191. },
  8192. "currencysign": {
  8193. "description": "货币符号",
  8194. "type": "string"
  8195. },
  8196. "customername": {
  8197. "description": "卖家名称",
  8198. "type": "string"
  8199. },
  8200. "decimalplace": {
  8201. "description": "报价小数位",
  8202. "type": "integer"
  8203. },
  8204. "goodscode": {
  8205. "description": "商品代码(内部)",
  8206. "type": "string"
  8207. },
  8208. "goodsid": {
  8209. "description": "商品ID",
  8210. "type": "integer"
  8211. },
  8212. "goodsname": {
  8213. "description": "商品名称",
  8214. "type": "string"
  8215. },
  8216. "hascoupon": {
  8217. "description": "是否可用优惠卷",
  8218. "type": "boolean"
  8219. },
  8220. "hotindex": {
  8221. "description": "景点热度",
  8222. "type": "integer"
  8223. },
  8224. "marketid": {
  8225. "description": "市场ID",
  8226. "type": "integer"
  8227. },
  8228. "orderid": {
  8229. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8230. "type": "string"
  8231. },
  8232. "orderprice": {
  8233. "description": "委托价格",
  8234. "type": "number"
  8235. },
  8236. "orderstatus": {
  8237. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8238. "type": "integer"
  8239. },
  8240. "picurls": {
  8241. "description": "介绍图片[多张用逗号分隔]",
  8242. "type": "string"
  8243. },
  8244. "quoteminunit": {
  8245. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8246. "type": "integer"
  8247. },
  8248. "sellUserID": {
  8249. "description": "卖方UserID",
  8250. "type": "integer"
  8251. },
  8252. "trademode": {
  8253. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8254. "type": "integer"
  8255. },
  8256. "videourls": {
  8257. "description": "介绍视频[多张用逗号分隔]",
  8258. "type": "string"
  8259. }
  8260. }
  8261. },
  8262. "models.HsbyMarketGoodsDetail": {
  8263. "type": "object",
  8264. "required": [
  8265. "accountid",
  8266. "buyorsell",
  8267. "goodscode",
  8268. "goodsid",
  8269. "goodsname",
  8270. "marketid",
  8271. "orderid",
  8272. "orderqty",
  8273. "trademode"
  8274. ],
  8275. "properties": {
  8276. "accountid": {
  8277. "description": "账户ID[报价币种]",
  8278. "type": "integer"
  8279. },
  8280. "agreeunit": {
  8281. "description": "合约单位",
  8282. "type": "number"
  8283. },
  8284. "buymaxqty": {
  8285. "description": "购买上限 [71] - 0为不限",
  8286. "type": "integer"
  8287. },
  8288. "buyorsell": {
  8289. "description": "买卖 - 0:买 1:卖",
  8290. "type": "integer"
  8291. },
  8292. "cancelqty": {
  8293. "description": "撤单数量",
  8294. "type": "integer"
  8295. },
  8296. "categoryid": {
  8297. "description": "类别ID(WRCATEGORY)",
  8298. "type": "integer"
  8299. },
  8300. "currency": {
  8301. "description": "货币",
  8302. "type": "string"
  8303. },
  8304. "currencysign": {
  8305. "description": "货币符号",
  8306. "type": "string"
  8307. },
  8308. "customername": {
  8309. "description": "卖家名称",
  8310. "type": "string"
  8311. },
  8312. "decimalplace": {
  8313. "description": "报价小数位",
  8314. "type": "integer"
  8315. },
  8316. "goodscode": {
  8317. "description": "商品代码(内部)",
  8318. "type": "string"
  8319. },
  8320. "goodsdesc": {
  8321. "description": "商品详情",
  8322. "type": "string"
  8323. },
  8324. "goodsid": {
  8325. "description": "商品ID",
  8326. "type": "integer"
  8327. },
  8328. "goodsname": {
  8329. "description": "商品名称",
  8330. "type": "string"
  8331. },
  8332. "hotindex": {
  8333. "description": "景点热度",
  8334. "type": "integer"
  8335. },
  8336. "lotsize": {
  8337. "description": "手数最小变动单位",
  8338. "type": "integer"
  8339. },
  8340. "marketid": {
  8341. "description": "市场ID",
  8342. "type": "integer"
  8343. },
  8344. "orderid": {
  8345. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8346. "type": "string"
  8347. },
  8348. "orderprice": {
  8349. "description": "委托价格",
  8350. "type": "number"
  8351. },
  8352. "orderqty": {
  8353. "description": "委托数量",
  8354. "type": "integer"
  8355. },
  8356. "orderstatus": {
  8357. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8358. "type": "integer"
  8359. },
  8360. "picurls": {
  8361. "description": "介绍图片[多张用逗号分隔]",
  8362. "type": "string"
  8363. },
  8364. "quoteminunit": {
  8365. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8366. "type": "integer"
  8367. },
  8368. "sellUserID": {
  8369. "description": "卖方UserID",
  8370. "type": "integer"
  8371. },
  8372. "trademode": {
  8373. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8374. "type": "integer"
  8375. },
  8376. "tradeqty": {
  8377. "description": "成交数量",
  8378. "type": "integer"
  8379. },
  8380. "vendorattr": {
  8381. "description": "供应商附件(多张,逗号分隔)",
  8382. "type": "string"
  8383. },
  8384. "vendorname": {
  8385. "description": "供应商名称",
  8386. "type": "string"
  8387. },
  8388. "videourls": {
  8389. "description": "介绍视频[多张用逗号分隔]",
  8390. "type": "string"
  8391. }
  8392. }
  8393. },
  8394. "models.HsbyMarketInfo": {
  8395. "type": "object",
  8396. "required": [
  8397. "marketid",
  8398. "marketstatus",
  8399. "trademode"
  8400. ],
  8401. "properties": {
  8402. "marketid": {
  8403. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  8404. "type": "integer"
  8405. },
  8406. "marketname": {
  8407. "description": "市场名称",
  8408. "type": "string"
  8409. },
  8410. "marketstatus": {
  8411. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  8412. "type": "integer"
  8413. },
  8414. "trademode": {
  8415. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8416. "type": "integer"
  8417. }
  8418. }
  8419. },
  8420. "models.HsbyMyGoods": {
  8421. "type": "object",
  8422. "required": [
  8423. "accountid",
  8424. "goodscode",
  8425. "goodsid",
  8426. "goodsname",
  8427. "marketid",
  8428. "trademode"
  8429. ],
  8430. "properties": {
  8431. "accountid": {
  8432. "description": "账号Id",
  8433. "type": "integer"
  8434. },
  8435. "agreeunit": {
  8436. "description": "合约单位",
  8437. "type": "number"
  8438. },
  8439. "buyaverageprice": {
  8440. "description": "持仓均价",
  8441. "type": "number"
  8442. },
  8443. "buycurholderamount": {
  8444. "description": "买当前持仓总金额[商品币种]",
  8445. "type": "number"
  8446. },
  8447. "buycurpositionqty": {
  8448. "description": "买当前持仓总数量",
  8449. "type": "integer"
  8450. },
  8451. "buymaxqty": {
  8452. "description": "购买上限 [71] - 0为不限",
  8453. "type": "integer"
  8454. },
  8455. "currencysign": {
  8456. "description": "货币符号",
  8457. "type": "string"
  8458. },
  8459. "decimalplace": {
  8460. "description": "报价小数位",
  8461. "type": "integer"
  8462. },
  8463. "enableqty": {
  8464. "description": "可用数量",
  8465. "type": "integer"
  8466. },
  8467. "goodscode": {
  8468. "description": "商品代码(内部)",
  8469. "type": "string"
  8470. },
  8471. "goodsid": {
  8472. "description": "商品Id",
  8473. "type": "integer"
  8474. },
  8475. "goodsname": {
  8476. "description": "商品名称",
  8477. "type": "string"
  8478. },
  8479. "goodsprice": {
  8480. "description": "商品价格",
  8481. "type": "number"
  8482. },
  8483. "goodsstatus": {
  8484. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  8485. "type": "integer"
  8486. },
  8487. "last": {
  8488. "description": "现价(仅使用于挂牌点选)",
  8489. "type": "number"
  8490. },
  8491. "limitdown": {
  8492. "description": "跌停价(仅使用于挂牌点选)",
  8493. "type": "number"
  8494. },
  8495. "limitup": {
  8496. "description": "涨停价(仅使用于挂牌点选)",
  8497. "type": "number"
  8498. },
  8499. "lotsize": {
  8500. "description": "手数最小变动单位",
  8501. "type": "integer"
  8502. },
  8503. "marketid": {
  8504. "description": "所属市场ID",
  8505. "type": "integer"
  8506. },
  8507. "picurls": {
  8508. "description": "介绍图片[多张用逗号分隔]",
  8509. "type": "string"
  8510. },
  8511. "quoteminunit": {
  8512. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8513. "type": "integer"
  8514. },
  8515. "stepvalue": {
  8516. "description": "价格最小变动单位",
  8517. "type": "number"
  8518. },
  8519. "trademode": {
  8520. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8521. "type": "integer"
  8522. }
  8523. }
  8524. },
  8525. "models.HsbyMyPackage": {
  8526. "type": "object",
  8527. "required": [
  8528. "goodscode",
  8529. "goodsname",
  8530. "takeorderid"
  8531. ],
  8532. "properties": {
  8533. "accountid": {
  8534. "description": "账户ID",
  8535. "type": "integer"
  8536. },
  8537. "address": {
  8538. "description": "提货人详细地址",
  8539. "type": "string"
  8540. },
  8541. "agreeunit": {
  8542. "description": "合约单位",
  8543. "type": "number"
  8544. },
  8545. "amount": {
  8546. "description": "提货金额",
  8547. "type": "number"
  8548. },
  8549. "auditer": {
  8550. "description": "审核人",
  8551. "type": "integer"
  8552. },
  8553. "audittime": {
  8554. "description": "审核时间",
  8555. "type": "string"
  8556. },
  8557. "averageprice": {
  8558. "description": "均价",
  8559. "type": "number"
  8560. },
  8561. "cardnum": {
  8562. "description": "提货人证件号码",
  8563. "type": "string"
  8564. },
  8565. "cardtypeid": {
  8566. "description": "提货人证件类型",
  8567. "type": "integer"
  8568. },
  8569. "checkremark": {
  8570. "description": "审核备注",
  8571. "type": "string"
  8572. },
  8573. "currencysign": {
  8574. "description": "货币符号",
  8575. "type": "string"
  8576. },
  8577. "decimalplace": {
  8578. "description": "报价小数位",
  8579. "type": "integer"
  8580. },
  8581. "goodscode": {
  8582. "description": "商品代码(内部)",
  8583. "type": "string"
  8584. },
  8585. "goodsid": {
  8586. "description": "商品ID",
  8587. "type": "integer"
  8588. },
  8589. "goodsname": {
  8590. "description": "商品名称",
  8591. "type": "string"
  8592. },
  8593. "handlestatus": {
  8594. "description": "处理状态",
  8595. "type": "integer"
  8596. },
  8597. "marketid": {
  8598. "description": "市场ID",
  8599. "type": "integer"
  8600. },
  8601. "phonenum": {
  8602. "description": "提货人联系方式",
  8603. "type": "string"
  8604. },
  8605. "picurls": {
  8606. "description": "介绍图片[多张用逗号分隔]",
  8607. "type": "string"
  8608. },
  8609. "qty": {
  8610. "description": "提货数量",
  8611. "type": "number"
  8612. },
  8613. "recivername": {
  8614. "description": "提货人姓名",
  8615. "type": "string"
  8616. },
  8617. "reqtime": {
  8618. "description": "更新时间",
  8619. "type": "string"
  8620. },
  8621. "takemode": {
  8622. "description": "提货方式 - 2:自提 3:配送",
  8623. "type": "integer"
  8624. },
  8625. "takeorderid": {
  8626. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  8627. "type": "string"
  8628. },
  8629. "takeorderstatus": {
  8630. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8631. "type": "integer"
  8632. },
  8633. "takeremark": {
  8634. "description": "提货备注",
  8635. "type": "string"
  8636. },
  8637. "tradedate": {
  8638. "description": "交易日(yyyyMMdd)",
  8639. "type": "string"
  8640. },
  8641. "userid": {
  8642. "description": "用户ID",
  8643. "type": "integer"
  8644. },
  8645. "vendorname": {
  8646. "description": "供应商名称",
  8647. "type": "string"
  8648. }
  8649. }
  8650. },
  8651. "models.HsbyPreGoods": {
  8652. "type": "object",
  8653. "required": [
  8654. "goodscode",
  8655. "goodsid",
  8656. "goodsname",
  8657. "marketid",
  8658. "trademode"
  8659. ],
  8660. "properties": {
  8661. "agreeunit": {
  8662. "description": "合约单位",
  8663. "type": "number"
  8664. },
  8665. "currency": {
  8666. "description": "货币",
  8667. "type": "string"
  8668. },
  8669. "currencysign": {
  8670. "description": "货币符号",
  8671. "type": "string"
  8672. },
  8673. "decimalplace": {
  8674. "description": "报价小数位",
  8675. "type": "integer"
  8676. },
  8677. "enableqty": {
  8678. "description": "剩余数量",
  8679. "type": "integer"
  8680. },
  8681. "goodscode": {
  8682. "description": "商品代码(内部)",
  8683. "type": "string"
  8684. },
  8685. "goodsid": {
  8686. "description": "商品ID(自增ID SEQ_GOODS)",
  8687. "type": "integer"
  8688. },
  8689. "goodsname": {
  8690. "description": "商品名称",
  8691. "type": "string"
  8692. },
  8693. "goodsstatus": {
  8694. "description": "商品状态- 2:未上市 3:上市",
  8695. "type": "integer"
  8696. },
  8697. "lasttradedate": {
  8698. "description": "最后交易日期(状态:待退市)",
  8699. "type": "string"
  8700. },
  8701. "listingdate": {
  8702. "description": "交易开始日期",
  8703. "type": "string"
  8704. },
  8705. "marketid": {
  8706. "description": "所属市场ID",
  8707. "type": "integer"
  8708. },
  8709. "picurls": {
  8710. "description": "介绍图片[多张用逗号分隔]",
  8711. "type": "string"
  8712. },
  8713. "presaledqty": {
  8714. "description": "已预售量(预售结束时更新)",
  8715. "type": "integer"
  8716. },
  8717. "presaleqty": {
  8718. "description": "预售数量",
  8719. "type": "integer"
  8720. },
  8721. "quoteminunit": {
  8722. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8723. "type": "integer"
  8724. },
  8725. "refprice": {
  8726. "description": "参考价格[一口价]",
  8727. "type": "number"
  8728. },
  8729. "relatedgoodsid": {
  8730. "description": "关联交易合约ID",
  8731. "type": "integer"
  8732. },
  8733. "trademode": {
  8734. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8735. "type": "integer"
  8736. },
  8737. "videourls": {
  8738. "description": "介绍视频[多张用逗号分隔]",
  8739. "type": "string"
  8740. }
  8741. }
  8742. },
  8743. "models.HsbyPreGoodsDetail": {
  8744. "type": "object",
  8745. "required": [
  8746. "goodscode",
  8747. "goodsid",
  8748. "goodsname",
  8749. "marketid",
  8750. "trademode"
  8751. ],
  8752. "properties": {
  8753. "agreeunit": {
  8754. "description": "合约单位",
  8755. "type": "number"
  8756. },
  8757. "buymaxqty": {
  8758. "description": "购买上限 [71] - 0为不限",
  8759. "type": "integer"
  8760. },
  8761. "currency": {
  8762. "description": "货币",
  8763. "type": "string"
  8764. },
  8765. "currencysign": {
  8766. "description": "货币符号",
  8767. "type": "string"
  8768. },
  8769. "customername": {
  8770. "description": "发行单位",
  8771. "type": "string"
  8772. },
  8773. "decimalplace": {
  8774. "description": "报价小数位",
  8775. "type": "integer"
  8776. },
  8777. "desccityid": {
  8778. "description": "目的地(市)ID",
  8779. "type": "integer"
  8780. },
  8781. "descprovinceid": {
  8782. "description": "目的地(省)ID",
  8783. "type": "integer"
  8784. },
  8785. "enableqty": {
  8786. "description": "剩余数量",
  8787. "type": "integer"
  8788. },
  8789. "goodscode": {
  8790. "description": "商品代码(内部)",
  8791. "type": "string"
  8792. },
  8793. "goodsdesc": {
  8794. "description": "商品详情",
  8795. "type": "string"
  8796. },
  8797. "goodsid": {
  8798. "description": "商品ID(自增ID SEQ_GOODS)",
  8799. "type": "integer"
  8800. },
  8801. "goodsname": {
  8802. "description": "商品名称",
  8803. "type": "string"
  8804. },
  8805. "goodsstatus": {
  8806. "description": "商品状态- 2:未上市 3:上市",
  8807. "type": "integer"
  8808. },
  8809. "goodunit": {
  8810. "description": "报价单位",
  8811. "type": "string"
  8812. },
  8813. "lasttradedate": {
  8814. "description": "最后交易日期(状态:待退市)",
  8815. "type": "string"
  8816. },
  8817. "listingdate": {
  8818. "description": "交易开始日期",
  8819. "type": "string"
  8820. },
  8821. "lotsize": {
  8822. "description": "手数最小变动单位",
  8823. "type": "integer"
  8824. },
  8825. "marketid": {
  8826. "description": "所属市场ID",
  8827. "type": "integer"
  8828. },
  8829. "picurls": {
  8830. "description": "介绍图片[多张用逗号分隔]",
  8831. "type": "string"
  8832. },
  8833. "presaledqty": {
  8834. "description": "已预售量(预售结束时更新)",
  8835. "type": "integer"
  8836. },
  8837. "presaleqty": {
  8838. "description": "预售数量",
  8839. "type": "integer"
  8840. },
  8841. "quoteminunit": {
  8842. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8843. "type": "integer"
  8844. },
  8845. "refprice": {
  8846. "description": "参考价格[一口价]",
  8847. "type": "number"
  8848. },
  8849. "relatedgoodsid": {
  8850. "description": "关联交易合约ID",
  8851. "type": "integer"
  8852. },
  8853. "stepvalue": {
  8854. "description": "价格最小变动单位",
  8855. "type": "number"
  8856. },
  8857. "trademode": {
  8858. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8859. "type": "integer"
  8860. },
  8861. "vendorattr": {
  8862. "description": "供应商附件(多张,逗号分隔)",
  8863. "type": "string"
  8864. },
  8865. "vendorname": {
  8866. "description": "供应商名称",
  8867. "type": "string"
  8868. },
  8869. "vendorphone": {
  8870. "description": "供应商客服电话",
  8871. "type": "string"
  8872. },
  8873. "videourls": {
  8874. "description": "介绍视频[多张用逗号分隔]",
  8875. "type": "string"
  8876. }
  8877. }
  8878. },
  8879. "models.HsbySellCollectionOrder": {
  8880. "type": "object",
  8881. "required": [
  8882. "goodscode",
  8883. "goodsname",
  8884. "tradeid",
  8885. "trademode"
  8886. ],
  8887. "properties": {
  8888. "agreeunit": {
  8889. "description": "合约单位",
  8890. "type": "number"
  8891. },
  8892. "buyaccountid": {
  8893. "description": "买方账号ID[报价币种]",
  8894. "type": "integer"
  8895. },
  8896. "buyorderid": {
  8897. "description": "买方委托单号",
  8898. "type": "string"
  8899. },
  8900. "createtime": {
  8901. "description": "创建时间",
  8902. "type": "string"
  8903. },
  8904. "currencysign": {
  8905. "description": "货币符号",
  8906. "type": "string"
  8907. },
  8908. "decimalplace": {
  8909. "description": "报价小数位",
  8910. "type": "integer"
  8911. },
  8912. "goodscode": {
  8913. "description": "商品代码(内部)",
  8914. "type": "string"
  8915. },
  8916. "goodsid": {
  8917. "description": "商品ID",
  8918. "type": "integer"
  8919. },
  8920. "goodsname": {
  8921. "description": "商品名称",
  8922. "type": "string"
  8923. },
  8924. "marketid": {
  8925. "description": "市场ID",
  8926. "type": "integer"
  8927. },
  8928. "offamount": {
  8929. "description": "优惠金额",
  8930. "type": "number"
  8931. },
  8932. "payamount": {
  8933. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8934. "type": "number"
  8935. },
  8936. "payflag": {
  8937. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8938. "type": "integer"
  8939. },
  8940. "paylimitedtime": {
  8941. "description": "支付期限",
  8942. "type": "string"
  8943. },
  8944. "paytime": {
  8945. "description": "付款时间",
  8946. "type": "string"
  8947. },
  8948. "picurls": {
  8949. "description": "商品介绍图片[多张用逗号分隔]",
  8950. "type": "string"
  8951. },
  8952. "sellaccountid": {
  8953. "description": "卖方账号ID[报价币种]",
  8954. "type": "integer"
  8955. },
  8956. "sellorderid": {
  8957. "description": "卖方委托单号",
  8958. "type": "string"
  8959. },
  8960. "tradeamount": {
  8961. "description": "成交金额",
  8962. "type": "number"
  8963. },
  8964. "tradecharge": {
  8965. "description": "成交手续费(买方)",
  8966. "type": "number"
  8967. },
  8968. "tradedate": {
  8969. "description": "交易日(yyyyMMdd)",
  8970. "type": "string"
  8971. },
  8972. "tradeid": {
  8973. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8974. "type": "string"
  8975. },
  8976. "trademode": {
  8977. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8978. "type": "integer"
  8979. },
  8980. "tradeprice": {
  8981. "description": "成交价格",
  8982. "type": "number"
  8983. },
  8984. "tradeqty": {
  8985. "description": "成交数量",
  8986. "type": "integer"
  8987. }
  8988. }
  8989. },
  8990. "models.HsbySellMyDetail": {
  8991. "type": "object",
  8992. "required": [
  8993. "accountid",
  8994. "buyorsell",
  8995. "goodscode",
  8996. "goodsid",
  8997. "goodsname",
  8998. "marketid",
  8999. "orderid",
  9000. "time",
  9001. "trademode"
  9002. ],
  9003. "properties": {
  9004. "accountid": {
  9005. "description": "账户ID[报价币种]",
  9006. "type": "integer"
  9007. },
  9008. "agreeunit": {
  9009. "description": "合约单位",
  9010. "type": "number"
  9011. },
  9012. "buyorsell": {
  9013. "description": "买卖 - 0:买 1:卖",
  9014. "type": "integer"
  9015. },
  9016. "currencysign": {
  9017. "description": "货币符号",
  9018. "type": "string"
  9019. },
  9020. "decimalplace": {
  9021. "description": "报价小数位",
  9022. "type": "integer"
  9023. },
  9024. "goodscode": {
  9025. "description": "商品代码(内部)",
  9026. "type": "string"
  9027. },
  9028. "goodsid": {
  9029. "description": "商品ID",
  9030. "type": "integer"
  9031. },
  9032. "goodsname": {
  9033. "description": "商品名称",
  9034. "type": "string"
  9035. },
  9036. "marketid": {
  9037. "description": "市场ID",
  9038. "type": "integer"
  9039. },
  9040. "orderid": {
  9041. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  9042. "type": "string"
  9043. },
  9044. "ordertype": {
  9045. "description": "单据类型:0 - 发布中, 1 - 已完成",
  9046. "type": "integer"
  9047. },
  9048. "picurls": {
  9049. "description": "介绍图片[多张用逗号分隔]",
  9050. "type": "string"
  9051. },
  9052. "price": {
  9053. "description": "价格",
  9054. "type": "number"
  9055. },
  9056. "qty": {
  9057. "description": "数量",
  9058. "type": "integer"
  9059. },
  9060. "time": {
  9061. "description": "时间",
  9062. "type": "string"
  9063. },
  9064. "trademode": {
  9065. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9066. "type": "integer"
  9067. },
  9068. "vendorname": {
  9069. "description": "供应商名称",
  9070. "type": "string"
  9071. }
  9072. }
  9073. },
  9074. "models.HsbyTopGoods": {
  9075. "type": "object",
  9076. "required": [
  9077. "goodscode",
  9078. "goodsid",
  9079. "goodsname",
  9080. "marketid",
  9081. "trademode"
  9082. ],
  9083. "properties": {
  9084. "agreeunit": {
  9085. "description": "合约单位",
  9086. "type": "number"
  9087. },
  9088. "currency": {
  9089. "description": "货币",
  9090. "type": "string"
  9091. },
  9092. "currencysign": {
  9093. "description": "货币符号",
  9094. "type": "string"
  9095. },
  9096. "decimalplace": {
  9097. "description": "报价小数位",
  9098. "type": "integer"
  9099. },
  9100. "goodscode": {
  9101. "description": "商品代码(内部)",
  9102. "type": "string"
  9103. },
  9104. "goodsid": {
  9105. "description": "商品ID(自增ID SEQ_GOODS)",
  9106. "type": "integer"
  9107. },
  9108. "goodsname": {
  9109. "description": "商品名称",
  9110. "type": "string"
  9111. },
  9112. "hotindex": {
  9113. "description": "景点热度",
  9114. "type": "integer"
  9115. },
  9116. "last": {
  9117. "description": "现价",
  9118. "type": "number"
  9119. },
  9120. "marketid": {
  9121. "description": "所属市场ID",
  9122. "type": "integer"
  9123. },
  9124. "picurls": {
  9125. "description": "介绍图片[多张用逗号分隔]",
  9126. "type": "string"
  9127. },
  9128. "quoteminunit": {
  9129. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9130. "type": "integer"
  9131. },
  9132. "trademode": {
  9133. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9134. "type": "integer"
  9135. },
  9136. "videourls": {
  9137. "description": "介绍视频[多张用逗号分隔]",
  9138. "type": "string"
  9139. }
  9140. }
  9141. },
  9142. "models.HybsMyBuyOrderDetail": {
  9143. "type": "object",
  9144. "required": [
  9145. "accountid",
  9146. "buyorsell",
  9147. "goodscode",
  9148. "goodsid",
  9149. "goodsname",
  9150. "marketid",
  9151. "orderid",
  9152. "orderqty",
  9153. "ordertime",
  9154. "trademode"
  9155. ],
  9156. "properties": {
  9157. "accountid": {
  9158. "description": "账户ID[报价币种]",
  9159. "type": "integer"
  9160. },
  9161. "agreeunit": {
  9162. "description": "合约单位",
  9163. "type": "number"
  9164. },
  9165. "buyorsell": {
  9166. "description": "买卖 - 0:买 1:卖",
  9167. "type": "integer"
  9168. },
  9169. "cancelqty": {
  9170. "description": "撤单数量",
  9171. "type": "integer"
  9172. },
  9173. "currencysign": {
  9174. "description": "货币符号",
  9175. "type": "string"
  9176. },
  9177. "decimalplace": {
  9178. "description": "报价小数位",
  9179. "type": "integer"
  9180. },
  9181. "goodscode": {
  9182. "description": "商品代码(内部)",
  9183. "type": "string"
  9184. },
  9185. "goodsid": {
  9186. "description": "商品ID",
  9187. "type": "integer"
  9188. },
  9189. "goodsname": {
  9190. "description": "商品名称",
  9191. "type": "string"
  9192. },
  9193. "listingselecttype": {
  9194. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9195. "type": "integer"
  9196. },
  9197. "marketid": {
  9198. "description": "市场ID",
  9199. "type": "integer"
  9200. },
  9201. "mybuystatus": {
  9202. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  9203. "type": "integer"
  9204. },
  9205. "orderamount": {
  9206. "description": "委托金额",
  9207. "type": "number"
  9208. },
  9209. "orderid": {
  9210. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9211. "type": "string"
  9212. },
  9213. "orderprice": {
  9214. "description": "委托价格",
  9215. "type": "number"
  9216. },
  9217. "orderqty": {
  9218. "description": "委托数量",
  9219. "type": "integer"
  9220. },
  9221. "orderstatus": {
  9222. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9223. "type": "integer"
  9224. },
  9225. "ordertime": {
  9226. "description": "委托时间",
  9227. "type": "string"
  9228. },
  9229. "picurls1": {
  9230. "description": "预售商品介绍图片[多张用逗号分隔]",
  9231. "type": "string"
  9232. },
  9233. "picurls2": {
  9234. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9235. "type": "string"
  9236. },
  9237. "trademode": {
  9238. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9239. "type": "integer"
  9240. },
  9241. "tradeqty": {
  9242. "description": "成交数量",
  9243. "type": "integer"
  9244. },
  9245. "vendorname1": {
  9246. "description": "预售商品供应商名称",
  9247. "type": "string"
  9248. },
  9249. "vendorname2": {
  9250. "description": "挂牌商品供应商名称",
  9251. "type": "string"
  9252. }
  9253. }
  9254. },
  9255. "models.Marketrun": {
  9256. "type": "object",
  9257. "required": [
  9258. "marketid",
  9259. "nexttradedate",
  9260. "reckonflag",
  9261. "runstatus",
  9262. "tradedate",
  9263. "tradedate2"
  9264. ],
  9265. "properties": {
  9266. "afternexttradedate": {
  9267. "description": "下下交易日",
  9268. "type": "string"
  9269. },
  9270. "clearquoteflag": {
  9271. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  9272. "type": "integer"
  9273. },
  9274. "lastreckondate": {
  9275. "description": "最新交易日(结算成功)",
  9276. "type": "string"
  9277. },
  9278. "machinedate": {
  9279. "description": "机器时间",
  9280. "type": "string"
  9281. },
  9282. "manualflag": {
  9283. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  9284. "type": "integer"
  9285. },
  9286. "marketid": {
  9287. "description": "市场ID",
  9288. "type": "integer"
  9289. },
  9290. "nexttradedate": {
  9291. "description": "下一交易日",
  9292. "type": "string"
  9293. },
  9294. "pretradedate": {
  9295. "description": "上一交易日",
  9296. "type": "string"
  9297. },
  9298. "reckonflag": {
  9299. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  9300. "type": "integer"
  9301. },
  9302. "runstatus": {
  9303. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  9304. "type": "integer"
  9305. },
  9306. "sectionid": {
  9307. "description": "时间段号[多时段时用]",
  9308. "type": "integer"
  9309. },
  9310. "tradedate": {
  9311. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  9312. "type": "string"
  9313. },
  9314. "tradedate2": {
  9315. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  9316. "type": "string"
  9317. },
  9318. "updatetime": {
  9319. "description": "更新时间",
  9320. "type": "string"
  9321. }
  9322. }
  9323. },
  9324. "models.Messageboard": {
  9325. "type": "object",
  9326. "required": [
  9327. "messageboardid"
  9328. ],
  9329. "properties": {
  9330. "createtime": {
  9331. "description": "创建时间",
  9332. "type": "string"
  9333. },
  9334. "message": {
  9335. "description": "留言信息",
  9336. "type": "string"
  9337. },
  9338. "messageboardid": {
  9339. "description": "留言簿ID(SEQ_MessageBoard)",
  9340. "type": "integer"
  9341. },
  9342. "userid": {
  9343. "description": "用户ID",
  9344. "type": "integer"
  9345. }
  9346. }
  9347. },
  9348. "models.MyCoupon": {
  9349. "type": "object",
  9350. "required": [
  9351. "accountid",
  9352. "coupontypeid"
  9353. ],
  9354. "properties": {
  9355. "accountid": {
  9356. "description": "资金账户ID",
  9357. "type": "integer"
  9358. },
  9359. "areauserid": {
  9360. "description": "所属机构",
  9361. "type": "integer"
  9362. },
  9363. "conditionvalue": {
  9364. "description": "条件阈值(可为0)",
  9365. "type": "number"
  9366. },
  9367. "couponcategroy": {
  9368. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  9369. "type": "integer"
  9370. },
  9371. "couponname": {
  9372. "description": "优惠券名称",
  9373. "type": "string"
  9374. },
  9375. "coupontypeid": {
  9376. "description": "优惠券类型ID",
  9377. "type": "string"
  9378. },
  9379. "couponvalue": {
  9380. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9381. "type": "number"
  9382. },
  9383. "curfreezeqty": {
  9384. "description": "期末冻结数量",
  9385. "type": "integer"
  9386. },
  9387. "curqty": {
  9388. "description": "期末数量",
  9389. "type": "integer"
  9390. },
  9391. "isgeneral": {
  9392. "description": "是否通用券 - 0:否 1:是",
  9393. "type": "integer"
  9394. },
  9395. "isunusable": {
  9396. "description": "是否不可用",
  9397. "type": "boolean"
  9398. },
  9399. "limitedflag": {
  9400. "description": "是否指定商品 - 0:不限 1:限制",
  9401. "type": "integer"
  9402. },
  9403. "limitedgoodsids": {
  9404. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  9405. "type": "string"
  9406. },
  9407. "orifreezeqty": {
  9408. "description": "期初冻结数量",
  9409. "type": "integer"
  9410. },
  9411. "oriqty": {
  9412. "description": "期初数量",
  9413. "type": "integer"
  9414. },
  9415. "reasontype": {
  9416. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  9417. "type": "integer"
  9418. },
  9419. "todaydecrease": {
  9420. "description": "今日减少",
  9421. "type": "integer"
  9422. },
  9423. "todayincrease": {
  9424. "description": "今日增加",
  9425. "type": "integer"
  9426. },
  9427. "userid": {
  9428. "description": "用户ID",
  9429. "type": "integer"
  9430. },
  9431. "userscope": {
  9432. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  9433. "type": "string"
  9434. }
  9435. }
  9436. },
  9437. "models.MyCouponHold": {
  9438. "type": "object",
  9439. "required": [
  9440. "couponholdid"
  9441. ],
  9442. "properties": {
  9443. "accountid": {
  9444. "description": "资金账户ID",
  9445. "type": "integer"
  9446. },
  9447. "conditionvalue": {
  9448. "description": "条件阈值(可为0)",
  9449. "type": "number"
  9450. },
  9451. "couponcategroy": {
  9452. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  9453. "type": "integer"
  9454. },
  9455. "couponholdid": {
  9456. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  9457. "type": "string"
  9458. },
  9459. "couponname": {
  9460. "description": "优惠券名称",
  9461. "type": "string"
  9462. },
  9463. "coupontypeid": {
  9464. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  9465. "type": "string"
  9466. },
  9467. "couponvalue": {
  9468. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9469. "type": "number"
  9470. },
  9471. "createtime": {
  9472. "description": "创建时间",
  9473. "type": "string"
  9474. },
  9475. "enddate": {
  9476. "description": "结束日期",
  9477. "type": "string"
  9478. },
  9479. "giveapplyid": {
  9480. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  9481. "type": "integer"
  9482. },
  9483. "holdstatus": {
  9484. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  9485. "type": "integer"
  9486. },
  9487. "isgeneral": {
  9488. "description": "是否通用券 - 0:否 1:是",
  9489. "type": "integer"
  9490. },
  9491. "limitedflag": {
  9492. "description": "是否指定商品 - 0:不限 1:限制",
  9493. "type": "integer"
  9494. },
  9495. "limitedgoodsids": {
  9496. "description": "指定商品IDs[逗号分隔]",
  9497. "type": "string"
  9498. },
  9499. "qty": {
  9500. "description": "数量(按1平铺)",
  9501. "type": "integer"
  9502. },
  9503. "startdate": {
  9504. "description": "开始日期",
  9505. "type": "string"
  9506. },
  9507. "userid": {
  9508. "description": "用户ID",
  9509. "type": "integer"
  9510. },
  9511. "userscope": {
  9512. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  9513. "type": "string"
  9514. }
  9515. }
  9516. },
  9517. "models.MyUsedCoupon": {
  9518. "type": "object",
  9519. "required": [
  9520. "coupontypeid",
  9521. "orderid"
  9522. ],
  9523. "properties": {
  9524. "accountid": {
  9525. "description": "资金账户ID(买方)",
  9526. "type": "integer"
  9527. },
  9528. "conditionvalue": {
  9529. "description": "条件阈值(可为0)",
  9530. "type": "number"
  9531. },
  9532. "couponcategroy": {
  9533. "description": "种类 - 1:现金券 2:折扣券",
  9534. "type": "integer"
  9535. },
  9536. "couponname": {
  9537. "description": "优惠券名称",
  9538. "type": "string"
  9539. },
  9540. "coupontypeid": {
  9541. "description": "优惠券类型ID(买方)",
  9542. "type": "string"
  9543. },
  9544. "couponvalue": {
  9545. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  9546. "type": "number"
  9547. },
  9548. "createtime": {
  9549. "description": "创建时间",
  9550. "type": "string"
  9551. },
  9552. "goodsid": {
  9553. "description": "商品ID",
  9554. "type": "integer"
  9555. },
  9556. "handlestatus": {
  9557. "description": "处理状态",
  9558. "type": "integer"
  9559. },
  9560. "marketid": {
  9561. "description": "市场ID",
  9562. "type": "integer"
  9563. },
  9564. "offamount": {
  9565. "description": "优惠金额",
  9566. "type": "number"
  9567. },
  9568. "orderid": {
  9569. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9570. "type": "string"
  9571. },
  9572. "sellaccountid": {
  9573. "description": "资金账户ID(卖方)",
  9574. "type": "integer"
  9575. },
  9576. "tradeamount": {
  9577. "description": "成交金额",
  9578. "type": "number"
  9579. },
  9580. "tradeid": {
  9581. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9582. "type": "string"
  9583. },
  9584. "usedqty": {
  9585. "description": "使用数量",
  9586. "type": "integer"
  9587. }
  9588. }
  9589. },
  9590. "models.OperationPrimaryMenu": {
  9591. "type": "object",
  9592. "properties": {
  9593. "Children": {
  9594. "description": "二级功能菜单",
  9595. "type": "array",
  9596. "items": {
  9597. "$ref": "#/definitions/models.OperationSecondaryMenu"
  9598. }
  9599. },
  9600. "Key": {
  9601. "description": "菜单KEY",
  9602. "type": "string"
  9603. },
  9604. "Label": {
  9605. "description": "菜单标题",
  9606. "type": "string"
  9607. }
  9608. }
  9609. },
  9610. "models.OperationSecondaryMenu": {
  9611. "type": "object",
  9612. "properties": {
  9613. "Key": {
  9614. "description": "菜单KEY",
  9615. "type": "string"
  9616. },
  9617. "Label": {
  9618. "description": "菜单标题",
  9619. "type": "string"
  9620. },
  9621. "TabList": {
  9622. "description": "三级功能菜单",
  9623. "type": "array",
  9624. "items": {
  9625. "$ref": "#/definitions/models.OperationTabMenu"
  9626. }
  9627. }
  9628. }
  9629. },
  9630. "models.OperationTabMenu": {
  9631. "type": "object",
  9632. "properties": {
  9633. "Key": {
  9634. "description": "菜单KEY",
  9635. "type": "string"
  9636. },
  9637. "Label": {
  9638. "description": "菜单标题",
  9639. "type": "string"
  9640. }
  9641. }
  9642. },
  9643. "models.QuotePrimaryMenu": {
  9644. "type": "object",
  9645. "properties": {
  9646. "Index": {
  9647. "description": "序号",
  9648. "type": "integer"
  9649. },
  9650. "Key": {
  9651. "description": "键名",
  9652. "type": "string"
  9653. },
  9654. "Name": {
  9655. "description": "菜单名称",
  9656. "type": "string"
  9657. },
  9658. "SubMenus": {
  9659. "description": "子菜单",
  9660. "type": "array",
  9661. "items": {
  9662. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  9663. }
  9664. },
  9665. "SubTitleType": {
  9666. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  9667. "type": "integer"
  9668. },
  9669. "TradeModes": {
  9670. "description": "包含市场交易类型",
  9671. "type": "string"
  9672. }
  9673. }
  9674. },
  9675. "models.QuoteSecondaryMenu": {
  9676. "type": "object",
  9677. "properties": {
  9678. "ExExchangeCode": {
  9679. "description": "外部交易所代码",
  9680. "type": "string"
  9681. },
  9682. "ExExchangeID": {
  9683. "description": "外部交易所ID",
  9684. "type": "integer"
  9685. },
  9686. "GoodsGroupIDs": {
  9687. "description": "商品组ID列表",
  9688. "type": "array",
  9689. "items": {
  9690. "type": "integer"
  9691. }
  9692. },
  9693. "Index": {
  9694. "description": "序号",
  9695. "type": "integer"
  9696. },
  9697. "MarketID": {
  9698. "description": "市场ID",
  9699. "type": "integer"
  9700. },
  9701. "MenuTitle": {
  9702. "description": "菜单标题(市场名称或外部交易所名称)",
  9703. "type": "string"
  9704. },
  9705. "TradeMode": {
  9706. "description": "交易模式",
  9707. "type": "integer"
  9708. }
  9709. }
  9710. },
  9711. "models.SearchGoods": {
  9712. "type": "object",
  9713. "required": [
  9714. "goodscode",
  9715. "goodsid",
  9716. "goodsname",
  9717. "marketid",
  9718. "trademode"
  9719. ],
  9720. "properties": {
  9721. "goodscode": {
  9722. "description": "商品代码(内部)",
  9723. "type": "string"
  9724. },
  9725. "goodsid": {
  9726. "description": "商品ID(自增ID SEQ_GOODS)",
  9727. "type": "integer"
  9728. },
  9729. "goodsname": {
  9730. "description": "商品名称",
  9731. "type": "string"
  9732. },
  9733. "marketid": {
  9734. "description": "所属市场ID",
  9735. "type": "integer"
  9736. },
  9737. "marketname": {
  9738. "description": "市场名称",
  9739. "type": "string"
  9740. },
  9741. "trademode": {
  9742. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9743. "type": "integer"
  9744. }
  9745. }
  9746. },
  9747. "models.Szdz2imageconfig": {
  9748. "type": "object",
  9749. "required": [
  9750. "configid"
  9751. ],
  9752. "properties": {
  9753. "configid": {
  9754. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9755. "type": "integer"
  9756. },
  9757. "imagepath": {
  9758. "description": "图片",
  9759. "type": "string"
  9760. },
  9761. "imagetype": {
  9762. "description": "类型 - 1:App首页轮播 2:我的",
  9763. "type": "integer"
  9764. },
  9765. "sort": {
  9766. "description": "排序",
  9767. "type": "integer"
  9768. },
  9769. "title": {
  9770. "description": "标题",
  9771. "type": "string"
  9772. },
  9773. "url": {
  9774. "description": "链接",
  9775. "type": "string"
  9776. }
  9777. }
  9778. },
  9779. "models.Szdz3convertconfig": {
  9780. "type": "object",
  9781. "required": [
  9782. "converttype",
  9783. "innergoodsid",
  9784. "outergoodscode"
  9785. ],
  9786. "properties": {
  9787. "canin": {
  9788. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  9789. "type": "integer"
  9790. },
  9791. "canout": {
  9792. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  9793. "type": "integer"
  9794. },
  9795. "converttype": {
  9796. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9797. "type": "integer"
  9798. },
  9799. "createtime": {
  9800. "description": "创建时间",
  9801. "type": "string"
  9802. },
  9803. "creatorid": {
  9804. "description": "创建人",
  9805. "type": "integer"
  9806. },
  9807. "daymaxvalue": {
  9808. "description": "当日最大转入限制",
  9809. "type": "number"
  9810. },
  9811. "freezedays": {
  9812. "description": "冻结天数 [5:花生米转交易]",
  9813. "type": "integer"
  9814. },
  9815. "innergoodsid": {
  9816. "description": "内部商品ID[交易]",
  9817. "type": "integer"
  9818. },
  9819. "inratio": {
  9820. "description": "目标值",
  9821. "type": "integer"
  9822. },
  9823. "modifierid": {
  9824. "description": "修改人",
  9825. "type": "integer"
  9826. },
  9827. "modifytime": {
  9828. "description": "修改时间",
  9829. "type": "string"
  9830. },
  9831. "outergoodscode": {
  9832. "description": "外部商品代码[JD\\PD]",
  9833. "type": "string"
  9834. },
  9835. "outratio": {
  9836. "description": "源值",
  9837. "type": "integer"
  9838. },
  9839. "pddecimalplace": {
  9840. "description": "PD小数位",
  9841. "type": "integer"
  9842. },
  9843. "timemaxvalue": {
  9844. "description": "单次最大转入限制",
  9845. "type": "number"
  9846. },
  9847. "timeminvalue": {
  9848. "description": "单次最小转入限制",
  9849. "type": "number"
  9850. }
  9851. }
  9852. },
  9853. "models.Szdz3searchwhitelist": {
  9854. "type": "object",
  9855. "required": [
  9856. "userid"
  9857. ],
  9858. "properties": {
  9859. "createtime": {
  9860. "description": "创建时间",
  9861. "type": "string"
  9862. },
  9863. "creatorid": {
  9864. "description": "创建人",
  9865. "type": "integer"
  9866. },
  9867. "modifierid": {
  9868. "description": "修改人",
  9869. "type": "integer"
  9870. },
  9871. "modifytime": {
  9872. "description": "修改时间",
  9873. "type": "string"
  9874. },
  9875. "userid": {
  9876. "description": "用户ID",
  9877. "type": "integer"
  9878. }
  9879. }
  9880. },
  9881. "models.Tablecolumnconfig": {
  9882. "type": "object",
  9883. "required": [
  9884. "autoid"
  9885. ],
  9886. "properties": {
  9887. "aligntype": {
  9888. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  9889. "type": "integer"
  9890. },
  9891. "autoid": {
  9892. "description": "AutoID",
  9893. "type": "integer"
  9894. },
  9895. "columnfield": {
  9896. "description": "列字段",
  9897. "type": "string"
  9898. },
  9899. "columntitle": {
  9900. "description": "列Title",
  9901. "type": "string"
  9902. },
  9903. "columnwidth": {
  9904. "description": "列宽",
  9905. "type": "string"
  9906. },
  9907. "formatterstring": {
  9908. "description": "格式化字符",
  9909. "type": "string"
  9910. },
  9911. "formattertype": {
  9912. "description": "格式化类型",
  9913. "type": "string"
  9914. },
  9915. "groupname": {
  9916. "description": "表头分组名称",
  9917. "type": "string"
  9918. },
  9919. "isshow": {
  9920. "description": "是否显示 - 0:不显示 1:显示",
  9921. "type": "integer"
  9922. },
  9923. "needsummary": {
  9924. "description": "是否需要汇总 - 0:不需要 1:需要",
  9925. "type": "integer"
  9926. },
  9927. "orderindex": {
  9928. "description": "顺序",
  9929. "type": "integer"
  9930. },
  9931. "remark": {
  9932. "description": "备注",
  9933. "type": "string"
  9934. },
  9935. "summarytype": {
  9936. "description": "汇总类型 - 1:加总 2:最后一个",
  9937. "type": "integer"
  9938. },
  9939. "tablekey": {
  9940. "description": "列表Key",
  9941. "type": "string"
  9942. }
  9943. }
  9944. },
  9945. "models.Useraccount": {
  9946. "type": "object",
  9947. "required": [
  9948. "userid"
  9949. ],
  9950. "properties": {
  9951. "accountname": {
  9952. "description": "账户名称(机构名称)",
  9953. "type": "string"
  9954. },
  9955. "accountstatus": {
  9956. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9957. "type": "integer"
  9958. },
  9959. "auditremark": {
  9960. "description": "审核备注",
  9961. "type": "string"
  9962. },
  9963. "audittime": {
  9964. "description": "审核时间",
  9965. "type": "string"
  9966. },
  9967. "audituserid": {
  9968. "description": "审核人",
  9969. "type": "integer"
  9970. },
  9971. "broker": {
  9972. "description": "所属经纪人ID",
  9973. "type": "integer"
  9974. },
  9975. "canceltime": {
  9976. "description": "销户时间",
  9977. "type": "string"
  9978. },
  9979. "canceluserid": {
  9980. "description": "销户人",
  9981. "type": "integer"
  9982. },
  9983. "createtime": {
  9984. "description": "创建时间",
  9985. "type": "string"
  9986. },
  9987. "creatorid": {
  9988. "description": "创建人",
  9989. "type": "integer"
  9990. },
  9991. "hasauth": {
  9992. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  9993. "type": "integer"
  9994. },
  9995. "isanonymous": {
  9996. "description": "是否匿名下单 - 0:否 1:是",
  9997. "type": "integer"
  9998. },
  9999. "maxinvestornum": {
  10000. "description": "最大用户数(经纪会员下投资者个数)",
  10001. "type": "integer"
  10002. },
  10003. "memberuserid": {
  10004. "description": "所属会员ID",
  10005. "type": "integer"
  10006. },
  10007. "modifierid": {
  10008. "description": "修改人",
  10009. "type": "integer"
  10010. },
  10011. "modifyremark": {
  10012. "description": "变更备注",
  10013. "type": "string"
  10014. },
  10015. "modifystatus": {
  10016. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  10017. "type": "integer"
  10018. },
  10019. "modifytime": {
  10020. "description": "修改时间",
  10021. "type": "string"
  10022. },
  10023. "parentuserid": {
  10024. "description": "所属机构ID",
  10025. "type": "integer"
  10026. },
  10027. "reckonaccountid": {
  10028. "description": "默认结算资金账号ID(机构分润使用) 作废",
  10029. "type": "integer"
  10030. },
  10031. "refercount": {
  10032. "description": "推荐总人数",
  10033. "type": "integer"
  10034. },
  10035. "refereeuserid": {
  10036. "description": "推荐人ID",
  10037. "type": "integer"
  10038. },
  10039. "refernum": {
  10040. "description": "推荐码",
  10041. "type": "string"
  10042. },
  10043. "subarealevelpath": {
  10044. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  10045. "type": "string"
  10046. },
  10047. "userid": {
  10048. "description": "用户ID",
  10049. "type": "integer"
  10050. },
  10051. "usertype": {
  10052. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10053. "type": "integer"
  10054. }
  10055. }
  10056. },
  10057. "models.Userfavoritegoods": {
  10058. "type": "object",
  10059. "required": [
  10060. "goodsid"
  10061. ],
  10062. "properties": {
  10063. "goodsid": {
  10064. "description": "商品ID",
  10065. "type": "integer"
  10066. }
  10067. }
  10068. },
  10069. "models.Userinfo": {
  10070. "type": "object",
  10071. "required": [
  10072. "userid"
  10073. ],
  10074. "properties": {
  10075. "address": {
  10076. "description": "地址",
  10077. "type": "string"
  10078. },
  10079. "attachment1": {
  10080. "description": "附件1",
  10081. "type": "string"
  10082. },
  10083. "attachment2": {
  10084. "description": "附件2",
  10085. "type": "string"
  10086. },
  10087. "bankaccount": {
  10088. "description": "银行帐号 (加密存储)",
  10089. "type": "string"
  10090. },
  10091. "bankaccountname": {
  10092. "description": "收款人名称",
  10093. "type": "string"
  10094. },
  10095. "bankcardfrontphotourl": {
  10096. "description": "银行卡正面照地址",
  10097. "type": "string"
  10098. },
  10099. "bankid": {
  10100. "description": "银行编码",
  10101. "type": "string"
  10102. },
  10103. "bankname": {
  10104. "description": "银行名称",
  10105. "type": "string"
  10106. },
  10107. "biznature": {
  10108. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10109. "type": "integer"
  10110. },
  10111. "bizscope": {
  10112. "description": "企业经营范围(企业)",
  10113. "type": "string"
  10114. },
  10115. "cardbackphotourl": {
  10116. "description": "证件背面图片地址",
  10117. "type": "string"
  10118. },
  10119. "cardfrontphotourl": {
  10120. "description": "证件正面图片地址",
  10121. "type": "string"
  10122. },
  10123. "cardnum": {
  10124. "description": "证件号码(加密存储)",
  10125. "type": "string"
  10126. },
  10127. "cardtypeid": {
  10128. "description": "证件类型ID",
  10129. "type": "integer"
  10130. },
  10131. "cityid": {
  10132. "description": "市",
  10133. "type": "integer"
  10134. },
  10135. "company": {
  10136. "description": "公司(个人)",
  10137. "type": "string"
  10138. },
  10139. "contactname": {
  10140. "description": "联系人",
  10141. "type": "string"
  10142. },
  10143. "countryid": {
  10144. "description": "国家",
  10145. "type": "integer"
  10146. },
  10147. "createtime": {
  10148. "description": "创建时间",
  10149. "type": "string"
  10150. },
  10151. "creatorid": {
  10152. "description": "创建人",
  10153. "type": "integer"
  10154. },
  10155. "customername": {
  10156. "description": "客户名称(企业名称)",
  10157. "type": "string"
  10158. },
  10159. "districtid": {
  10160. "description": "地区",
  10161. "type": "integer"
  10162. },
  10163. "email": {
  10164. "description": "邮件(加密存储)",
  10165. "type": "string"
  10166. },
  10167. "fax": {
  10168. "description": "传真(加密存储)",
  10169. "type": "string"
  10170. },
  10171. "halfbodyphotourl": {
  10172. "description": "半身照地址",
  10173. "type": "string"
  10174. },
  10175. "hasencrypt": {
  10176. "description": "数据是否已加密 - 0:未加密 1:已加密",
  10177. "type": "integer"
  10178. },
  10179. "headurl": {
  10180. "description": "头像地址",
  10181. "type": "string"
  10182. },
  10183. "legalcardbackphotourl": {
  10184. "description": "法人身份证背面照地址",
  10185. "type": "string"
  10186. },
  10187. "legalcardfrontphotourl": {
  10188. "description": "法人身份证正面照地址",
  10189. "type": "string"
  10190. },
  10191. "legalpersonname": {
  10192. "description": "法人姓名(企业)",
  10193. "type": "string"
  10194. },
  10195. "mobile": {
  10196. "description": "手机号码(加密存储)",
  10197. "type": "string"
  10198. },
  10199. "mobile2": {
  10200. "description": "手机号码[明文-尚志]",
  10201. "type": "string"
  10202. },
  10203. "modifierid": {
  10204. "description": "修改人",
  10205. "type": "integer"
  10206. },
  10207. "modifiertime": {
  10208. "description": "修改时间",
  10209. "type": "string"
  10210. },
  10211. "needinvoice": {
  10212. "description": "是否需要发票 - 0:不需要 1:需要",
  10213. "type": "integer"
  10214. },
  10215. "nickname": {
  10216. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  10217. "type": "string"
  10218. },
  10219. "openmode": {
  10220. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  10221. "type": "integer"
  10222. },
  10223. "otherurl": {
  10224. "description": "其它图片地址[使用分号分隔]",
  10225. "type": "string"
  10226. },
  10227. "postalcode": {
  10228. "description": "邮政编码",
  10229. "type": "string"
  10230. },
  10231. "provinceid": {
  10232. "description": "省",
  10233. "type": "integer"
  10234. },
  10235. "qq": {
  10236. "description": "QQ(加密存储",
  10237. "type": "string"
  10238. },
  10239. "remark": {
  10240. "description": "备注",
  10241. "type": "string"
  10242. },
  10243. "sex": {
  10244. "description": "用户性别 0: 女 1: 男",
  10245. "type": "integer"
  10246. },
  10247. "signpdfurl": {
  10248. "description": "签约pdf文件",
  10249. "type": "string"
  10250. },
  10251. "telphone": {
  10252. "description": "联系电话(加密存储)",
  10253. "type": "string"
  10254. },
  10255. "userid": {
  10256. "description": "用户ID",
  10257. "type": "integer"
  10258. },
  10259. "userinfotype": {
  10260. "description": "用户信息类型 - 1:个人 2:企业",
  10261. "type": "integer"
  10262. },
  10263. "userstatus": {
  10264. "description": "用户状态 - 1:正常 2:注销",
  10265. "type": "integer"
  10266. },
  10267. "usertype": {
  10268. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10269. "type": "integer"
  10270. },
  10271. "wechat": {
  10272. "description": "微信(加密存储)",
  10273. "type": "string"
  10274. },
  10275. "wskhinfo": {
  10276. "description": "开户申请信息(JSON)",
  10277. "type": "string"
  10278. }
  10279. }
  10280. },
  10281. "models.WRCategoryTree": {
  10282. "type": "object",
  10283. "required": [
  10284. "categoryid"
  10285. ],
  10286. "properties": {
  10287. "areauserid": {
  10288. "description": "所属机构",
  10289. "type": "integer"
  10290. },
  10291. "categorydesc": {
  10292. "description": "类别描述",
  10293. "type": "string"
  10294. },
  10295. "categoryid": {
  10296. "description": "类别ID(SEQ_WRCATEGORY)",
  10297. "type": "integer"
  10298. },
  10299. "categoryname": {
  10300. "description": "类别名称",
  10301. "type": "string"
  10302. },
  10303. "iconurl": {
  10304. "description": "图标地址",
  10305. "type": "string"
  10306. },
  10307. "orderindex": {
  10308. "description": "顺序",
  10309. "type": "integer"
  10310. },
  10311. "parentcategoryid": {
  10312. "description": "父类别ID",
  10313. "type": "integer"
  10314. },
  10315. "subcategory": {
  10316. "description": "子分类",
  10317. "type": "array",
  10318. "items": {
  10319. "$ref": "#/definitions/models.WRCategoryTree"
  10320. }
  10321. }
  10322. }
  10323. },
  10324. "models.WRStandardInfo": {
  10325. "type": "object",
  10326. "required": [
  10327. "wrstandardid"
  10328. ],
  10329. "properties": {
  10330. "createtime": {
  10331. "description": "创建时间",
  10332. "type": "string"
  10333. },
  10334. "creatorid": {
  10335. "description": "创建人",
  10336. "type": "integer"
  10337. },
  10338. "deliverygoodsid": {
  10339. "description": "品种ID",
  10340. "type": "integer"
  10341. },
  10342. "deliverygoodsname": {
  10343. "description": "交割商品名称",
  10344. "type": "string"
  10345. },
  10346. "factoryitemjson": {
  10347. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  10348. "type": "string"
  10349. },
  10350. "isvalid": {
  10351. "description": "是否有效 - 0:无效 1:有效",
  10352. "type": "integer"
  10353. },
  10354. "minivalue": {
  10355. "description": "最小变动值",
  10356. "type": "integer"
  10357. },
  10358. "minivaluedp": {
  10359. "description": "最小变动值小数位",
  10360. "type": "integer"
  10361. },
  10362. "realminivalue": {
  10363. "description": "实际最小变动值",
  10364. "type": "integer"
  10365. },
  10366. "realminivaluedp": {
  10367. "description": "实际最小变动值小数位",
  10368. "type": "integer"
  10369. },
  10370. "unitid": {
  10371. "description": "单位ID",
  10372. "type": "integer"
  10373. },
  10374. "unitname": {
  10375. "description": "单位",
  10376. "type": "string"
  10377. },
  10378. "updatetime": {
  10379. "description": "更新时间",
  10380. "type": "string"
  10381. },
  10382. "updatorid": {
  10383. "description": "更新人",
  10384. "type": "integer"
  10385. },
  10386. "wrsstatus": {
  10387. "description": "状态 - 作废 - 0:未激活 1:正常",
  10388. "type": "integer"
  10389. },
  10390. "wrstandardcode": {
  10391. "description": "仓单标准代码",
  10392. "type": "string"
  10393. },
  10394. "wrstandardid": {
  10395. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10396. "type": "integer"
  10397. },
  10398. "wrstandardname": {
  10399. "description": "仓单标准名称",
  10400. "type": "string"
  10401. }
  10402. }
  10403. },
  10404. "models.Warehouseinfo": {
  10405. "type": "object",
  10406. "required": [
  10407. "autoid",
  10408. "warehousecode"
  10409. ],
  10410. "properties": {
  10411. "address": {
  10412. "description": "详细地址",
  10413. "type": "string"
  10414. },
  10415. "areauserid": {
  10416. "description": "所属机构",
  10417. "type": "integer"
  10418. },
  10419. "autoid": {
  10420. "description": "自增ID",
  10421. "type": "integer"
  10422. },
  10423. "cityid": {
  10424. "description": "市",
  10425. "type": "integer"
  10426. },
  10427. "contactname": {
  10428. "description": "联系人",
  10429. "type": "string"
  10430. },
  10431. "contactnum": {
  10432. "description": "联系电话",
  10433. "type": "string"
  10434. },
  10435. "countryid": {
  10436. "description": "国家",
  10437. "type": "integer"
  10438. },
  10439. "createtime": {
  10440. "description": "创建时间",
  10441. "type": "string"
  10442. },
  10443. "districtid": {
  10444. "description": "区",
  10445. "type": "integer"
  10446. },
  10447. "hasvideo": {
  10448. "description": "是否有视频 - 0:无 1:有",
  10449. "type": "integer"
  10450. },
  10451. "provinceid": {
  10452. "description": "省",
  10453. "type": "integer"
  10454. },
  10455. "remark": {
  10456. "description": "审核备注",
  10457. "type": "string"
  10458. },
  10459. "videourl": {
  10460. "description": "视频地址",
  10461. "type": "string"
  10462. },
  10463. "warehousecode": {
  10464. "description": "仓库代码",
  10465. "type": "string"
  10466. },
  10467. "warehousename": {
  10468. "description": "仓库名称",
  10469. "type": "string"
  10470. },
  10471. "warehousestatus": {
  10472. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10473. "type": "integer"
  10474. },
  10475. "warehousetype": {
  10476. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10477. "type": "integer"
  10478. }
  10479. }
  10480. },
  10481. "order.QueryHisTradeDetailRsp": {
  10482. "type": "object",
  10483. "required": [
  10484. "accountid",
  10485. "buyorsell",
  10486. "goodsid",
  10487. "histradedate",
  10488. "marketid",
  10489. "memberuserid",
  10490. "orderid",
  10491. "tradeamount",
  10492. "tradedate",
  10493. "tradeid",
  10494. "tradeprice",
  10495. "tradeqty",
  10496. "tradetime"
  10497. ],
  10498. "properties": {
  10499. "accountid": {
  10500. "description": "账户ID[报价币种]",
  10501. "type": "integer"
  10502. },
  10503. "buildtype": {
  10504. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10505. "type": "integer"
  10506. },
  10507. "buyorsell": {
  10508. "description": "方向 - 0:买 1:卖",
  10509. "type": "integer"
  10510. },
  10511. "charge": {
  10512. "description": "手续费",
  10513. "type": "number"
  10514. },
  10515. "closecharge": {
  10516. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10517. "type": "number"
  10518. },
  10519. "closeexchagechargevalue": {
  10520. "description": "平仓交易所手续费设置值",
  10521. "type": "number"
  10522. },
  10523. "closefeealgorithm": {
  10524. "description": "平仓手续费收取方式 1:比率 2:固定",
  10525. "type": "integer"
  10526. },
  10527. "closememberchargevalue": {
  10528. "description": "平仓会员手续费设置值",
  10529. "type": "number"
  10530. },
  10531. "closepl": {
  10532. "description": "平仓盈亏",
  10533. "type": "number"
  10534. },
  10535. "closepl2": {
  10536. "description": "平仓盈亏[逐笔]",
  10537. "type": "number"
  10538. },
  10539. "closeqty": {
  10540. "description": "平仓数量(先建后平操作 需要记录)",
  10541. "type": "integer"
  10542. },
  10543. "creditamount": {
  10544. "description": "授信金额",
  10545. "type": "number"
  10546. },
  10547. "gcaccountid": {
  10548. "description": "账户ID[合约币种]",
  10549. "type": "integer"
  10550. },
  10551. "goodscode": {
  10552. "description": "商品代码",
  10553. "type": "string"
  10554. },
  10555. "goodsid": {
  10556. "description": "商品ID",
  10557. "type": "integer"
  10558. },
  10559. "goodsname": {
  10560. "description": "商品名称",
  10561. "type": "string"
  10562. },
  10563. "histradedate": {
  10564. "description": "历史交易日",
  10565. "type": "string"
  10566. },
  10567. "intclosepl": {
  10568. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10569. "type": "integer"
  10570. },
  10571. "isconfirmexercise": {
  10572. "description": "是否确认行权- 0:否 1:是",
  10573. "type": "integer"
  10574. },
  10575. "ismain": {
  10576. "description": "是否主单 - 0:不是 1:是",
  10577. "type": "integer"
  10578. },
  10579. "ispreexercise": {
  10580. "description": "是否预申报- 0:否 1:是",
  10581. "type": "integer"
  10582. },
  10583. "isreckoned": {
  10584. "description": "是否结算 - 0:未结算 1:已结算",
  10585. "type": "integer"
  10586. },
  10587. "isvaliddata": {
  10588. "description": "是否有效 - 0:无效 1:有效",
  10589. "type": "integer"
  10590. },
  10591. "listingselecttype": {
  10592. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10593. "type": "integer"
  10594. },
  10595. "marketid": {
  10596. "description": "市场ID",
  10597. "type": "integer"
  10598. },
  10599. "marketname": {
  10600. "description": "市场名称",
  10601. "type": "string"
  10602. },
  10603. "matchaccountid": {
  10604. "description": "对手账号id",
  10605. "type": "integer"
  10606. },
  10607. "memberuserid": {
  10608. "description": "会员id 个人投资者 需要填写",
  10609. "type": "integer"
  10610. },
  10611. "opencharge": {
  10612. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10613. "type": "number"
  10614. },
  10615. "openexchagechargevalue": {
  10616. "description": "建仓交易所手续费设置值",
  10617. "type": "number"
  10618. },
  10619. "openfeealgorithm": {
  10620. "description": "建仓手续费收取方式 1:比率 2:固定",
  10621. "type": "integer"
  10622. },
  10623. "openmemberchargevalue": {
  10624. "description": "建仓会员手续费设置值",
  10625. "type": "number"
  10626. },
  10627. "openqty": {
  10628. "description": "开仓数量(先建后平操作 需要记录)",
  10629. "type": "integer"
  10630. },
  10631. "optiontype": {
  10632. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10633. "type": "integer"
  10634. },
  10635. "orderid": {
  10636. "description": "委托单号",
  10637. "type": "string"
  10638. },
  10639. "performanceplanid": {
  10640. "description": "履约计划ID[期权]",
  10641. "type": "integer"
  10642. },
  10643. "performancestatus": {
  10644. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  10645. "type": "integer"
  10646. },
  10647. "preexerciseprice": {
  10648. "description": "预申报价格",
  10649. "type": "number"
  10650. },
  10651. "premium": {
  10652. "description": "权利金 - [持仓单的权利金]",
  10653. "type": "number"
  10654. },
  10655. "relatedouttradeid": {
  10656. "description": "关联外部成交单ID",
  10657. "type": "integer"
  10658. },
  10659. "status": {
  10660. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  10661. "type": "integer"
  10662. },
  10663. "tradeamount": {
  10664. "description": "成交金额[账户币种,用于所有权]",
  10665. "type": "number"
  10666. },
  10667. "tradedate": {
  10668. "description": "交易日(yyyyMMdd)",
  10669. "type": "string"
  10670. },
  10671. "tradeid": {
  10672. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10673. "type": "string"
  10674. },
  10675. "trademode": {
  10676. "description": "交易模式",
  10677. "type": "integer"
  10678. },
  10679. "tradeprice": {
  10680. "description": "成交价格",
  10681. "type": "number"
  10682. },
  10683. "tradeproperty": {
  10684. "description": "交易属性",
  10685. "type": "integer"
  10686. },
  10687. "tradeqty": {
  10688. "description": "成交数量",
  10689. "type": "integer"
  10690. },
  10691. "tradetime": {
  10692. "description": "成交时间",
  10693. "type": "string"
  10694. },
  10695. "tradetype": {
  10696. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  10697. "type": "integer"
  10698. }
  10699. }
  10700. },
  10701. "order.QueryHisTradeOrderDetailRsp": {
  10702. "type": "object",
  10703. "required": [
  10704. "accountid",
  10705. "buildtype",
  10706. "buyorsell",
  10707. "goodsid",
  10708. "histradedate",
  10709. "marketid",
  10710. "memberuserid",
  10711. "operatetype",
  10712. "orderid",
  10713. "orderqty",
  10714. "ordertime",
  10715. "pricemode",
  10716. "tradedate",
  10717. "validtype"
  10718. ],
  10719. "properties": {
  10720. "accountid": {
  10721. "description": "账户ID[报价币种]",
  10722. "type": "integer"
  10723. },
  10724. "buildtype": {
  10725. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10726. "type": "integer"
  10727. },
  10728. "buyorsell": {
  10729. "description": "买卖 - 0:买 1:卖",
  10730. "type": "integer"
  10731. },
  10732. "cancelorderid": {
  10733. "description": "撤单单号(撤单时填写)",
  10734. "type": "string"
  10735. },
  10736. "cancelqty": {
  10737. "description": "撤单数量",
  10738. "type": "integer"
  10739. },
  10740. "clientordertime": {
  10741. "description": "客户端委托时间",
  10742. "type": "string"
  10743. },
  10744. "clientticket": {
  10745. "description": "客户端流水号",
  10746. "type": "string"
  10747. },
  10748. "clienttype": {
  10749. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10750. "type": "integer"
  10751. },
  10752. "closeexchagechargevalue": {
  10753. "description": "平仓交易所手续费设置值",
  10754. "type": "number"
  10755. },
  10756. "closefeealgorithm": {
  10757. "description": "平仓手续费收取方式 1:比率 2:固定",
  10758. "type": "integer"
  10759. },
  10760. "closefreezecharge": {
  10761. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10762. "type": "number"
  10763. },
  10764. "closememberchargevalue": {
  10765. "description": "平仓会员手续费设置值",
  10766. "type": "number"
  10767. },
  10768. "closeqty": {
  10769. "description": "平仓数量(先建后平操作 需要记录)",
  10770. "type": "integer"
  10771. },
  10772. "closetradeqty": {
  10773. "description": "平仓成交数量(先建后平操作,需要记录)",
  10774. "type": "integer"
  10775. },
  10776. "closeunfreezecharge": {
  10777. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10778. "type": "number"
  10779. },
  10780. "delistingtype": {
  10781. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10782. "type": "integer"
  10783. },
  10784. "freezecharge": {
  10785. "description": "冻结手续费",
  10786. "type": "number"
  10787. },
  10788. "freezemargin": {
  10789. "description": "冻结保证金(冻结交易金额)",
  10790. "type": "number"
  10791. },
  10792. "gcaccountid": {
  10793. "description": "账户ID[合约币种]",
  10794. "type": "integer"
  10795. },
  10796. "goodscode": {
  10797. "description": "商品代码",
  10798. "type": "string"
  10799. },
  10800. "goodsid": {
  10801. "description": "商品ID",
  10802. "type": "integer"
  10803. },
  10804. "goodsname": {
  10805. "description": "商品名称",
  10806. "type": "string"
  10807. },
  10808. "histradedate": {
  10809. "description": "历史交易日",
  10810. "type": "string"
  10811. },
  10812. "isconfirmexercise": {
  10813. "description": "是否确认行权- 0:否 1:是",
  10814. "type": "integer"
  10815. },
  10816. "ispreexercise": {
  10817. "description": "是否预申报- 0:否 1:是",
  10818. "type": "integer"
  10819. },
  10820. "isvaliddata": {
  10821. "description": "是否有效 - 0:无效 1:有效",
  10822. "type": "integer"
  10823. },
  10824. "listingselecttype": {
  10825. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10826. "type": "integer"
  10827. },
  10828. "marginalgorithm": {
  10829. "description": "保证金收取方式 1:比率 2:固定",
  10830. "type": "integer"
  10831. },
  10832. "marginvalue": {
  10833. "description": "即市保证金设置值",
  10834. "type": "number"
  10835. },
  10836. "marketid": {
  10837. "description": "市场ID",
  10838. "type": "integer"
  10839. },
  10840. "marketmaxsub": {
  10841. "description": "市价最大偏移范围",
  10842. "type": "number"
  10843. },
  10844. "marketname": {
  10845. "description": "市场名称",
  10846. "type": "string"
  10847. },
  10848. "memberuserid": {
  10849. "description": "所属会员UserID",
  10850. "type": "integer"
  10851. },
  10852. "openexchagechargevalue": {
  10853. "description": "建仓交易所手续费设置值",
  10854. "type": "number"
  10855. },
  10856. "openfeealgorithm": {
  10857. "description": "建仓手续费收取方式 1:比率 2:固定",
  10858. "type": "integer"
  10859. },
  10860. "openfreezecharge": {
  10861. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10862. "type": "number"
  10863. },
  10864. "openmemberchargevalue": {
  10865. "description": "建仓会员手续费设置值",
  10866. "type": "number"
  10867. },
  10868. "openqty": {
  10869. "description": "开仓数量(先建后平操作,需要记录)",
  10870. "type": "integer"
  10871. },
  10872. "opentradeqty": {
  10873. "description": "开仓成交数量(先建后平操作,需要记录)",
  10874. "type": "integer"
  10875. },
  10876. "openunfreezecharge": {
  10877. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10878. "type": "number"
  10879. },
  10880. "operatetype": {
  10881. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10882. "type": "integer"
  10883. },
  10884. "operatorid": {
  10885. "description": "登录账号(LoginID)",
  10886. "type": "integer"
  10887. },
  10888. "optiontype": {
  10889. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10890. "type": "integer"
  10891. },
  10892. "orderid": {
  10893. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10894. "type": "string"
  10895. },
  10896. "orderprice": {
  10897. "description": "委托价格",
  10898. "type": "number"
  10899. },
  10900. "orderqty": {
  10901. "description": "委托数量",
  10902. "type": "integer"
  10903. },
  10904. "ordersrc": {
  10905. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10906. "type": "integer"
  10907. },
  10908. "orderstatus": {
  10909. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10910. "type": "integer"
  10911. },
  10912. "ordertime": {
  10913. "description": "委托时间",
  10914. "type": "string"
  10915. },
  10916. "preexerciseprice": {
  10917. "description": "预申报价格",
  10918. "type": "number"
  10919. },
  10920. "premium": {
  10921. "description": "权利金",
  10922. "type": "number"
  10923. },
  10924. "preorderid": {
  10925. "description": "关联预埋单号(止盈止损单时填写)",
  10926. "type": "string"
  10927. },
  10928. "pricemode": {
  10929. "description": "取价方式 - 1:市价 2: 限价",
  10930. "type": "integer"
  10931. },
  10932. "quoteid": {
  10933. "description": "报价单ID",
  10934. "type": "integer"
  10935. },
  10936. "relatedid": {
  10937. "description": "关联单号(交割单)",
  10938. "type": "string"
  10939. },
  10940. "retcode": {
  10941. "description": "错误代码",
  10942. "type": "integer"
  10943. },
  10944. "sessionid": {
  10945. "description": "会话ID",
  10946. "type": "integer"
  10947. },
  10948. "tradedate": {
  10949. "description": "交易日(yyyyMMdd)",
  10950. "type": "string"
  10951. },
  10952. "trademode": {
  10953. "description": "交易模式",
  10954. "type": "integer"
  10955. },
  10956. "tradeproperty": {
  10957. "description": "交易属性",
  10958. "type": "integer"
  10959. },
  10960. "tradeqty": {
  10961. "description": "成交数量",
  10962. "type": "integer"
  10963. },
  10964. "unfreezecharge": {
  10965. "description": "解冻手续费",
  10966. "type": "number"
  10967. },
  10968. "unfreezemargin": {
  10969. "description": "解冻保证金",
  10970. "type": "number"
  10971. },
  10972. "updatetime": {
  10973. "description": "更新时间",
  10974. "type": "string"
  10975. },
  10976. "uuid": {
  10977. "description": "发起端唯一id",
  10978. "type": "string"
  10979. },
  10980. "validtime": {
  10981. "description": "有效期限",
  10982. "type": "string"
  10983. },
  10984. "validtype": {
  10985. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10986. "type": "integer"
  10987. },
  10988. "volumetype": {
  10989. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10990. "type": "integer"
  10991. }
  10992. }
  10993. },
  10994. "order.QueryTradeDetailRsp": {
  10995. "type": "object",
  10996. "required": [
  10997. "accountid",
  10998. "buyorsell",
  10999. "goodsid",
  11000. "marketid",
  11001. "memberuserid",
  11002. "orderid",
  11003. "tradeamount",
  11004. "tradedate",
  11005. "tradeid",
  11006. "tradeprice",
  11007. "tradeqty",
  11008. "tradetime"
  11009. ],
  11010. "properties": {
  11011. "accountid": {
  11012. "description": "账户ID[报价币种]",
  11013. "type": "integer"
  11014. },
  11015. "buildtype": {
  11016. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11017. "type": "integer"
  11018. },
  11019. "buyorsell": {
  11020. "description": "方向 - 0:买 1:卖",
  11021. "type": "integer"
  11022. },
  11023. "charge": {
  11024. "description": "手续费",
  11025. "type": "number"
  11026. },
  11027. "closecharge": {
  11028. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11029. "type": "number"
  11030. },
  11031. "closeexchagechargevalue": {
  11032. "description": "平仓交易所手续费设置值",
  11033. "type": "number"
  11034. },
  11035. "closefeealgorithm": {
  11036. "description": "平仓手续费收取方式 1:比率 2:固定",
  11037. "type": "integer"
  11038. },
  11039. "closememberchargevalue": {
  11040. "description": "平仓会员手续费设置值",
  11041. "type": "number"
  11042. },
  11043. "closepl": {
  11044. "description": "平仓盈亏",
  11045. "type": "number"
  11046. },
  11047. "closepl2": {
  11048. "description": "平仓盈亏[逐笔]",
  11049. "type": "number"
  11050. },
  11051. "closeqty": {
  11052. "description": "平仓数量(先建后平操作 需要记录)",
  11053. "type": "integer"
  11054. },
  11055. "creditamount": {
  11056. "description": "授信金额",
  11057. "type": "number"
  11058. },
  11059. "gcaccountid": {
  11060. "description": "账户ID[合约币种]",
  11061. "type": "integer"
  11062. },
  11063. "goodscode": {
  11064. "description": "商品代码",
  11065. "type": "string"
  11066. },
  11067. "goodsid": {
  11068. "description": "商品ID",
  11069. "type": "integer"
  11070. },
  11071. "goodsname": {
  11072. "description": "商品名称",
  11073. "type": "string"
  11074. },
  11075. "intclosepl": {
  11076. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11077. "type": "integer"
  11078. },
  11079. "isconfirmexercise": {
  11080. "description": "是否确认行权- 0:否 1:是",
  11081. "type": "integer"
  11082. },
  11083. "ismain": {
  11084. "description": "是否主单 - 0:不是 1:是",
  11085. "type": "integer"
  11086. },
  11087. "ispreexercise": {
  11088. "description": "是否预申报- 0:否 1:是",
  11089. "type": "integer"
  11090. },
  11091. "isreckoned": {
  11092. "description": "是否结算 - 0:未结算 1:已结算",
  11093. "type": "integer"
  11094. },
  11095. "listingselecttype": {
  11096. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11097. "type": "integer"
  11098. },
  11099. "marketid": {
  11100. "description": "市场ID",
  11101. "type": "integer"
  11102. },
  11103. "marketname": {
  11104. "description": "市场名称",
  11105. "type": "string"
  11106. },
  11107. "matchaccountid": {
  11108. "description": "对手账号id",
  11109. "type": "integer"
  11110. },
  11111. "memberuserid": {
  11112. "description": "会员id 个人投资者 需要填写",
  11113. "type": "integer"
  11114. },
  11115. "opencharge": {
  11116. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11117. "type": "number"
  11118. },
  11119. "openexchagechargevalue": {
  11120. "description": "建仓交易所手续费设置值",
  11121. "type": "number"
  11122. },
  11123. "openfeealgorithm": {
  11124. "description": "建仓手续费收取方式 1:比率 2:固定",
  11125. "type": "integer"
  11126. },
  11127. "openmemberchargevalue": {
  11128. "description": "建仓会员手续费设置值",
  11129. "type": "number"
  11130. },
  11131. "openqty": {
  11132. "description": "开仓数量(先建后平操作 需要记录)",
  11133. "type": "integer"
  11134. },
  11135. "optiontype": {
  11136. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11137. "type": "integer"
  11138. },
  11139. "orderid": {
  11140. "description": "委托单号",
  11141. "type": "string"
  11142. },
  11143. "performanceplanid": {
  11144. "description": "履约计划ID[期权]",
  11145. "type": "integer"
  11146. },
  11147. "performancestatus": {
  11148. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11149. "type": "integer"
  11150. },
  11151. "preexerciseprice": {
  11152. "description": "预申报价格",
  11153. "type": "number"
  11154. },
  11155. "premium": {
  11156. "description": "权利金 - [持仓单的权利金]",
  11157. "type": "number"
  11158. },
  11159. "relatedouttradeid": {
  11160. "description": "关联外部成交单ID",
  11161. "type": "integer"
  11162. },
  11163. "status": {
  11164. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11165. "type": "integer"
  11166. },
  11167. "tradeamount": {
  11168. "description": "成交金额[账户币种,用于所有权]",
  11169. "type": "number"
  11170. },
  11171. "tradedate": {
  11172. "description": "交易日(yyyyMMdd)",
  11173. "type": "string"
  11174. },
  11175. "tradeid": {
  11176. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11177. "type": "string"
  11178. },
  11179. "trademode": {
  11180. "description": "交易模式",
  11181. "type": "integer"
  11182. },
  11183. "tradeprice": {
  11184. "description": "成交价格",
  11185. "type": "number"
  11186. },
  11187. "tradeproperty": {
  11188. "description": "交易属性",
  11189. "type": "integer"
  11190. },
  11191. "tradeqty": {
  11192. "description": "成交数量",
  11193. "type": "integer"
  11194. },
  11195. "tradetime": {
  11196. "description": "成交时间",
  11197. "type": "string"
  11198. },
  11199. "tradetype": {
  11200. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11201. "type": "integer"
  11202. }
  11203. }
  11204. },
  11205. "order.QueryTradeOrderDetailRsp": {
  11206. "type": "object",
  11207. "required": [
  11208. "accountid",
  11209. "buildtype",
  11210. "buyorsell",
  11211. "goodsid",
  11212. "marketid",
  11213. "operatetype",
  11214. "orderqty",
  11215. "ordertime",
  11216. "pricemode",
  11217. "tradedate",
  11218. "validtype"
  11219. ],
  11220. "properties": {
  11221. "accountid": {
  11222. "description": "账户ID[报价币种]",
  11223. "type": "integer"
  11224. },
  11225. "buildtype": {
  11226. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11227. "type": "integer"
  11228. },
  11229. "buyorsell": {
  11230. "description": "买卖 - 0:买 1:卖",
  11231. "type": "integer"
  11232. },
  11233. "cancelorderid": {
  11234. "description": "撤单单号(撤单时填写)",
  11235. "type": "string"
  11236. },
  11237. "cancelqty": {
  11238. "description": "撤单数量",
  11239. "type": "integer"
  11240. },
  11241. "clienttype": {
  11242. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11243. "type": "integer"
  11244. },
  11245. "closefreezecharge": {
  11246. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11247. "type": "number"
  11248. },
  11249. "closeqty": {
  11250. "description": "平仓数量(先建后平操作 需要记录)",
  11251. "type": "integer"
  11252. },
  11253. "closetradeqty": {
  11254. "description": "平仓成交数量(先建后平操作,需要记录)",
  11255. "type": "integer"
  11256. },
  11257. "closeunfreezecharge": {
  11258. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11259. "type": "number"
  11260. },
  11261. "delistingtype": {
  11262. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11263. "type": "integer"
  11264. },
  11265. "enableqty": {
  11266. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  11267. "type": "integer"
  11268. },
  11269. "freezecharge": {
  11270. "description": "冻结手续费",
  11271. "type": "number"
  11272. },
  11273. "freezemargin": {
  11274. "description": "冻结保证金(冻结交易金额)",
  11275. "type": "number"
  11276. },
  11277. "goodscode": {
  11278. "description": "商品代码",
  11279. "type": "string"
  11280. },
  11281. "goodsid": {
  11282. "description": "商品ID",
  11283. "type": "integer"
  11284. },
  11285. "goodsname": {
  11286. "description": "商品名称",
  11287. "type": "string"
  11288. },
  11289. "listingselecttype": {
  11290. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11291. "type": "integer"
  11292. },
  11293. "marketid": {
  11294. "description": "市场ID",
  11295. "type": "integer"
  11296. },
  11297. "marketname": {
  11298. "description": "市场名称",
  11299. "type": "string"
  11300. },
  11301. "openfreezecharge": {
  11302. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11303. "type": "number"
  11304. },
  11305. "openqty": {
  11306. "description": "开仓数量(先建后平操作,需要记录)",
  11307. "type": "integer"
  11308. },
  11309. "opentradeqty": {
  11310. "description": "开仓成交数量(先建后平操作,需要记录)",
  11311. "type": "integer"
  11312. },
  11313. "openunfreezecharge": {
  11314. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11315. "type": "number"
  11316. },
  11317. "operatetype": {
  11318. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11319. "type": "integer"
  11320. },
  11321. "operatorid": {
  11322. "description": "登录账号(LoginID)",
  11323. "type": "integer"
  11324. },
  11325. "orderid": {
  11326. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11327. "type": "string"
  11328. },
  11329. "orderprice": {
  11330. "description": "委托价格",
  11331. "type": "number"
  11332. },
  11333. "orderqty": {
  11334. "description": "委托数量",
  11335. "type": "integer"
  11336. },
  11337. "ordersrc": {
  11338. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11339. "type": "integer"
  11340. },
  11341. "orderstatus": {
  11342. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11343. "type": "integer"
  11344. },
  11345. "ordertime": {
  11346. "description": "委托时间",
  11347. "type": "string"
  11348. },
  11349. "preorderid": {
  11350. "description": "关联预埋单号(止盈止损单时填写)",
  11351. "type": "string"
  11352. },
  11353. "pricemode": {
  11354. "description": "取价方式 - 1:市价 2: 限价",
  11355. "type": "integer"
  11356. },
  11357. "relatedid": {
  11358. "description": "关联单号(交割单)",
  11359. "type": "string"
  11360. },
  11361. "tradedate": {
  11362. "description": "交易日(yyyyMMdd)",
  11363. "type": "string"
  11364. },
  11365. "trademode": {
  11366. "description": "交易模式",
  11367. "type": "integer"
  11368. },
  11369. "tradeqty": {
  11370. "description": "成交数量",
  11371. "type": "integer"
  11372. },
  11373. "unfreezecharge": {
  11374. "description": "解冻手续费",
  11375. "type": "number"
  11376. },
  11377. "unfreezemargin": {
  11378. "description": "解冻保证金",
  11379. "type": "number"
  11380. },
  11381. "validtime": {
  11382. "description": "有效期限",
  11383. "type": "string"
  11384. },
  11385. "validtype": {
  11386. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11387. "type": "integer"
  11388. },
  11389. "volumetype": {
  11390. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11391. "type": "integer"
  11392. }
  11393. }
  11394. },
  11395. "order.QueryTradePositionRsp": {
  11396. "type": "object",
  11397. "required": [
  11398. "goodsid"
  11399. ],
  11400. "properties": {
  11401. "accountid": {
  11402. "description": "资金账户",
  11403. "type": "integer"
  11404. },
  11405. "agreeunit": {
  11406. "description": "合约单位",
  11407. "type": "number"
  11408. },
  11409. "averageprice": {
  11410. "description": "持仓均价",
  11411. "type": "number"
  11412. },
  11413. "buyorsell": {
  11414. "description": "方向 - 0:买 1:卖",
  11415. "type": "integer"
  11416. },
  11417. "closetotalqty": {
  11418. "description": "平仓总数量",
  11419. "type": "integer"
  11420. },
  11421. "curholderamount": {
  11422. "description": "当前持仓总金额[商品币种]",
  11423. "type": "number"
  11424. },
  11425. "curpositionqty": {
  11426. "description": "当前持仓总数量",
  11427. "type": "integer"
  11428. },
  11429. "currencyid": {
  11430. "description": "报价货币ID",
  11431. "type": "integer"
  11432. },
  11433. "curtdposition": {
  11434. "description": "期末今日头寸",
  11435. "type": "integer"
  11436. },
  11437. "decimalplace": {
  11438. "description": "报价小数位",
  11439. "type": "integer"
  11440. },
  11441. "enableqty": {
  11442. "description": "可用量",
  11443. "type": "integer"
  11444. },
  11445. "fretdposition": {
  11446. "description": "冻结今日头寸",
  11447. "type": "integer"
  11448. },
  11449. "frozenqty": {
  11450. "description": "持仓冻结数量",
  11451. "type": "integer"
  11452. },
  11453. "goodscode": {
  11454. "description": "商品代码",
  11455. "type": "string"
  11456. },
  11457. "goodsid": {
  11458. "description": "商品Id",
  11459. "type": "integer"
  11460. },
  11461. "goodsname": {
  11462. "description": "商品名称",
  11463. "type": "string"
  11464. },
  11465. "goodunit": {
  11466. "description": "报价单位",
  11467. "type": "string"
  11468. },
  11469. "goodunitid": {
  11470. "description": "报价单位ID",
  11471. "type": "integer"
  11472. },
  11473. "holderamount": {
  11474. "description": "期初持仓总金额[商品币种]",
  11475. "type": "number"
  11476. },
  11477. "marketid": {
  11478. "description": "所属市场ID",
  11479. "type": "integer"
  11480. },
  11481. "openreqqty": {
  11482. "description": "开仓申请数量(用于比较最大持仓数量)",
  11483. "type": "integer"
  11484. },
  11485. "opentotalqty": {
  11486. "description": "开仓总数量",
  11487. "type": "integer"
  11488. },
  11489. "otherfrozenqty": {
  11490. "description": "持仓其他冻结数量(交割冻结)",
  11491. "type": "integer"
  11492. },
  11493. "positionqty": {
  11494. "description": "期初持仓数量",
  11495. "type": "integer"
  11496. },
  11497. "tnqty": {
  11498. "description": "T+N冻结总量",
  11499. "type": "integer"
  11500. },
  11501. "tnusedqty": {
  11502. "description": "T+N使用量(可以使用T+N的冻结数量)",
  11503. "type": "integer"
  11504. },
  11505. "trademode": {
  11506. "description": "交易模式",
  11507. "type": "integer"
  11508. },
  11509. "usedmargin": {
  11510. "description": "占用保证金[商品币种]",
  11511. "type": "number"
  11512. }
  11513. }
  11514. },
  11515. "quote.HistoryData": {
  11516. "type": "object",
  11517. "properties": {
  11518. "c": {
  11519. "description": "收盘价",
  11520. "type": "number"
  11521. },
  11522. "h": {
  11523. "description": "最高价",
  11524. "type": "number"
  11525. },
  11526. "hv": {
  11527. "description": "持仓量",
  11528. "type": "integer"
  11529. },
  11530. "l": {
  11531. "description": "最低价",
  11532. "type": "number"
  11533. },
  11534. "o": {
  11535. "description": "开盘价",
  11536. "type": "number"
  11537. },
  11538. "s": {
  11539. "description": "结算价,日线周期(包括)以上才有",
  11540. "type": "number"
  11541. },
  11542. "ts": {
  11543. "description": "时间",
  11544. "type": "string"
  11545. },
  11546. "tt": {
  11547. "description": "总金额",
  11548. "type": "number"
  11549. },
  11550. "tv": {
  11551. "description": "总量",
  11552. "type": "integer"
  11553. }
  11554. }
  11555. },
  11556. "quote.QueryTSDataRsp": {
  11557. "type": "object",
  11558. "properties": {
  11559. "decimalPlace": {
  11560. "description": "小数位",
  11561. "type": "integer"
  11562. },
  11563. "endTime": {
  11564. "description": "结束时间",
  11565. "type": "string"
  11566. },
  11567. "goodsCode": {
  11568. "description": "商品代码",
  11569. "type": "string"
  11570. },
  11571. "historyDatas": {
  11572. "description": "历史数据",
  11573. "type": "array",
  11574. "items": {
  11575. "$ref": "#/definitions/quote.HistoryData"
  11576. }
  11577. },
  11578. "preSettle": {
  11579. "description": "昨结",
  11580. "type": "number"
  11581. },
  11582. "startTime": {
  11583. "description": "开始时间",
  11584. "type": "string"
  11585. },
  11586. "tradeDate": {
  11587. "description": "交易日",
  11588. "type": "string"
  11589. }
  11590. }
  11591. },
  11592. "szdz.QueryConvertLogRsp": {
  11593. "type": "object",
  11594. "required": [
  11595. "logid"
  11596. ],
  11597. "properties": {
  11598. "accountid": {
  11599. "description": "资金账户ID",
  11600. "type": "integer"
  11601. },
  11602. "clientticket": {
  11603. "description": "客户端流水号",
  11604. "type": "string"
  11605. },
  11606. "converttype": {
  11607. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  11608. "type": "integer"
  11609. },
  11610. "createtime": {
  11611. "description": "记账时间",
  11612. "type": "string"
  11613. },
  11614. "daymaxvalue": {
  11615. "description": "配置当日最大转入限制",
  11616. "type": "number"
  11617. },
  11618. "daymaxvalue2": {
  11619. "description": "配置当日最大转入限制(转入)",
  11620. "type": "number"
  11621. },
  11622. "goodscode": {
  11623. "description": "商品代码",
  11624. "type": "string"
  11625. },
  11626. "goodsname": {
  11627. "description": "商品名称",
  11628. "type": "string"
  11629. },
  11630. "handlestatus": {
  11631. "description": "处理状态",
  11632. "type": "integer"
  11633. },
  11634. "innergoodsid": {
  11635. "description": "内部商品ID",
  11636. "type": "integer"
  11637. },
  11638. "inratio": {
  11639. "description": "配置转入比值",
  11640. "type": "integer"
  11641. },
  11642. "invalue": {
  11643. "description": "目标值",
  11644. "type": "number"
  11645. },
  11646. "logid": {
  11647. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11648. "type": "integer"
  11649. },
  11650. "mobile": {
  11651. "description": "手机号码(加密存储)",
  11652. "type": "string"
  11653. },
  11654. "outergoodscode": {
  11655. "description": "外部商品代码[JD\\PD]",
  11656. "type": "string"
  11657. },
  11658. "outratio": {
  11659. "description": "配置转出比值",
  11660. "type": "integer"
  11661. },
  11662. "outvalue": {
  11663. "description": "源值",
  11664. "type": "number"
  11665. },
  11666. "pddecimalplace": {
  11667. "description": "PD小数位",
  11668. "type": "integer"
  11669. },
  11670. "qty": {
  11671. "description": "数量",
  11672. "type": "string"
  11673. },
  11674. "remark": {
  11675. "description": "备注",
  11676. "type": "string"
  11677. },
  11678. "sessionid": {
  11679. "description": "会话ID",
  11680. "type": "integer"
  11681. },
  11682. "timemaxvalue": {
  11683. "description": "配置单次最大转入限制",
  11684. "type": "number"
  11685. },
  11686. "timemaxvalue2": {
  11687. "description": "配置单次最大转入限制(转入)",
  11688. "type": "number"
  11689. },
  11690. "timeminvalue": {
  11691. "description": "配置单次最小数量限制",
  11692. "type": "number"
  11693. },
  11694. "timeminvalue2": {
  11695. "description": "配置单次最小数量限制(转入)",
  11696. "type": "number"
  11697. },
  11698. "tradedate": {
  11699. "description": "交易日(yyyyMMdd)",
  11700. "type": "string"
  11701. },
  11702. "userid": {
  11703. "description": "用户ID",
  11704. "type": "integer"
  11705. }
  11706. }
  11707. },
  11708. "szdz.QueryGoodsPickupRsp": {
  11709. "type": "object",
  11710. "required": [
  11711. "takeorderid"
  11712. ],
  11713. "properties": {
  11714. "accountid": {
  11715. "description": "账户ID",
  11716. "type": "integer"
  11717. },
  11718. "address": {
  11719. "description": "提货人详细地址",
  11720. "type": "string"
  11721. },
  11722. "auditer": {
  11723. "description": "审核人",
  11724. "type": "integer"
  11725. },
  11726. "audittime": {
  11727. "description": "审核时间",
  11728. "type": "string"
  11729. },
  11730. "cardnum": {
  11731. "description": "提货人证件号码",
  11732. "type": "string"
  11733. },
  11734. "cardtypeid": {
  11735. "description": "提货人证件类型",
  11736. "type": "integer"
  11737. },
  11738. "checkremark": {
  11739. "description": "审核备注",
  11740. "type": "string"
  11741. },
  11742. "goodscode": {
  11743. "description": "商品代码",
  11744. "type": "string"
  11745. },
  11746. "goodsid": {
  11747. "description": "商品ID",
  11748. "type": "integer"
  11749. },
  11750. "goodsname": {
  11751. "description": "商品名称",
  11752. "type": "string"
  11753. },
  11754. "handlestatus": {
  11755. "description": "处理状态",
  11756. "type": "integer"
  11757. },
  11758. "marketid": {
  11759. "description": "市场ID",
  11760. "type": "integer"
  11761. },
  11762. "phonenum": {
  11763. "description": "提货人联系方式",
  11764. "type": "string"
  11765. },
  11766. "qty": {
  11767. "description": "提货数量",
  11768. "type": "number"
  11769. },
  11770. "recivername": {
  11771. "description": "提货人姓名",
  11772. "type": "string"
  11773. },
  11774. "reqtime": {
  11775. "description": "更新时间",
  11776. "type": "string"
  11777. },
  11778. "takemode": {
  11779. "description": "提货方式 - 2:自提 3:配送",
  11780. "type": "integer"
  11781. },
  11782. "takeorderid": {
  11783. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  11784. "type": "string"
  11785. },
  11786. "takeorderstatus": {
  11787. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11788. "type": "integer"
  11789. },
  11790. "takeremark": {
  11791. "description": "提货备注",
  11792. "type": "string"
  11793. },
  11794. "tradedate": {
  11795. "description": "交易日(yyyyMMdd)",
  11796. "type": "string"
  11797. },
  11798. "userid": {
  11799. "description": "用户ID",
  11800. "type": "integer"
  11801. }
  11802. }
  11803. },
  11804. "szdz.QueryRecieptOrderRsp": {
  11805. "type": "object",
  11806. "required": [
  11807. "ordertime"
  11808. ],
  11809. "properties": {
  11810. "accountName": {
  11811. "description": "所属账号名称(已脱敏)",
  11812. "type": "string"
  11813. },
  11814. "accountid": {
  11815. "description": "资金账号",
  11816. "type": "integer"
  11817. },
  11818. "buyorsell": {
  11819. "description": "方向 - 0:买 1:卖",
  11820. "type": "integer"
  11821. },
  11822. "enableqty": {
  11823. "description": "可摘数量",
  11824. "type": "integer"
  11825. },
  11826. "goodscode": {
  11827. "description": "商品代码",
  11828. "type": "string"
  11829. },
  11830. "goodsid": {
  11831. "description": "商品ID",
  11832. "type": "integer"
  11833. },
  11834. "goodsname": {
  11835. "description": "商品名称",
  11836. "type": "string"
  11837. },
  11838. "orderid": {
  11839. "description": "委托单号",
  11840. "type": "string"
  11841. },
  11842. "orderprice": {
  11843. "description": "委托价格",
  11844. "type": "number"
  11845. },
  11846. "ordertime": {
  11847. "description": "委托时间",
  11848. "type": "string"
  11849. },
  11850. "tradedate": {
  11851. "description": "交易日(yyyyMMdd)",
  11852. "type": "string"
  11853. }
  11854. }
  11855. },
  11856. "szdz.QuerySZDZTradePositionRsp": {
  11857. "type": "object",
  11858. "properties": {
  11859. "accountid": {
  11860. "description": "账号Id",
  11861. "type": "integer"
  11862. },
  11863. "agreeunit": {
  11864. "description": "合约单位",
  11865. "type": "number"
  11866. },
  11867. "averageprice": {
  11868. "description": "持仓均价",
  11869. "type": "number"
  11870. },
  11871. "buyorsell": {
  11872. "description": "方向 - 0:买 1:卖",
  11873. "type": "integer"
  11874. },
  11875. "closetotalqty": {
  11876. "description": "平仓总数量",
  11877. "type": "integer"
  11878. },
  11879. "curholderamount": {
  11880. "description": "当前持仓总金额",
  11881. "type": "number"
  11882. },
  11883. "curpositionqty": {
  11884. "description": "当前持仓总数量",
  11885. "type": "integer"
  11886. },
  11887. "currencyid": {
  11888. "description": "报价货币ID",
  11889. "type": "integer"
  11890. },
  11891. "curtdposition": {
  11892. "description": "期末今日头寸",
  11893. "type": "integer"
  11894. },
  11895. "decimalplace": {
  11896. "description": "报价小数位",
  11897. "type": "integer"
  11898. },
  11899. "enableqty": {
  11900. "description": "可用量",
  11901. "type": "integer"
  11902. },
  11903. "fretdposition": {
  11904. "description": "冻结今日头寸",
  11905. "type": "integer"
  11906. },
  11907. "frozenqty": {
  11908. "description": "持仓冻结数量",
  11909. "type": "integer"
  11910. },
  11911. "goodscode": {
  11912. "description": "商品代码(内部)",
  11913. "type": "string"
  11914. },
  11915. "goodsid": {
  11916. "description": "商品Id",
  11917. "type": "integer"
  11918. },
  11919. "goodsname": {
  11920. "description": "商品名称",
  11921. "type": "string"
  11922. },
  11923. "goodunit": {
  11924. "description": "报价单位",
  11925. "type": "string"
  11926. },
  11927. "goodunitid": {
  11928. "description": "报价单位ID",
  11929. "type": "integer"
  11930. },
  11931. "holderamount": {
  11932. "description": "期初持仓总金额",
  11933. "type": "number"
  11934. },
  11935. "marketid": {
  11936. "description": "市场ID",
  11937. "type": "integer"
  11938. },
  11939. "openreqqty": {
  11940. "description": "开仓申请数量",
  11941. "type": "integer"
  11942. },
  11943. "opentotalqty": {
  11944. "description": "开仓总数量",
  11945. "type": "integer"
  11946. },
  11947. "otherfrozenqty": {
  11948. "description": "持仓其他冻结数量(交割冻结)",
  11949. "type": "integer"
  11950. },
  11951. "positionqty": {
  11952. "description": "期初持仓数量",
  11953. "type": "integer"
  11954. },
  11955. "szdz3freezqty": {
  11956. "description": "尚志大宗转换冻结总数量",
  11957. "type": "integer"
  11958. },
  11959. "tnqty": {
  11960. "description": "T+N冻结总量",
  11961. "type": "integer"
  11962. },
  11963. "tnusedqty": {
  11964. "description": "T+N使用量",
  11965. "type": "integer"
  11966. },
  11967. "trademode": {
  11968. "description": "交易模式",
  11969. "type": "integer"
  11970. },
  11971. "usedmargin": {
  11972. "description": "占用保证金",
  11973. "type": "number"
  11974. }
  11975. }
  11976. },
  11977. "taaccount.QueryAmountLogRsp": {
  11978. "type": "object",
  11979. "required": [
  11980. "accountid",
  11981. "amount",
  11982. "amountadjusttype",
  11983. "autoid",
  11984. "balance",
  11985. "createtime",
  11986. "currentbalance",
  11987. "operatetype"
  11988. ],
  11989. "properties": {
  11990. "OPERATETYPENAME": {
  11991. "description": "资金操作类型名称",
  11992. "type": "string"
  11993. },
  11994. "accountid": {
  11995. "description": "资金账户ID",
  11996. "type": "integer"
  11997. },
  11998. "agoodscode": {
  11999. "description": "竞拍商品代码",
  12000. "type": "string"
  12001. },
  12002. "agoodsname": {
  12003. "description": "竞拍商品名称",
  12004. "type": "string"
  12005. },
  12006. "amount": {
  12007. "description": "资金金额",
  12008. "type": "number"
  12009. },
  12010. "amountadjusttype": {
  12011. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12012. "type": "integer"
  12013. },
  12014. "autoid": {
  12015. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12016. "type": "integer"
  12017. },
  12018. "balance": {
  12019. "description": "期初余额",
  12020. "type": "number"
  12021. },
  12022. "businesscode": {
  12023. "description": "业务编号",
  12024. "type": "integer"
  12025. },
  12026. "createtime": {
  12027. "description": "发生时间",
  12028. "type": "string"
  12029. },
  12030. "currencyid": {
  12031. "description": "币种ID",
  12032. "type": "integer"
  12033. },
  12034. "currentbalance": {
  12035. "description": "期末余额(变动后金额)",
  12036. "type": "number"
  12037. },
  12038. "dgoodscode": {
  12039. "description": "交割商品代码",
  12040. "type": "string"
  12041. },
  12042. "dgoodsname": {
  12043. "description": "交割商品名称",
  12044. "type": "string"
  12045. },
  12046. "goodscode": {
  12047. "description": "商品代码",
  12048. "type": "string"
  12049. },
  12050. "goodsid": {
  12051. "description": "商品ID",
  12052. "type": "integer"
  12053. },
  12054. "goodsname": {
  12055. "description": "商品名称",
  12056. "type": "string"
  12057. },
  12058. "marketid": {
  12059. "description": "市场ID",
  12060. "type": "integer"
  12061. },
  12062. "marketname": {
  12063. "description": "市场名称",
  12064. "type": "string"
  12065. },
  12066. "moneyticket": {
  12067. "description": "资金流水号:银行端流水号",
  12068. "type": "integer"
  12069. },
  12070. "operatetype": {
  12071. "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:营销收款",
  12072. "type": "integer"
  12073. },
  12074. "relationorderid": {
  12075. "description": "关联单号",
  12076. "type": "string"
  12077. },
  12078. "remark": {
  12079. "description": "备注",
  12080. "type": "string"
  12081. },
  12082. "trademode": {
  12083. "description": "交易模式",
  12084. "type": "integer"
  12085. }
  12086. }
  12087. },
  12088. "taaccount.QueryHisAmountLogRsp": {
  12089. "type": "object",
  12090. "required": [
  12091. "accountid",
  12092. "amount",
  12093. "amountadjusttype",
  12094. "autoid",
  12095. "balance",
  12096. "createtime",
  12097. "currentbalance",
  12098. "histradedate",
  12099. "operatetype"
  12100. ],
  12101. "properties": {
  12102. "OPERATETYPENAME": {
  12103. "description": "资金操作类型名称",
  12104. "type": "string"
  12105. },
  12106. "accountid": {
  12107. "description": "资金账户ID",
  12108. "type": "integer"
  12109. },
  12110. "agoodscode": {
  12111. "description": "竞拍商品代码",
  12112. "type": "string"
  12113. },
  12114. "agoodsname": {
  12115. "description": "竞拍商品名称",
  12116. "type": "string"
  12117. },
  12118. "amount": {
  12119. "description": "资金金额",
  12120. "type": "number"
  12121. },
  12122. "amountadjusttype": {
  12123. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12124. "type": "integer"
  12125. },
  12126. "autoid": {
  12127. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12128. "type": "integer"
  12129. },
  12130. "balance": {
  12131. "description": "期初余额",
  12132. "type": "number"
  12133. },
  12134. "businesscode": {
  12135. "description": "业务编号",
  12136. "type": "integer"
  12137. },
  12138. "createtime": {
  12139. "description": "发生时间",
  12140. "type": "string"
  12141. },
  12142. "currencyid": {
  12143. "description": "币种ID",
  12144. "type": "integer"
  12145. },
  12146. "currentbalance": {
  12147. "description": "期末余额(变动后金额)",
  12148. "type": "number"
  12149. },
  12150. "dgoodscode": {
  12151. "description": "交割商品代码",
  12152. "type": "string"
  12153. },
  12154. "dgoodsname": {
  12155. "description": "交割商品名称",
  12156. "type": "string"
  12157. },
  12158. "goodscode": {
  12159. "description": "商品代码",
  12160. "type": "string"
  12161. },
  12162. "goodsid": {
  12163. "description": "商品ID",
  12164. "type": "integer"
  12165. },
  12166. "goodsname": {
  12167. "description": "商品名称",
  12168. "type": "string"
  12169. },
  12170. "histradedate": {
  12171. "description": "历史交易日",
  12172. "type": "string"
  12173. },
  12174. "isvaliddata": {
  12175. "description": "是否有效 - 0:无效 1:有效",
  12176. "type": "integer"
  12177. },
  12178. "marketid": {
  12179. "description": "市场ID",
  12180. "type": "integer"
  12181. },
  12182. "marketname": {
  12183. "description": "市场名称",
  12184. "type": "string"
  12185. },
  12186. "moneyticket": {
  12187. "description": "资金流水号:银行端流水号",
  12188. "type": "integer"
  12189. },
  12190. "operatetype": {
  12191. "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:营销收款",
  12192. "type": "integer"
  12193. },
  12194. "relationorderid": {
  12195. "description": "关联单号",
  12196. "type": "string"
  12197. },
  12198. "remark": {
  12199. "description": "备注",
  12200. "type": "string"
  12201. },
  12202. "trademode": {
  12203. "description": "交易模式",
  12204. "type": "integer"
  12205. }
  12206. }
  12207. },
  12208. "trade.QueryRecieptOrderRsp": {
  12209. "type": "object",
  12210. "required": [
  12211. "ordertime"
  12212. ],
  12213. "properties": {
  12214. "accountName": {
  12215. "description": "所属账号名称(已脱敏)",
  12216. "type": "string"
  12217. },
  12218. "accountid": {
  12219. "description": "资金账号",
  12220. "type": "integer"
  12221. },
  12222. "buyorsell": {
  12223. "description": "方向 - 0:买 1:卖",
  12224. "type": "integer"
  12225. },
  12226. "enableqty": {
  12227. "description": "可摘数量",
  12228. "type": "integer"
  12229. },
  12230. "goodscode": {
  12231. "description": "商品代码",
  12232. "type": "string"
  12233. },
  12234. "goodsid": {
  12235. "description": "商品ID",
  12236. "type": "integer"
  12237. },
  12238. "goodsname": {
  12239. "description": "商品名称",
  12240. "type": "string"
  12241. },
  12242. "orderid": {
  12243. "description": "委托单号",
  12244. "type": "string"
  12245. },
  12246. "orderprice": {
  12247. "description": "委托价格",
  12248. "type": "number"
  12249. },
  12250. "ordertime": {
  12251. "description": "委托时间",
  12252. "type": "string"
  12253. },
  12254. "tradedate": {
  12255. "description": "交易日(yyyyMMdd)",
  12256. "type": "string"
  12257. }
  12258. }
  12259. }
  12260. },
  12261. "securityDefinitions": {
  12262. "ApiKeyAuth": {
  12263. "type": "apiKey",
  12264. "name": "Authorization",
  12265. "in": "header"
  12266. }
  12267. }
  12268. }`
  12269. type swaggerInfo struct {
  12270. Version string
  12271. Host string
  12272. BasePath string
  12273. Schemes []string
  12274. Title string
  12275. Description string
  12276. }
  12277. // SwaggerInfo holds exported Swagger Info so clients can modify it
  12278. var SwaggerInfo = swaggerInfo{
  12279. Version: "1.0",
  12280. Host: "",
  12281. BasePath: "/api",
  12282. Schemes: []string{},
  12283. Title: "MTP2.0 查询服务 API",
  12284. Description: "新的查询服务,替代原通用查询服务。",
  12285. }
  12286. type s struct{}
  12287. func (s *s) ReadDoc() string {
  12288. sInfo := SwaggerInfo
  12289. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  12290. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  12291. "marshal": func(v interface{}) string {
  12292. a, _ := json.Marshal(v)
  12293. return string(a)
  12294. },
  12295. }).Parse(doc)
  12296. if err != nil {
  12297. return doc
  12298. }
  12299. var tpl bytes.Buffer
  12300. if err := t.Execute(&tpl, sInfo); err != nil {
  12301. return doc
  12302. }
  12303. return tpl.String()
  12304. }
  12305. func init() {
  12306. swag.Register(swag.Name, &s{})
  12307. }