docs.go 462 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871
  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. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "responses": {
  378. "200": {
  379. "description": "OK",
  380. "schema": {
  381. "$ref": "#/definitions/models.Enumdicitem"
  382. }
  383. },
  384. "500": {
  385. "description": "Internal Server Error",
  386. "schema": {
  387. "$ref": "#/definitions/app.Response"
  388. }
  389. }
  390. }
  391. }
  392. },
  393. "/Common/GetServerTime": {
  394. "get": {
  395. "produces": [
  396. "application/json"
  397. ],
  398. "tags": [
  399. "通用服务"
  400. ],
  401. "summary": "获取服务器时间",
  402. "responses": {
  403. "200": {
  404. "description": "OK",
  405. "schema": {
  406. "$ref": "#/definitions/app.Response"
  407. }
  408. },
  409. "500": {
  410. "description": "Internal Server Error",
  411. "schema": {
  412. "$ref": "#/definitions/app.Response"
  413. }
  414. }
  415. }
  416. }
  417. },
  418. "/Common/NoticeReaded": {
  419. "post": {
  420. "security": [
  421. {
  422. "ApiKeyAuth": []
  423. }
  424. ],
  425. "produces": [
  426. "application/json"
  427. ],
  428. "tags": [
  429. "通用服务"
  430. ],
  431. "summary": "通知公告设置已读请求",
  432. "parameters": [
  433. {
  434. "type": "integer",
  435. "description": "登录账号",
  436. "name": "loginID",
  437. "in": "query",
  438. "required": true
  439. },
  440. {
  441. "type": "integer",
  442. "description": "通知公告ID",
  443. "name": "noticeID",
  444. "in": "query",
  445. "required": true
  446. }
  447. ],
  448. "responses": {
  449. "200": {
  450. "description": "OK",
  451. "schema": {
  452. "$ref": "#/definitions/app.Response"
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/QueryImageConfigs": {
  465. "get": {
  466. "produces": [
  467. "application/json"
  468. ],
  469. "tags": [
  470. "通用服务"
  471. ],
  472. "summary": "查询轮播图配置信息",
  473. "parameters": [
  474. {
  475. "type": "integer",
  476. "description": "类型 - 1:App首页轮播 2:我的",
  477. "name": "imageType",
  478. "in": "query"
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/models.Szdz2imageconfig"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryNotice": {
  498. "get": {
  499. "security": [
  500. {
  501. "ApiKeyAuth": []
  502. }
  503. ],
  504. "produces": [
  505. "application/json"
  506. ],
  507. "tags": [
  508. "通用服务"
  509. ],
  510. "summary": "通知公告系统消息查询",
  511. "parameters": [
  512. {
  513. "type": "integer",
  514. "description": "页码",
  515. "name": "page",
  516. "in": "query"
  517. },
  518. {
  519. "type": "integer",
  520. "description": "每页条数",
  521. "name": "pagesize",
  522. "in": "query"
  523. },
  524. {
  525. "type": "integer",
  526. "description": "登录账号",
  527. "name": "loginID",
  528. "in": "query",
  529. "required": true
  530. },
  531. {
  532. "type": "integer",
  533. "description": "消息类型 - 1:公告通知 2:系统消息",
  534. "name": "msgType",
  535. "in": "query"
  536. },
  537. {
  538. "type": "boolean",
  539. "description": "是否只获取未读信息",
  540. "name": "onlyUnRead",
  541. "in": "query"
  542. }
  543. ],
  544. "responses": {
  545. "200": {
  546. "description": "OK",
  547. "schema": {
  548. "$ref": "#/definitions/common.QueryNoticeRsp"
  549. }
  550. },
  551. "500": {
  552. "description": "Internal Server Error",
  553. "schema": {
  554. "$ref": "#/definitions/app.Response"
  555. }
  556. }
  557. }
  558. }
  559. },
  560. "/Common/QueryProvincesAndCities": {
  561. "get": {
  562. "produces": [
  563. "application/json"
  564. ],
  565. "tags": [
  566. "通用服务"
  567. ],
  568. "summary": "查询省市信息(不包括区)",
  569. "parameters": [
  570. {
  571. "type": "integer",
  572. "description": "省ID",
  573. "name": "provinceID",
  574. "in": "query"
  575. }
  576. ],
  577. "responses": {
  578. "200": {
  579. "description": "OK",
  580. "schema": {
  581. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  582. }
  583. },
  584. "500": {
  585. "description": "Internal Server Error",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. }
  590. }
  591. }
  592. },
  593. "/Common/QueryTableDefine": {
  594. "get": {
  595. "produces": [
  596. "application/json"
  597. ],
  598. "tags": [
  599. "通用服务"
  600. ],
  601. "summary": "查询交易端列表头信息",
  602. "parameters": [
  603. {
  604. "type": "string",
  605. "description": "表key",
  606. "name": "tableKey",
  607. "in": "query"
  608. },
  609. {
  610. "type": "integer",
  611. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  612. "name": "tableType",
  613. "in": "query"
  614. }
  615. ],
  616. "responses": {
  617. "200": {
  618. "description": "OK",
  619. "schema": {
  620. "$ref": "#/definitions/common.QueryTableDefineRsp"
  621. }
  622. },
  623. "500": {
  624. "description": "Internal Server Error",
  625. "schema": {
  626. "$ref": "#/definitions/app.Response"
  627. }
  628. }
  629. }
  630. }
  631. },
  632. "/Common/QueryTraderMenu": {
  633. "get": {
  634. "produces": [
  635. "application/json"
  636. ],
  637. "tags": [
  638. "通用服务"
  639. ],
  640. "summary": "查询交易端菜单",
  641. "parameters": [
  642. {
  643. "type": "integer",
  644. "description": "登录账号",
  645. "name": "loginid",
  646. "in": "query",
  647. "required": true
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Delivery/QueryDeliveryRelation": {
  667. "get": {
  668. "security": [
  669. {
  670. "ApiKeyAuth": []
  671. }
  672. ],
  673. "produces": [
  674. "application/json"
  675. ],
  676. "tags": [
  677. "交割服务"
  678. ],
  679. "summary": "查询商品交割关系表",
  680. "parameters": [
  681. {
  682. "type": "integer",
  683. "description": "商品ID",
  684. "name": "goodsid",
  685. "in": "query"
  686. },
  687. {
  688. "type": "integer",
  689. "description": "品种ID",
  690. "name": "deliverygoodsid",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "市场ID",
  696. "name": "marketid",
  697. "in": "query"
  698. }
  699. ],
  700. "responses": {
  701. "200": {
  702. "description": "OK",
  703. "schema": {
  704. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  705. }
  706. },
  707. "500": {
  708. "description": "Internal Server Error",
  709. "schema": {
  710. "$ref": "#/definitions/app.Response"
  711. }
  712. }
  713. }
  714. }
  715. },
  716. "/Ermcp/QueryBusinessDj": {
  717. "get": {
  718. "security": [
  719. {
  720. "ApiKeyAuth": []
  721. }
  722. ],
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "企业风险管理(app)"
  728. ],
  729. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  730. "parameters": [
  731. {
  732. "type": "integer",
  733. "description": "用户ID",
  734. "name": "UserId",
  735. "in": "query",
  736. "required": true
  737. },
  738. {
  739. "type": "string",
  740. "description": "现货合同ID, 不填则查所有",
  741. "name": "relatedid",
  742. "in": "query"
  743. }
  744. ],
  745. "responses": {
  746. "200": {
  747. "description": "OK",
  748. "schema": {
  749. "type": "array",
  750. "items": {
  751. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  752. }
  753. }
  754. },
  755. "500": {
  756. "description": "Internal Server Error",
  757. "schema": {
  758. "$ref": "#/definitions/app.Response"
  759. }
  760. }
  761. }
  762. }
  763. },
  764. "/Ermcp/QueryBusinessFp": {
  765. "get": {
  766. "security": [
  767. {
  768. "ApiKeyAuth": []
  769. }
  770. ],
  771. "produces": [
  772. "application/json"
  773. ],
  774. "tags": [
  775. "企业风险管理(app)"
  776. ],
  777. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  778. "parameters": [
  779. {
  780. "type": "integer",
  781. "description": "用户ID",
  782. "name": "UserId",
  783. "in": "query",
  784. "required": true
  785. },
  786. {
  787. "type": "string",
  788. "description": "现货合同ID, 不填则查所有",
  789. "name": "relatedid",
  790. "in": "query"
  791. }
  792. ],
  793. "responses": {
  794. "200": {
  795. "description": "OK",
  796. "schema": {
  797. "type": "array",
  798. "items": {
  799. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  800. }
  801. }
  802. },
  803. "500": {
  804. "description": "Internal Server Error",
  805. "schema": {
  806. "$ref": "#/definitions/app.Response"
  807. }
  808. }
  809. }
  810. }
  811. },
  812. "/Ermcp/QueryBusinessJs": {
  813. "get": {
  814. "security": [
  815. {
  816. "ApiKeyAuth": []
  817. }
  818. ],
  819. "produces": [
  820. "application/json"
  821. ],
  822. "tags": [
  823. "企业风险管理(app)"
  824. ],
  825. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  826. "parameters": [
  827. {
  828. "type": "integer",
  829. "description": "用户ID",
  830. "name": "UserId",
  831. "in": "query",
  832. "required": true
  833. },
  834. {
  835. "type": "string",
  836. "description": "现货合同ID, 不填则查所有",
  837. "name": "relatedid",
  838. "in": "query"
  839. }
  840. ],
  841. "responses": {
  842. "200": {
  843. "description": "OK",
  844. "schema": {
  845. "type": "array",
  846. "items": {
  847. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  848. }
  849. }
  850. },
  851. "500": {
  852. "description": "Internal Server Error",
  853. "schema": {
  854. "$ref": "#/definitions/app.Response"
  855. }
  856. }
  857. }
  858. }
  859. },
  860. "/Ermcp/QueryBusinessKx": {
  861. "get": {
  862. "security": [
  863. {
  864. "ApiKeyAuth": []
  865. }
  866. ],
  867. "produces": [
  868. "application/json"
  869. ],
  870. "tags": [
  871. "企业风险管理(app)"
  872. ],
  873. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  874. "parameters": [
  875. {
  876. "type": "integer",
  877. "description": "用户ID",
  878. "name": "UserId",
  879. "in": "query",
  880. "required": true
  881. },
  882. {
  883. "type": "string",
  884. "description": "现货合同ID, 不填则查所有",
  885. "name": "relatedid",
  886. "in": "query"
  887. }
  888. ],
  889. "responses": {
  890. "200": {
  891. "description": "OK",
  892. "schema": {
  893. "type": "array",
  894. "items": {
  895. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  896. }
  897. }
  898. },
  899. "500": {
  900. "description": "Internal Server Error",
  901. "schema": {
  902. "$ref": "#/definitions/app.Response"
  903. }
  904. }
  905. }
  906. }
  907. },
  908. "/Ermcp/QueryChangeLog": {
  909. "get": {
  910. "security": [
  911. {
  912. "ApiKeyAuth": []
  913. }
  914. ],
  915. "produces": [
  916. "application/json"
  917. ],
  918. "tags": [
  919. "企业风险管理(app)"
  920. ],
  921. "summary": "查询变更记录",
  922. "parameters": [
  923. {
  924. "type": "string",
  925. "description": "用户ID",
  926. "name": "RelatedId",
  927. "in": "query",
  928. "required": true
  929. }
  930. ],
  931. "responses": {
  932. "200": {
  933. "description": "OK",
  934. "schema": {
  935. "type": "array",
  936. "items": {
  937. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  938. }
  939. }
  940. },
  941. "500": {
  942. "description": "Internal Server Error",
  943. "schema": {
  944. "$ref": "#/definitions/app.Response"
  945. }
  946. }
  947. }
  948. }
  949. },
  950. "/Ermcp/QueryContract": {
  951. "get": {
  952. "security": [
  953. {
  954. "ApiKeyAuth": []
  955. }
  956. ],
  957. "produces": [
  958. "application/json"
  959. ],
  960. "tags": [
  961. "企业风险管理(app)"
  962. ],
  963. "summary": "查询合同(采购和销售)",
  964. "parameters": [
  965. {
  966. "type": "integer",
  967. "description": "用户ID",
  968. "name": "userId",
  969. "in": "query",
  970. "required": true
  971. },
  972. {
  973. "type": "integer",
  974. "description": "合同类型 1-采购, -1-销售",
  975. "name": "contracttype",
  976. "in": "query",
  977. "required": true
  978. },
  979. {
  980. "type": "integer",
  981. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  982. "name": "querytype",
  983. "in": "query",
  984. "required": true
  985. }
  986. ],
  987. "responses": {
  988. "200": {
  989. "description": "OK",
  990. "schema": {
  991. "type": "array",
  992. "items": {
  993. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  994. }
  995. }
  996. },
  997. "500": {
  998. "description": "Internal Server Error",
  999. "schema": {
  1000. "$ref": "#/definitions/app.Response"
  1001. }
  1002. }
  1003. }
  1004. }
  1005. },
  1006. "/Ermcp/QueryHedgePlan": {
  1007. "get": {
  1008. "security": [
  1009. {
  1010. "ApiKeyAuth": []
  1011. }
  1012. ],
  1013. "produces": [
  1014. "application/json"
  1015. ],
  1016. "tags": [
  1017. "企业风险管理(app)"
  1018. ],
  1019. "summary": "查询套保计划",
  1020. "parameters": [
  1021. {
  1022. "type": "integer",
  1023. "description": "用户ID",
  1024. "name": "userId",
  1025. "in": "query",
  1026. "required": true
  1027. },
  1028. {
  1029. "type": "string",
  1030. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1031. "name": "HedgePlanStatus",
  1032. "in": "query",
  1033. "required": true
  1034. }
  1035. ],
  1036. "responses": {
  1037. "200": {
  1038. "description": "OK",
  1039. "schema": {
  1040. "type": "array",
  1041. "items": {
  1042. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1043. }
  1044. }
  1045. },
  1046. "500": {
  1047. "description": "Internal Server Error",
  1048. "schema": {
  1049. "$ref": "#/definitions/app.Response"
  1050. }
  1051. }
  1052. }
  1053. }
  1054. },
  1055. "/Ermcp/QueryRealtimeExposure": {
  1056. "get": {
  1057. "security": [
  1058. {
  1059. "ApiKeyAuth": []
  1060. }
  1061. ],
  1062. "produces": [
  1063. "application/json"
  1064. ],
  1065. "tags": [
  1066. "企业风险管理(app)"
  1067. ],
  1068. "summary": "查询实时敞口",
  1069. "parameters": [
  1070. {
  1071. "type": "integer",
  1072. "description": "所属机构ID",
  1073. "name": "AreaUserID",
  1074. "in": "query",
  1075. "required": true
  1076. }
  1077. ],
  1078. "responses": {
  1079. "200": {
  1080. "description": "OK",
  1081. "schema": {
  1082. "type": "array",
  1083. "items": {
  1084. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1085. }
  1086. }
  1087. },
  1088. "500": {
  1089. "description": "Internal Server Error",
  1090. "schema": {
  1091. "$ref": "#/definitions/app.Response"
  1092. }
  1093. }
  1094. }
  1095. }
  1096. },
  1097. "/Ermcp/QuerySpotContract": {
  1098. "get": {
  1099. "security": [
  1100. {
  1101. "ApiKeyAuth": []
  1102. }
  1103. ],
  1104. "produces": [
  1105. "application/json"
  1106. ],
  1107. "tags": [
  1108. "企业风险管理(app)"
  1109. ],
  1110. "summary": "查询现货合同(对应现货合同菜单)",
  1111. "parameters": [
  1112. {
  1113. "type": "integer",
  1114. "description": "用户ID",
  1115. "name": "userId",
  1116. "in": "query",
  1117. "required": true
  1118. },
  1119. {
  1120. "type": "integer",
  1121. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1122. "name": "QueryType",
  1123. "in": "query",
  1124. "required": true
  1125. }
  1126. ],
  1127. "responses": {
  1128. "200": {
  1129. "description": "OK",
  1130. "schema": {
  1131. "type": "array",
  1132. "items": {
  1133. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1134. }
  1135. }
  1136. },
  1137. "500": {
  1138. "description": "Internal Server Error",
  1139. "schema": {
  1140. "$ref": "#/definitions/app.Response"
  1141. }
  1142. }
  1143. }
  1144. }
  1145. },
  1146. "/Ermcp/QueryUserInfo": {
  1147. "get": {
  1148. "security": [
  1149. {
  1150. "ApiKeyAuth": []
  1151. }
  1152. ],
  1153. "produces": [
  1154. "application/json"
  1155. ],
  1156. "tags": [
  1157. "企业风险管理(app)"
  1158. ],
  1159. "summary": "查询客户资料",
  1160. "parameters": [
  1161. {
  1162. "type": "integer",
  1163. "description": "所属机构用户ID",
  1164. "name": "MemberUserID",
  1165. "in": "query",
  1166. "required": true
  1167. },
  1168. {
  1169. "type": "integer",
  1170. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1171. "name": "queryType",
  1172. "in": "query",
  1173. "required": true
  1174. }
  1175. ],
  1176. "responses": {
  1177. "200": {
  1178. "description": "OK",
  1179. "schema": {
  1180. "type": "array",
  1181. "items": {
  1182. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1183. }
  1184. }
  1185. },
  1186. "500": {
  1187. "description": "Internal Server Error",
  1188. "schema": {
  1189. "$ref": "#/definitions/app.Response"
  1190. }
  1191. }
  1192. }
  1193. }
  1194. },
  1195. "/Ermcp/QueryWrStandard": {
  1196. "get": {
  1197. "security": [
  1198. {
  1199. "ApiKeyAuth": []
  1200. }
  1201. ],
  1202. "produces": [
  1203. "application/json"
  1204. ],
  1205. "tags": [
  1206. "企业风险管理(app)"
  1207. ],
  1208. "summary": "查询现货商品",
  1209. "parameters": [
  1210. {
  1211. "type": "integer",
  1212. "description": "所属机构ID",
  1213. "name": "userid",
  1214. "in": "query",
  1215. "required": true
  1216. }
  1217. ],
  1218. "responses": {
  1219. "200": {
  1220. "description": "OK",
  1221. "schema": {
  1222. "type": "array",
  1223. "items": {
  1224. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1225. }
  1226. }
  1227. },
  1228. "500": {
  1229. "description": "Internal Server Error",
  1230. "schema": {
  1231. "$ref": "#/definitions/app.Response"
  1232. }
  1233. }
  1234. }
  1235. }
  1236. },
  1237. "/Erms2/QueryArbitrageStrategy": {
  1238. "get": {
  1239. "security": [
  1240. {
  1241. "ApiKeyAuth": []
  1242. }
  1243. ],
  1244. "produces": [
  1245. "application/json"
  1246. ],
  1247. "tags": [
  1248. "风险管理"
  1249. ],
  1250. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1251. "parameters": [
  1252. {
  1253. "type": "integer",
  1254. "description": "账户ID",
  1255. "name": "userid",
  1256. "in": "query",
  1257. "required": true
  1258. },
  1259. {
  1260. "type": "string",
  1261. "description": "商品组ID(品种ID)",
  1262. "name": "goodsgroupid",
  1263. "in": "query"
  1264. }
  1265. ],
  1266. "responses": {
  1267. "200": {
  1268. "description": "OK",
  1269. "schema": {
  1270. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1271. }
  1272. },
  1273. "500": {
  1274. "description": "Internal Server Error",
  1275. "schema": {
  1276. "$ref": "#/definitions/app.Response"
  1277. }
  1278. }
  1279. }
  1280. }
  1281. },
  1282. "/Erms2/QueryInnerTradeDetail": {
  1283. "get": {
  1284. "security": [
  1285. {
  1286. "ApiKeyAuth": []
  1287. }
  1288. ],
  1289. "produces": [
  1290. "application/json"
  1291. ],
  1292. "tags": [
  1293. "风险管理"
  1294. ],
  1295. "summary": "查询内部成交单信息",
  1296. "parameters": [
  1297. {
  1298. "type": "integer",
  1299. "description": "资金账户",
  1300. "name": "accountid",
  1301. "in": "query",
  1302. "required": true
  1303. }
  1304. ],
  1305. "responses": {
  1306. "200": {
  1307. "description": "OK",
  1308. "schema": {
  1309. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1310. }
  1311. },
  1312. "500": {
  1313. "description": "Internal Server Error",
  1314. "schema": {
  1315. "$ref": "#/definitions/app.Response"
  1316. }
  1317. }
  1318. }
  1319. }
  1320. },
  1321. "/Erms2/QuerySpotContract": {
  1322. "get": {
  1323. "security": [
  1324. {
  1325. "ApiKeyAuth": []
  1326. }
  1327. ],
  1328. "produces": [
  1329. "application/json"
  1330. ],
  1331. "tags": [
  1332. "风险管理"
  1333. ],
  1334. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1335. "parameters": [
  1336. {
  1337. "type": "integer",
  1338. "description": "策略申请ID",
  1339. "name": "asapplyid",
  1340. "in": "query",
  1341. "required": true
  1342. },
  1343. {
  1344. "type": "integer",
  1345. "description": "现货合同ID",
  1346. "name": "spotcontractid",
  1347. "in": "query"
  1348. }
  1349. ],
  1350. "responses": {
  1351. "200": {
  1352. "description": "OK",
  1353. "schema": {
  1354. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1355. }
  1356. },
  1357. "500": {
  1358. "description": "Internal Server Error",
  1359. "schema": {
  1360. "$ref": "#/definitions/app.Response"
  1361. }
  1362. }
  1363. }
  1364. }
  1365. },
  1366. "/Erms3/AddErms2ASApply": {
  1367. "post": {
  1368. "security": [
  1369. {
  1370. "ApiKeyAuth": []
  1371. }
  1372. ],
  1373. "produces": [
  1374. "application/json"
  1375. ],
  1376. "tags": [
  1377. "风险管理v3"
  1378. ],
  1379. "summary": "新增期现套利业务申请",
  1380. "parameters": [
  1381. {
  1382. "description": "申请参数",
  1383. "name": "jsonBody",
  1384. "in": "body",
  1385. "required": true,
  1386. "schema": {
  1387. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1388. }
  1389. }
  1390. ],
  1391. "responses": {
  1392. "200": {
  1393. "description": "OK",
  1394. "schema": {
  1395. "$ref": "#/definitions/app.Response"
  1396. }
  1397. },
  1398. "500": {
  1399. "description": "Internal Server Error",
  1400. "schema": {
  1401. "$ref": "#/definitions/app.Response"
  1402. }
  1403. }
  1404. }
  1405. }
  1406. },
  1407. "/Erms3/AddErms2SpotTradeApply": {
  1408. "post": {
  1409. "security": [
  1410. {
  1411. "ApiKeyAuth": []
  1412. }
  1413. ],
  1414. "produces": [
  1415. "application/json"
  1416. ],
  1417. "tags": [
  1418. "风险管理v3"
  1419. ],
  1420. "summary": "新增现货贸易业务申请",
  1421. "parameters": [
  1422. {
  1423. "description": "申请参数",
  1424. "name": "jsonBody",
  1425. "in": "body",
  1426. "required": true,
  1427. "schema": {
  1428. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1429. }
  1430. }
  1431. ],
  1432. "responses": {
  1433. "200": {
  1434. "description": "OK",
  1435. "schema": {
  1436. "$ref": "#/definitions/app.Response"
  1437. }
  1438. },
  1439. "500": {
  1440. "description": "Internal Server Error",
  1441. "schema": {
  1442. "$ref": "#/definitions/app.Response"
  1443. }
  1444. }
  1445. }
  1446. }
  1447. },
  1448. "/Erms3/AddSpotContractApply": {
  1449. "post": {
  1450. "security": [
  1451. {
  1452. "ApiKeyAuth": []
  1453. }
  1454. ],
  1455. "produces": [
  1456. "application/json"
  1457. ],
  1458. "tags": [
  1459. "风险管理v3"
  1460. ],
  1461. "summary": "新增现货合同申请",
  1462. "parameters": [
  1463. {
  1464. "description": "申请参数",
  1465. "name": "jsonBody",
  1466. "in": "body",
  1467. "required": true,
  1468. "schema": {
  1469. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1470. }
  1471. }
  1472. ],
  1473. "responses": {
  1474. "200": {
  1475. "description": "OK",
  1476. "schema": {
  1477. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "Internal Server Error",
  1482. "schema": {
  1483. "$ref": "#/definitions/app.Response"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "/Erms3/AddUserInfoApply": {
  1490. "post": {
  1491. "security": [
  1492. {
  1493. "ApiKeyAuth": []
  1494. }
  1495. ],
  1496. "produces": [
  1497. "application/json"
  1498. ],
  1499. "tags": [
  1500. "风险管理v3"
  1501. ],
  1502. "summary": "新增客户申请",
  1503. "parameters": [
  1504. {
  1505. "description": "申请参数",
  1506. "name": "jsonBody",
  1507. "in": "body",
  1508. "required": true,
  1509. "schema": {
  1510. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1511. }
  1512. }
  1513. ],
  1514. "responses": {
  1515. "200": {
  1516. "description": "OK",
  1517. "schema": {
  1518. "$ref": "#/definitions/app.Response"
  1519. }
  1520. },
  1521. "500": {
  1522. "description": "Internal Server Error",
  1523. "schema": {
  1524. "$ref": "#/definitions/app.Response"
  1525. }
  1526. }
  1527. }
  1528. }
  1529. },
  1530. "/Erms3/QueryBusinessInfo": {
  1531. "get": {
  1532. "security": [
  1533. {
  1534. "ApiKeyAuth": []
  1535. }
  1536. ],
  1537. "produces": [
  1538. "application/json"
  1539. ],
  1540. "tags": [
  1541. "风险管理v3"
  1542. ],
  1543. "summary": "查询业务表单数据",
  1544. "parameters": [
  1545. {
  1546. "type": "string",
  1547. "description": "资金账号ID列表,用逗号分隔",
  1548. "name": "accountids",
  1549. "in": "query",
  1550. "required": true
  1551. },
  1552. {
  1553. "type": "integer",
  1554. "description": "状态,0为未结束 1为已结束",
  1555. "name": "status",
  1556. "in": "query",
  1557. "required": true
  1558. }
  1559. ],
  1560. "responses": {
  1561. "200": {
  1562. "description": "OK",
  1563. "schema": {
  1564. "type": "array",
  1565. "items": {
  1566. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1567. }
  1568. }
  1569. },
  1570. "500": {
  1571. "description": "Internal Server Error",
  1572. "schema": {
  1573. "$ref": "#/definitions/app.Response"
  1574. }
  1575. }
  1576. }
  1577. }
  1578. },
  1579. "/Erms3/QueryPendingAuditContract": {
  1580. "get": {
  1581. "security": [
  1582. {
  1583. "ApiKeyAuth": []
  1584. }
  1585. ],
  1586. "produces": [
  1587. "application/json"
  1588. ],
  1589. "tags": [
  1590. "风险管理v3"
  1591. ],
  1592. "summary": "查询待审核合同",
  1593. "parameters": [
  1594. {
  1595. "type": "string",
  1596. "description": "资金账号ID列表,逗号隔开",
  1597. "name": "accountids",
  1598. "in": "query",
  1599. "required": true
  1600. },
  1601. {
  1602. "type": "integer",
  1603. "description": "合同类型 1-采购 -1-销售",
  1604. "name": "contracttype",
  1605. "in": "query",
  1606. "required": true
  1607. },
  1608. {
  1609. "type": "integer",
  1610. "description": "合同模式 1-普通 2-回购",
  1611. "name": "contractmode",
  1612. "in": "query",
  1613. "required": true
  1614. }
  1615. ],
  1616. "responses": {
  1617. "200": {
  1618. "description": "OK",
  1619. "schema": {
  1620. "type": "array",
  1621. "items": {
  1622. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1623. }
  1624. }
  1625. },
  1626. "500": {
  1627. "description": "Internal Server Error",
  1628. "schema": {
  1629. "$ref": "#/definitions/app.Response"
  1630. }
  1631. }
  1632. }
  1633. }
  1634. },
  1635. "/Erms3/QueryPendingBusiness": {
  1636. "get": {
  1637. "security": [
  1638. {
  1639. "ApiKeyAuth": []
  1640. }
  1641. ],
  1642. "produces": [
  1643. "application/json"
  1644. ],
  1645. "tags": [
  1646. "风险管理v3"
  1647. ],
  1648. "summary": "查询待审核基差贸易业务",
  1649. "parameters": [
  1650. {
  1651. "type": "string",
  1652. "description": "资金账号ID列表,逗号隔开",
  1653. "name": "accountids",
  1654. "in": "query",
  1655. "required": true
  1656. }
  1657. ],
  1658. "responses": {
  1659. "200": {
  1660. "description": "OK",
  1661. "schema": {
  1662. "type": "array",
  1663. "items": {
  1664. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1665. }
  1666. }
  1667. },
  1668. "500": {
  1669. "description": "Internal Server Error",
  1670. "schema": {
  1671. "$ref": "#/definitions/app.Response"
  1672. }
  1673. }
  1674. }
  1675. }
  1676. },
  1677. "/Erms3/QuerySpotContractAppleForm": {
  1678. "get": {
  1679. "security": [
  1680. {
  1681. "ApiKeyAuth": []
  1682. }
  1683. ],
  1684. "produces": [
  1685. "application/json"
  1686. ],
  1687. "tags": [
  1688. "风险管理v3"
  1689. ],
  1690. "summary": "查询合同申请表单数据",
  1691. "parameters": [
  1692. {
  1693. "type": "integer",
  1694. "description": "登录账号",
  1695. "name": "loginID",
  1696. "in": "query",
  1697. "required": true
  1698. }
  1699. ],
  1700. "responses": {
  1701. "200": {
  1702. "description": "OK",
  1703. "schema": {
  1704. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1705. }
  1706. },
  1707. "500": {
  1708. "description": "Internal Server Error",
  1709. "schema": {
  1710. "$ref": "#/definitions/app.Response"
  1711. }
  1712. }
  1713. }
  1714. }
  1715. },
  1716. "/Erms3/QuerySpotContractDetail": {
  1717. "get": {
  1718. "security": [
  1719. {
  1720. "ApiKeyAuth": []
  1721. }
  1722. ],
  1723. "produces": [
  1724. "application/json"
  1725. ],
  1726. "tags": [
  1727. "风险管理v3"
  1728. ],
  1729. "summary": "查询合同详细信息",
  1730. "parameters": [
  1731. {
  1732. "type": "string",
  1733. "description": "资金账号ID列表,用逗号分隔",
  1734. "name": "accountids",
  1735. "in": "query",
  1736. "required": true
  1737. },
  1738. {
  1739. "type": "integer",
  1740. "description": "合同类型,1为采购合同 -1为销售合同",
  1741. "name": "contracttype",
  1742. "in": "query",
  1743. "required": true
  1744. },
  1745. {
  1746. "type": "integer",
  1747. "description": "合同模式,1为普通合同 2为回购销售合同",
  1748. "name": "contractmode",
  1749. "in": "query",
  1750. "required": true
  1751. },
  1752. {
  1753. "type": "integer",
  1754. "description": "状态,0为履约中 1为已完成",
  1755. "name": "status",
  1756. "in": "query",
  1757. "required": true
  1758. }
  1759. ],
  1760. "responses": {
  1761. "200": {
  1762. "description": "OK",
  1763. "schema": {
  1764. "type": "array",
  1765. "items": {
  1766. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1767. }
  1768. }
  1769. },
  1770. "500": {
  1771. "description": "Internal Server Error",
  1772. "schema": {
  1773. "$ref": "#/definitions/app.Response"
  1774. }
  1775. }
  1776. }
  1777. }
  1778. },
  1779. "/Erms3/QueryUserInfoApplies": {
  1780. "get": {
  1781. "security": [
  1782. {
  1783. "ApiKeyAuth": []
  1784. }
  1785. ],
  1786. "produces": [
  1787. "application/json"
  1788. ],
  1789. "tags": [
  1790. "风险管理v3"
  1791. ],
  1792. "summary": "客户申请信息查询",
  1793. "parameters": [
  1794. {
  1795. "type": "integer",
  1796. "description": "页码",
  1797. "name": "page",
  1798. "in": "query"
  1799. },
  1800. {
  1801. "type": "integer",
  1802. "description": "每页条数",
  1803. "name": "pagesize",
  1804. "in": "query"
  1805. },
  1806. {
  1807. "type": "string",
  1808. "description": "客户名称,支持模糊查询",
  1809. "name": "userName",
  1810. "in": "query"
  1811. }
  1812. ],
  1813. "responses": {
  1814. "200": {
  1815. "description": "OK",
  1816. "schema": {
  1817. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1818. }
  1819. },
  1820. "500": {
  1821. "description": "Internal Server Error",
  1822. "schema": {
  1823. "$ref": "#/definitions/app.Response"
  1824. }
  1825. }
  1826. }
  1827. }
  1828. },
  1829. "/Erms3/QueryUserInfos": {
  1830. "get": {
  1831. "security": [
  1832. {
  1833. "ApiKeyAuth": []
  1834. }
  1835. ],
  1836. "produces": [
  1837. "application/json"
  1838. ],
  1839. "tags": [
  1840. "风险管理v3"
  1841. ],
  1842. "summary": "客户信息查询",
  1843. "parameters": [
  1844. {
  1845. "type": "integer",
  1846. "description": "页码",
  1847. "name": "page",
  1848. "in": "query"
  1849. },
  1850. {
  1851. "type": "integer",
  1852. "description": "每页条数",
  1853. "name": "pagesize",
  1854. "in": "query"
  1855. },
  1856. {
  1857. "type": "string",
  1858. "description": "客户名称,支持模糊查询",
  1859. "name": "userName",
  1860. "in": "query"
  1861. }
  1862. ],
  1863. "responses": {
  1864. "200": {
  1865. "description": "OK",
  1866. "schema": {
  1867. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1868. }
  1869. },
  1870. "500": {
  1871. "description": "Internal Server Error",
  1872. "schema": {
  1873. "$ref": "#/definitions/app.Response"
  1874. }
  1875. }
  1876. }
  1877. }
  1878. },
  1879. "/HSBY/GetHsbyMyCount": {
  1880. "get": {
  1881. "security": [
  1882. {
  1883. "ApiKeyAuth": []
  1884. }
  1885. ],
  1886. "description": "说明: 不包括已完成的数量。",
  1887. "produces": [
  1888. "application/json"
  1889. ],
  1890. "tags": [
  1891. "定制【海商报业】"
  1892. ],
  1893. "summary": "获取我的订单与包裹数量",
  1894. "parameters": [
  1895. {
  1896. "type": "string",
  1897. "description": "资金账户列表,格式:1,2,3",
  1898. "name": "accountIDs",
  1899. "in": "query",
  1900. "required": true
  1901. }
  1902. ],
  1903. "responses": {
  1904. "200": {
  1905. "description": "OK",
  1906. "schema": {
  1907. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1908. }
  1909. },
  1910. "500": {
  1911. "description": "Internal Server Error",
  1912. "schema": {
  1913. "$ref": "#/definitions/app.Response"
  1914. }
  1915. }
  1916. }
  1917. }
  1918. },
  1919. "/HSBY/QueryClientFixedADConfigs": {
  1920. "get": {
  1921. "security": [
  1922. {
  1923. "ApiKeyAuth": []
  1924. }
  1925. ],
  1926. "produces": [
  1927. "application/json"
  1928. ],
  1929. "tags": [
  1930. "定制【海商报业】"
  1931. ],
  1932. "summary": "获取终端固定广告配置",
  1933. "responses": {
  1934. "200": {
  1935. "description": "OK",
  1936. "schema": {
  1937. "$ref": "#/definitions/models.Clientfixedadconfig"
  1938. }
  1939. },
  1940. "500": {
  1941. "description": "Internal Server Error",
  1942. "schema": {
  1943. "$ref": "#/definitions/app.Response"
  1944. }
  1945. }
  1946. }
  1947. }
  1948. },
  1949. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1950. "get": {
  1951. "security": [
  1952. {
  1953. "ApiKeyAuth": []
  1954. }
  1955. ],
  1956. "produces": [
  1957. "application/json"
  1958. ],
  1959. "tags": [
  1960. "定制【海商报业】"
  1961. ],
  1962. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1963. "parameters": [
  1964. {
  1965. "type": "integer",
  1966. "description": "页码",
  1967. "name": "page",
  1968. "in": "query"
  1969. },
  1970. {
  1971. "type": "integer",
  1972. "description": "每页条数",
  1973. "name": "pagesize",
  1974. "in": "query"
  1975. },
  1976. {
  1977. "type": "string",
  1978. "description": "资金账户列表,格式:1,2,3",
  1979. "name": "accountIDs",
  1980. "in": "query",
  1981. "required": true
  1982. }
  1983. ],
  1984. "responses": {
  1985. "200": {
  1986. "description": "OK",
  1987. "schema": {
  1988. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1989. }
  1990. },
  1991. "500": {
  1992. "description": "Internal Server Error",
  1993. "schema": {
  1994. "$ref": "#/definitions/app.Response"
  1995. }
  1996. }
  1997. }
  1998. }
  1999. },
  2000. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2001. "get": {
  2002. "security": [
  2003. {
  2004. "ApiKeyAuth": []
  2005. }
  2006. ],
  2007. "description": "说明:查询结果已按委托价格和委托时间排序",
  2008. "produces": [
  2009. "application/json"
  2010. ],
  2011. "tags": [
  2012. "定制【海商报业】"
  2013. ],
  2014. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2015. "parameters": [
  2016. {
  2017. "type": "integer",
  2018. "description": "商品ID",
  2019. "name": "goodsID",
  2020. "in": "query",
  2021. "required": true
  2022. },
  2023. {
  2024. "type": "string",
  2025. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2026. "name": "accountIDs",
  2027. "in": "query"
  2028. },
  2029. {
  2030. "type": "integer",
  2031. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2032. "name": "buyOrSell",
  2033. "in": "query"
  2034. },
  2035. {
  2036. "type": "number",
  2037. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2038. "name": "price",
  2039. "in": "query"
  2040. },
  2041. {
  2042. "type": "integer",
  2043. "description": "档位,不传则默认为3档",
  2044. "name": "speed",
  2045. "in": "query"
  2046. }
  2047. ],
  2048. "responses": {
  2049. "200": {
  2050. "description": "OK",
  2051. "schema": {
  2052. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2053. }
  2054. },
  2055. "500": {
  2056. "description": "Internal Server Error",
  2057. "schema": {
  2058. "$ref": "#/definitions/app.Response"
  2059. }
  2060. }
  2061. }
  2062. }
  2063. },
  2064. "/HSBY/QueryHsbyListingGoodsDetail": {
  2065. "get": {
  2066. "security": [
  2067. {
  2068. "ApiKeyAuth": []
  2069. }
  2070. ],
  2071. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2072. "produces": [
  2073. "application/json"
  2074. ],
  2075. "tags": [
  2076. "定制【海商报业】"
  2077. ],
  2078. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2079. "parameters": [
  2080. {
  2081. "type": "integer",
  2082. "description": "商品ID",
  2083. "name": "goodsID",
  2084. "in": "query",
  2085. "required": true
  2086. },
  2087. {
  2088. "type": "integer",
  2089. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2090. "name": "accountID",
  2091. "in": "query"
  2092. }
  2093. ],
  2094. "responses": {
  2095. "200": {
  2096. "description": "OK",
  2097. "schema": {
  2098. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2099. }
  2100. },
  2101. "500": {
  2102. "description": "Internal Server Error",
  2103. "schema": {
  2104. "$ref": "#/definitions/app.Response"
  2105. }
  2106. }
  2107. }
  2108. }
  2109. },
  2110. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2111. "get": {
  2112. "security": [
  2113. {
  2114. "ApiKeyAuth": []
  2115. }
  2116. ],
  2117. "produces": [
  2118. "application/json"
  2119. ],
  2120. "tags": [
  2121. "定制【海商报业】"
  2122. ],
  2123. "summary": "查询三级市场(商城)商品信息详情",
  2124. "parameters": [
  2125. {
  2126. "type": "integer",
  2127. "description": "委托单号",
  2128. "name": "orderID",
  2129. "in": "query",
  2130. "required": true
  2131. },
  2132. {
  2133. "type": "integer",
  2134. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2135. "name": "accountID",
  2136. "in": "query"
  2137. }
  2138. ],
  2139. "responses": {
  2140. "200": {
  2141. "description": "OK",
  2142. "schema": {
  2143. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2144. }
  2145. },
  2146. "500": {
  2147. "description": "Internal Server Error",
  2148. "schema": {
  2149. "$ref": "#/definitions/app.Response"
  2150. }
  2151. }
  2152. }
  2153. }
  2154. },
  2155. "/HSBY/QueryHsbyMarketGoodses": {
  2156. "get": {
  2157. "security": [
  2158. {
  2159. "ApiKeyAuth": []
  2160. }
  2161. ],
  2162. "produces": [
  2163. "application/json"
  2164. ],
  2165. "tags": [
  2166. "定制【海商报业】"
  2167. ],
  2168. "summary": "查询特卖商品列表(三级商城)",
  2169. "parameters": [
  2170. {
  2171. "type": "integer",
  2172. "description": "页码",
  2173. "name": "page",
  2174. "in": "query"
  2175. },
  2176. {
  2177. "type": "integer",
  2178. "description": "每页条数",
  2179. "name": "pagesize",
  2180. "in": "query"
  2181. },
  2182. {
  2183. "type": "string",
  2184. "description": "市场ID列表,格式:1,2,3",
  2185. "name": "marketIDs",
  2186. "in": "query",
  2187. "required": true
  2188. },
  2189. {
  2190. "type": "integer",
  2191. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2192. "name": "accountID",
  2193. "in": "query",
  2194. "required": true
  2195. },
  2196. {
  2197. "type": "integer",
  2198. "description": "类别ID",
  2199. "name": "categoryID",
  2200. "in": "query"
  2201. },
  2202. {
  2203. "type": "string",
  2204. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2205. "name": "goodsIDs",
  2206. "in": "query"
  2207. },
  2208. {
  2209. "type": "integer",
  2210. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2211. "name": "couponTypeID",
  2212. "in": "query"
  2213. }
  2214. ],
  2215. "responses": {
  2216. "200": {
  2217. "description": "OK",
  2218. "schema": {
  2219. "$ref": "#/definitions/models.HsbyMarketGoods"
  2220. }
  2221. },
  2222. "500": {
  2223. "description": "Internal Server Error",
  2224. "schema": {
  2225. "$ref": "#/definitions/app.Response"
  2226. }
  2227. }
  2228. }
  2229. }
  2230. },
  2231. "/HSBY/QueryHsbyMarkets": {
  2232. "get": {
  2233. "security": [
  2234. {
  2235. "ApiKeyAuth": []
  2236. }
  2237. ],
  2238. "produces": [
  2239. "application/json"
  2240. ],
  2241. "tags": [
  2242. "定制【海商报业】"
  2243. ],
  2244. "summary": "查询海商报业相关市场信息",
  2245. "responses": {
  2246. "200": {
  2247. "description": "OK",
  2248. "schema": {
  2249. "$ref": "#/definitions/models.HsbyMarketInfo"
  2250. }
  2251. },
  2252. "500": {
  2253. "description": "Internal Server Error",
  2254. "schema": {
  2255. "$ref": "#/definitions/app.Response"
  2256. }
  2257. }
  2258. }
  2259. }
  2260. },
  2261. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2262. "get": {
  2263. "security": [
  2264. {
  2265. "ApiKeyAuth": []
  2266. }
  2267. ],
  2268. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2269. "produces": [
  2270. "application/json"
  2271. ],
  2272. "tags": [
  2273. "定制【海商报业】"
  2274. ],
  2275. "summary": "查询“我的订单”信息",
  2276. "parameters": [
  2277. {
  2278. "type": "string",
  2279. "description": "资金账户列表,格式:1,2,3",
  2280. "name": "accountIDs",
  2281. "in": "query",
  2282. "required": true
  2283. },
  2284. {
  2285. "type": "integer",
  2286. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2287. "name": "myBuyStatus",
  2288. "in": "query"
  2289. }
  2290. ],
  2291. "responses": {
  2292. "200": {
  2293. "description": "OK",
  2294. "schema": {
  2295. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2296. }
  2297. },
  2298. "500": {
  2299. "description": "Internal Server Error",
  2300. "schema": {
  2301. "$ref": "#/definitions/app.Response"
  2302. }
  2303. }
  2304. }
  2305. }
  2306. },
  2307. "/HSBY/QueryHsbyMyGoods": {
  2308. "get": {
  2309. "security": [
  2310. {
  2311. "ApiKeyAuth": []
  2312. }
  2313. ],
  2314. "produces": [
  2315. "application/json"
  2316. ],
  2317. "tags": [
  2318. "定制【海商报业】"
  2319. ],
  2320. "summary": "查询“我的商品”信息",
  2321. "parameters": [
  2322. {
  2323. "type": "string",
  2324. "description": "资金账户列表,格式:1,2,3",
  2325. "name": "accountIDs",
  2326. "in": "query",
  2327. "required": true
  2328. }
  2329. ],
  2330. "responses": {
  2331. "200": {
  2332. "description": "OK",
  2333. "schema": {
  2334. "$ref": "#/definitions/models.HsbyMyGoods"
  2335. }
  2336. },
  2337. "500": {
  2338. "description": "Internal Server Error",
  2339. "schema": {
  2340. "$ref": "#/definitions/app.Response"
  2341. }
  2342. }
  2343. }
  2344. }
  2345. },
  2346. "/HSBY/QueryHsbyMyPackages": {
  2347. "get": {
  2348. "security": [
  2349. {
  2350. "ApiKeyAuth": []
  2351. }
  2352. ],
  2353. "produces": [
  2354. "application/json"
  2355. ],
  2356. "tags": [
  2357. "定制【海商报业】"
  2358. ],
  2359. "summary": "查询我的包裹信息",
  2360. "parameters": [
  2361. {
  2362. "type": "string",
  2363. "description": "资金账户列表,格式:1,2,3",
  2364. "name": "accountIDs",
  2365. "in": "query",
  2366. "required": true
  2367. },
  2368. {
  2369. "type": "integer",
  2370. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2371. "name": "takeOrderStatus",
  2372. "in": "query"
  2373. }
  2374. ],
  2375. "responses": {
  2376. "200": {
  2377. "description": "OK",
  2378. "schema": {
  2379. "$ref": "#/definitions/models.HsbyMyPackage"
  2380. }
  2381. },
  2382. "500": {
  2383. "description": "Internal Server Error",
  2384. "schema": {
  2385. "$ref": "#/definitions/app.Response"
  2386. }
  2387. }
  2388. }
  2389. }
  2390. },
  2391. "/HSBY/QueryHsbyPreGoodsDetail": {
  2392. "get": {
  2393. "security": [
  2394. {
  2395. "ApiKeyAuth": []
  2396. }
  2397. ],
  2398. "produces": [
  2399. "application/json"
  2400. ],
  2401. "tags": [
  2402. "定制【海商报业】"
  2403. ],
  2404. "summary": "查询一级市场(预售)商品信息详情",
  2405. "parameters": [
  2406. {
  2407. "type": "integer",
  2408. "description": "商品ID",
  2409. "name": "goodsID",
  2410. "in": "query",
  2411. "required": true
  2412. },
  2413. {
  2414. "type": "integer",
  2415. "description": "资金账户,主要用于获取预售商品购买上限",
  2416. "name": "accountID",
  2417. "in": "query"
  2418. }
  2419. ],
  2420. "responses": {
  2421. "200": {
  2422. "description": "OK",
  2423. "schema": {
  2424. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2425. }
  2426. },
  2427. "500": {
  2428. "description": "Internal Server Error",
  2429. "schema": {
  2430. "$ref": "#/definitions/app.Response"
  2431. }
  2432. }
  2433. }
  2434. }
  2435. },
  2436. "/HSBY/QueryHsbyPreGoodses": {
  2437. "get": {
  2438. "security": [
  2439. {
  2440. "ApiKeyAuth": []
  2441. }
  2442. ],
  2443. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "定制【海商报业】"
  2449. ],
  2450. "summary": "查询新品上市商品列表(一级市场预售)",
  2451. "parameters": [
  2452. {
  2453. "type": "integer",
  2454. "description": "页码",
  2455. "name": "page",
  2456. "in": "query"
  2457. },
  2458. {
  2459. "type": "integer",
  2460. "description": "每页条数",
  2461. "name": "pagesize",
  2462. "in": "query"
  2463. },
  2464. {
  2465. "type": "string",
  2466. "description": "市场ID列表,格式:1,2,3",
  2467. "name": "marketIDs",
  2468. "in": "query",
  2469. "required": true
  2470. },
  2471. {
  2472. "type": "integer",
  2473. "description": "目的地(省)ID",
  2474. "name": "descProvinceID",
  2475. "in": "query"
  2476. },
  2477. {
  2478. "type": "integer",
  2479. "description": "目的地(市)ID",
  2480. "name": "descCityID",
  2481. "in": "query"
  2482. }
  2483. ],
  2484. "responses": {
  2485. "200": {
  2486. "description": "OK",
  2487. "schema": {
  2488. "$ref": "#/definitions/models.HsbyPreGoods"
  2489. }
  2490. },
  2491. "500": {
  2492. "description": "Internal Server Error",
  2493. "schema": {
  2494. "$ref": "#/definitions/app.Response"
  2495. }
  2496. }
  2497. }
  2498. }
  2499. },
  2500. "/HSBY/QueryHsbySellMyDetails": {
  2501. "get": {
  2502. "security": [
  2503. {
  2504. "ApiKeyAuth": []
  2505. }
  2506. ],
  2507. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2508. "produces": [
  2509. "application/json"
  2510. ],
  2511. "tags": [
  2512. "定制【海商报业】"
  2513. ],
  2514. "summary": "查询\"我的闲置\"单据信息",
  2515. "parameters": [
  2516. {
  2517. "type": "integer",
  2518. "description": "页码",
  2519. "name": "page",
  2520. "in": "query"
  2521. },
  2522. {
  2523. "type": "integer",
  2524. "description": "每页条数",
  2525. "name": "pagesize",
  2526. "in": "query"
  2527. },
  2528. {
  2529. "type": "string",
  2530. "description": "资金账户列表,格式:1,2,3",
  2531. "name": "accountIDs",
  2532. "in": "query",
  2533. "required": true
  2534. },
  2535. {
  2536. "type": "integer",
  2537. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2538. "name": "orderType",
  2539. "in": "query"
  2540. }
  2541. ],
  2542. "responses": {
  2543. "200": {
  2544. "description": "OK",
  2545. "schema": {
  2546. "$ref": "#/definitions/models.HsbySellMyDetail"
  2547. }
  2548. },
  2549. "500": {
  2550. "description": "Internal Server Error",
  2551. "schema": {
  2552. "$ref": "#/definitions/app.Response"
  2553. }
  2554. }
  2555. }
  2556. }
  2557. },
  2558. "/HSBY/QueryHsbyTopGoodses": {
  2559. "get": {
  2560. "security": [
  2561. {
  2562. "ApiKeyAuth": []
  2563. }
  2564. ],
  2565. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2566. "produces": [
  2567. "application/json"
  2568. ],
  2569. "tags": [
  2570. "定制【海商报业】"
  2571. ],
  2572. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2573. "parameters": [
  2574. {
  2575. "type": "integer",
  2576. "description": "页码",
  2577. "name": "page",
  2578. "in": "query"
  2579. },
  2580. {
  2581. "type": "integer",
  2582. "description": "每页条数",
  2583. "name": "pagesize",
  2584. "in": "query"
  2585. },
  2586. {
  2587. "type": "string",
  2588. "description": "市场ID列表,格式:1,2,3",
  2589. "name": "marketIDs",
  2590. "in": "query",
  2591. "required": true
  2592. },
  2593. {
  2594. "type": "integer",
  2595. "description": "目的地(省)ID",
  2596. "name": "descProvinceID",
  2597. "in": "query"
  2598. },
  2599. {
  2600. "type": "integer",
  2601. "description": "目的地(市)ID",
  2602. "name": "descCityID",
  2603. "in": "query"
  2604. }
  2605. ],
  2606. "responses": {
  2607. "200": {
  2608. "description": "OK",
  2609. "schema": {
  2610. "$ref": "#/definitions/models.HsbyTopGoods"
  2611. }
  2612. },
  2613. "500": {
  2614. "description": "Internal Server Error",
  2615. "schema": {
  2616. "$ref": "#/definitions/app.Response"
  2617. }
  2618. }
  2619. }
  2620. }
  2621. },
  2622. "/HSBY/QueryMyCollectionOrders": {
  2623. "get": {
  2624. "security": [
  2625. {
  2626. "ApiKeyAuth": []
  2627. }
  2628. ],
  2629. "produces": [
  2630. "application/json"
  2631. ],
  2632. "tags": [
  2633. "定制【海商报业】"
  2634. ],
  2635. "summary": "我的闲置中收款信息查询",
  2636. "parameters": [
  2637. {
  2638. "type": "integer",
  2639. "description": "页码",
  2640. "name": "page",
  2641. "in": "query"
  2642. },
  2643. {
  2644. "type": "integer",
  2645. "description": "每页条数",
  2646. "name": "pagesize",
  2647. "in": "query"
  2648. },
  2649. {
  2650. "type": "string",
  2651. "description": "资金账户,格式:1,2,3",
  2652. "name": "accountIDs",
  2653. "in": "query",
  2654. "required": true
  2655. }
  2656. ],
  2657. "responses": {
  2658. "200": {
  2659. "description": "OK",
  2660. "schema": {
  2661. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2662. }
  2663. },
  2664. "500": {
  2665. "description": "Internal Server Error",
  2666. "schema": {
  2667. "$ref": "#/definitions/app.Response"
  2668. }
  2669. }
  2670. }
  2671. }
  2672. },
  2673. "/HSBY/QueryMyCouponHolds": {
  2674. "get": {
  2675. "security": [
  2676. {
  2677. "ApiKeyAuth": []
  2678. }
  2679. ],
  2680. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "定制【海商报业】"
  2686. ],
  2687. "summary": "我的优惠卷持仓查询",
  2688. "parameters": [
  2689. {
  2690. "type": "string",
  2691. "description": "资金账户列表,格式:1,2,3",
  2692. "name": "accountIDs",
  2693. "in": "query",
  2694. "required": true
  2695. },
  2696. {
  2697. "type": "string",
  2698. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2699. "name": "holdStatus",
  2700. "in": "query"
  2701. }
  2702. ],
  2703. "responses": {
  2704. "200": {
  2705. "description": "OK",
  2706. "schema": {
  2707. "$ref": "#/definitions/models.MyCouponHold"
  2708. }
  2709. },
  2710. "500": {
  2711. "description": "Internal Server Error",
  2712. "schema": {
  2713. "$ref": "#/definitions/app.Response"
  2714. }
  2715. }
  2716. }
  2717. }
  2718. },
  2719. "/HSBY/QueryMyCoupons": {
  2720. "get": {
  2721. "security": [
  2722. {
  2723. "ApiKeyAuth": []
  2724. }
  2725. ],
  2726. "produces": [
  2727. "application/json"
  2728. ],
  2729. "tags": [
  2730. "定制【海商报业】"
  2731. ],
  2732. "summary": "我的优惠卷查询",
  2733. "parameters": [
  2734. {
  2735. "type": "string",
  2736. "description": "资金账户列表,格式:1,2,3",
  2737. "name": "accountIDs",
  2738. "in": "query",
  2739. "required": true
  2740. },
  2741. {
  2742. "type": "integer",
  2743. "description": "商品ID, 一般与sellUserID配套传入",
  2744. "name": "goodsID",
  2745. "in": "query"
  2746. },
  2747. {
  2748. "type": "integer",
  2749. "description": "卖方UserID",
  2750. "name": "sellUserID",
  2751. "in": "query"
  2752. }
  2753. ],
  2754. "responses": {
  2755. "200": {
  2756. "description": "OK",
  2757. "schema": {
  2758. "$ref": "#/definitions/models.MyCoupon"
  2759. }
  2760. },
  2761. "500": {
  2762. "description": "Internal Server Error",
  2763. "schema": {
  2764. "$ref": "#/definitions/app.Response"
  2765. }
  2766. }
  2767. }
  2768. }
  2769. },
  2770. "/HSBY/QueryMyPayOrders": {
  2771. "get": {
  2772. "security": [
  2773. {
  2774. "ApiKeyAuth": []
  2775. }
  2776. ],
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "定制【海商报业】"
  2782. ],
  2783. "summary": "获取我的订单中待付款信息",
  2784. "parameters": [
  2785. {
  2786. "type": "integer",
  2787. "description": "页码",
  2788. "name": "page",
  2789. "in": "query"
  2790. },
  2791. {
  2792. "type": "integer",
  2793. "description": "每页条数",
  2794. "name": "pagesize",
  2795. "in": "query"
  2796. },
  2797. {
  2798. "type": "string",
  2799. "description": "资金账户列表,格式:1,2,3",
  2800. "name": "accountIDs",
  2801. "in": "query",
  2802. "required": true
  2803. },
  2804. {
  2805. "type": "integer",
  2806. "description": "买方委托单号",
  2807. "name": "buyOrderID",
  2808. "in": "query"
  2809. },
  2810. {
  2811. "type": "integer",
  2812. "description": "卖方委托单号",
  2813. "name": "sellOrderID",
  2814. "in": "query"
  2815. }
  2816. ],
  2817. "responses": {
  2818. "200": {
  2819. "description": "OK",
  2820. "schema": {
  2821. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2822. }
  2823. },
  2824. "500": {
  2825. "description": "Internal Server Error",
  2826. "schema": {
  2827. "$ref": "#/definitions/app.Response"
  2828. }
  2829. }
  2830. }
  2831. }
  2832. },
  2833. "/HSBY/QueryMyUsedCoupon": {
  2834. "get": {
  2835. "security": [
  2836. {
  2837. "ApiKeyAuth": []
  2838. }
  2839. ],
  2840. "produces": [
  2841. "application/json"
  2842. ],
  2843. "tags": [
  2844. "定制【海商报业】"
  2845. ],
  2846. "summary": "已使用优惠卷查询",
  2847. "parameters": [
  2848. {
  2849. "type": "string",
  2850. "description": "资金账户列表,格式:1,2,3",
  2851. "name": "accountIDs",
  2852. "in": "query",
  2853. "required": true
  2854. }
  2855. ],
  2856. "responses": {
  2857. "200": {
  2858. "description": "OK",
  2859. "schema": {
  2860. "$ref": "#/definitions/models.MyUsedCoupon"
  2861. }
  2862. },
  2863. "500": {
  2864. "description": "Internal Server Error",
  2865. "schema": {
  2866. "$ref": "#/definitions/app.Response"
  2867. }
  2868. }
  2869. }
  2870. }
  2871. },
  2872. "/HSBY/QueryProvincesAndCities": {
  2873. "get": {
  2874. "security": [
  2875. {
  2876. "ApiKeyAuth": []
  2877. }
  2878. ],
  2879. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2880. "produces": [
  2881. "application/json"
  2882. ],
  2883. "tags": [
  2884. "定制【海商报业】"
  2885. ],
  2886. "summary": "查询省市信息(不包括区)",
  2887. "parameters": [
  2888. {
  2889. "type": "integer",
  2890. "description": "省ID",
  2891. "name": "provinceID",
  2892. "in": "query"
  2893. }
  2894. ],
  2895. "responses": {
  2896. "200": {
  2897. "description": "OK",
  2898. "schema": {
  2899. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2900. }
  2901. },
  2902. "500": {
  2903. "description": "Internal Server Error",
  2904. "schema": {
  2905. "$ref": "#/definitions/app.Response"
  2906. }
  2907. }
  2908. }
  2909. }
  2910. },
  2911. "/HSBY/SetHsbyMyPackagesStatus": {
  2912. "post": {
  2913. "security": [
  2914. {
  2915. "ApiKeyAuth": []
  2916. }
  2917. ],
  2918. "produces": [
  2919. "application/json"
  2920. ],
  2921. "tags": [
  2922. "定制【海商报业】"
  2923. ],
  2924. "summary": "设置我的包裹已收货状态",
  2925. "parameters": [
  2926. {
  2927. "type": "string",
  2928. "description": "提货单号",
  2929. "name": "takeOrderID",
  2930. "in": "query",
  2931. "required": true
  2932. },
  2933. {
  2934. "type": "integer",
  2935. "description": "资金账号",
  2936. "name": "accountID",
  2937. "in": "query",
  2938. "required": true
  2939. }
  2940. ],
  2941. "responses": {
  2942. "200": {
  2943. "description": "OK",
  2944. "schema": {
  2945. "$ref": "#/definitions/app.Response"
  2946. }
  2947. },
  2948. "500": {
  2949. "description": "Internal Server Error",
  2950. "schema": {
  2951. "$ref": "#/definitions/app.Response"
  2952. }
  2953. }
  2954. }
  2955. }
  2956. },
  2957. "/Market/QueryMarketRun": {
  2958. "get": {
  2959. "security": [
  2960. {
  2961. "ApiKeyAuth": []
  2962. }
  2963. ],
  2964. "produces": [
  2965. "application/json"
  2966. ],
  2967. "tags": [
  2968. "通用市场"
  2969. ],
  2970. "summary": "查询市场运行信息",
  2971. "parameters": [
  2972. {
  2973. "type": "integer",
  2974. "description": "市场ID,不传返回所有",
  2975. "name": "marketID",
  2976. "in": "query"
  2977. }
  2978. ],
  2979. "responses": {
  2980. "200": {
  2981. "description": "OK",
  2982. "schema": {
  2983. "$ref": "#/definitions/models.Marketrun"
  2984. }
  2985. },
  2986. "500": {
  2987. "description": "Internal Server Error",
  2988. "schema": {
  2989. "$ref": "#/definitions/app.Response"
  2990. }
  2991. }
  2992. }
  2993. }
  2994. },
  2995. "/Order/QueryHisTradeDetail": {
  2996. "get": {
  2997. "security": [
  2998. {
  2999. "ApiKeyAuth": []
  3000. }
  3001. ],
  3002. "produces": [
  3003. "application/json"
  3004. ],
  3005. "tags": [
  3006. "通用单据"
  3007. ],
  3008. "summary": "历史成交单查询(合约市场)",
  3009. "parameters": [
  3010. {
  3011. "type": "string",
  3012. "description": "资金账户 - 格式:1,2,3",
  3013. "name": "accountID",
  3014. "in": "query",
  3015. "required": true
  3016. },
  3017. {
  3018. "type": "integer",
  3019. "description": "成交单号",
  3020. "name": "tradeID",
  3021. "in": "query"
  3022. },
  3023. {
  3024. "type": "integer",
  3025. "description": "委托单号",
  3026. "name": "orderID",
  3027. "in": "query"
  3028. },
  3029. {
  3030. "type": "string",
  3031. "description": "交易模式 - 格式:1,2,3",
  3032. "name": "tradeMode",
  3033. "in": "query"
  3034. },
  3035. {
  3036. "type": "integer",
  3037. "description": "委托单据类型",
  3038. "name": "buildType",
  3039. "in": "query"
  3040. },
  3041. {
  3042. "type": "string",
  3043. "description": "成交类别 - 格式:1,2,3",
  3044. "name": "tradeType",
  3045. "in": "query"
  3046. },
  3047. {
  3048. "type": "string",
  3049. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3050. "name": "startDate",
  3051. "in": "query"
  3052. },
  3053. {
  3054. "type": "string",
  3055. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3056. "name": "endDate",
  3057. "in": "query"
  3058. }
  3059. ],
  3060. "responses": {
  3061. "200": {
  3062. "description": "OK",
  3063. "schema": {
  3064. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3065. }
  3066. },
  3067. "500": {
  3068. "description": "Internal Server Error",
  3069. "schema": {
  3070. "$ref": "#/definitions/app.Response"
  3071. }
  3072. }
  3073. }
  3074. }
  3075. },
  3076. "/Order/QueryHisTradeOrderDetail": {
  3077. "get": {
  3078. "security": [
  3079. {
  3080. "ApiKeyAuth": []
  3081. }
  3082. ],
  3083. "produces": [
  3084. "application/json"
  3085. ],
  3086. "tags": [
  3087. "通用单据"
  3088. ],
  3089. "summary": "历史委托单查询请求(合约市场)",
  3090. "parameters": [
  3091. {
  3092. "type": "string",
  3093. "description": "资金账户 - 格式:1,2,3",
  3094. "name": "accountID",
  3095. "in": "query",
  3096. "required": true
  3097. },
  3098. {
  3099. "type": "string",
  3100. "description": "交易模式 - 格式:1,2,3",
  3101. "name": "tradeMode",
  3102. "in": "query"
  3103. },
  3104. {
  3105. "type": "string",
  3106. "description": "委托状态 - 格式:1,2,3",
  3107. "name": "orderStatus",
  3108. "in": "query"
  3109. },
  3110. {
  3111. "type": "integer",
  3112. "description": "委托单号",
  3113. "name": "orderID",
  3114. "in": "query"
  3115. },
  3116. {
  3117. "type": "string",
  3118. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3119. "name": "startDate",
  3120. "in": "query"
  3121. },
  3122. {
  3123. "type": "string",
  3124. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3125. "name": "endDate",
  3126. "in": "query"
  3127. }
  3128. ],
  3129. "responses": {
  3130. "200": {
  3131. "description": "OK",
  3132. "schema": {
  3133. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3134. }
  3135. },
  3136. "500": {
  3137. "description": "Internal Server Error",
  3138. "schema": {
  3139. "$ref": "#/definitions/app.Response"
  3140. }
  3141. }
  3142. }
  3143. }
  3144. },
  3145. "/Order/QueryTradeDetail": {
  3146. "get": {
  3147. "security": [
  3148. {
  3149. "ApiKeyAuth": []
  3150. }
  3151. ],
  3152. "produces": [
  3153. "application/json"
  3154. ],
  3155. "tags": [
  3156. "通用单据"
  3157. ],
  3158. "summary": "成交单查询(合约市场)",
  3159. "parameters": [
  3160. {
  3161. "type": "string",
  3162. "description": "资金账户 - 格式:1,2,3",
  3163. "name": "accountID",
  3164. "in": "query",
  3165. "required": true
  3166. },
  3167. {
  3168. "type": "integer",
  3169. "description": "成交单号",
  3170. "name": "tradeID",
  3171. "in": "query"
  3172. },
  3173. {
  3174. "type": "integer",
  3175. "description": "委托单号",
  3176. "name": "orderID",
  3177. "in": "query"
  3178. },
  3179. {
  3180. "type": "string",
  3181. "description": "交易模式 - 格式:1,2,3",
  3182. "name": "tradeMode",
  3183. "in": "query"
  3184. },
  3185. {
  3186. "type": "integer",
  3187. "description": "委托单据类型",
  3188. "name": "buildType",
  3189. "in": "query"
  3190. },
  3191. {
  3192. "type": "string",
  3193. "description": "成交类别 - 格式:1,2,3",
  3194. "name": "tradeType",
  3195. "in": "query"
  3196. }
  3197. ],
  3198. "responses": {
  3199. "200": {
  3200. "description": "OK",
  3201. "schema": {
  3202. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  3203. }
  3204. },
  3205. "500": {
  3206. "description": "Internal Server Error",
  3207. "schema": {
  3208. "$ref": "#/definitions/app.Response"
  3209. }
  3210. }
  3211. }
  3212. }
  3213. },
  3214. "/Order/QueryTradeOrderDetail": {
  3215. "get": {
  3216. "security": [
  3217. {
  3218. "ApiKeyAuth": []
  3219. }
  3220. ],
  3221. "produces": [
  3222. "application/json"
  3223. ],
  3224. "tags": [
  3225. "通用单据"
  3226. ],
  3227. "summary": "委托单查询请求(合约市场)",
  3228. "parameters": [
  3229. {
  3230. "type": "string",
  3231. "description": "资金账户 - 格式:1,2,3",
  3232. "name": "accountID",
  3233. "in": "query",
  3234. "required": true
  3235. },
  3236. {
  3237. "type": "string",
  3238. "description": "交易模式 - 格式:1,2,3",
  3239. "name": "tradeMode",
  3240. "in": "query"
  3241. },
  3242. {
  3243. "type": "string",
  3244. "description": "委托状态 - 格式:1,2,3",
  3245. "name": "orderStatus",
  3246. "in": "query"
  3247. },
  3248. {
  3249. "type": "integer",
  3250. "description": "委托单号",
  3251. "name": "orderID",
  3252. "in": "query"
  3253. }
  3254. ],
  3255. "responses": {
  3256. "200": {
  3257. "description": "OK",
  3258. "schema": {
  3259. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3260. }
  3261. },
  3262. "500": {
  3263. "description": "Internal Server Error",
  3264. "schema": {
  3265. "$ref": "#/definitions/app.Response"
  3266. }
  3267. }
  3268. }
  3269. }
  3270. },
  3271. "/Order/QueryTradePosition": {
  3272. "get": {
  3273. "security": [
  3274. {
  3275. "ApiKeyAuth": []
  3276. }
  3277. ],
  3278. "produces": [
  3279. "application/json"
  3280. ],
  3281. "tags": [
  3282. "通用单据"
  3283. ],
  3284. "summary": "持仓汇总查询(合约市场)",
  3285. "parameters": [
  3286. {
  3287. "type": "string",
  3288. "description": "资金账户 - 格式:1,2,3",
  3289. "name": "accountID",
  3290. "in": "query",
  3291. "required": true
  3292. },
  3293. {
  3294. "type": "string",
  3295. "description": "交易模式 - 格式:1,2,3",
  3296. "name": "tradeMode",
  3297. "in": "query"
  3298. }
  3299. ],
  3300. "responses": {
  3301. "200": {
  3302. "description": "OK",
  3303. "schema": {
  3304. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3305. }
  3306. },
  3307. "500": {
  3308. "description": "Internal Server Error",
  3309. "schema": {
  3310. "$ref": "#/definitions/app.Response"
  3311. }
  3312. }
  3313. }
  3314. }
  3315. },
  3316. "/Quote/QueryHistoryDatas": {
  3317. "get": {
  3318. "security": [
  3319. {
  3320. "ApiKeyAuth": []
  3321. }
  3322. ],
  3323. "produces": [
  3324. "application/json"
  3325. ],
  3326. "tags": [
  3327. "行情服务"
  3328. ],
  3329. "summary": "查询行情历史数据",
  3330. "parameters": [
  3331. {
  3332. "type": "integer",
  3333. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3334. "name": "cycleType",
  3335. "in": "query",
  3336. "required": true
  3337. },
  3338. {
  3339. "type": "string",
  3340. "description": "商品代码",
  3341. "name": "goodsCode",
  3342. "in": "query",
  3343. "required": true
  3344. },
  3345. {
  3346. "type": "string",
  3347. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3348. "name": "startTime",
  3349. "in": "query"
  3350. },
  3351. {
  3352. "type": "string",
  3353. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3354. "name": "endTime",
  3355. "in": "query"
  3356. },
  3357. {
  3358. "type": "integer",
  3359. "description": "条数",
  3360. "name": "count",
  3361. "in": "query"
  3362. },
  3363. {
  3364. "type": "boolean",
  3365. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3366. "name": "isAsc",
  3367. "in": "query"
  3368. }
  3369. ],
  3370. "responses": {
  3371. "200": {
  3372. "description": "OK",
  3373. "schema": {
  3374. "$ref": "#/definitions/quote.HistoryData"
  3375. }
  3376. },
  3377. "500": {
  3378. "description": "Internal Server Error",
  3379. "schema": {
  3380. "$ref": "#/definitions/app.Response"
  3381. }
  3382. }
  3383. }
  3384. }
  3385. },
  3386. "/Quote/QueryTSData": {
  3387. "get": {
  3388. "produces": [
  3389. "application/json"
  3390. ],
  3391. "tags": [
  3392. "行情服务"
  3393. ],
  3394. "summary": "分时图数据查询",
  3395. "parameters": [
  3396. {
  3397. "type": "string",
  3398. "description": "商品代码",
  3399. "name": "GoodsCode",
  3400. "in": "query",
  3401. "required": true
  3402. }
  3403. ],
  3404. "responses": {
  3405. "200": {
  3406. "description": "OK",
  3407. "schema": {
  3408. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3409. }
  3410. },
  3411. "500": {
  3412. "description": "Internal Server Error",
  3413. "schema": {
  3414. "$ref": "#/definitions/app.Response"
  3415. }
  3416. }
  3417. }
  3418. }
  3419. },
  3420. "/SZDZ/QueryConvertConfig": {
  3421. "get": {
  3422. "security": [
  3423. {
  3424. "ApiKeyAuth": []
  3425. }
  3426. ],
  3427. "produces": [
  3428. "application/json"
  3429. ],
  3430. "tags": [
  3431. "定制【尚志大宗】"
  3432. ],
  3433. "summary": "查询交易系统转换设置",
  3434. "parameters": [
  3435. {
  3436. "type": "integer",
  3437. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3438. "name": "convertType",
  3439. "in": "query"
  3440. },
  3441. {
  3442. "type": "string",
  3443. "description": "外部商品代码[JD\\PD]",
  3444. "name": "outerGoodsCode",
  3445. "in": "query"
  3446. },
  3447. {
  3448. "type": "string",
  3449. "description": "内部商品ID列表[交易],格式:1,2,3",
  3450. "name": "innerGoodsIDs",
  3451. "in": "query"
  3452. }
  3453. ],
  3454. "responses": {
  3455. "200": {
  3456. "description": "OK",
  3457. "schema": {
  3458. "$ref": "#/definitions/models.Szdz3convertconfig"
  3459. }
  3460. },
  3461. "500": {
  3462. "description": "Internal Server Error",
  3463. "schema": {
  3464. "$ref": "#/definitions/app.Response"
  3465. }
  3466. }
  3467. }
  3468. }
  3469. },
  3470. "/SZDZ/QueryConvertLog": {
  3471. "get": {
  3472. "security": [
  3473. {
  3474. "ApiKeyAuth": []
  3475. }
  3476. ],
  3477. "produces": [
  3478. "application/json"
  3479. ],
  3480. "tags": [
  3481. "定制【尚志大宗】"
  3482. ],
  3483. "summary": "交易系统转换流水查询",
  3484. "parameters": [
  3485. {
  3486. "type": "string",
  3487. "description": "资金账户 - 格式:1,2,3",
  3488. "name": "accountID",
  3489. "in": "query",
  3490. "required": true
  3491. },
  3492. {
  3493. "type": "string",
  3494. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3495. "name": "startDate",
  3496. "in": "query"
  3497. },
  3498. {
  3499. "type": "string",
  3500. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3501. "name": "endDate",
  3502. "in": "query"
  3503. }
  3504. ],
  3505. "responses": {
  3506. "200": {
  3507. "description": "OK",
  3508. "schema": {
  3509. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3510. }
  3511. },
  3512. "500": {
  3513. "description": "Internal Server Error",
  3514. "schema": {
  3515. "$ref": "#/definitions/app.Response"
  3516. }
  3517. }
  3518. }
  3519. }
  3520. },
  3521. "/SZDZ/QueryGoodsPickup": {
  3522. "get": {
  3523. "security": [
  3524. {
  3525. "ApiKeyAuth": []
  3526. }
  3527. ],
  3528. "produces": [
  3529. "application/json"
  3530. ],
  3531. "tags": [
  3532. "定制【尚志大宗】"
  3533. ],
  3534. "summary": "商品提货单查询",
  3535. "parameters": [
  3536. {
  3537. "type": "string",
  3538. "description": "资金账户 - 格式:1,2,3",
  3539. "name": "accountID",
  3540. "in": "query",
  3541. "required": true
  3542. },
  3543. {
  3544. "type": "integer",
  3545. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3546. "name": "takeOrderStatus",
  3547. "in": "query"
  3548. }
  3549. ],
  3550. "responses": {
  3551. "200": {
  3552. "description": "OK",
  3553. "schema": {
  3554. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3555. }
  3556. },
  3557. "500": {
  3558. "description": "Internal Server Error",
  3559. "schema": {
  3560. "$ref": "#/definitions/app.Response"
  3561. }
  3562. }
  3563. }
  3564. }
  3565. },
  3566. "/SZDZ/QueryRecieptOrder": {
  3567. "get": {
  3568. "security": [
  3569. {
  3570. "ApiKeyAuth": []
  3571. }
  3572. ],
  3573. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3574. "produces": [
  3575. "application/json"
  3576. ],
  3577. "tags": [
  3578. "定制【尚志大宗】"
  3579. ],
  3580. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3581. "parameters": [
  3582. {
  3583. "type": "integer",
  3584. "description": "页码",
  3585. "name": "page",
  3586. "in": "query"
  3587. },
  3588. {
  3589. "type": "integer",
  3590. "description": "每页条数",
  3591. "name": "pagesize",
  3592. "in": "query"
  3593. },
  3594. {
  3595. "type": "integer",
  3596. "description": "商品ID",
  3597. "name": "goodsID",
  3598. "in": "query",
  3599. "required": true
  3600. },
  3601. {
  3602. "type": "string",
  3603. "description": "所属账户名称",
  3604. "name": "accountName",
  3605. "in": "query"
  3606. },
  3607. {
  3608. "type": "integer",
  3609. "description": "市场ID",
  3610. "name": "marketID",
  3611. "in": "query"
  3612. },
  3613. {
  3614. "type": "integer",
  3615. "description": "方向 - 0:买 1:卖",
  3616. "name": "buyorsell",
  3617. "in": "query",
  3618. "required": true
  3619. }
  3620. ],
  3621. "responses": {
  3622. "200": {
  3623. "description": "OK",
  3624. "schema": {
  3625. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3626. }
  3627. },
  3628. "500": {
  3629. "description": "Internal Server Error",
  3630. "schema": {
  3631. "$ref": "#/definitions/app.Response"
  3632. }
  3633. }
  3634. }
  3635. }
  3636. },
  3637. "/SZDZ/QuerySZDZTradePosition": {
  3638. "get": {
  3639. "security": [
  3640. {
  3641. "ApiKeyAuth": []
  3642. }
  3643. ],
  3644. "produces": [
  3645. "application/json"
  3646. ],
  3647. "tags": [
  3648. "定制【尚志大宗】"
  3649. ],
  3650. "summary": "持仓汇总查询(尚志大宗)",
  3651. "parameters": [
  3652. {
  3653. "type": "integer",
  3654. "description": "资金账户",
  3655. "name": "accountID",
  3656. "in": "query",
  3657. "required": true
  3658. }
  3659. ],
  3660. "responses": {
  3661. "200": {
  3662. "description": "OK",
  3663. "schema": {
  3664. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3665. }
  3666. },
  3667. "500": {
  3668. "description": "Internal Server Error",
  3669. "schema": {
  3670. "$ref": "#/definitions/app.Response"
  3671. }
  3672. }
  3673. }
  3674. }
  3675. },
  3676. "/SZDZ/SearchWhite": {
  3677. "get": {
  3678. "security": [
  3679. {
  3680. "ApiKeyAuth": []
  3681. }
  3682. ],
  3683. "produces": [
  3684. "application/json"
  3685. ],
  3686. "tags": [
  3687. "定制【尚志大宗】"
  3688. ],
  3689. "summary": "搜索白名单",
  3690. "parameters": [
  3691. {
  3692. "type": "integer",
  3693. "description": "用户ID",
  3694. "name": "userID",
  3695. "in": "query",
  3696. "required": true
  3697. }
  3698. ],
  3699. "responses": {
  3700. "200": {
  3701. "description": "OK",
  3702. "schema": {
  3703. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3704. }
  3705. },
  3706. "500": {
  3707. "description": "Internal Server Error",
  3708. "schema": {
  3709. "$ref": "#/definitions/app.Response"
  3710. }
  3711. }
  3712. }
  3713. }
  3714. },
  3715. "/Search/SearchGoodses": {
  3716. "get": {
  3717. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3718. "produces": [
  3719. "application/json"
  3720. ],
  3721. "tags": [
  3722. "检索服务"
  3723. ],
  3724. "summary": "检索商品信息",
  3725. "parameters": [
  3726. {
  3727. "type": "string",
  3728. "description": "检索内容",
  3729. "name": "content",
  3730. "in": "query",
  3731. "required": true
  3732. },
  3733. {
  3734. "type": "string",
  3735. "description": "交易模式,格式:1,2,3",
  3736. "name": "tradeModes",
  3737. "in": "query"
  3738. }
  3739. ],
  3740. "responses": {
  3741. "200": {
  3742. "description": "OK",
  3743. "schema": {
  3744. "$ref": "#/definitions/models.SearchGoods"
  3745. }
  3746. },
  3747. "500": {
  3748. "description": "Internal Server Error",
  3749. "schema": {
  3750. "$ref": "#/definitions/app.Response"
  3751. }
  3752. }
  3753. }
  3754. }
  3755. },
  3756. "/TaAccount/QueryAmountLog": {
  3757. "get": {
  3758. "security": [
  3759. {
  3760. "ApiKeyAuth": []
  3761. }
  3762. ],
  3763. "produces": [
  3764. "application/json"
  3765. ],
  3766. "tags": [
  3767. "资金账户"
  3768. ],
  3769. "summary": "资金流水查询(当前)",
  3770. "parameters": [
  3771. {
  3772. "type": "integer",
  3773. "description": "页码",
  3774. "name": "page",
  3775. "in": "query"
  3776. },
  3777. {
  3778. "type": "integer",
  3779. "description": "每页条数",
  3780. "name": "pagesize",
  3781. "in": "query"
  3782. },
  3783. {
  3784. "type": "string",
  3785. "description": "资金账户 - 格式:1,2,3",
  3786. "name": "accountID",
  3787. "in": "query",
  3788. "required": true
  3789. },
  3790. {
  3791. "type": "string",
  3792. "description": "资金操作类型 - 格式:1,2,3",
  3793. "name": "OperateType",
  3794. "in": "query"
  3795. }
  3796. ],
  3797. "responses": {
  3798. "200": {
  3799. "description": "OK",
  3800. "schema": {
  3801. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3802. }
  3803. },
  3804. "500": {
  3805. "description": "Internal Server Error",
  3806. "schema": {
  3807. "$ref": "#/definitions/app.Response"
  3808. }
  3809. }
  3810. }
  3811. }
  3812. },
  3813. "/TaAccount/QueryHisAmountLog": {
  3814. "get": {
  3815. "security": [
  3816. {
  3817. "ApiKeyAuth": []
  3818. }
  3819. ],
  3820. "produces": [
  3821. "application/json"
  3822. ],
  3823. "tags": [
  3824. "资金账户"
  3825. ],
  3826. "summary": "资金流水查询(历史)",
  3827. "parameters": [
  3828. {
  3829. "type": "integer",
  3830. "description": "页码",
  3831. "name": "page",
  3832. "in": "query"
  3833. },
  3834. {
  3835. "type": "integer",
  3836. "description": "每页条数",
  3837. "name": "pagesize",
  3838. "in": "query"
  3839. },
  3840. {
  3841. "type": "string",
  3842. "description": "资金账户 - 格式:1,2,3",
  3843. "name": "accountID",
  3844. "in": "query",
  3845. "required": true
  3846. },
  3847. {
  3848. "type": "string",
  3849. "description": "资金操作类型 - 格式:1,2,3",
  3850. "name": "OperateType",
  3851. "in": "query"
  3852. },
  3853. {
  3854. "type": "string",
  3855. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3856. "name": "startDate",
  3857. "in": "query"
  3858. },
  3859. {
  3860. "type": "string",
  3861. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3862. "name": "endDate",
  3863. "in": "query"
  3864. }
  3865. ],
  3866. "responses": {
  3867. "200": {
  3868. "description": "OK",
  3869. "schema": {
  3870. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3871. }
  3872. },
  3873. "500": {
  3874. "description": "Internal Server Error",
  3875. "schema": {
  3876. "$ref": "#/definitions/app.Response"
  3877. }
  3878. }
  3879. }
  3880. }
  3881. },
  3882. "/Trade/QueryRecieptOrder": {
  3883. "get": {
  3884. "security": [
  3885. {
  3886. "ApiKeyAuth": []
  3887. }
  3888. ],
  3889. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3890. "produces": [
  3891. "application/json"
  3892. ],
  3893. "tags": [
  3894. "通用交易"
  3895. ],
  3896. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3897. "parameters": [
  3898. {
  3899. "type": "integer",
  3900. "description": "页码",
  3901. "name": "page",
  3902. "in": "query"
  3903. },
  3904. {
  3905. "type": "integer",
  3906. "description": "每页条数",
  3907. "name": "pagesize",
  3908. "in": "query"
  3909. },
  3910. {
  3911. "type": "integer",
  3912. "description": "商品ID",
  3913. "name": "goodsID",
  3914. "in": "query",
  3915. "required": true
  3916. },
  3917. {
  3918. "type": "string",
  3919. "description": "所属账户名称",
  3920. "name": "accountName",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "integer",
  3925. "description": "市场ID",
  3926. "name": "marketID",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "方向 - 0:买 1:卖",
  3932. "name": "buyorsell",
  3933. "in": "query",
  3934. "required": true
  3935. }
  3936. ],
  3937. "responses": {
  3938. "200": {
  3939. "description": "OK",
  3940. "schema": {
  3941. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3942. }
  3943. },
  3944. "500": {
  3945. "description": "Internal Server Error",
  3946. "schema": {
  3947. "$ref": "#/definitions/app.Response"
  3948. }
  3949. }
  3950. }
  3951. }
  3952. },
  3953. "/User/AddMessageBoard": {
  3954. "post": {
  3955. "security": [
  3956. {
  3957. "ApiKeyAuth": []
  3958. }
  3959. ],
  3960. "produces": [
  3961. "application/json"
  3962. ],
  3963. "tags": [
  3964. "用户信息"
  3965. ],
  3966. "summary": "添加用户留言板信息",
  3967. "parameters": [
  3968. {
  3969. "type": "integer",
  3970. "description": "用户ID",
  3971. "name": "userID",
  3972. "in": "query",
  3973. "required": true
  3974. },
  3975. {
  3976. "type": "string",
  3977. "description": "留言信息",
  3978. "name": "message",
  3979. "in": "query",
  3980. "required": true
  3981. }
  3982. ],
  3983. "responses": {
  3984. "200": {
  3985. "description": "OK",
  3986. "schema": {
  3987. "$ref": "#/definitions/app.Response"
  3988. }
  3989. },
  3990. "500": {
  3991. "description": "Internal Server Error",
  3992. "schema": {
  3993. "$ref": "#/definitions/app.Response"
  3994. }
  3995. }
  3996. }
  3997. }
  3998. },
  3999. "/User/AddUserFavoriteGoods": {
  4000. "post": {
  4001. "security": [
  4002. {
  4003. "ApiKeyAuth": []
  4004. }
  4005. ],
  4006. "produces": [
  4007. "application/json"
  4008. ],
  4009. "tags": [
  4010. "用户信息"
  4011. ],
  4012. "summary": "添加用户商品收藏信息",
  4013. "parameters": [
  4014. {
  4015. "type": "integer",
  4016. "description": "用户ID",
  4017. "name": "userID",
  4018. "in": "query",
  4019. "required": true
  4020. },
  4021. {
  4022. "type": "integer",
  4023. "description": "商品ID",
  4024. "name": "goodsID",
  4025. "in": "query",
  4026. "required": true
  4027. }
  4028. ],
  4029. "responses": {
  4030. "200": {
  4031. "description": "OK",
  4032. "schema": {
  4033. "$ref": "#/definitions/app.Response"
  4034. }
  4035. },
  4036. "500": {
  4037. "description": "Internal Server Error",
  4038. "schema": {
  4039. "$ref": "#/definitions/app.Response"
  4040. }
  4041. }
  4042. }
  4043. }
  4044. },
  4045. "/User/GetLoginID": {
  4046. "get": {
  4047. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4048. "produces": [
  4049. "application/json"
  4050. ],
  4051. "tags": [
  4052. "用户信息"
  4053. ],
  4054. "summary": "获取登录ID",
  4055. "parameters": [
  4056. {
  4057. "type": "string",
  4058. "description": "登录代码",
  4059. "name": "username",
  4060. "in": "query",
  4061. "required": true
  4062. }
  4063. ],
  4064. "responses": {
  4065. "200": {
  4066. "description": "OK",
  4067. "schema": {
  4068. "$ref": "#/definitions/app.Response"
  4069. }
  4070. },
  4071. "500": {
  4072. "description": "Internal Server Error",
  4073. "schema": {
  4074. "$ref": "#/definitions/app.Response"
  4075. }
  4076. }
  4077. }
  4078. }
  4079. },
  4080. "/User/GetUserAccount": {
  4081. "get": {
  4082. "security": [
  4083. {
  4084. "ApiKeyAuth": []
  4085. }
  4086. ],
  4087. "produces": [
  4088. "application/json"
  4089. ],
  4090. "tags": [
  4091. "用户信息"
  4092. ],
  4093. "summary": "获取用户账号信息",
  4094. "parameters": [
  4095. {
  4096. "type": "integer",
  4097. "description": "用户ID",
  4098. "name": "userID",
  4099. "in": "query",
  4100. "required": true
  4101. }
  4102. ],
  4103. "responses": {
  4104. "200": {
  4105. "description": "OK",
  4106. "schema": {
  4107. "$ref": "#/definitions/models.Useraccount"
  4108. }
  4109. },
  4110. "500": {
  4111. "description": "Internal Server Error",
  4112. "schema": {
  4113. "$ref": "#/definitions/app.Response"
  4114. }
  4115. }
  4116. }
  4117. }
  4118. },
  4119. "/User/GetUserAuthStatus": {
  4120. "get": {
  4121. "security": [
  4122. {
  4123. "ApiKeyAuth": []
  4124. }
  4125. ],
  4126. "produces": [
  4127. "application/json"
  4128. ],
  4129. "tags": [
  4130. "用户信息"
  4131. ],
  4132. "summary": "获取用户实名认证状态",
  4133. "parameters": [
  4134. {
  4135. "type": "integer",
  4136. "description": "用户ID",
  4137. "name": "userID",
  4138. "in": "query",
  4139. "required": true
  4140. }
  4141. ],
  4142. "responses": {
  4143. "200": {
  4144. "description": "OK",
  4145. "schema": {
  4146. "$ref": "#/definitions/app.Response"
  4147. }
  4148. },
  4149. "500": {
  4150. "description": "Internal Server Error",
  4151. "schema": {
  4152. "$ref": "#/definitions/app.Response"
  4153. }
  4154. }
  4155. }
  4156. }
  4157. },
  4158. "/User/QueryMessageBoard": {
  4159. "get": {
  4160. "security": [
  4161. {
  4162. "ApiKeyAuth": []
  4163. }
  4164. ],
  4165. "produces": [
  4166. "application/json"
  4167. ],
  4168. "tags": [
  4169. "用户信息"
  4170. ],
  4171. "summary": "获取用户留言板信息",
  4172. "parameters": [
  4173. {
  4174. "type": "integer",
  4175. "description": "用户ID",
  4176. "name": "userID",
  4177. "in": "query",
  4178. "required": true
  4179. }
  4180. ],
  4181. "responses": {
  4182. "200": {
  4183. "description": "OK",
  4184. "schema": {
  4185. "$ref": "#/definitions/models.Messageboard"
  4186. }
  4187. },
  4188. "500": {
  4189. "description": "Internal Server Error",
  4190. "schema": {
  4191. "$ref": "#/definitions/app.Response"
  4192. }
  4193. }
  4194. }
  4195. }
  4196. },
  4197. "/User/QueryUserFavoriteGoodses": {
  4198. "get": {
  4199. "security": [
  4200. {
  4201. "ApiKeyAuth": []
  4202. }
  4203. ],
  4204. "produces": [
  4205. "application/json"
  4206. ],
  4207. "tags": [
  4208. "用户信息"
  4209. ],
  4210. "summary": "获取用户商品收藏信息",
  4211. "parameters": [
  4212. {
  4213. "type": "integer",
  4214. "description": "用户ID",
  4215. "name": "userID",
  4216. "in": "query",
  4217. "required": true
  4218. }
  4219. ],
  4220. "responses": {
  4221. "200": {
  4222. "description": "OK",
  4223. "schema": {
  4224. "$ref": "#/definitions/models.Userfavoritegoods"
  4225. }
  4226. },
  4227. "500": {
  4228. "description": "Internal Server Error",
  4229. "schema": {
  4230. "$ref": "#/definitions/app.Response"
  4231. }
  4232. }
  4233. }
  4234. }
  4235. },
  4236. "/User/QueryUserInfo": {
  4237. "get": {
  4238. "security": [
  4239. {
  4240. "ApiKeyAuth": []
  4241. }
  4242. ],
  4243. "produces": [
  4244. "application/json"
  4245. ],
  4246. "tags": [
  4247. "用户信息"
  4248. ],
  4249. "summary": "获取用户信息",
  4250. "parameters": [
  4251. {
  4252. "type": "integer",
  4253. "description": "用户ID",
  4254. "name": "userID",
  4255. "in": "query",
  4256. "required": true
  4257. }
  4258. ],
  4259. "responses": {
  4260. "200": {
  4261. "description": "OK",
  4262. "schema": {
  4263. "$ref": "#/definitions/models.Userinfo"
  4264. }
  4265. },
  4266. "500": {
  4267. "description": "Internal Server Error",
  4268. "schema": {
  4269. "$ref": "#/definitions/app.Response"
  4270. }
  4271. }
  4272. }
  4273. }
  4274. },
  4275. "/User/QueryUserReferNum": {
  4276. "get": {
  4277. "produces": [
  4278. "application/json"
  4279. ],
  4280. "tags": [
  4281. "用户信息"
  4282. ],
  4283. "summary": "获取用户邀请码",
  4284. "parameters": [
  4285. {
  4286. "type": "integer",
  4287. "description": "用户ID",
  4288. "name": "userID",
  4289. "in": "query",
  4290. "required": true
  4291. }
  4292. ],
  4293. "responses": {
  4294. "200": {
  4295. "description": "OK",
  4296. "schema": {
  4297. "$ref": "#/definitions/app.Response"
  4298. }
  4299. },
  4300. "500": {
  4301. "description": "Internal Server Error",
  4302. "schema": {
  4303. "$ref": "#/definitions/app.Response"
  4304. }
  4305. }
  4306. }
  4307. }
  4308. },
  4309. "/User/RemoveUserFavoriteGoods": {
  4310. "post": {
  4311. "security": [
  4312. {
  4313. "ApiKeyAuth": []
  4314. }
  4315. ],
  4316. "produces": [
  4317. "application/json"
  4318. ],
  4319. "tags": [
  4320. "用户信息"
  4321. ],
  4322. "summary": "移除用户商品收藏信息",
  4323. "parameters": [
  4324. {
  4325. "type": "integer",
  4326. "description": "用户ID",
  4327. "name": "userID",
  4328. "in": "query",
  4329. "required": true
  4330. },
  4331. {
  4332. "type": "integer",
  4333. "description": "商品ID",
  4334. "name": "goodsID",
  4335. "in": "query",
  4336. "required": true
  4337. }
  4338. ],
  4339. "responses": {
  4340. "200": {
  4341. "description": "OK",
  4342. "schema": {
  4343. "$ref": "#/definitions/app.Response"
  4344. }
  4345. },
  4346. "500": {
  4347. "description": "Internal Server Error",
  4348. "schema": {
  4349. "$ref": "#/definitions/app.Response"
  4350. }
  4351. }
  4352. }
  4353. }
  4354. },
  4355. "/WR/GetWRCategoryInfo": {
  4356. "get": {
  4357. "produces": [
  4358. "application/json"
  4359. ],
  4360. "tags": [
  4361. "仓单服务"
  4362. ],
  4363. "summary": "获取现货分类信息",
  4364. "responses": {
  4365. "200": {
  4366. "description": "OK",
  4367. "schema": {
  4368. "$ref": "#/definitions/models.WRCategoryTree"
  4369. }
  4370. },
  4371. "500": {
  4372. "description": "Internal Server Error",
  4373. "schema": {
  4374. "$ref": "#/definitions/app.Response"
  4375. }
  4376. }
  4377. }
  4378. }
  4379. },
  4380. "/WRTrade/GetAllDeliveryGoods": {
  4381. "get": {
  4382. "security": [
  4383. {
  4384. "ApiKeyAuth": []
  4385. },
  4386. {
  4387. "ApiKeyAuth": []
  4388. }
  4389. ],
  4390. "produces": [
  4391. "application/json",
  4392. "application/json"
  4393. ],
  4394. "tags": [
  4395. "仓单贸易",
  4396. "仓单贸易"
  4397. ],
  4398. "summary": "获取带仓单分类的种类信息",
  4399. "responses": {
  4400. "200": {
  4401. "description": "OK",
  4402. "schema": {
  4403. "$ref": "#/definitions/app.Response"
  4404. }
  4405. },
  4406. "500": {
  4407. "description": "Internal Server Error",
  4408. "schema": {
  4409. "$ref": "#/definitions/app.Response"
  4410. }
  4411. }
  4412. }
  4413. }
  4414. }
  4415. },
  4416. "definitions": {
  4417. "app.Response": {
  4418. "type": "object",
  4419. "properties": {
  4420. "code": {
  4421. "type": "integer"
  4422. },
  4423. "data": {
  4424. "type": "object"
  4425. },
  4426. "msg": {
  4427. "type": "string"
  4428. },
  4429. "page": {
  4430. "description": "页码",
  4431. "type": "integer"
  4432. },
  4433. "pagesize": {
  4434. "description": "每页条数",
  4435. "type": "integer"
  4436. },
  4437. "total": {
  4438. "description": "总条数",
  4439. "type": "integer"
  4440. }
  4441. }
  4442. },
  4443. "common.QueryNoticeRsp": {
  4444. "type": "object",
  4445. "required": [
  4446. "autoid"
  4447. ],
  4448. "properties": {
  4449. "auditoruserid": {
  4450. "description": "审核人",
  4451. "type": "integer"
  4452. },
  4453. "auditremark": {
  4454. "description": "审核备注",
  4455. "type": "string"
  4456. },
  4457. "audittime": {
  4458. "description": "审核日期",
  4459. "type": "string"
  4460. },
  4461. "autoid": {
  4462. "description": "自增ID",
  4463. "type": "integer"
  4464. },
  4465. "content": {
  4466. "description": "内容",
  4467. "type": "string"
  4468. },
  4469. "createtime": {
  4470. "description": "创建时间",
  4471. "type": "string"
  4472. },
  4473. "creatorid": {
  4474. "description": "建仓人",
  4475. "type": "integer"
  4476. },
  4477. "endtime": {
  4478. "description": "结束时间",
  4479. "type": "string"
  4480. },
  4481. "istop": {
  4482. "description": "是否置顶 - 0:不置顶 1:置顶",
  4483. "type": "integer"
  4484. },
  4485. "msgiconurl": {
  4486. "description": "消息图标Url",
  4487. "type": "string"
  4488. },
  4489. "msgtype": {
  4490. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4491. "type": "integer"
  4492. },
  4493. "publisher": {
  4494. "description": "消息发布者",
  4495. "type": "string"
  4496. },
  4497. "readed": {
  4498. "description": "是否已读",
  4499. "type": "boolean"
  4500. },
  4501. "scheduletime": {
  4502. "description": "计划发送时间",
  4503. "type": "string"
  4504. },
  4505. "sendtype": {
  4506. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4507. "type": "integer"
  4508. },
  4509. "sentstatus": {
  4510. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4511. "type": "integer"
  4512. },
  4513. "title": {
  4514. "description": "标题",
  4515. "type": "string"
  4516. },
  4517. "userid": {
  4518. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4519. "type": "integer"
  4520. }
  4521. }
  4522. },
  4523. "common.QueryProvincesAndCitiesRsp": {
  4524. "type": "object",
  4525. "properties": {
  4526. "cities": {
  4527. "description": "市",
  4528. "type": "array",
  4529. "items": {
  4530. "$ref": "#/definitions/models.Division"
  4531. }
  4532. },
  4533. "province": {
  4534. "description": "省",
  4535. "type": "object",
  4536. "$ref": "#/definitions/models.Division"
  4537. }
  4538. }
  4539. },
  4540. "common.QueryTableDefineRsp": {
  4541. "type": "object",
  4542. "required": [
  4543. "tablekey"
  4544. ],
  4545. "properties": {
  4546. "columns": {
  4547. "description": "列头信息数组",
  4548. "type": "array",
  4549. "items": {
  4550. "$ref": "#/definitions/models.Tablecolumnconfig"
  4551. }
  4552. },
  4553. "remark": {
  4554. "description": "Remark",
  4555. "type": "string"
  4556. },
  4557. "tabelmenu": {
  4558. "description": "列表菜单",
  4559. "type": "string"
  4560. },
  4561. "tablekey": {
  4562. "description": "列表Key",
  4563. "type": "string"
  4564. },
  4565. "tablename": {
  4566. "description": "列表名称",
  4567. "type": "string"
  4568. },
  4569. "tabletype": {
  4570. "description": "列表类型 - 1:管理端 2:终端",
  4571. "type": "integer"
  4572. }
  4573. }
  4574. },
  4575. "common.QueryTraderMenuRsp": {
  4576. "type": "object",
  4577. "properties": {
  4578. "OperationMenu": {
  4579. "description": "功能菜单",
  4580. "type": "array",
  4581. "items": {
  4582. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4583. }
  4584. },
  4585. "QuoteMenu": {
  4586. "description": "报价牌分类菜单",
  4587. "type": "array",
  4588. "items": {
  4589. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4590. }
  4591. }
  4592. }
  4593. },
  4594. "cptrade.Cptradepositioncancel": {
  4595. "type": "object",
  4596. "required": [
  4597. "cancelid"
  4598. ],
  4599. "properties": {
  4600. "accountid": {
  4601. "description": "申请人账户ID",
  4602. "type": "integer"
  4603. },
  4604. "applystatus": {
  4605. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4606. "type": "integer"
  4607. },
  4608. "applytime": {
  4609. "description": "申请时间",
  4610. "type": "string"
  4611. },
  4612. "cancelid": {
  4613. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4614. "type": "integer"
  4615. },
  4616. "cancelqty": {
  4617. "description": "注销数量",
  4618. "type": "integer"
  4619. },
  4620. "createtime": {
  4621. "description": "创建时间",
  4622. "type": "string"
  4623. },
  4624. "creatorid": {
  4625. "description": "创建人ID",
  4626. "type": "integer"
  4627. },
  4628. "creatorname": {
  4629. "description": "创建人",
  4630. "type": "string"
  4631. },
  4632. "goodscode": {
  4633. "description": "订单商品代码",
  4634. "type": "string"
  4635. },
  4636. "goodsid": {
  4637. "description": "商品ID",
  4638. "type": "integer"
  4639. },
  4640. "goodsname": {
  4641. "description": "订单商品名称",
  4642. "type": "string"
  4643. },
  4644. "goodunit": {
  4645. "description": "报价单位",
  4646. "type": "string"
  4647. },
  4648. "handlestatus": {
  4649. "description": "处理状态",
  4650. "type": "integer"
  4651. },
  4652. "marketid": {
  4653. "description": "市场ID",
  4654. "type": "integer"
  4655. },
  4656. "marketname": {
  4657. "description": "市场名称",
  4658. "type": "string"
  4659. },
  4660. "tradedate": {
  4661. "description": "交易日(yyyyMMdd)",
  4662. "type": "string"
  4663. },
  4664. "userid": {
  4665. "description": "申请人ID",
  4666. "type": "integer"
  4667. }
  4668. }
  4669. },
  4670. "cptrade.Cptradepresaleapply": {
  4671. "type": "object",
  4672. "required": [
  4673. "applyid"
  4674. ],
  4675. "properties": {
  4676. "accountid": {
  4677. "description": "申请人账户ID",
  4678. "type": "integer"
  4679. },
  4680. "applyid": {
  4681. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4682. "type": "integer"
  4683. },
  4684. "applyremark": {
  4685. "description": "申请备注",
  4686. "type": "string"
  4687. },
  4688. "applystatus": {
  4689. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4690. "type": "integer"
  4691. },
  4692. "applytime": {
  4693. "description": "申请时间",
  4694. "type": "string"
  4695. },
  4696. "attachmenturl": {
  4697. "description": "附件地址",
  4698. "type": "string"
  4699. },
  4700. "endtime": {
  4701. "description": "预售结束时间",
  4702. "type": "string"
  4703. },
  4704. "goodscode": {
  4705. "description": "商品代码",
  4706. "type": "string"
  4707. },
  4708. "goodsid": {
  4709. "description": "商品ID",
  4710. "type": "integer"
  4711. },
  4712. "goodsname": {
  4713. "description": "商品名称",
  4714. "type": "string"
  4715. },
  4716. "goodunit": {
  4717. "description": "报价单位",
  4718. "type": "string"
  4719. },
  4720. "handlestatus": {
  4721. "description": "处理状态",
  4722. "type": "integer"
  4723. },
  4724. "marketid": {
  4725. "description": "预售市场ID",
  4726. "type": "integer"
  4727. },
  4728. "marketname": {
  4729. "description": "预售市场名称",
  4730. "type": "string"
  4731. },
  4732. "presaleqty": {
  4733. "description": "预售数量",
  4734. "type": "integer"
  4735. },
  4736. "relatedgoodscode": {
  4737. "description": "关联交易合约代码",
  4738. "type": "string"
  4739. },
  4740. "relatedgoodsid": {
  4741. "description": "关联交易合约ID",
  4742. "type": "integer"
  4743. },
  4744. "relatedgoodsname": {
  4745. "description": "关联交易合约名称",
  4746. "type": "string"
  4747. },
  4748. "starttime": {
  4749. "description": "预售开始时间",
  4750. "type": "string"
  4751. },
  4752. "tradedate": {
  4753. "description": "交易日(yyyyMMdd)",
  4754. "type": "string"
  4755. },
  4756. "trademode": {
  4757. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4758. "type": "integer"
  4759. },
  4760. "userid": {
  4761. "description": "申请人ID",
  4762. "type": "integer"
  4763. }
  4764. }
  4765. },
  4766. "cptrade.Cptradeusergoodsdata": {
  4767. "type": "object",
  4768. "required": [
  4769. "accountid",
  4770. "goodsid"
  4771. ],
  4772. "properties": {
  4773. "EnabledQty": {
  4774. "description": "可用量",
  4775. "type": "integer"
  4776. },
  4777. "GoodsCode": {
  4778. "description": "订单商品代码",
  4779. "type": "string"
  4780. },
  4781. "GoodsName": {
  4782. "description": "订单商品名称",
  4783. "type": "string"
  4784. },
  4785. "WRStandardCode": {
  4786. "description": "仓单标准代码",
  4787. "type": "string"
  4788. },
  4789. "WRStandardName": {
  4790. "description": "仓单标准名称",
  4791. "type": "string"
  4792. },
  4793. "accountid": {
  4794. "description": "账户ID",
  4795. "type": "integer"
  4796. },
  4797. "cancelqty": {
  4798. "description": "注销量",
  4799. "type": "integer"
  4800. },
  4801. "curpresaleqty": {
  4802. "description": "当前预售量",
  4803. "type": "integer"
  4804. },
  4805. "deliveryqty": {
  4806. "description": "交割量",
  4807. "type": "integer"
  4808. },
  4809. "freezeamount": {
  4810. "description": "冻结金额",
  4811. "type": "number"
  4812. },
  4813. "goodsid": {
  4814. "description": "商品ID",
  4815. "type": "integer"
  4816. },
  4817. "goodunit": {
  4818. "description": "报价单位",
  4819. "type": "string"
  4820. },
  4821. "hasspotfreeze": {
  4822. "description": "是否有现货冻结 - 0:否 1:有",
  4823. "type": "integer"
  4824. },
  4825. "inqty": {
  4826. "description": "转入量(总数量)",
  4827. "type": "integer"
  4828. },
  4829. "marketid": {
  4830. "description": "市场ID",
  4831. "type": "integer"
  4832. },
  4833. "presaledamount": {
  4834. "description": "已预售总金额",
  4835. "type": "integer"
  4836. },
  4837. "presaledqty": {
  4838. "description": "已预售量",
  4839. "type": "integer"
  4840. },
  4841. "userid": {
  4842. "description": "用户ID",
  4843. "type": "integer"
  4844. },
  4845. "wrstandardid": {
  4846. "description": "仓单标准ID",
  4847. "type": "integer"
  4848. }
  4849. }
  4850. },
  4851. "cptrade.QueryCPTradeMyBidRsp": {
  4852. "type": "object",
  4853. "required": [
  4854. "accountid",
  4855. "goodsid",
  4856. "marketid",
  4857. "orderid",
  4858. "orderqty",
  4859. "ordertime",
  4860. "tradeprice",
  4861. "tradeqty"
  4862. ],
  4863. "properties": {
  4864. "accountid": {
  4865. "description": "账户ID[报价币种]",
  4866. "type": "integer"
  4867. },
  4868. "goodsid": {
  4869. "description": "商品ID",
  4870. "type": "integer"
  4871. },
  4872. "goodunit": {
  4873. "description": "报价单位",
  4874. "type": "string"
  4875. },
  4876. "marketid": {
  4877. "description": "市场ID",
  4878. "type": "integer"
  4879. },
  4880. "orderid": {
  4881. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4882. "type": "integer"
  4883. },
  4884. "orderprice": {
  4885. "description": "委托价格",
  4886. "type": "number"
  4887. },
  4888. "orderqty": {
  4889. "description": "委托数量",
  4890. "type": "integer"
  4891. },
  4892. "ordertime": {
  4893. "description": "委托时间",
  4894. "type": "string"
  4895. },
  4896. "ordertotalprice": {
  4897. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4898. "type": "number"
  4899. },
  4900. "ordertotalweight": {
  4901. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4902. "type": "integer"
  4903. },
  4904. "totaltotalprice": {
  4905. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4906. "type": "number"
  4907. },
  4908. "tradeprice": {
  4909. "description": "成交价格",
  4910. "type": "number"
  4911. },
  4912. "tradeqty": {
  4913. "description": "成交数量",
  4914. "type": "integer"
  4915. }
  4916. }
  4917. },
  4918. "cptrade.QueryCPTradeOrderDetailRsq": {
  4919. "type": "object",
  4920. "required": [
  4921. "accountid",
  4922. "buildtype",
  4923. "buyorsell",
  4924. "goodsid",
  4925. "marketid",
  4926. "memberuserid",
  4927. "operatetype",
  4928. "orderqty",
  4929. "ordertime",
  4930. "pricemode",
  4931. "strorderid",
  4932. "tradedate",
  4933. "validtype"
  4934. ],
  4935. "properties": {
  4936. "accountid": {
  4937. "description": "账户ID[报价币种]",
  4938. "type": "integer"
  4939. },
  4940. "buildtype": {
  4941. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4942. "type": "integer"
  4943. },
  4944. "buyorsell": {
  4945. "description": "买卖 - 0:买 1:卖",
  4946. "type": "integer"
  4947. },
  4948. "cancelorderid": {
  4949. "description": "撤单单号(撤单时填写)",
  4950. "type": "integer"
  4951. },
  4952. "cancelqty": {
  4953. "description": "撤单数量",
  4954. "type": "integer"
  4955. },
  4956. "clientordertime": {
  4957. "description": "客户端委托时间",
  4958. "type": "string"
  4959. },
  4960. "clientticket": {
  4961. "description": "客户端流水号",
  4962. "type": "string"
  4963. },
  4964. "clienttype": {
  4965. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4966. "type": "integer"
  4967. },
  4968. "closeexchagechargevalue": {
  4969. "description": "平仓交易所手续费设置值",
  4970. "type": "number"
  4971. },
  4972. "closefeealgorithm": {
  4973. "description": "平仓手续费收取方式 1:比率 2:固定",
  4974. "type": "integer"
  4975. },
  4976. "closefreezecharge": {
  4977. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4978. "type": "number"
  4979. },
  4980. "closememberchargevalue": {
  4981. "description": "平仓会员手续费设置值",
  4982. "type": "number"
  4983. },
  4984. "closeqty": {
  4985. "description": "平仓数量(先建后平操作 需要记录)",
  4986. "type": "integer"
  4987. },
  4988. "closetradeqty": {
  4989. "description": "平仓成交数量(先建后平操作,需要记录)",
  4990. "type": "integer"
  4991. },
  4992. "closeunfreezecharge": {
  4993. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4994. "type": "number"
  4995. },
  4996. "delistingtype": {
  4997. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4998. "type": "integer"
  4999. },
  5000. "freezecharge": {
  5001. "description": "冻结手续费",
  5002. "type": "number"
  5003. },
  5004. "freezemargin": {
  5005. "description": "冻结保证金(冻结交易金额)",
  5006. "type": "number"
  5007. },
  5008. "gcaccountid": {
  5009. "description": "账户ID[合约币种]",
  5010. "type": "integer"
  5011. },
  5012. "goodsid": {
  5013. "description": "商品ID",
  5014. "type": "integer"
  5015. },
  5016. "isconfirmexercise": {
  5017. "description": "是否确认行权- 0:否 1:是",
  5018. "type": "integer"
  5019. },
  5020. "ispreexercise": {
  5021. "description": "是否预申报- 0:否 1:是",
  5022. "type": "integer"
  5023. },
  5024. "listingselecttype": {
  5025. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5026. "type": "integer"
  5027. },
  5028. "marginalgorithm": {
  5029. "description": "保证金收取方式 1:比率 2:固定",
  5030. "type": "integer"
  5031. },
  5032. "marginvalue": {
  5033. "description": "即市保证金设置值",
  5034. "type": "number"
  5035. },
  5036. "marketid": {
  5037. "description": "市场ID",
  5038. "type": "integer"
  5039. },
  5040. "marketmaxsub": {
  5041. "description": "市价最大偏移范围",
  5042. "type": "number"
  5043. },
  5044. "memberuserid": {
  5045. "description": "所属会员UserID",
  5046. "type": "integer"
  5047. },
  5048. "openexchagechargevalue": {
  5049. "description": "建仓交易所手续费设置值",
  5050. "type": "number"
  5051. },
  5052. "openfeealgorithm": {
  5053. "description": "建仓手续费收取方式 1:比率 2:固定",
  5054. "type": "integer"
  5055. },
  5056. "openfreezecharge": {
  5057. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5058. "type": "number"
  5059. },
  5060. "openmemberchargevalue": {
  5061. "description": "建仓会员手续费设置值",
  5062. "type": "number"
  5063. },
  5064. "openqty": {
  5065. "description": "开仓数量(先建后平操作,需要记录)",
  5066. "type": "integer"
  5067. },
  5068. "opentradeqty": {
  5069. "description": "开仓成交数量(先建后平操作,需要记录)",
  5070. "type": "integer"
  5071. },
  5072. "openunfreezecharge": {
  5073. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5074. "type": "number"
  5075. },
  5076. "operatetype": {
  5077. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5078. "type": "integer"
  5079. },
  5080. "operatorid": {
  5081. "description": "登录账号(LoginID)",
  5082. "type": "integer"
  5083. },
  5084. "optiontype": {
  5085. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5086. "type": "integer"
  5087. },
  5088. "orderprice": {
  5089. "description": "委托价格",
  5090. "type": "number"
  5091. },
  5092. "orderqty": {
  5093. "description": "委托数量",
  5094. "type": "integer"
  5095. },
  5096. "ordersrc": {
  5097. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5098. "type": "integer"
  5099. },
  5100. "orderstatus": {
  5101. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5102. "type": "integer"
  5103. },
  5104. "ordertime": {
  5105. "description": "委托时间",
  5106. "type": "string"
  5107. },
  5108. "preexerciseprice": {
  5109. "description": "预申报价格",
  5110. "type": "number"
  5111. },
  5112. "premium": {
  5113. "description": "权利金",
  5114. "type": "number"
  5115. },
  5116. "preorderid": {
  5117. "description": "关联预埋单号(止盈止损单时填写)",
  5118. "type": "integer"
  5119. },
  5120. "pricemode": {
  5121. "description": "取价方式 - 1:市价 2: 限价",
  5122. "type": "integer"
  5123. },
  5124. "quoteid": {
  5125. "description": "报价单ID",
  5126. "type": "integer"
  5127. },
  5128. "relatedid": {
  5129. "description": "关联单号(交割单)",
  5130. "type": "integer"
  5131. },
  5132. "retcode": {
  5133. "description": "错误代码",
  5134. "type": "integer"
  5135. },
  5136. "sessionid": {
  5137. "description": "会话ID",
  5138. "type": "integer"
  5139. },
  5140. "strorderid": {
  5141. "description": "委托单号",
  5142. "type": "string"
  5143. },
  5144. "tradedate": {
  5145. "description": "交易日(yyyyMMdd)",
  5146. "type": "string"
  5147. },
  5148. "tradeproperty": {
  5149. "description": "交易属性",
  5150. "type": "integer"
  5151. },
  5152. "tradeqty": {
  5153. "description": "成交数量",
  5154. "type": "integer"
  5155. },
  5156. "unfreezecharge": {
  5157. "description": "解冻手续费",
  5158. "type": "number"
  5159. },
  5160. "unfreezemargin": {
  5161. "description": "解冻保证金",
  5162. "type": "number"
  5163. },
  5164. "updatetime": {
  5165. "description": "更新时间",
  5166. "type": "string"
  5167. },
  5168. "uuid": {
  5169. "description": "发起端唯一id",
  5170. "type": "string"
  5171. },
  5172. "validtime": {
  5173. "description": "有效期限",
  5174. "type": "string"
  5175. },
  5176. "validtype": {
  5177. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5178. "type": "integer"
  5179. },
  5180. "volumetype": {
  5181. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5182. "type": "integer"
  5183. }
  5184. }
  5185. },
  5186. "cptrade.QueryMyCPTradeGoodsRsp": {
  5187. "type": "object",
  5188. "required": [
  5189. "goodscode",
  5190. "goodsid",
  5191. "goodsname",
  5192. "marketid",
  5193. "relatedgoodscode",
  5194. "relatedgoodsname"
  5195. ],
  5196. "properties": {
  5197. "accountid": {
  5198. "description": "卖方账户ID",
  5199. "type": "integer"
  5200. },
  5201. "agreeunit": {
  5202. "description": "合约单位",
  5203. "type": "number"
  5204. },
  5205. "applyid": {
  5206. "description": "关联申请ID",
  5207. "type": "integer"
  5208. },
  5209. "attachmenturl": {
  5210. "description": "附件地址",
  5211. "type": "string"
  5212. },
  5213. "createtime": {
  5214. "description": "创建时间",
  5215. "type": "string"
  5216. },
  5217. "currencyid": {
  5218. "description": "报价货币ID",
  5219. "type": "integer"
  5220. },
  5221. "decimalplace": {
  5222. "description": "报价小数位",
  5223. "type": "integer"
  5224. },
  5225. "endtime": {
  5226. "description": "预售结束时间",
  5227. "type": "string"
  5228. },
  5229. "floorprice": {
  5230. "description": "底价[大宗式竞拍]",
  5231. "type": "number"
  5232. },
  5233. "goodscode": {
  5234. "description": "商品代码(预售)",
  5235. "type": "string"
  5236. },
  5237. "goodsdetail": {
  5238. "description": "详情[大宗]",
  5239. "type": "string"
  5240. },
  5241. "goodsid": {
  5242. "description": "商品ID(自增ID SEQ_GOODS)",
  5243. "type": "integer"
  5244. },
  5245. "goodsname": {
  5246. "description": "商品名称(预售)",
  5247. "type": "string"
  5248. },
  5249. "goodunit": {
  5250. "description": "报价单位",
  5251. "type": "string"
  5252. },
  5253. "goodunitid": {
  5254. "description": "报价单位ID",
  5255. "type": "integer"
  5256. },
  5257. "marketid": {
  5258. "description": "所属市场ID",
  5259. "type": "integer"
  5260. },
  5261. "marketname": {
  5262. "description": "预售市场名称",
  5263. "type": "string"
  5264. },
  5265. "presaledamount": {
  5266. "description": "已预售总金额(预售结束时更新)",
  5267. "type": "number"
  5268. },
  5269. "presaledqty": {
  5270. "description": "已预售量(预售结束时更新)",
  5271. "type": "integer"
  5272. },
  5273. "presalemode": {
  5274. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5275. "type": "integer"
  5276. },
  5277. "presaleqty": {
  5278. "description": "预售数量",
  5279. "type": "integer"
  5280. },
  5281. "refprice": {
  5282. "description": "参考价格[一口价]",
  5283. "type": "number"
  5284. },
  5285. "relatedgoodscode": {
  5286. "description": "商品代码(订单)",
  5287. "type": "string"
  5288. },
  5289. "relatedgoodsid": {
  5290. "description": "关联交易合约ID",
  5291. "type": "integer"
  5292. },
  5293. "relatedgoodsname": {
  5294. "description": "商品名称(订单)",
  5295. "type": "string"
  5296. },
  5297. "relatedmarketid": {
  5298. "description": "关联交易合约市场ID",
  5299. "type": "integer"
  5300. },
  5301. "sellstatus": {
  5302. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5303. "type": "integer"
  5304. },
  5305. "startprice": {
  5306. "description": "起拍价[大宗式竞拍]",
  5307. "type": "number"
  5308. },
  5309. "starttime": {
  5310. "description": "预售开始时间",
  5311. "type": "string"
  5312. },
  5313. "tradedate": {
  5314. "description": "交易日(yyyyMMdd)",
  5315. "type": "string"
  5316. },
  5317. "tradeprice": {
  5318. "description": "成交价[大宗]",
  5319. "type": "number"
  5320. },
  5321. "userid": {
  5322. "description": "卖方用户ID",
  5323. "type": "integer"
  5324. }
  5325. }
  5326. },
  5327. "cptrade.QueryPresaleGoodsExRsp": {
  5328. "type": "object",
  5329. "required": [
  5330. "goodsid"
  5331. ],
  5332. "properties": {
  5333. "attachmenturl": {
  5334. "description": "附件地址",
  5335. "type": "string"
  5336. },
  5337. "createtime": {
  5338. "description": "创建时间",
  5339. "type": "string"
  5340. },
  5341. "endtime": {
  5342. "description": "预售结束时间",
  5343. "type": "string"
  5344. },
  5345. "floorprice": {
  5346. "description": "底价[大宗式竞拍]",
  5347. "type": "number"
  5348. },
  5349. "goodsdetail": {
  5350. "description": "详情[大宗]",
  5351. "type": "string"
  5352. },
  5353. "goodsid": {
  5354. "description": "商品ID(预售)",
  5355. "type": "integer"
  5356. },
  5357. "goodunit": {
  5358. "description": "报价单位",
  5359. "type": "string"
  5360. },
  5361. "marketid": {
  5362. "description": "预售市场ID - 根据预售模式选择市场",
  5363. "type": "integer"
  5364. },
  5365. "presaledamount": {
  5366. "description": "已预售总金额(预售结束时更新)",
  5367. "type": "number"
  5368. },
  5369. "presaledqty": {
  5370. "description": "已预售量(预售结束时更新)",
  5371. "type": "integer"
  5372. },
  5373. "presalemode": {
  5374. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5375. "type": "integer"
  5376. },
  5377. "presaleqty": {
  5378. "description": "预售数量",
  5379. "type": "integer"
  5380. },
  5381. "refprice": {
  5382. "description": "参考价格[一口价]",
  5383. "type": "number"
  5384. },
  5385. "relatedgoodsid": {
  5386. "description": "关联交易合约ID",
  5387. "type": "integer"
  5388. },
  5389. "relatedmarketid": {
  5390. "description": "关联交易合约市场ID",
  5391. "type": "integer"
  5392. },
  5393. "sellstatus": {
  5394. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5395. "type": "integer"
  5396. },
  5397. "startprice": {
  5398. "description": "起拍价[大宗式竞拍]",
  5399. "type": "number"
  5400. },
  5401. "starttime": {
  5402. "description": "预售开始时间",
  5403. "type": "string"
  5404. },
  5405. "tradedate": {
  5406. "description": "交易日(yyyyMMdd)",
  5407. "type": "string"
  5408. },
  5409. "tradeprice": {
  5410. "description": "成交价[大宗]",
  5411. "type": "number"
  5412. }
  5413. }
  5414. },
  5415. "delivery.QueryDeliveryRelationRsp": {
  5416. "type": "object",
  5417. "required": [
  5418. "begindate",
  5419. "enddate",
  5420. "goodsid",
  5421. "mindeliveryqty",
  5422. "xdeliveryratio"
  5423. ],
  5424. "properties": {
  5425. "begindate": {
  5426. "description": "起始日期(yyyyMMdd)",
  5427. "type": "string"
  5428. },
  5429. "buytemplateid": {
  5430. "description": "买履约计划模板ID",
  5431. "type": "integer"
  5432. },
  5433. "deliverygoodscode": {
  5434. "description": "品种代码",
  5435. "type": "string"
  5436. },
  5437. "deliverygoodsid": {
  5438. "description": "交割商品",
  5439. "type": "integer"
  5440. },
  5441. "deliverygoodsname": {
  5442. "description": "品种名称",
  5443. "type": "string"
  5444. },
  5445. "deliverymode": {
  5446. "description": "交割方式 - 1:点选式 2:申报式",
  5447. "type": "integer"
  5448. },
  5449. "deliverypricerule": {
  5450. "description": "交割价规则- 1:行情价 2:建仓价",
  5451. "type": "integer"
  5452. },
  5453. "deliverytype": {
  5454. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5455. "type": "integer"
  5456. },
  5457. "enddate": {
  5458. "description": "结束日期(yyyyMMdd)",
  5459. "type": "string"
  5460. },
  5461. "goodscode": {
  5462. "description": "商品代码",
  5463. "type": "string"
  5464. },
  5465. "goodsid": {
  5466. "description": "交易合约ID",
  5467. "type": "integer"
  5468. },
  5469. "goodsname": {
  5470. "description": "商品名称",
  5471. "type": "string"
  5472. },
  5473. "marketid": {
  5474. "description": "市场ID",
  5475. "type": "integer"
  5476. },
  5477. "mindeliveryqty": {
  5478. "description": "最小交割系数(K)",
  5479. "type": "integer"
  5480. },
  5481. "p2deliveryprice": {
  5482. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5483. "type": "number"
  5484. },
  5485. "p2deliveryratio": {
  5486. "description": "P2合约系数(p)",
  5487. "type": "integer"
  5488. },
  5489. "p2goodsid": {
  5490. "description": "P2合约ID",
  5491. "type": "integer"
  5492. },
  5493. "p2pricemode": {
  5494. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5495. "type": "integer"
  5496. },
  5497. "pdeliveryprice": {
  5498. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5499. "type": "number"
  5500. },
  5501. "pdeliveryratio": {
  5502. "description": "P合约系数(n)",
  5503. "type": "integer"
  5504. },
  5505. "pgoodsid": {
  5506. "description": "P合约ID",
  5507. "type": "integer"
  5508. },
  5509. "ppricemode": {
  5510. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5511. "type": "integer"
  5512. },
  5513. "rratio": {
  5514. "description": "兑换系数(R)",
  5515. "type": "integer"
  5516. },
  5517. "rratio1": {
  5518. "description": "兑换系数(交易合约)(R1)",
  5519. "type": "integer"
  5520. },
  5521. "rratio2": {
  5522. "description": "兑换系数(仓单标准)(R2)",
  5523. "type": "integer"
  5524. },
  5525. "selltemplateid": {
  5526. "description": "卖履约计划模板ID",
  5527. "type": "integer"
  5528. },
  5529. "wrstandardid": {
  5530. "description": "仓单标准ID",
  5531. "type": "integer"
  5532. },
  5533. "xdeliveryratio": {
  5534. "description": "交易合约系数(m)",
  5535. "type": "integer"
  5536. }
  5537. }
  5538. },
  5539. "ermcp.QryBusinessDjRsp": {
  5540. "type": "object",
  5541. "properties": {
  5542. "amount": {
  5543. "description": "点价金额=(点价价格+升贴水)*点价数量",
  5544. "type": "number"
  5545. },
  5546. "applyid": {
  5547. "description": "申请人",
  5548. "type": "string"
  5549. },
  5550. "applyname": {
  5551. "description": "申请人名称",
  5552. "type": "string"
  5553. },
  5554. "applystatus": {
  5555. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5556. "type": "integer"
  5557. },
  5558. "applytime": {
  5559. "description": "申请时间",
  5560. "type": "string"
  5561. },
  5562. "auditname": {
  5563. "description": "审核人名称",
  5564. "type": "string"
  5565. },
  5566. "audittime": {
  5567. "description": "审核时间",
  5568. "type": "string"
  5569. },
  5570. "buyusername": {
  5571. "description": "采购方名称",
  5572. "type": "string"
  5573. },
  5574. "contractno": {
  5575. "description": "合同编号",
  5576. "type": "string"
  5577. },
  5578. "contracttype": {
  5579. "description": "现货合同类型 - 1:采购 -1:销售",
  5580. "type": "integer"
  5581. },
  5582. "enumdicname": {
  5583. "description": "单位名称",
  5584. "type": "string"
  5585. },
  5586. "goodscode": {
  5587. "description": "点价合约",
  5588. "type": "string"
  5589. },
  5590. "goodsname": {
  5591. "description": "商品名称",
  5592. "type": "string"
  5593. },
  5594. "operateapplyid": {
  5595. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5596. "type": "string"
  5597. },
  5598. "operateapplytype": {
  5599. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5600. "type": "integer"
  5601. },
  5602. "pricedPrice": {
  5603. "description": "点价价格(非必填)",
  5604. "type": "number"
  5605. },
  5606. "pricedQty": {
  5607. "description": "点价数量(非必填)",
  5608. "type": "number"
  5609. },
  5610. "pricemove": {
  5611. "description": "升贴水",
  5612. "type": "number"
  5613. },
  5614. "pricetype": {
  5615. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5616. "type": "integer"
  5617. },
  5618. "relatedid": {
  5619. "description": "现货合同ID",
  5620. "type": "string"
  5621. },
  5622. "sellusername": {
  5623. "description": "销售方名字",
  5624. "type": "string"
  5625. },
  5626. "userid": {
  5627. "description": "用户ID",
  5628. "type": "integer"
  5629. }
  5630. }
  5631. },
  5632. "ermcp.QryBussinessFpRsp": {
  5633. "type": "object",
  5634. "properties": {
  5635. "applyid": {
  5636. "description": "申请人",
  5637. "type": "string"
  5638. },
  5639. "applyname": {
  5640. "description": "申请人名称",
  5641. "type": "string"
  5642. },
  5643. "applystatus": {
  5644. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5645. "type": "integer"
  5646. },
  5647. "applytime": {
  5648. "description": "申请时间",
  5649. "type": "string"
  5650. },
  5651. "auditname": {
  5652. "description": "审核人名称",
  5653. "type": "string"
  5654. },
  5655. "audittime": {
  5656. "description": "审核时间",
  5657. "type": "string"
  5658. },
  5659. "buyusername": {
  5660. "description": "采购方名称",
  5661. "type": "string"
  5662. },
  5663. "contractno": {
  5664. "description": "合同编号",
  5665. "type": "string"
  5666. },
  5667. "contracttype": {
  5668. "description": "现货合同类型 - 1:采购 -1:销售",
  5669. "type": "integer"
  5670. },
  5671. "enumdicname": {
  5672. "description": "单位名称",
  5673. "type": "string"
  5674. },
  5675. "goodscode": {
  5676. "description": "点价合约",
  5677. "type": "string"
  5678. },
  5679. "goodsname": {
  5680. "description": "商品名称",
  5681. "type": "string"
  5682. },
  5683. "invoiceAmount": {
  5684. "description": "已开收票金额(销售为开票,采购为收票)",
  5685. "type": "number"
  5686. },
  5687. "operateapplyid": {
  5688. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5689. "type": "string"
  5690. },
  5691. "operateapplytype": {
  5692. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5693. "type": "integer"
  5694. },
  5695. "pricemove": {
  5696. "description": "升贴水",
  5697. "type": "number"
  5698. },
  5699. "pricetype": {
  5700. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5701. "type": "integer"
  5702. },
  5703. "relatedid": {
  5704. "description": "现货合同ID",
  5705. "type": "string"
  5706. },
  5707. "sellusername": {
  5708. "description": "销售方名字",
  5709. "type": "string"
  5710. },
  5711. "userid": {
  5712. "description": "用户ID",
  5713. "type": "integer"
  5714. }
  5715. }
  5716. },
  5717. "ermcp.QryBussinessJsRsp": {
  5718. "type": "object",
  5719. "properties": {
  5720. "addmargin": {
  5721. "description": "追加保证金(非必填)",
  5722. "type": "number"
  5723. },
  5724. "applyid": {
  5725. "description": "申请人",
  5726. "type": "string"
  5727. },
  5728. "applyname": {
  5729. "description": "申请人名称",
  5730. "type": "string"
  5731. },
  5732. "applystatus": {
  5733. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5734. "type": "integer"
  5735. },
  5736. "applytime": {
  5737. "description": "申请时间",
  5738. "type": "string"
  5739. },
  5740. "auditname": {
  5741. "description": "审核人名称",
  5742. "type": "string"
  5743. },
  5744. "audittime": {
  5745. "description": "审核时间",
  5746. "type": "string"
  5747. },
  5748. "buyusername": {
  5749. "description": "采购方名称",
  5750. "type": "string"
  5751. },
  5752. "contractno": {
  5753. "description": "合同编号",
  5754. "type": "string"
  5755. },
  5756. "contracttype": {
  5757. "description": "现货合同类型 - 1:采购 -1:销售",
  5758. "type": "integer"
  5759. },
  5760. "decmargin": {
  5761. "description": "减少保证金(非必填)",
  5762. "type": "number"
  5763. },
  5764. "enumdicname": {
  5765. "description": "单位名称",
  5766. "type": "string"
  5767. },
  5768. "goodscode": {
  5769. "description": "点价合约",
  5770. "type": "string"
  5771. },
  5772. "goodsname": {
  5773. "description": "商品名称",
  5774. "type": "string"
  5775. },
  5776. "operateapplyid": {
  5777. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5778. "type": "string"
  5779. },
  5780. "operateapplytype": {
  5781. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5782. "type": "integer"
  5783. },
  5784. "pricemove": {
  5785. "description": "升贴水",
  5786. "type": "number"
  5787. },
  5788. "pricetype": {
  5789. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5790. "type": "integer"
  5791. },
  5792. "reckonadjustamount": {
  5793. "description": "结算调整金额(非必填)",
  5794. "type": "number"
  5795. },
  5796. "reckonosamount": {
  5797. "description": "结算溢短金额(非必填)",
  5798. "type": "number"
  5799. },
  5800. "reckonotheramount": {
  5801. "description": "结算其他费用(非必填)",
  5802. "type": "number"
  5803. },
  5804. "reckonrealqty": {
  5805. "description": "结算实际数量(非必填)",
  5806. "type": "number"
  5807. },
  5808. "relatedid": {
  5809. "description": "现货合同ID",
  5810. "type": "string"
  5811. },
  5812. "sellusername": {
  5813. "description": "销售方名字",
  5814. "type": "string"
  5815. },
  5816. "userid": {
  5817. "description": "用户ID",
  5818. "type": "integer"
  5819. }
  5820. }
  5821. },
  5822. "ermcp.QryBussinessKxRsp": {
  5823. "type": "object",
  5824. "properties": {
  5825. "applyid": {
  5826. "description": "申请人",
  5827. "type": "string"
  5828. },
  5829. "applyname": {
  5830. "description": "申请人名称",
  5831. "type": "string"
  5832. },
  5833. "applystatus": {
  5834. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5835. "type": "integer"
  5836. },
  5837. "applytime": {
  5838. "description": "申请时间",
  5839. "type": "string"
  5840. },
  5841. "auditname": {
  5842. "description": "审核人名称",
  5843. "type": "string"
  5844. },
  5845. "audittime": {
  5846. "description": "审核时间",
  5847. "type": "string"
  5848. },
  5849. "buyusername": {
  5850. "description": "采购方名称",
  5851. "type": "string"
  5852. },
  5853. "contractno": {
  5854. "description": "合同编号",
  5855. "type": "string"
  5856. },
  5857. "contracttype": {
  5858. "description": "现货合同类型 - 1:采购 -1:销售",
  5859. "type": "integer"
  5860. },
  5861. "deductamount": {
  5862. "description": "退款(非必填)",
  5863. "type": "number"
  5864. },
  5865. "enumdicname": {
  5866. "description": "单位名称",
  5867. "type": "string"
  5868. },
  5869. "goodscode": {
  5870. "description": "点价合约",
  5871. "type": "string"
  5872. },
  5873. "goodsname": {
  5874. "description": "商品名称",
  5875. "type": "string"
  5876. },
  5877. "operateapplyid": {
  5878. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5879. "type": "string"
  5880. },
  5881. "operateapplytype": {
  5882. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5883. "type": "integer"
  5884. },
  5885. "payamount": {
  5886. "description": "收付款(非必填)",
  5887. "type": "number"
  5888. },
  5889. "pricemove": {
  5890. "description": "升贴水",
  5891. "type": "number"
  5892. },
  5893. "pricetype": {
  5894. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5895. "type": "integer"
  5896. },
  5897. "relatedid": {
  5898. "description": "现货合同ID",
  5899. "type": "string"
  5900. },
  5901. "sellusername": {
  5902. "description": "销售方名字",
  5903. "type": "string"
  5904. },
  5905. "userid": {
  5906. "description": "用户ID",
  5907. "type": "integer"
  5908. }
  5909. }
  5910. },
  5911. "ermcp.QryErmcpRsp": {
  5912. "$ref": "#/definitions/models.ErmcpModel"
  5913. },
  5914. "ermcp.QryHedgePlanRsp": {
  5915. "$ref": "#/definitions/models.ErmcpHedgePlan"
  5916. },
  5917. "ermcp.QryOPLogRsp": {
  5918. "$ref": "#/definitions/models.ErmcpOPLogModel"
  5919. },
  5920. "ermcp.QrySpotContractRsp": {
  5921. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  5922. },
  5923. "ermcp.QryUserInfoRsp": {
  5924. "$ref": "#/definitions/models.ErmcpUserModel"
  5925. },
  5926. "ermcp.QryWrStandardRsp": {
  5927. "$ref": "#/definitions/models.ErmcpWrstandard"
  5928. },
  5929. "ermcp.RealtimeExposureRsp": {
  5930. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  5931. },
  5932. "erms2.QueryArbitrageStrategyRsp": {
  5933. "type": "object",
  5934. "required": [
  5935. "asapplyid"
  5936. ],
  5937. "properties": {
  5938. "applybasis": {
  5939. "description": "申请基差",
  5940. "type": "number"
  5941. },
  5942. "asapplyid": {
  5943. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  5944. "type": "string"
  5945. },
  5946. "asname": {
  5947. "description": "策略名称",
  5948. "type": "string"
  5949. },
  5950. "asno": {
  5951. "description": "策略编号",
  5952. "type": "string"
  5953. },
  5954. "basischangepl": {
  5955. "description": "基差变动损益[结算更新]",
  5956. "type": "number"
  5957. },
  5958. "biztype": {
  5959. "description": "业务类型 - 1:正向套利 -1:反向套利",
  5960. "type": "integer"
  5961. },
  5962. "closetradedate": {
  5963. "description": "完结交易日(yyyyMMdd)",
  5964. "type": "string"
  5965. },
  5966. "curbasis": {
  5967. "description": "当前基差[结算更新]",
  5968. "type": "number"
  5969. },
  5970. "deliverygoodsid": {
  5971. "description": "现货品种ID",
  5972. "type": "integer"
  5973. },
  5974. "futureavgprice": {
  5975. "description": "期货建仓均价",
  5976. "type": "number"
  5977. },
  5978. "futurecloseamount": {
  5979. "description": "期货平仓金额",
  5980. "type": "number"
  5981. },
  5982. "futurecloseqty": {
  5983. "description": "期货平仓数量",
  5984. "type": "number"
  5985. },
  5986. "futureopenamount": {
  5987. "description": "期货开仓金额",
  5988. "type": "number"
  5989. },
  5990. "futureopenqty": {
  5991. "description": "期货开仓数量",
  5992. "type": "number"
  5993. },
  5994. "futurepl": {
  5995. "description": "期货总盈亏[结算更新]",
  5996. "type": "number"
  5997. },
  5998. "futureqty": {
  5999. "description": "期货持仓数量",
  6000. "type": "number"
  6001. },
  6002. "futurequote": {
  6003. "description": "期货额度",
  6004. "type": "number"
  6005. },
  6006. "goodsgroupid": {
  6007. "description": "期货品种ID",
  6008. "type": "integer"
  6009. },
  6010. "marketid": {
  6011. "description": "市场ID",
  6012. "type": "integer"
  6013. },
  6014. "netexposure": {
  6015. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6016. "type": "number"
  6017. },
  6018. "netexposurepl": {
  6019. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6020. "type": "number"
  6021. },
  6022. "netexposurerate": {
  6023. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6024. "type": "number"
  6025. },
  6026. "openbasis": {
  6027. "description": "建仓基差",
  6028. "type": "number"
  6029. },
  6030. "pricedspotqty": {
  6031. "description": "已定价现货数量",
  6032. "type": "number"
  6033. },
  6034. "pricedspotqtynotax": {
  6035. "description": "已定价现货不含税数量",
  6036. "type": "number"
  6037. },
  6038. "remark": {
  6039. "description": "备注",
  6040. "type": "string"
  6041. },
  6042. "spotavgprice": {
  6043. "description": "现货均价",
  6044. "type": "number"
  6045. },
  6046. "spotbuyamount": {
  6047. "description": "现货采购金额",
  6048. "type": "number"
  6049. },
  6050. "spotbuyqty": {
  6051. "description": "现货采购数量",
  6052. "type": "number"
  6053. },
  6054. "spotpl": {
  6055. "description": "现货总盈亏[结算更新]",
  6056. "type": "number"
  6057. },
  6058. "spotquota": {
  6059. "description": "现货额度",
  6060. "type": "number"
  6061. },
  6062. "spotsellamount": {
  6063. "description": "现货销售金额",
  6064. "type": "number"
  6065. },
  6066. "spotsellqty": {
  6067. "description": "现货销售数量",
  6068. "type": "number"
  6069. },
  6070. "spotusedquota": {
  6071. "description": "现货占用资金",
  6072. "type": "number"
  6073. },
  6074. "strategystatus": {
  6075. "description": "策略状态 - 0:未结束 1:已结束",
  6076. "type": "integer"
  6077. },
  6078. "totalpl": {
  6079. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6080. "type": "number"
  6081. },
  6082. "tradedate": {
  6083. "description": "交易日(yyyyMMdd)",
  6084. "type": "string"
  6085. },
  6086. "updatetime": {
  6087. "description": "更新时间",
  6088. "type": "string"
  6089. },
  6090. "usedquota": {
  6091. "description": "已占用资金",
  6092. "type": "number"
  6093. },
  6094. "userid": {
  6095. "description": "所属机构",
  6096. "type": "integer"
  6097. }
  6098. }
  6099. },
  6100. "erms2.QueryInnerTradeDetailRsp": {
  6101. "type": "object",
  6102. "required": [
  6103. "asapplyid",
  6104. "buyorsell",
  6105. "goodscode",
  6106. "goodsgroupid",
  6107. "goodsgroupname",
  6108. "goodsname",
  6109. "tradeid"
  6110. ],
  6111. "properties": {
  6112. "accountid": {
  6113. "description": "账号ID",
  6114. "type": "integer"
  6115. },
  6116. "agreeunit": {
  6117. "description": "合约单位",
  6118. "type": "number"
  6119. },
  6120. "asapplyid": {
  6121. "description": "策略申请ID",
  6122. "type": "integer"
  6123. },
  6124. "asname": {
  6125. "description": "策略名称",
  6126. "type": "string"
  6127. },
  6128. "asno": {
  6129. "description": "策略编号",
  6130. "type": "string"
  6131. },
  6132. "buyorsell": {
  6133. "description": "方向 - 0:买 1:卖",
  6134. "type": "integer"
  6135. },
  6136. "channelbuildtype": {
  6137. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  6138. "type": "integer"
  6139. },
  6140. "closetype": {
  6141. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  6142. "type": "integer"
  6143. },
  6144. "decimalplace": {
  6145. "description": "报价小数位",
  6146. "type": "integer"
  6147. },
  6148. "detailtype": {
  6149. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  6150. "type": "integer"
  6151. },
  6152. "exexchangecode": {
  6153. "description": "外部交易所代码",
  6154. "type": "string"
  6155. },
  6156. "exexchangename": {
  6157. "description": "外部交易所名称",
  6158. "type": "string"
  6159. },
  6160. "goodscode": {
  6161. "description": "商品代码(合约)",
  6162. "type": "string"
  6163. },
  6164. "goodsgroupid": {
  6165. "description": "商品组ID(品种ID)",
  6166. "type": "integer"
  6167. },
  6168. "goodsgroupname": {
  6169. "description": "商品组名称(品种)",
  6170. "type": "string"
  6171. },
  6172. "goodsid": {
  6173. "description": "商品ID",
  6174. "type": "integer"
  6175. },
  6176. "goodsname": {
  6177. "description": "商品名称(合约)",
  6178. "type": "string"
  6179. },
  6180. "goodunit": {
  6181. "description": "报价单位",
  6182. "type": "string"
  6183. },
  6184. "marketid": {
  6185. "description": "市场ID",
  6186. "type": "integer"
  6187. },
  6188. "orderid": {
  6189. "description": "委托单号",
  6190. "type": "string"
  6191. },
  6192. "outgoodscode": {
  6193. "description": "商品代码(外部)",
  6194. "type": "string"
  6195. },
  6196. "relatedouttradeid": {
  6197. "description": "关联外部成交单ID",
  6198. "type": "string"
  6199. },
  6200. "remark": {
  6201. "description": "备注",
  6202. "type": "string"
  6203. },
  6204. "spotcontractid": {
  6205. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  6206. "type": "integer"
  6207. },
  6208. "spotcontractno": {
  6209. "description": "现货合同编号",
  6210. "type": "string"
  6211. },
  6212. "tradeid": {
  6213. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6214. "type": "string"
  6215. },
  6216. "tradeprice": {
  6217. "description": "成交价格",
  6218. "type": "number"
  6219. },
  6220. "tradeqty": {
  6221. "description": "成交数量",
  6222. "type": "integer"
  6223. },
  6224. "tradetime": {
  6225. "description": "成交时间",
  6226. "type": "string"
  6227. },
  6228. "updatetime": {
  6229. "description": "更新时间",
  6230. "type": "string"
  6231. }
  6232. }
  6233. },
  6234. "erms2.QuerySpotContractRsp": {
  6235. "type": "object",
  6236. "required": [
  6237. "spotcontractid"
  6238. ],
  6239. "properties": {
  6240. "accountid": {
  6241. "description": "资金账户ID",
  6242. "type": "integer"
  6243. },
  6244. "areauserid": {
  6245. "description": "所属机构",
  6246. "type": "integer"
  6247. },
  6248. "closedate": {
  6249. "description": "终止日期",
  6250. "type": "string"
  6251. },
  6252. "closeremark": {
  6253. "description": "结束备注",
  6254. "type": "string"
  6255. },
  6256. "closetradedate": {
  6257. "description": "完结交易日(yyyyMMdd)",
  6258. "type": "string"
  6259. },
  6260. "closetype": {
  6261. "description": "终止类型 - 1:违约 2:提前终止",
  6262. "type": "integer"
  6263. },
  6264. "contractamount": {
  6265. "description": "合同金额",
  6266. "type": "number"
  6267. },
  6268. "contractattachment": {
  6269. "description": "合同附件",
  6270. "type": "string"
  6271. },
  6272. "contractno": {
  6273. "description": "现货合同编号",
  6274. "type": "string"
  6275. },
  6276. "contractqty": {
  6277. "description": "合同数量(数值) (用于计算)",
  6278. "type": "number"
  6279. },
  6280. "contractqtychar": {
  6281. "description": "合同数量\\已订价数量 (用于显示)",
  6282. "type": "string"
  6283. },
  6284. "contractstatus": {
  6285. "description": "合同状态 - 0:未结束 1:已结束",
  6286. "type": "integer"
  6287. },
  6288. "contracttype": {
  6289. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  6290. "type": "integer"
  6291. },
  6292. "customeraccountid": {
  6293. "description": "客户资金账户ID",
  6294. "type": "integer"
  6295. },
  6296. "customeruserid": {
  6297. "description": "客户ID",
  6298. "type": "integer"
  6299. },
  6300. "deliverygoodsdesc": {
  6301. "description": "品种说明",
  6302. "type": "string"
  6303. },
  6304. "deliverygoodsid": {
  6305. "description": "现货品种ID",
  6306. "type": "integer"
  6307. },
  6308. "handlestatus": {
  6309. "description": "处理状态",
  6310. "type": "integer"
  6311. },
  6312. "invoiceatt": {
  6313. "description": "发票附件",
  6314. "type": "string"
  6315. },
  6316. "invoicedatetime": {
  6317. "description": "开收票更新时间",
  6318. "type": "string"
  6319. },
  6320. "invoiceopentime": {
  6321. "description": "开票时间",
  6322. "type": "string"
  6323. },
  6324. "invoiceremark": {
  6325. "description": "发票备注",
  6326. "type": "string"
  6327. },
  6328. "invoicestatus": {
  6329. "description": "开收票状态 - 0:未开票 1:已开票",
  6330. "type": "integer"
  6331. },
  6332. "lastdate": {
  6333. "description": "交货时间",
  6334. "type": "string"
  6335. },
  6336. "marketid": {
  6337. "description": "市场ID",
  6338. "type": "integer"
  6339. },
  6340. "paydatetime": {
  6341. "description": "收付款更新时间",
  6342. "type": "string"
  6343. },
  6344. "payremark": {
  6345. "description": "收付款备注",
  6346. "type": "string"
  6347. },
  6348. "paystatus": {
  6349. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  6350. "type": "integer"
  6351. },
  6352. "positionqty": {
  6353. "description": "头寸数量 - 合同数量去小数部分",
  6354. "type": "integer"
  6355. },
  6356. "producttype": {
  6357. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6358. "type": "integer"
  6359. },
  6360. "relatedqty": {
  6361. "description": "已关联数量",
  6362. "type": "number"
  6363. },
  6364. "relatedstatus": {
  6365. "description": "关联完结状态 - 0:未结束 1:已结束",
  6366. "type": "integer"
  6367. },
  6368. "remark": {
  6369. "description": "备注",
  6370. "type": "string"
  6371. },
  6372. "signdate": {
  6373. "description": "签订日期",
  6374. "type": "string"
  6375. },
  6376. "spotcontractid": {
  6377. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  6378. "type": "string"
  6379. },
  6380. "spotdatetime": {
  6381. "description": "收发货更新时间",
  6382. "type": "string"
  6383. },
  6384. "spotprice": {
  6385. "description": "价格",
  6386. "type": "number"
  6387. },
  6388. "spotremark": {
  6389. "description": "收发货备注",
  6390. "type": "string"
  6391. },
  6392. "spotstatus": {
  6393. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  6394. "type": "integer"
  6395. },
  6396. "tradedate": {
  6397. "description": "交易日(yyyyMMdd)",
  6398. "type": "string"
  6399. },
  6400. "userid": {
  6401. "description": "业务员用户ID",
  6402. "type": "integer"
  6403. },
  6404. "warehouseid": {
  6405. "description": "仓库ID",
  6406. "type": "integer"
  6407. },
  6408. "wrfactortypeid": {
  6409. "description": "仓单要素类型ID",
  6410. "type": "integer"
  6411. },
  6412. "wrstandardid": {
  6413. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6414. "type": "integer"
  6415. }
  6416. }
  6417. },
  6418. "erms3.AddErms2ASApplyReq": {
  6419. "type": "object",
  6420. "required": [
  6421. "asapplyid"
  6422. ],
  6423. "properties": {
  6424. "applybasis": {
  6425. "description": "申请基差",
  6426. "type": "number"
  6427. },
  6428. "applystatus": {
  6429. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6430. "type": "integer"
  6431. },
  6432. "asapplyid": {
  6433. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  6434. "type": "integer"
  6435. },
  6436. "asname": {
  6437. "description": "策略名称",
  6438. "type": "string"
  6439. },
  6440. "asno": {
  6441. "description": "策略编号",
  6442. "type": "string"
  6443. },
  6444. "auditid": {
  6445. "description": "审核人",
  6446. "type": "integer"
  6447. },
  6448. "auditremark": {
  6449. "description": "审核备注",
  6450. "type": "string"
  6451. },
  6452. "audittime": {
  6453. "description": "审核时间",
  6454. "type": "string"
  6455. },
  6456. "biztype": {
  6457. "description": "业务类型 - 1:正向套利 2:反向套利",
  6458. "type": "integer"
  6459. },
  6460. "createtime": {
  6461. "description": "创建时间",
  6462. "type": "string"
  6463. },
  6464. "creatorid": {
  6465. "description": "创建人",
  6466. "type": "integer"
  6467. },
  6468. "deliverygoodsid": {
  6469. "description": "现货品种ID",
  6470. "type": "integer"
  6471. },
  6472. "futurequote": {
  6473. "description": "期货额度",
  6474. "type": "number"
  6475. },
  6476. "goodsgroupid": {
  6477. "description": "期货品种ID",
  6478. "type": "integer"
  6479. },
  6480. "marketid": {
  6481. "description": "市场ID",
  6482. "type": "integer"
  6483. },
  6484. "remark": {
  6485. "description": "备注",
  6486. "type": "string"
  6487. },
  6488. "spotquota": {
  6489. "description": "现货额度",
  6490. "type": "number"
  6491. },
  6492. "tradedate": {
  6493. "description": "交易日(yyyyMMdd)",
  6494. "type": "string"
  6495. },
  6496. "userid": {
  6497. "description": "所属机构",
  6498. "type": "integer"
  6499. }
  6500. }
  6501. },
  6502. "erms3.AddErms2SpotTradeApplyReq": {
  6503. "type": "object",
  6504. "required": [
  6505. "spottradeid"
  6506. ],
  6507. "properties": {
  6508. "applyjsondetail": {
  6509. "description": "申请明细(JSON)",
  6510. "type": "string"
  6511. },
  6512. "applystatus": {
  6513. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6514. "type": "integer"
  6515. },
  6516. "areauserid": {
  6517. "description": "所属机构",
  6518. "type": "integer"
  6519. },
  6520. "auditid": {
  6521. "description": "审核人",
  6522. "type": "integer"
  6523. },
  6524. "auditremark": {
  6525. "description": "审核备注",
  6526. "type": "string"
  6527. },
  6528. "audittime": {
  6529. "description": "审核时间",
  6530. "type": "string"
  6531. },
  6532. "createtime": {
  6533. "description": "创建时间",
  6534. "type": "string"
  6535. },
  6536. "creatorid": {
  6537. "description": "创建人",
  6538. "type": "integer"
  6539. },
  6540. "deliverygoodsid": {
  6541. "description": "现货品种ID",
  6542. "type": "integer"
  6543. },
  6544. "futureaccountid": {
  6545. "description": "期货资金账户",
  6546. "type": "integer"
  6547. },
  6548. "goodsgroupid": {
  6549. "description": "期货品种",
  6550. "type": "integer"
  6551. },
  6552. "marketid": {
  6553. "description": "市场ID",
  6554. "type": "integer"
  6555. },
  6556. "remark": {
  6557. "description": "备注",
  6558. "type": "string"
  6559. },
  6560. "spotaccountid": {
  6561. "description": "现货资金账户",
  6562. "type": "integer"
  6563. },
  6564. "spottradeid": {
  6565. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  6566. "type": "integer"
  6567. },
  6568. "spottradename": {
  6569. "description": "业务名称",
  6570. "type": "string"
  6571. },
  6572. "spottradeno": {
  6573. "description": "业务编号",
  6574. "type": "string"
  6575. },
  6576. "tradedate": {
  6577. "description": "交易日(yyyyMMdd)",
  6578. "type": "string"
  6579. },
  6580. "wrstandardid": {
  6581. "description": "仓单标准ID",
  6582. "type": "integer"
  6583. }
  6584. }
  6585. },
  6586. "erms3.AddSpotContractApplyReq": {
  6587. "type": "object",
  6588. "required": [
  6589. "accountid",
  6590. "areauserid",
  6591. "contractno",
  6592. "contracttype",
  6593. "customeraccountid",
  6594. "customeruserid",
  6595. "details",
  6596. "orimargin",
  6597. "signdate"
  6598. ],
  6599. "properties": {
  6600. "accountid": {
  6601. "description": "资金账户ID",
  6602. "type": "integer"
  6603. },
  6604. "areauserid": {
  6605. "description": "所属机构",
  6606. "type": "integer"
  6607. },
  6608. "contractattachment": {
  6609. "description": "合同附件",
  6610. "type": "string"
  6611. },
  6612. "contractno": {
  6613. "description": "现货合同编号",
  6614. "type": "string"
  6615. },
  6616. "contracttype": {
  6617. "description": "现货合同类型 - 1:采购 -1:销售",
  6618. "type": "integer"
  6619. },
  6620. "creatorid": {
  6621. "description": "申请人",
  6622. "type": "integer"
  6623. },
  6624. "customeraccountid": {
  6625. "description": "客户资金账户ID",
  6626. "type": "integer"
  6627. },
  6628. "customeruserid": {
  6629. "description": "客户ID",
  6630. "type": "integer"
  6631. },
  6632. "details": {
  6633. "description": "明细",
  6634. "type": "array",
  6635. "items": {
  6636. "$ref": "#/definitions/erms3.SoptContractDetail"
  6637. }
  6638. },
  6639. "orimargin": {
  6640. "description": "初始保证金",
  6641. "type": "number"
  6642. },
  6643. "remark": {
  6644. "description": "备注",
  6645. "type": "string"
  6646. },
  6647. "signdate": {
  6648. "description": "签订日期",
  6649. "type": "string"
  6650. }
  6651. }
  6652. },
  6653. "erms3.AddSpotContractApplyRsp": {
  6654. "type": "object",
  6655. "required": [
  6656. "contractno"
  6657. ],
  6658. "properties": {
  6659. "contractno": {
  6660. "description": "现货合同编号",
  6661. "type": "string"
  6662. },
  6663. "spotcontractid": {
  6664. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  6665. "type": "integer"
  6666. }
  6667. }
  6668. },
  6669. "erms3.AddUserInfoApplyReq": {
  6670. "type": "object",
  6671. "required": [
  6672. "userid"
  6673. ],
  6674. "properties": {
  6675. "accountid": {
  6676. "description": "交易系统帐号Id (加密存储)",
  6677. "type": "integer"
  6678. },
  6679. "areacode": {
  6680. "description": "机构代码",
  6681. "type": "string"
  6682. },
  6683. "areaid": {
  6684. "description": "机构Id",
  6685. "type": "integer"
  6686. },
  6687. "attachment1": {
  6688. "description": "附件1",
  6689. "type": "string"
  6690. },
  6691. "attachment2": {
  6692. "description": "附件2",
  6693. "type": "string"
  6694. },
  6695. "attachment3": {
  6696. "description": "附件3",
  6697. "type": "string"
  6698. },
  6699. "attachment4": {
  6700. "description": "附件4",
  6701. "type": "string"
  6702. },
  6703. "attachment5": {
  6704. "description": "附件5",
  6705. "type": "string"
  6706. },
  6707. "auditedby": {
  6708. "description": "审核人",
  6709. "type": "string"
  6710. },
  6711. "auditime": {
  6712. "description": "审核时间",
  6713. "type": "string"
  6714. },
  6715. "bankaccount": {
  6716. "description": "银行帐号 (加密存储)",
  6717. "type": "string"
  6718. },
  6719. "bankaccountname": {
  6720. "description": "收款人名称",
  6721. "type": "string"
  6722. },
  6723. "bankcardbackphotourl": {
  6724. "description": "银行卡背面照地址",
  6725. "type": "string"
  6726. },
  6727. "bankcardfrontphotourl": {
  6728. "description": "银行卡正面照地址",
  6729. "type": "string"
  6730. },
  6731. "bankid": {
  6732. "description": "银行编码",
  6733. "type": "string"
  6734. },
  6735. "bankname": {
  6736. "description": "银行名称",
  6737. "type": "string"
  6738. },
  6739. "bankpictureurl": {
  6740. "description": "银行卡正面地址",
  6741. "type": "string"
  6742. },
  6743. "biznature": {
  6744. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6745. "type": "integer"
  6746. },
  6747. "bizscope": {
  6748. "description": "企业经营范围(企业)",
  6749. "type": "string"
  6750. },
  6751. "biztype": {
  6752. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  6753. "type": "integer"
  6754. },
  6755. "brokerid": {
  6756. "description": "经纪人ID(加密存储)",
  6757. "type": "string"
  6758. },
  6759. "cardaddress": {
  6760. "description": "证件地址 (加密存储)",
  6761. "type": "string"
  6762. },
  6763. "cardbackphotourl": {
  6764. "description": "背面证件照地址",
  6765. "type": "string"
  6766. },
  6767. "cardfrontphotourl": {
  6768. "description": "正面证件照地址",
  6769. "type": "string"
  6770. },
  6771. "cardnum": {
  6772. "description": "证件号码 (加密存储)",
  6773. "type": "string"
  6774. },
  6775. "cardtype": {
  6776. "description": "证件类型",
  6777. "type": "integer"
  6778. },
  6779. "cityid": {
  6780. "description": "市",
  6781. "type": "integer"
  6782. },
  6783. "company": {
  6784. "description": "公司(个人)",
  6785. "type": "string"
  6786. },
  6787. "contactcardbackphotourl": {
  6788. "description": "联系人证件背面图片地址",
  6789. "type": "string"
  6790. },
  6791. "contactcardfrontphotourl": {
  6792. "description": "联系人证件正面图片地址",
  6793. "type": "string"
  6794. },
  6795. "contactname": {
  6796. "description": "联系人",
  6797. "type": "string"
  6798. },
  6799. "countryid": {
  6800. "description": "国家",
  6801. "type": "integer"
  6802. },
  6803. "createtime": {
  6804. "description": "开户申请时间",
  6805. "type": "string"
  6806. },
  6807. "cusbankid": {
  6808. "description": "签约类型",
  6809. "type": "string"
  6810. },
  6811. "cusbankname": {
  6812. "description": "签约类型名称",
  6813. "type": "string"
  6814. },
  6815. "customername": {
  6816. "description": "客户名称(企业名称)",
  6817. "type": "string"
  6818. },
  6819. "districtid": {
  6820. "description": "地区",
  6821. "type": "integer"
  6822. },
  6823. "email": {
  6824. "description": "Email地址(加密存储)",
  6825. "type": "string"
  6826. },
  6827. "halfbodyphotourl": {
  6828. "description": "半身照地址",
  6829. "type": "string"
  6830. },
  6831. "headurl": {
  6832. "description": "头像地址",
  6833. "type": "string"
  6834. },
  6835. "ipaddress": {
  6836. "description": "IP地址",
  6837. "type": "string"
  6838. },
  6839. "isvalidate": {
  6840. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  6841. "type": "string"
  6842. },
  6843. "legalcardbackphotourl": {
  6844. "description": "法人身份证背面照地址",
  6845. "type": "string"
  6846. },
  6847. "legalcardfrontphotourl": {
  6848. "description": "法人身份证正面照地址",
  6849. "type": "string"
  6850. },
  6851. "legalpersonname": {
  6852. "description": "法人姓名(企业)",
  6853. "type": "string"
  6854. },
  6855. "logincode": {
  6856. "description": "登录帐号 (加密存储)",
  6857. "type": "string"
  6858. },
  6859. "memberareaid": {
  6860. "description": "所属会员ID",
  6861. "type": "integer"
  6862. },
  6863. "mobile2": {
  6864. "description": "手机号码[明文-尚志]",
  6865. "type": "string"
  6866. },
  6867. "mobilephone": {
  6868. "description": "手机号码 (加密存储)",
  6869. "type": "string"
  6870. },
  6871. "modifiedby": {
  6872. "description": "修改人帐号",
  6873. "type": "integer"
  6874. },
  6875. "modifiedtime": {
  6876. "description": "修改时间",
  6877. "type": "string"
  6878. },
  6879. "nickname": {
  6880. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  6881. "type": "string"
  6882. },
  6883. "openmode": {
  6884. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  6885. "type": "integer"
  6886. },
  6887. "otherurl": {
  6888. "description": "其它图片地址[使用分号分隔]",
  6889. "type": "string"
  6890. },
  6891. "postalcode": {
  6892. "description": "邮政编码",
  6893. "type": "string"
  6894. },
  6895. "provinceid": {
  6896. "description": "省",
  6897. "type": "integer"
  6898. },
  6899. "proxystatementurl": {
  6900. "description": "授权委托书",
  6901. "type": "string"
  6902. },
  6903. "qq": {
  6904. "description": "QQ(加密存储",
  6905. "type": "string"
  6906. },
  6907. "referral": {
  6908. "description": "推荐人编码",
  6909. "type": "string"
  6910. },
  6911. "remark": {
  6912. "description": "备注",
  6913. "type": "string"
  6914. },
  6915. "removebeforestatus": {
  6916. "description": "REMOVEBEFORESTATUS",
  6917. "type": "integer"
  6918. },
  6919. "sex": {
  6920. "description": "性别 - 0:女 1:男",
  6921. "type": "integer"
  6922. },
  6923. "signedstatus": {
  6924. "description": "账户一号签签约状态",
  6925. "type": "integer"
  6926. },
  6927. "signpdfurl": {
  6928. "description": "签约pdf文件",
  6929. "type": "string"
  6930. },
  6931. "subbranch": {
  6932. "description": "开户支行",
  6933. "type": "string"
  6934. },
  6935. "telphone": {
  6936. "description": "联系电话(加密存储)",
  6937. "type": "string"
  6938. },
  6939. "userid": {
  6940. "description": "用户ID(自增ID)",
  6941. "type": "integer"
  6942. },
  6943. "userinfotype": {
  6944. "description": "用户信息类型 - 1:个人 2:企业",
  6945. "type": "integer"
  6946. },
  6947. "username": {
  6948. "description": "用户姓名",
  6949. "type": "string"
  6950. },
  6951. "userstate": {
  6952. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6953. "type": "integer"
  6954. },
  6955. "usertype": {
  6956. "description": "用户类型 - 1:投资者 2:机构",
  6957. "type": "integer"
  6958. },
  6959. "videourl": {
  6960. "description": "视频地址",
  6961. "type": "string"
  6962. },
  6963. "wechat": {
  6964. "description": "微信号 (加密存储)",
  6965. "type": "string"
  6966. }
  6967. }
  6968. },
  6969. "erms3.CustomerInfo": {
  6970. "type": "object",
  6971. "required": [
  6972. "userid"
  6973. ],
  6974. "properties": {
  6975. "accountids": {
  6976. "description": "资金账户ID列表",
  6977. "type": "array",
  6978. "items": {
  6979. "type": "integer"
  6980. }
  6981. },
  6982. "customername": {
  6983. "description": "名称(企业名称)",
  6984. "type": "string"
  6985. },
  6986. "mobile": {
  6987. "description": "手机号码",
  6988. "type": "string"
  6989. },
  6990. "userid": {
  6991. "description": "用户ID",
  6992. "type": "integer"
  6993. }
  6994. }
  6995. },
  6996. "erms3.QryAuditContractRsp": {
  6997. "type": "object",
  6998. "required": [
  6999. "matchcustomername",
  7000. "spotcontractid"
  7001. ],
  7002. "properties": {
  7003. "accountid": {
  7004. "description": "交易员ID",
  7005. "type": "string"
  7006. },
  7007. "applystatus": {
  7008. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7009. "type": "integer"
  7010. },
  7011. "curdeliveryqty": {
  7012. "description": "未交收量",
  7013. "type": "integer"
  7014. },
  7015. "customername": {
  7016. "description": "采购方ID",
  7017. "type": "string"
  7018. },
  7019. "deliverygoodsid": {
  7020. "description": "品种ID",
  7021. "type": "string"
  7022. },
  7023. "deliveryqty": {
  7024. "description": "交收量",
  7025. "type": "integer"
  7026. },
  7027. "enumdicname": {
  7028. "description": "单位名称",
  7029. "type": "string"
  7030. },
  7031. "matchaccountid": {
  7032. "description": "业务员ID",
  7033. "type": "string"
  7034. },
  7035. "matchcustomername": {
  7036. "description": "销售方ID",
  7037. "type": "string"
  7038. },
  7039. "pricedqty": {
  7040. "description": "定价量",
  7041. "type": "number"
  7042. },
  7043. "signdate": {
  7044. "description": "签订日期",
  7045. "type": "string"
  7046. },
  7047. "spotcontractid": {
  7048. "description": "合同ID",
  7049. "type": "string"
  7050. },
  7051. "totaldqty": {
  7052. "description": "合同量",
  7053. "type": "number"
  7054. },
  7055. "unpricedqty": {
  7056. "description": "未定价量",
  7057. "type": "number"
  7058. },
  7059. "wrstandardname": {
  7060. "description": "商品名称",
  7061. "type": "string"
  7062. }
  7063. }
  7064. },
  7065. "erms3.QryPendingBizRsp": {
  7066. "$ref": "#/definitions/models.PendingAuditBizModel"
  7067. },
  7068. "erms3.QueryBusinessInfoRsp": {
  7069. "type": "object",
  7070. "properties": {
  7071. "businessid": {
  7072. "description": "业务ID.",
  7073. "type": "integer"
  7074. },
  7075. "buyamount": {
  7076. "description": "采购额.",
  7077. "type": "number"
  7078. },
  7079. "buyqty": {
  7080. "description": "采购量.",
  7081. "type": "string"
  7082. },
  7083. "futurepl": {
  7084. "description": "期货盈亏.",
  7085. "type": "number"
  7086. },
  7087. "futureqty": {
  7088. "description": "期货敞口.",
  7089. "type": "string"
  7090. },
  7091. "goodsid": {
  7092. "description": "商品名称/商品代码.",
  7093. "type": "string"
  7094. },
  7095. "hedgingqty": {
  7096. "description": "套保量.",
  7097. "type": "string"
  7098. },
  7099. "sellamount": {
  7100. "description": "销售额.",
  7101. "type": "number"
  7102. },
  7103. "sellqty": {
  7104. "description": "销售量.",
  7105. "type": "string"
  7106. },
  7107. "spotmarketvalue": {
  7108. "description": "现货市值.",
  7109. "type": "number"
  7110. },
  7111. "spotpl": {
  7112. "description": "浮动权益.",
  7113. "type": "number"
  7114. },
  7115. "spotqty": {
  7116. "description": "现货量.",
  7117. "type": "string"
  7118. },
  7119. "statu": {
  7120. "description": "状态,0-未结束 1-已结束.",
  7121. "type": "integer"
  7122. },
  7123. "totalpl": {
  7124. "description": "总盈亏.",
  7125. "type": "number"
  7126. },
  7127. "totalqty": {
  7128. "description": "总敞口.",
  7129. "type": "string"
  7130. },
  7131. "type": {
  7132. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  7133. "type": "integer"
  7134. }
  7135. }
  7136. },
  7137. "erms3.QuerySpotContractAppleFormRsp": {
  7138. "type": "object",
  7139. "properties": {
  7140. "goodses": {
  7141. "description": "合约列表",
  7142. "type": "array",
  7143. "items": {
  7144. "$ref": "#/definitions/models.GoodsIDAndName"
  7145. }
  7146. },
  7147. "oppositeusers": {
  7148. "description": "对方账号列表",
  7149. "type": "array",
  7150. "items": {
  7151. "$ref": "#/definitions/erms3.CustomerInfo"
  7152. }
  7153. },
  7154. "ouruser": {
  7155. "description": "我方账号",
  7156. "type": "object",
  7157. "$ref": "#/definitions/erms3.CustomerInfo"
  7158. },
  7159. "warehouseinfos": {
  7160. "description": "仓库信息列表",
  7161. "type": "array",
  7162. "items": {
  7163. "$ref": "#/definitions/models.Warehouseinfo"
  7164. }
  7165. },
  7166. "wrstandards": {
  7167. "description": "仓单标准列表",
  7168. "type": "array",
  7169. "items": {
  7170. "$ref": "#/definitions/models.WRStandardInfo"
  7171. }
  7172. }
  7173. }
  7174. },
  7175. "erms3.QuerySpotContractInfoRsp": {
  7176. "type": "object",
  7177. "properties": {
  7178. "accountid": {
  7179. "description": "表示交易员ID.",
  7180. "type": "integer"
  7181. },
  7182. "curdeliveryqty": {
  7183. "description": "表示未交收量.",
  7184. "type": "number"
  7185. },
  7186. "customername": {
  7187. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  7188. "type": "string"
  7189. },
  7190. "deliverygoodsid": {
  7191. "description": "表示品种ID.",
  7192. "type": "string"
  7193. },
  7194. "deliveryqty": {
  7195. "description": "表示交收量.",
  7196. "type": "number"
  7197. },
  7198. "matchaccountid": {
  7199. "description": "表示业务员ID.",
  7200. "type": "integer"
  7201. },
  7202. "matchcustomername": {
  7203. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  7204. "type": "string"
  7205. },
  7206. "priceqty": {
  7207. "description": "表示定价量.",
  7208. "type": "number"
  7209. },
  7210. "relatedbizid": {
  7211. "description": "表示业务ID.",
  7212. "type": "string"
  7213. },
  7214. "signdate": {
  7215. "description": "表示签订日期.",
  7216. "type": "string"
  7217. },
  7218. "spotcontractid": {
  7219. "description": "合同ID",
  7220. "type": "string"
  7221. },
  7222. "status": {
  7223. "description": "表示状态,0-履约中 1-已完成.",
  7224. "type": "integer"
  7225. },
  7226. "totalqty": {
  7227. "description": "表示合同量.",
  7228. "type": "number"
  7229. },
  7230. "unpricedqty": {
  7231. "description": "表示未定价量.",
  7232. "type": "number"
  7233. },
  7234. "wrstandardname": {
  7235. "description": "表示商品ID.",
  7236. "type": "string"
  7237. }
  7238. }
  7239. },
  7240. "erms3.QueryUserInfoAppliesRsp": {
  7241. "type": "object",
  7242. "required": [
  7243. "userid"
  7244. ],
  7245. "properties": {
  7246. "biznature": {
  7247. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7248. "type": "integer"
  7249. },
  7250. "contactname": {
  7251. "description": "联系人",
  7252. "type": "string"
  7253. },
  7254. "createtime": {
  7255. "description": "开户申请时间",
  7256. "type": "string"
  7257. },
  7258. "userid": {
  7259. "description": "用户ID(自增ID)",
  7260. "type": "integer"
  7261. },
  7262. "userinfotype": {
  7263. "description": "用户信息类型 - 1:个人 2:企业",
  7264. "type": "integer"
  7265. },
  7266. "username": {
  7267. "description": "用户姓名",
  7268. "type": "string"
  7269. },
  7270. "userstate": {
  7271. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7272. "type": "integer"
  7273. }
  7274. }
  7275. },
  7276. "erms3.QueryUserInfosRsp": {
  7277. "type": "object",
  7278. "required": [
  7279. "userid"
  7280. ],
  7281. "properties": {
  7282. "biznature": {
  7283. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7284. "type": "integer"
  7285. },
  7286. "contactname": {
  7287. "description": "联系人",
  7288. "type": "string"
  7289. },
  7290. "customername": {
  7291. "description": "客户名称(企业名称)",
  7292. "type": "string"
  7293. },
  7294. "userid": {
  7295. "description": "用户ID",
  7296. "type": "integer"
  7297. },
  7298. "userinfotype": {
  7299. "description": "用户信息类型 - 1:个人 2:企业",
  7300. "type": "integer"
  7301. },
  7302. "userstatus": {
  7303. "description": "用户状态 - 1:正常 2:注销",
  7304. "type": "integer"
  7305. }
  7306. }
  7307. },
  7308. "erms3.SoptContractDetail": {
  7309. "type": "object",
  7310. "required": [
  7311. "deliverygoodsid",
  7312. "producttype",
  7313. "unitname",
  7314. "warehouseid",
  7315. "wrstandardid",
  7316. "wrstandardname"
  7317. ],
  7318. "properties": {
  7319. "deliverygoodsdesc": {
  7320. "description": "现货品种说明",
  7321. "type": "string"
  7322. },
  7323. "deliverygoodsid": {
  7324. "description": "现货品种ID",
  7325. "type": "integer"
  7326. },
  7327. "deliverygoodsname": {
  7328. "description": "现货品种名称",
  7329. "type": "string"
  7330. },
  7331. "pointdesc": {
  7332. "description": "点价描述",
  7333. "type": "string"
  7334. },
  7335. "producttype": {
  7336. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  7337. "type": "integer"
  7338. },
  7339. "producttypename": {
  7340. "description": "产品类型名称",
  7341. "type": "string"
  7342. },
  7343. "spotPointOrderVoList": {
  7344. "description": "点价列表",
  7345. "type": "array",
  7346. "items": {
  7347. "$ref": "#/definitions/erms3.SpotPointOrder"
  7348. }
  7349. },
  7350. "spotPriceOrderList": {
  7351. "description": "定价列表",
  7352. "type": "array",
  7353. "items": {
  7354. "$ref": "#/definitions/erms3.SpotPriceOrder"
  7355. }
  7356. },
  7357. "unitname": {
  7358. "description": "单位名称",
  7359. "type": "string"
  7360. },
  7361. "warehouseid": {
  7362. "description": "仓库ID",
  7363. "type": "integer"
  7364. },
  7365. "warehousename": {
  7366. "description": "仓库名称",
  7367. "type": "string"
  7368. },
  7369. "wrstandardid": {
  7370. "description": "交易标的ID",
  7371. "type": "integer"
  7372. },
  7373. "wrstandardname": {
  7374. "description": "交易标的名称",
  7375. "type": "string"
  7376. }
  7377. }
  7378. },
  7379. "erms3.SpotPointOrder": {
  7380. "type": "object",
  7381. "required": [
  7382. "basic",
  7383. "goodsid",
  7384. "qty"
  7385. ],
  7386. "properties": {
  7387. "basic": {
  7388. "description": "基差",
  7389. "type": "number"
  7390. },
  7391. "deliveryenddate": {
  7392. "description": "交收结束日期",
  7393. "type": "string"
  7394. },
  7395. "deliverystartdate": {
  7396. "description": "交收开始日期",
  7397. "type": "string"
  7398. },
  7399. "enddate": {
  7400. "description": "点价结束日期",
  7401. "type": "string"
  7402. },
  7403. "goodsid": {
  7404. "description": "商品ID",
  7405. "type": "integer"
  7406. },
  7407. "goodsname": {
  7408. "description": "商品名称",
  7409. "type": "string"
  7410. },
  7411. "qty": {
  7412. "description": "数量",
  7413. "type": "number"
  7414. },
  7415. "startdate": {
  7416. "description": "点价开始日期",
  7417. "type": "string"
  7418. }
  7419. }
  7420. },
  7421. "erms3.SpotPriceOrder": {
  7422. "type": "object",
  7423. "required": [
  7424. "amount",
  7425. "price",
  7426. "qty"
  7427. ],
  7428. "properties": {
  7429. "amount": {
  7430. "description": "金额",
  7431. "type": "number"
  7432. },
  7433. "deliveryenddate": {
  7434. "description": "交收结束日期",
  7435. "type": "string"
  7436. },
  7437. "deliverystartdate": {
  7438. "description": "交收开始日期",
  7439. "type": "string"
  7440. },
  7441. "price": {
  7442. "description": "价格",
  7443. "type": "number"
  7444. },
  7445. "qty": {
  7446. "description": "数量",
  7447. "type": "number"
  7448. }
  7449. }
  7450. },
  7451. "hsby.GetHsbyMyCountRsp": {
  7452. "type": "object",
  7453. "properties": {
  7454. "myCouponCount": {
  7455. "description": "我的优惠卷数量",
  7456. "type": "integer"
  7457. },
  7458. "myOrderDetailListingCount": {
  7459. "description": "我的订单求购中数量",
  7460. "type": "integer"
  7461. },
  7462. "myOrderDetailPreCount": {
  7463. "description": "我的订单抢购中数量",
  7464. "type": "integer"
  7465. },
  7466. "myPackageUnReceiveCount": {
  7467. "description": "我的包裹待收货数量",
  7468. "type": "integer"
  7469. },
  7470. "myPackageUnSendCount": {
  7471. "description": "我的包裹待发货数量",
  7472. "type": "integer"
  7473. },
  7474. "myPayOrderCount": {
  7475. "description": "我的订单待付款数量",
  7476. "type": "integer"
  7477. }
  7478. }
  7479. },
  7480. "hsby.QueryProvincesAndCitiesRsp": {
  7481. "type": "object",
  7482. "properties": {
  7483. "cities": {
  7484. "description": "市",
  7485. "type": "array",
  7486. "items": {
  7487. "$ref": "#/definitions/models.Division"
  7488. }
  7489. },
  7490. "province": {
  7491. "description": "省",
  7492. "type": "object",
  7493. "$ref": "#/definitions/models.Division"
  7494. }
  7495. }
  7496. },
  7497. "models.Clientfixedadconfig": {
  7498. "type": "object",
  7499. "required": [
  7500. "adsort",
  7501. "adtype"
  7502. ],
  7503. "properties": {
  7504. "adsort": {
  7505. "description": "排序",
  7506. "type": "integer"
  7507. },
  7508. "adtype": {
  7509. "description": "广告位类型 - 1:新品抢购(HSBY)",
  7510. "type": "integer"
  7511. },
  7512. "areauserid": {
  7513. "description": "所属机构ID",
  7514. "type": "integer"
  7515. },
  7516. "createdate": {
  7517. "description": "创建时间",
  7518. "type": "string"
  7519. },
  7520. "creatorid": {
  7521. "description": "创建人",
  7522. "type": "integer"
  7523. },
  7524. "imagepath": {
  7525. "description": "图片",
  7526. "type": "string"
  7527. },
  7528. "isshow": {
  7529. "description": "是否展示 - 0:不展示 1:展示",
  7530. "type": "integer"
  7531. },
  7532. "modifierid": {
  7533. "description": "操作人",
  7534. "type": "integer"
  7535. },
  7536. "recsize": {
  7537. "description": "推荐尺寸",
  7538. "type": "string"
  7539. },
  7540. "title": {
  7541. "description": "标题",
  7542. "type": "string"
  7543. },
  7544. "updatedate": {
  7545. "description": "更新时间",
  7546. "type": "string"
  7547. },
  7548. "urlcontent": {
  7549. "description": "链接(地址或商品ID)",
  7550. "type": "string"
  7551. },
  7552. "urltype": {
  7553. "description": "链接类型 - 1:直接地址 2:商品ID",
  7554. "type": "integer"
  7555. }
  7556. }
  7557. },
  7558. "models.Division": {
  7559. "type": "object",
  7560. "required": [
  7561. "autoid",
  7562. "divisioncode"
  7563. ],
  7564. "properties": {
  7565. "autoid": {
  7566. "description": "自增ID",
  7567. "type": "integer"
  7568. },
  7569. "divisioncode": {
  7570. "description": "行政代码",
  7571. "type": "string"
  7572. },
  7573. "divisionlevel": {
  7574. "description": "行政级别",
  7575. "type": "string"
  7576. },
  7577. "divisionname": {
  7578. "description": "行政名称",
  7579. "type": "string"
  7580. },
  7581. "modifierid": {
  7582. "description": "修改人",
  7583. "type": "integer"
  7584. },
  7585. "modifytime": {
  7586. "description": "修改时间",
  7587. "type": "string"
  7588. },
  7589. "parentcode": {
  7590. "description": "上级行政代码",
  7591. "type": "string"
  7592. },
  7593. "pathname": {
  7594. "description": "路径名称",
  7595. "type": "string"
  7596. },
  7597. "postcode": {
  7598. "description": "邮政编码",
  7599. "type": "string"
  7600. },
  7601. "separablename": {
  7602. "description": "可拆分的全称",
  7603. "type": "string"
  7604. },
  7605. "shortcode": {
  7606. "description": "地区简码",
  7607. "type": "string"
  7608. }
  7609. }
  7610. },
  7611. "models.Enumdicitem": {
  7612. "type": "object",
  7613. "required": [
  7614. "autoid",
  7615. "enumdiccode",
  7616. "enumdicid",
  7617. "enumitemname"
  7618. ],
  7619. "properties": {
  7620. "autoid": {
  7621. "description": "自增ID",
  7622. "type": "integer"
  7623. },
  7624. "bankmappedvalue": {
  7625. "description": "银行服务对应值",
  7626. "type": "string"
  7627. },
  7628. "enumdiccode": {
  7629. "description": "所属枚举代码",
  7630. "type": "string"
  7631. },
  7632. "enumdicid": {
  7633. "description": "所属枚举ID",
  7634. "type": "integer"
  7635. },
  7636. "enumdicname": {
  7637. "description": "枚举项名称",
  7638. "type": "string"
  7639. },
  7640. "enumitemname": {
  7641. "description": "枚举项值",
  7642. "type": "integer"
  7643. },
  7644. "enumitemstatus": {
  7645. "description": "枚举项状态 - 1.启用 2.不启用",
  7646. "type": "integer"
  7647. },
  7648. "enumitemvalue": {
  7649. "description": "通用值 - [币种通用简写]",
  7650. "type": "string"
  7651. },
  7652. "param1": {
  7653. "description": "参数1[币种:币种小数位]",
  7654. "type": "string"
  7655. },
  7656. "param2": {
  7657. "description": "参数1[币种:币种显示单位]",
  7658. "type": "string"
  7659. },
  7660. "remark": {
  7661. "description": "备注",
  7662. "type": "string"
  7663. }
  7664. }
  7665. },
  7666. "models.ErmcpHedgePlan": {
  7667. "type": "object",
  7668. "properties": {
  7669. "areauserid": {
  7670. "description": "用户ID",
  7671. "type": "integer"
  7672. },
  7673. "contracttype": {
  7674. "description": "计划类型 - 1:采购 -1:销售",
  7675. "type": "integer"
  7676. },
  7677. "convertfactor": {
  7678. "description": "标仓系数",
  7679. "type": "number"
  7680. },
  7681. "deliverygoodsid": {
  7682. "description": "现货品种ID",
  7683. "type": "integer"
  7684. },
  7685. "deliverygoodsname": {
  7686. "description": "现货品种名称",
  7687. "type": "string"
  7688. },
  7689. "hedgeplanid": {
  7690. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  7691. "type": "string"
  7692. },
  7693. "hedgeplanno": {
  7694. "description": "套保计划编号",
  7695. "type": "string"
  7696. },
  7697. "hedgeplanstatus": {
  7698. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7699. "type": "integer"
  7700. },
  7701. "planqty": {
  7702. "description": "计划数量",
  7703. "type": "number"
  7704. },
  7705. "plantime": {
  7706. "description": "计划时间",
  7707. "type": "string"
  7708. },
  7709. "producttype": {
  7710. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7711. "type": "integer"
  7712. },
  7713. "remark": {
  7714. "description": "备注",
  7715. "type": "string"
  7716. },
  7717. "spotgoodsdesc": {
  7718. "description": "商品型号",
  7719. "type": "string"
  7720. },
  7721. "wrstandardid": {
  7722. "description": "现货商品ID",
  7723. "type": "integer"
  7724. },
  7725. "wrstandardname": {
  7726. "description": "现货商品名称",
  7727. "type": "string"
  7728. }
  7729. }
  7730. },
  7731. "models.ErmcpModel": {
  7732. "type": "object",
  7733. "properties": {
  7734. "accountid": {
  7735. "description": "账户ID",
  7736. "type": "string"
  7737. },
  7738. "accountname": {
  7739. "description": "账户名称",
  7740. "type": "string"
  7741. },
  7742. "contracctstatus": {
  7743. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7744. "type": "integer"
  7745. },
  7746. "contracttype": {
  7747. "description": "合同类型 1-采购, -1-销售",
  7748. "type": "number"
  7749. },
  7750. "convertfactor": {
  7751. "description": "标仓系数",
  7752. "type": "number"
  7753. },
  7754. "daikaiamount": {
  7755. "description": "待开票额",
  7756. "type": "number"
  7757. },
  7758. "deliveryenddate": {
  7759. "description": "交割结束日",
  7760. "type": "string"
  7761. },
  7762. "deliverygoodscode": {
  7763. "description": "现货商品代码",
  7764. "type": "string"
  7765. },
  7766. "deliverygoodsid": {
  7767. "description": "现货商品ID",
  7768. "type": "integer"
  7769. },
  7770. "deliverygoodsname": {
  7771. "description": "现货商品名称",
  7772. "type": "string"
  7773. },
  7774. "deliverystartdate": {
  7775. "description": "交割开始日",
  7776. "type": "string"
  7777. },
  7778. "enddate": {
  7779. "description": "点价结束日",
  7780. "type": "string"
  7781. },
  7782. "enumdicname": {
  7783. "description": "单位名称",
  7784. "type": "string"
  7785. },
  7786. "goodscode": {
  7787. "description": "点价商品代码",
  7788. "type": "string"
  7789. },
  7790. "goodsid": {
  7791. "description": "点价商品ID",
  7792. "type": "integer"
  7793. },
  7794. "invoiceamount": {
  7795. "description": "已开票额",
  7796. "type": "number"
  7797. },
  7798. "payamount": {
  7799. "description": "已收付额(收款或付款)",
  7800. "type": "number"
  7801. },
  7802. "pricedamount": {
  7803. "description": "已定价额",
  7804. "type": "number"
  7805. },
  7806. "pricedavg": {
  7807. "description": "已点均价",
  7808. "type": "number"
  7809. },
  7810. "pricedqty": {
  7811. "description": "已定价量",
  7812. "type": "number"
  7813. },
  7814. "pricemove": {
  7815. "description": "升贴水",
  7816. "type": "number"
  7817. },
  7818. "pricetype": {
  7819. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7820. "type": "integer"
  7821. },
  7822. "producttype": {
  7823. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7824. "type": "integer"
  7825. },
  7826. "qty": {
  7827. "description": "合同量",
  7828. "type": "number"
  7829. },
  7830. "remark": {
  7831. "description": "备注",
  7832. "type": "string"
  7833. },
  7834. "spotcontractid": {
  7835. "description": "合同ID",
  7836. "type": "string"
  7837. },
  7838. "spotgoodsdesc": {
  7839. "description": "商品型号(商品规格)",
  7840. "type": "string"
  7841. },
  7842. "startdate": {
  7843. "description": "点价开始日",
  7844. "type": "string"
  7845. },
  7846. "unpayamount": {
  7847. "description": "待支收额(支付或收款)",
  7848. "type": "number"
  7849. },
  7850. "unpricedqty": {
  7851. "description": "未定价量",
  7852. "type": "number"
  7853. },
  7854. "unsureqty": {
  7855. "description": "未确定量",
  7856. "type": "number"
  7857. },
  7858. "userid": {
  7859. "description": "用户ID",
  7860. "type": "integer"
  7861. }
  7862. }
  7863. },
  7864. "models.ErmcpOPLogModel": {
  7865. "type": "object",
  7866. "properties": {
  7867. "aftervalue": {
  7868. "description": "变更后",
  7869. "type": "number"
  7870. },
  7871. "applyid": {
  7872. "description": "操作人ID",
  7873. "type": "string"
  7874. },
  7875. "applyname": {
  7876. "description": "操作人名称",
  7877. "type": "string"
  7878. },
  7879. "beforevalue": {
  7880. "description": "变更前",
  7881. "type": "number"
  7882. },
  7883. "biztype": {
  7884. "description": "业务类型 - 1:套保计划 2:现货合同",
  7885. "type": "integer"
  7886. },
  7887. "contracttype": {
  7888. "description": "现货合同类型 - 1:采购 -1:销售",
  7889. "type": "integer"
  7890. },
  7891. "logvalue": {
  7892. "description": "数值",
  7893. "type": "number"
  7894. },
  7895. "operatelogtype": {
  7896. "description": "操作流水类型",
  7897. "type": "integer"
  7898. },
  7899. "operatelogtypedesc": {
  7900. "description": "操作流水类型名称",
  7901. "type": "string"
  7902. },
  7903. "relatedid": {
  7904. "description": "现货合同ID\\套保计划",
  7905. "type": "string"
  7906. },
  7907. "updatetime": {
  7908. "description": "更新时间",
  7909. "type": "string"
  7910. }
  7911. }
  7912. },
  7913. "models.ErmcpRealExposureModel": {
  7914. "type": "object",
  7915. "properties": {
  7916. "areaUserID": {
  7917. "description": "所属机构",
  7918. "type": "integer"
  7919. },
  7920. "buyFutureQty": {
  7921. "description": "买入期货数量",
  7922. "type": "number"
  7923. },
  7924. "buyPlanQty": {
  7925. "description": "采购计划数量",
  7926. "type": "number"
  7927. },
  7928. "buyPricedQty": {
  7929. "description": "采购合同已定价数量",
  7930. "type": "number"
  7931. },
  7932. "middleGoodsCode": {
  7933. "description": "套保品种代码",
  7934. "type": "string"
  7935. },
  7936. "middleGoodsHedgeRatio": {
  7937. "description": "应套保比例",
  7938. "type": "number"
  7939. },
  7940. "middleGoodsID": {
  7941. "description": "套保品种",
  7942. "type": "integer"
  7943. },
  7944. "middleGoodsName": {
  7945. "description": "************以下需计算或非redis数据************//",
  7946. "type": "string"
  7947. },
  7948. "needHedgeExposoure": {
  7949. "description": "应套保敞口",
  7950. "type": "number"
  7951. },
  7952. "needHedgeRatio": {
  7953. "description": "应套保敞口比例",
  7954. "type": "number"
  7955. },
  7956. "oriBuyFutureQty": {
  7957. "description": "期初买入期货数量",
  7958. "type": "integer"
  7959. },
  7960. "oriBuyPlanQty": {
  7961. "description": "期初采购计划数量",
  7962. "type": "number"
  7963. },
  7964. "oriBuyPricedQty": {
  7965. "description": "期初采购合同已定价数量",
  7966. "type": "number"
  7967. },
  7968. "oriSellFutureQty": {
  7969. "description": "期初卖出期货数量",
  7970. "type": "integer"
  7971. },
  7972. "oriSellPlanQty": {
  7973. "description": "期初销售计划数量",
  7974. "type": "number"
  7975. },
  7976. "oriSellPricedQty": {
  7977. "description": "期初销售合同已定价数量",
  7978. "type": "number"
  7979. },
  7980. "oriTotalFutuQty": {
  7981. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  7982. "type": "integer"
  7983. },
  7984. "oriTotalSpotQty": {
  7985. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  7986. "type": "number"
  7987. },
  7988. "sellFutureQty": {
  7989. "description": "卖出期货数量",
  7990. "type": "number"
  7991. },
  7992. "sellPlanQty": {
  7993. "description": "销售计划数量",
  7994. "type": "number"
  7995. },
  7996. "sellPricedQty": {
  7997. "description": "销售合同已定价数量",
  7998. "type": "number"
  7999. },
  8000. "totalExposure": {
  8001. "description": "总敞口",
  8002. "type": "number"
  8003. },
  8004. "totalFutureQty": {
  8005. "description": "期货数量",
  8006. "type": "number"
  8007. },
  8008. "totalHedgeRatio": {
  8009. "description": "敞口比例",
  8010. "type": "number"
  8011. },
  8012. "totalNeedHedgeQty": {
  8013. "description": "期货应套保量",
  8014. "type": "number"
  8015. },
  8016. "totalSpotQty": {
  8017. "description": "现货数量",
  8018. "type": "number"
  8019. }
  8020. }
  8021. },
  8022. "models.ErmcpSpotContractModel": {
  8023. "type": "object",
  8024. "properties": {
  8025. "amount": {
  8026. "description": "金额 [1:一口价、3:暂定价]",
  8027. "type": "number"
  8028. },
  8029. "buyuserid": {
  8030. "description": "采购方ID",
  8031. "type": "integer"
  8032. },
  8033. "buyusername": {
  8034. "description": "采购方名称",
  8035. "type": "string"
  8036. },
  8037. "contracctstatus": {
  8038. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8039. "type": "integer"
  8040. },
  8041. "contractno": {
  8042. "description": "现货合同编号",
  8043. "type": "string"
  8044. },
  8045. "contracttype": {
  8046. "description": "现货合同类型 - 1:采购 -1:销售",
  8047. "type": "integer"
  8048. },
  8049. "convertfactor": {
  8050. "description": "标仓系数",
  8051. "type": "number"
  8052. },
  8053. "deliveryenddate": {
  8054. "description": "交收期(结束)",
  8055. "type": "string"
  8056. },
  8057. "deliverygoodscode": {
  8058. "description": "现货品种代码",
  8059. "type": "string"
  8060. },
  8061. "deliverygoodsid": {
  8062. "description": "现货品种ID",
  8063. "type": "integer"
  8064. },
  8065. "deliverygoodsname": {
  8066. "description": "现货品种名称",
  8067. "type": "string"
  8068. },
  8069. "deliverystartdate": {
  8070. "description": "交收期(开始)",
  8071. "type": "string"
  8072. },
  8073. "enddate": {
  8074. "description": "点价结束日期 [2:点价 3:暂定价]",
  8075. "type": "string"
  8076. },
  8077. "enumdicname": {
  8078. "description": "单位名称",
  8079. "type": "string"
  8080. },
  8081. "goodscode": {
  8082. "description": "点价合约代码",
  8083. "type": "string"
  8084. },
  8085. "goodsid": {
  8086. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  8087. "type": "integer"
  8088. },
  8089. "margin": {
  8090. "description": "当前保证金",
  8091. "type": "number"
  8092. },
  8093. "price": {
  8094. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  8095. "type": "number"
  8096. },
  8097. "pricemove": {
  8098. "description": "升贴水 [2:点价 3:暂定价]",
  8099. "type": "number"
  8100. },
  8101. "pricetype": {
  8102. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8103. "type": "integer"
  8104. },
  8105. "producttype": {
  8106. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8107. "type": "integer"
  8108. },
  8109. "qty": {
  8110. "description": "数量",
  8111. "type": "number"
  8112. },
  8113. "remark": {
  8114. "description": "备注",
  8115. "type": "string"
  8116. },
  8117. "selluserid": {
  8118. "description": "销售方ID",
  8119. "type": "integer"
  8120. },
  8121. "sellusername": {
  8122. "description": "销售方名称",
  8123. "type": "string"
  8124. },
  8125. "spotcontractid": {
  8126. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  8127. "type": "string"
  8128. },
  8129. "spotgoodsdesc": {
  8130. "description": "商品型号",
  8131. "type": "string"
  8132. },
  8133. "startdate": {
  8134. "description": "点价开始日期 [2:点价 3:暂定价]",
  8135. "type": "string"
  8136. },
  8137. "userid": {
  8138. "description": "机构ID",
  8139. "type": "integer"
  8140. }
  8141. }
  8142. },
  8143. "models.ErmcpUserModel": {
  8144. "type": "object",
  8145. "properties": {
  8146. "address": {
  8147. "description": "通讯地址",
  8148. "type": "string"
  8149. },
  8150. "attachment1": {
  8151. "description": "附件1",
  8152. "type": "string"
  8153. },
  8154. "cardfrontphotourl": {
  8155. "description": "证件正面图片地址",
  8156. "type": "string"
  8157. },
  8158. "cardnum": {
  8159. "description": "证件号码",
  8160. "type": "string"
  8161. },
  8162. "cardtype": {
  8163. "description": "证件类型",
  8164. "type": "integer"
  8165. },
  8166. "cardtypename": {
  8167. "description": "证件类型名称",
  8168. "type": "string"
  8169. },
  8170. "cityid": {
  8171. "description": "市",
  8172. "type": "integer"
  8173. },
  8174. "countryid": {
  8175. "description": "国家",
  8176. "type": "integer"
  8177. },
  8178. "customername": {
  8179. "description": "企业名称",
  8180. "type": "string"
  8181. },
  8182. "memberuserid": {
  8183. "description": "所属机构ID",
  8184. "type": "integer"
  8185. },
  8186. "mobile": {
  8187. "description": "手机号码",
  8188. "type": "string"
  8189. },
  8190. "provinceid": {
  8191. "description": "省",
  8192. "type": "integer"
  8193. },
  8194. "remark": {
  8195. "description": "备注",
  8196. "type": "string"
  8197. },
  8198. "status": {
  8199. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  8200. "type": "integer"
  8201. },
  8202. "statusdesc": {
  8203. "description": "账户状态中文描述",
  8204. "type": "string"
  8205. },
  8206. "telphone": {
  8207. "description": "联系电话",
  8208. "type": "string"
  8209. },
  8210. "userid": {
  8211. "description": "用户ID",
  8212. "type": "integer"
  8213. },
  8214. "userinfotype": {
  8215. "description": "客户类型",
  8216. "type": "string"
  8217. }
  8218. }
  8219. },
  8220. "models.ErmcpWrstandard": {
  8221. "type": "object",
  8222. "properties": {
  8223. "areauserid": {
  8224. "description": "所属机构",
  8225. "type": "integer"
  8226. },
  8227. "createtime": {
  8228. "description": "创建时间",
  8229. "type": "string"
  8230. },
  8231. "creatorid": {
  8232. "description": "创建人",
  8233. "type": "integer"
  8234. },
  8235. "deliverygoodsid": {
  8236. "description": "品种ID",
  8237. "type": "integer"
  8238. },
  8239. "enumdicname": {
  8240. "description": "单位名称",
  8241. "type": "string"
  8242. },
  8243. "minivalue": {
  8244. "description": "最小变动值",
  8245. "type": "integer"
  8246. },
  8247. "minivaluedp": {
  8248. "description": "最小变动值小数位",
  8249. "type": "integer"
  8250. },
  8251. "realminivalue": {
  8252. "description": "实际最小变动值",
  8253. "type": "integer"
  8254. },
  8255. "realminivaluedp": {
  8256. "description": "实际最小变动值小数位",
  8257. "type": "integer"
  8258. },
  8259. "unitid": {
  8260. "description": "单位ID",
  8261. "type": "integer"
  8262. },
  8263. "wrstandardcode": {
  8264. "description": "现货商品代码",
  8265. "type": "string"
  8266. },
  8267. "wrstandardid": {
  8268. "description": "现货商品ID(SEQ_WRSTANDARD)",
  8269. "type": "integer"
  8270. },
  8271. "wrstandardname": {
  8272. "description": "现货商品名称",
  8273. "type": "string"
  8274. }
  8275. }
  8276. },
  8277. "models.GoodsIDAndName": {
  8278. "type": "object",
  8279. "required": [
  8280. "goodscode",
  8281. "goodsid",
  8282. "goodsname",
  8283. "marketid"
  8284. ],
  8285. "properties": {
  8286. "goodscode": {
  8287. "description": "商品代码(内部)",
  8288. "type": "string"
  8289. },
  8290. "goodsid": {
  8291. "description": "商品ID(自增ID SEQ_GOODS)",
  8292. "type": "integer"
  8293. },
  8294. "goodsname": {
  8295. "description": "商品名称",
  8296. "type": "string"
  8297. },
  8298. "marketid": {
  8299. "description": "所属市场ID",
  8300. "type": "integer"
  8301. }
  8302. }
  8303. },
  8304. "models.HsbyBuyMyPayOrder": {
  8305. "type": "object",
  8306. "required": [
  8307. "goodscode",
  8308. "goodsname",
  8309. "tradeid",
  8310. "trademode"
  8311. ],
  8312. "properties": {
  8313. "agreeunit": {
  8314. "description": "合约单位",
  8315. "type": "number"
  8316. },
  8317. "buyaccountid": {
  8318. "description": "买方账号ID[报价币种]",
  8319. "type": "integer"
  8320. },
  8321. "buyorderid": {
  8322. "description": "买方委托单号",
  8323. "type": "string"
  8324. },
  8325. "createtime": {
  8326. "description": "创建时间",
  8327. "type": "string"
  8328. },
  8329. "currencysign": {
  8330. "description": "货币符号",
  8331. "type": "string"
  8332. },
  8333. "decimalplace": {
  8334. "description": "报价小数位",
  8335. "type": "integer"
  8336. },
  8337. "goodscode": {
  8338. "description": "商品代码(内部)",
  8339. "type": "string"
  8340. },
  8341. "goodsid": {
  8342. "description": "商品ID",
  8343. "type": "integer"
  8344. },
  8345. "goodsname": {
  8346. "description": "商品名称",
  8347. "type": "string"
  8348. },
  8349. "marketid": {
  8350. "description": "市场ID",
  8351. "type": "integer"
  8352. },
  8353. "offamount": {
  8354. "description": "优惠金额",
  8355. "type": "number"
  8356. },
  8357. "payamount": {
  8358. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8359. "type": "number"
  8360. },
  8361. "payflag": {
  8362. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8363. "type": "integer"
  8364. },
  8365. "paylimitedtime": {
  8366. "description": "支付期限",
  8367. "type": "string"
  8368. },
  8369. "paytime": {
  8370. "description": "付款时间",
  8371. "type": "string"
  8372. },
  8373. "picurls1": {
  8374. "description": "预售商品介绍图片[多张用逗号分隔]",
  8375. "type": "string"
  8376. },
  8377. "picurls2": {
  8378. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8379. "type": "string"
  8380. },
  8381. "sellaccountid": {
  8382. "description": "卖方账号ID[报价币种]",
  8383. "type": "integer"
  8384. },
  8385. "sellorderid": {
  8386. "description": "卖方委托单号",
  8387. "type": "string"
  8388. },
  8389. "tradeamount": {
  8390. "description": "成交金额",
  8391. "type": "number"
  8392. },
  8393. "tradecharge": {
  8394. "description": "成交手续费(买方)",
  8395. "type": "number"
  8396. },
  8397. "tradedate": {
  8398. "description": "交易日(yyyyMMdd)",
  8399. "type": "string"
  8400. },
  8401. "tradeid": {
  8402. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8403. "type": "string"
  8404. },
  8405. "trademode": {
  8406. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8407. "type": "integer"
  8408. },
  8409. "tradeprice": {
  8410. "description": "成交价格",
  8411. "type": "number"
  8412. },
  8413. "tradeqty": {
  8414. "description": "成交数量",
  8415. "type": "integer"
  8416. },
  8417. "vendorname1": {
  8418. "description": "预售商品供应商名称",
  8419. "type": "string"
  8420. },
  8421. "vendorname2": {
  8422. "description": "挂牌商品供应商名称",
  8423. "type": "string"
  8424. }
  8425. }
  8426. },
  8427. "models.HsbyBuyMyTradeDetail": {
  8428. "type": "object",
  8429. "required": [
  8430. "accountid",
  8431. "buyorsell",
  8432. "goodscode",
  8433. "goodsid",
  8434. "goodsname",
  8435. "marketid",
  8436. "orderid",
  8437. "qty",
  8438. "time",
  8439. "trademode"
  8440. ],
  8441. "properties": {
  8442. "accountid": {
  8443. "description": "账户ID[报价币种]",
  8444. "type": "integer"
  8445. },
  8446. "agreeunit": {
  8447. "description": "合约单位",
  8448. "type": "number"
  8449. },
  8450. "amount": {
  8451. "description": "金额 = 价格 * 数量 * 合约单位",
  8452. "type": "number"
  8453. },
  8454. "buyorsell": {
  8455. "description": "买卖 - 0:买 1:卖",
  8456. "type": "integer"
  8457. },
  8458. "currencysign": {
  8459. "description": "货币符号",
  8460. "type": "string"
  8461. },
  8462. "decimalplace": {
  8463. "description": "报价小数位",
  8464. "type": "integer"
  8465. },
  8466. "goodscode": {
  8467. "description": "商品代码(内部)",
  8468. "type": "string"
  8469. },
  8470. "goodsid": {
  8471. "description": "商品ID",
  8472. "type": "integer"
  8473. },
  8474. "goodsname": {
  8475. "description": "商品名称",
  8476. "type": "string"
  8477. },
  8478. "marketid": {
  8479. "description": "市场ID",
  8480. "type": "integer"
  8481. },
  8482. "orderid": {
  8483. "description": "单号(成交单号)",
  8484. "type": "string"
  8485. },
  8486. "picurls1": {
  8487. "description": "预售商品介绍图片[多张用逗号分隔]",
  8488. "type": "string"
  8489. },
  8490. "picurls2": {
  8491. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8492. "type": "string"
  8493. },
  8494. "price": {
  8495. "description": "价格",
  8496. "type": "number"
  8497. },
  8498. "qty": {
  8499. "description": "数量",
  8500. "type": "integer"
  8501. },
  8502. "time": {
  8503. "description": "时间",
  8504. "type": "string"
  8505. },
  8506. "trademode": {
  8507. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8508. "type": "integer"
  8509. },
  8510. "vendorname1": {
  8511. "description": "预售商品供应商名称",
  8512. "type": "string"
  8513. },
  8514. "vendorname2": {
  8515. "description": "挂牌商品供应商名称",
  8516. "type": "string"
  8517. }
  8518. }
  8519. },
  8520. "models.HsbyGoodsOrderDetail": {
  8521. "type": "object",
  8522. "required": [
  8523. "buyorsell",
  8524. "orderid",
  8525. "ordertime"
  8526. ],
  8527. "properties": {
  8528. "buyorsell": {
  8529. "description": "买卖 - 0:买 1:卖",
  8530. "type": "integer"
  8531. },
  8532. "currencysign": {
  8533. "description": "货币符号",
  8534. "type": "string"
  8535. },
  8536. "customername": {
  8537. "description": "客户名称(企业名称),已脱敏",
  8538. "type": "string"
  8539. },
  8540. "enableqty": {
  8541. "description": "可用数量",
  8542. "type": "integer"
  8543. },
  8544. "goodunit": {
  8545. "description": "报价单位",
  8546. "type": "string"
  8547. },
  8548. "orderid": {
  8549. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8550. "type": "string"
  8551. },
  8552. "orderprice": {
  8553. "description": "委托价格",
  8554. "type": "number"
  8555. },
  8556. "ordertime": {
  8557. "description": "委托时间",
  8558. "type": "string"
  8559. }
  8560. }
  8561. },
  8562. "models.HsbyListingGoodsDetail": {
  8563. "type": "object",
  8564. "required": [
  8565. "goodscode",
  8566. "goodsid",
  8567. "goodsname",
  8568. "marketid",
  8569. "trademode"
  8570. ],
  8571. "properties": {
  8572. "agreeunit": {
  8573. "description": "合约单位",
  8574. "type": "number"
  8575. },
  8576. "buymaxqty": {
  8577. "description": "购买上限 [71] - 0为不限",
  8578. "type": "integer"
  8579. },
  8580. "currency": {
  8581. "description": "货币",
  8582. "type": "string"
  8583. },
  8584. "currencysign": {
  8585. "description": "货币符号",
  8586. "type": "string"
  8587. },
  8588. "decimalplace": {
  8589. "description": "报价小数位",
  8590. "type": "integer"
  8591. },
  8592. "desccityid": {
  8593. "description": "目的地(市)ID",
  8594. "type": "integer"
  8595. },
  8596. "descprovinceid": {
  8597. "description": "目的地(省)ID",
  8598. "type": "integer"
  8599. },
  8600. "goodscode": {
  8601. "description": "商品代码(内部)",
  8602. "type": "string"
  8603. },
  8604. "goodsdesc": {
  8605. "description": "商品详情",
  8606. "type": "string"
  8607. },
  8608. "goodsid": {
  8609. "description": "商品ID(自增ID SEQ_GOODS)",
  8610. "type": "integer"
  8611. },
  8612. "goodsname": {
  8613. "description": "商品名称",
  8614. "type": "string"
  8615. },
  8616. "goodsprice": {
  8617. "description": "商品价格",
  8618. "type": "number"
  8619. },
  8620. "hotindex": {
  8621. "description": "景点热度",
  8622. "type": "integer"
  8623. },
  8624. "last": {
  8625. "description": "现价",
  8626. "type": "number"
  8627. },
  8628. "limitdown": {
  8629. "description": "跌停价",
  8630. "type": "number"
  8631. },
  8632. "limitup": {
  8633. "description": "涨停价",
  8634. "type": "number"
  8635. },
  8636. "lotsize": {
  8637. "description": "手数最小变动单位",
  8638. "type": "integer"
  8639. },
  8640. "marketid": {
  8641. "description": "所属市场ID",
  8642. "type": "integer"
  8643. },
  8644. "picurls": {
  8645. "description": "介绍图片[多张用逗号分隔]",
  8646. "type": "string"
  8647. },
  8648. "quoteminunit": {
  8649. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8650. "type": "integer"
  8651. },
  8652. "stepvalue": {
  8653. "description": "价格最小变动单位",
  8654. "type": "number"
  8655. },
  8656. "trademode": {
  8657. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8658. "type": "integer"
  8659. },
  8660. "vendorattr": {
  8661. "description": "供应商附件(多张,逗号分隔)",
  8662. "type": "string"
  8663. },
  8664. "vendorname": {
  8665. "description": "供应商名称",
  8666. "type": "string"
  8667. },
  8668. "vendorphone": {
  8669. "description": "供应商客服电话",
  8670. "type": "string"
  8671. },
  8672. "videourls": {
  8673. "description": "介绍视频[多张用逗号分隔]",
  8674. "type": "string"
  8675. }
  8676. }
  8677. },
  8678. "models.HsbyMarketGoods": {
  8679. "type": "object",
  8680. "required": [
  8681. "accountid",
  8682. "buyorsell",
  8683. "goodscode",
  8684. "goodsid",
  8685. "goodsname",
  8686. "marketid",
  8687. "orderid",
  8688. "trademode"
  8689. ],
  8690. "properties": {
  8691. "accountid": {
  8692. "description": "账户ID[报价币种]",
  8693. "type": "integer"
  8694. },
  8695. "agreeunit": {
  8696. "description": "合约单位",
  8697. "type": "number"
  8698. },
  8699. "buyorsell": {
  8700. "description": "买卖 - 0:买 1:卖",
  8701. "type": "integer"
  8702. },
  8703. "categoryid": {
  8704. "description": "类别ID(WRCATEGORY)",
  8705. "type": "integer"
  8706. },
  8707. "currency": {
  8708. "description": "货币",
  8709. "type": "string"
  8710. },
  8711. "currencysign": {
  8712. "description": "货币符号",
  8713. "type": "string"
  8714. },
  8715. "customername": {
  8716. "description": "卖家名称",
  8717. "type": "string"
  8718. },
  8719. "decimalplace": {
  8720. "description": "报价小数位",
  8721. "type": "integer"
  8722. },
  8723. "goodscode": {
  8724. "description": "商品代码(内部)",
  8725. "type": "string"
  8726. },
  8727. "goodsid": {
  8728. "description": "商品ID",
  8729. "type": "integer"
  8730. },
  8731. "goodsname": {
  8732. "description": "商品名称",
  8733. "type": "string"
  8734. },
  8735. "hascoupon": {
  8736. "description": "是否可用优惠卷",
  8737. "type": "boolean"
  8738. },
  8739. "hotindex": {
  8740. "description": "景点热度",
  8741. "type": "integer"
  8742. },
  8743. "marketid": {
  8744. "description": "市场ID",
  8745. "type": "integer"
  8746. },
  8747. "orderid": {
  8748. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8749. "type": "string"
  8750. },
  8751. "orderprice": {
  8752. "description": "委托价格",
  8753. "type": "number"
  8754. },
  8755. "orderstatus": {
  8756. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8757. "type": "integer"
  8758. },
  8759. "picurls": {
  8760. "description": "介绍图片[多张用逗号分隔]",
  8761. "type": "string"
  8762. },
  8763. "quoteminunit": {
  8764. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8765. "type": "integer"
  8766. },
  8767. "sellUserID": {
  8768. "description": "卖方UserID",
  8769. "type": "integer"
  8770. },
  8771. "trademode": {
  8772. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8773. "type": "integer"
  8774. },
  8775. "videourls": {
  8776. "description": "介绍视频[多张用逗号分隔]",
  8777. "type": "string"
  8778. }
  8779. }
  8780. },
  8781. "models.HsbyMarketGoodsDetail": {
  8782. "type": "object",
  8783. "required": [
  8784. "accountid",
  8785. "buyorsell",
  8786. "goodscode",
  8787. "goodsid",
  8788. "goodsname",
  8789. "marketid",
  8790. "orderid",
  8791. "orderqty",
  8792. "trademode"
  8793. ],
  8794. "properties": {
  8795. "accountid": {
  8796. "description": "账户ID[报价币种]",
  8797. "type": "integer"
  8798. },
  8799. "agreeunit": {
  8800. "description": "合约单位",
  8801. "type": "number"
  8802. },
  8803. "buymaxqty": {
  8804. "description": "购买上限 [71] - 0为不限",
  8805. "type": "integer"
  8806. },
  8807. "buyorsell": {
  8808. "description": "买卖 - 0:买 1:卖",
  8809. "type": "integer"
  8810. },
  8811. "cancelqty": {
  8812. "description": "撤单数量",
  8813. "type": "integer"
  8814. },
  8815. "categoryid": {
  8816. "description": "类别ID(WRCATEGORY)",
  8817. "type": "integer"
  8818. },
  8819. "currency": {
  8820. "description": "货币",
  8821. "type": "string"
  8822. },
  8823. "currencysign": {
  8824. "description": "货币符号",
  8825. "type": "string"
  8826. },
  8827. "customername": {
  8828. "description": "卖家名称",
  8829. "type": "string"
  8830. },
  8831. "decimalplace": {
  8832. "description": "报价小数位",
  8833. "type": "integer"
  8834. },
  8835. "goodscode": {
  8836. "description": "商品代码(内部)",
  8837. "type": "string"
  8838. },
  8839. "goodsdesc": {
  8840. "description": "商品详情",
  8841. "type": "string"
  8842. },
  8843. "goodsid": {
  8844. "description": "商品ID",
  8845. "type": "integer"
  8846. },
  8847. "goodsname": {
  8848. "description": "商品名称",
  8849. "type": "string"
  8850. },
  8851. "hotindex": {
  8852. "description": "景点热度",
  8853. "type": "integer"
  8854. },
  8855. "lotsize": {
  8856. "description": "手数最小变动单位",
  8857. "type": "integer"
  8858. },
  8859. "marketid": {
  8860. "description": "市场ID",
  8861. "type": "integer"
  8862. },
  8863. "orderid": {
  8864. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8865. "type": "string"
  8866. },
  8867. "orderprice": {
  8868. "description": "委托价格",
  8869. "type": "number"
  8870. },
  8871. "orderqty": {
  8872. "description": "委托数量",
  8873. "type": "integer"
  8874. },
  8875. "orderstatus": {
  8876. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8877. "type": "integer"
  8878. },
  8879. "picurls": {
  8880. "description": "介绍图片[多张用逗号分隔]",
  8881. "type": "string"
  8882. },
  8883. "quoteminunit": {
  8884. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8885. "type": "integer"
  8886. },
  8887. "sellUserID": {
  8888. "description": "卖方UserID",
  8889. "type": "integer"
  8890. },
  8891. "trademode": {
  8892. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8893. "type": "integer"
  8894. },
  8895. "tradeqty": {
  8896. "description": "成交数量",
  8897. "type": "integer"
  8898. },
  8899. "vendorattr": {
  8900. "description": "供应商附件(多张,逗号分隔)",
  8901. "type": "string"
  8902. },
  8903. "vendorname": {
  8904. "description": "供应商名称",
  8905. "type": "string"
  8906. },
  8907. "vendorphone": {
  8908. "description": "供应商客服电话",
  8909. "type": "string"
  8910. },
  8911. "videourls": {
  8912. "description": "介绍视频[多张用逗号分隔]",
  8913. "type": "string"
  8914. }
  8915. }
  8916. },
  8917. "models.HsbyMarketInfo": {
  8918. "type": "object",
  8919. "required": [
  8920. "marketid",
  8921. "marketstatus",
  8922. "trademode"
  8923. ],
  8924. "properties": {
  8925. "marketid": {
  8926. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  8927. "type": "integer"
  8928. },
  8929. "marketname": {
  8930. "description": "市场名称",
  8931. "type": "string"
  8932. },
  8933. "marketstatus": {
  8934. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  8935. "type": "integer"
  8936. },
  8937. "trademode": {
  8938. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8939. "type": "integer"
  8940. }
  8941. }
  8942. },
  8943. "models.HsbyMyGoods": {
  8944. "type": "object",
  8945. "required": [
  8946. "accountid",
  8947. "goodscode",
  8948. "goodsid",
  8949. "goodsname",
  8950. "marketid",
  8951. "trademode"
  8952. ],
  8953. "properties": {
  8954. "accountid": {
  8955. "description": "账号Id",
  8956. "type": "integer"
  8957. },
  8958. "agreeunit": {
  8959. "description": "合约单位",
  8960. "type": "number"
  8961. },
  8962. "buyaverageprice": {
  8963. "description": "持仓均价",
  8964. "type": "number"
  8965. },
  8966. "buycurholderamount": {
  8967. "description": "买当前持仓总金额[商品币种]",
  8968. "type": "number"
  8969. },
  8970. "buycurpositionqty": {
  8971. "description": "买当前持仓总数量",
  8972. "type": "integer"
  8973. },
  8974. "buymaxqty": {
  8975. "description": "购买上限 [71] - 0为不限",
  8976. "type": "integer"
  8977. },
  8978. "currencysign": {
  8979. "description": "货币符号",
  8980. "type": "string"
  8981. },
  8982. "decimalplace": {
  8983. "description": "报价小数位",
  8984. "type": "integer"
  8985. },
  8986. "enableqty": {
  8987. "description": "可用数量",
  8988. "type": "integer"
  8989. },
  8990. "goodscode": {
  8991. "description": "商品代码(内部)",
  8992. "type": "string"
  8993. },
  8994. "goodsid": {
  8995. "description": "商品Id",
  8996. "type": "integer"
  8997. },
  8998. "goodsname": {
  8999. "description": "商品名称",
  9000. "type": "string"
  9001. },
  9002. "goodsprice": {
  9003. "description": "商品价格",
  9004. "type": "number"
  9005. },
  9006. "goodsstatus": {
  9007. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  9008. "type": "integer"
  9009. },
  9010. "last": {
  9011. "description": "现价(仅使用于挂牌点选)",
  9012. "type": "number"
  9013. },
  9014. "limitdown": {
  9015. "description": "跌停价(仅使用于挂牌点选)",
  9016. "type": "number"
  9017. },
  9018. "limitup": {
  9019. "description": "涨停价(仅使用于挂牌点选)",
  9020. "type": "number"
  9021. },
  9022. "lotsize": {
  9023. "description": "手数最小变动单位",
  9024. "type": "integer"
  9025. },
  9026. "marketid": {
  9027. "description": "所属市场ID",
  9028. "type": "integer"
  9029. },
  9030. "picurls": {
  9031. "description": "介绍图片[多张用逗号分隔]",
  9032. "type": "string"
  9033. },
  9034. "quoteminunit": {
  9035. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9036. "type": "integer"
  9037. },
  9038. "stepvalue": {
  9039. "description": "价格最小变动单位",
  9040. "type": "number"
  9041. },
  9042. "trademode": {
  9043. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9044. "type": "integer"
  9045. }
  9046. }
  9047. },
  9048. "models.HsbyMyPackage": {
  9049. "type": "object",
  9050. "required": [
  9051. "goodscode",
  9052. "goodsname",
  9053. "takeorderid"
  9054. ],
  9055. "properties": {
  9056. "accountid": {
  9057. "description": "账户ID",
  9058. "type": "integer"
  9059. },
  9060. "address": {
  9061. "description": "提货人详细地址",
  9062. "type": "string"
  9063. },
  9064. "agreeunit": {
  9065. "description": "合约单位",
  9066. "type": "number"
  9067. },
  9068. "amount": {
  9069. "description": "提货金额",
  9070. "type": "number"
  9071. },
  9072. "auditer": {
  9073. "description": "审核人",
  9074. "type": "integer"
  9075. },
  9076. "audittime": {
  9077. "description": "审核时间",
  9078. "type": "string"
  9079. },
  9080. "averageprice": {
  9081. "description": "均价",
  9082. "type": "number"
  9083. },
  9084. "cardnum": {
  9085. "description": "提货人证件号码",
  9086. "type": "string"
  9087. },
  9088. "cardtypeid": {
  9089. "description": "提货人证件类型",
  9090. "type": "integer"
  9091. },
  9092. "checkremark": {
  9093. "description": "审核备注",
  9094. "type": "string"
  9095. },
  9096. "currencysign": {
  9097. "description": "货币符号",
  9098. "type": "string"
  9099. },
  9100. "decimalplace": {
  9101. "description": "报价小数位",
  9102. "type": "integer"
  9103. },
  9104. "goodscode": {
  9105. "description": "商品代码(内部)",
  9106. "type": "string"
  9107. },
  9108. "goodsid": {
  9109. "description": "商品ID",
  9110. "type": "integer"
  9111. },
  9112. "goodsname": {
  9113. "description": "商品名称",
  9114. "type": "string"
  9115. },
  9116. "handlestatus": {
  9117. "description": "处理状态",
  9118. "type": "integer"
  9119. },
  9120. "marketid": {
  9121. "description": "市场ID",
  9122. "type": "integer"
  9123. },
  9124. "phonenum": {
  9125. "description": "提货人联系方式",
  9126. "type": "string"
  9127. },
  9128. "picurls": {
  9129. "description": "介绍图片[多张用逗号分隔]",
  9130. "type": "string"
  9131. },
  9132. "qty": {
  9133. "description": "提货数量",
  9134. "type": "number"
  9135. },
  9136. "recivername": {
  9137. "description": "提货人姓名",
  9138. "type": "string"
  9139. },
  9140. "reqtime": {
  9141. "description": "更新时间",
  9142. "type": "string"
  9143. },
  9144. "takemode": {
  9145. "description": "提货方式 - 2:自提 3:配送",
  9146. "type": "integer"
  9147. },
  9148. "takeorderid": {
  9149. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  9150. "type": "string"
  9151. },
  9152. "takeorderstatus": {
  9153. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9154. "type": "integer"
  9155. },
  9156. "takeremark": {
  9157. "description": "提货备注",
  9158. "type": "string"
  9159. },
  9160. "tradedate": {
  9161. "description": "交易日(yyyyMMdd)",
  9162. "type": "string"
  9163. },
  9164. "userid": {
  9165. "description": "用户ID",
  9166. "type": "integer"
  9167. },
  9168. "vendorname": {
  9169. "description": "供应商名称",
  9170. "type": "string"
  9171. }
  9172. }
  9173. },
  9174. "models.HsbyPreGoods": {
  9175. "type": "object",
  9176. "required": [
  9177. "goodscode",
  9178. "goodsid",
  9179. "goodsname",
  9180. "marketid",
  9181. "trademode"
  9182. ],
  9183. "properties": {
  9184. "agreeunit": {
  9185. "description": "合约单位",
  9186. "type": "number"
  9187. },
  9188. "currency": {
  9189. "description": "货币",
  9190. "type": "string"
  9191. },
  9192. "currencysign": {
  9193. "description": "货币符号",
  9194. "type": "string"
  9195. },
  9196. "decimalplace": {
  9197. "description": "报价小数位",
  9198. "type": "integer"
  9199. },
  9200. "enableqty": {
  9201. "description": "剩余数量",
  9202. "type": "integer"
  9203. },
  9204. "goodscode": {
  9205. "description": "商品代码(内部)",
  9206. "type": "string"
  9207. },
  9208. "goodsid": {
  9209. "description": "商品ID(自增ID SEQ_GOODS)",
  9210. "type": "integer"
  9211. },
  9212. "goodsname": {
  9213. "description": "商品名称",
  9214. "type": "string"
  9215. },
  9216. "goodsstatus": {
  9217. "description": "商品状态- 2:未上市 3:上市",
  9218. "type": "integer"
  9219. },
  9220. "lasttradedate": {
  9221. "description": "最后交易日期(状态:待退市)",
  9222. "type": "string"
  9223. },
  9224. "listingdate": {
  9225. "description": "交易开始日期",
  9226. "type": "string"
  9227. },
  9228. "marketid": {
  9229. "description": "所属市场ID",
  9230. "type": "integer"
  9231. },
  9232. "picurls": {
  9233. "description": "介绍图片[多张用逗号分隔]",
  9234. "type": "string"
  9235. },
  9236. "presaledqty": {
  9237. "description": "已预售量(预售结束时更新)",
  9238. "type": "integer"
  9239. },
  9240. "presaleqty": {
  9241. "description": "预售数量",
  9242. "type": "integer"
  9243. },
  9244. "quoteminunit": {
  9245. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9246. "type": "integer"
  9247. },
  9248. "refprice": {
  9249. "description": "参考价格[一口价]",
  9250. "type": "number"
  9251. },
  9252. "relatedgoodsid": {
  9253. "description": "关联交易合约ID",
  9254. "type": "integer"
  9255. },
  9256. "trademode": {
  9257. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9258. "type": "integer"
  9259. },
  9260. "videourls": {
  9261. "description": "介绍视频[多张用逗号分隔]",
  9262. "type": "string"
  9263. }
  9264. }
  9265. },
  9266. "models.HsbyPreGoodsDetail": {
  9267. "type": "object",
  9268. "required": [
  9269. "goodscode",
  9270. "goodsid",
  9271. "goodsname",
  9272. "marketid",
  9273. "trademode"
  9274. ],
  9275. "properties": {
  9276. "agreeunit": {
  9277. "description": "合约单位",
  9278. "type": "number"
  9279. },
  9280. "buymaxqty": {
  9281. "description": "购买上限 [71] - 0为不限",
  9282. "type": "integer"
  9283. },
  9284. "currency": {
  9285. "description": "货币",
  9286. "type": "string"
  9287. },
  9288. "currencysign": {
  9289. "description": "货币符号",
  9290. "type": "string"
  9291. },
  9292. "customername": {
  9293. "description": "发行单位",
  9294. "type": "string"
  9295. },
  9296. "decimalplace": {
  9297. "description": "报价小数位",
  9298. "type": "integer"
  9299. },
  9300. "desccityid": {
  9301. "description": "目的地(市)ID",
  9302. "type": "integer"
  9303. },
  9304. "descprovinceid": {
  9305. "description": "目的地(省)ID",
  9306. "type": "integer"
  9307. },
  9308. "enableqty": {
  9309. "description": "剩余数量",
  9310. "type": "integer"
  9311. },
  9312. "goodscode": {
  9313. "description": "商品代码(内部)",
  9314. "type": "string"
  9315. },
  9316. "goodsdesc": {
  9317. "description": "商品详情",
  9318. "type": "string"
  9319. },
  9320. "goodsid": {
  9321. "description": "商品ID(自增ID SEQ_GOODS)",
  9322. "type": "integer"
  9323. },
  9324. "goodsname": {
  9325. "description": "商品名称",
  9326. "type": "string"
  9327. },
  9328. "goodsstatus": {
  9329. "description": "商品状态- 2:未上市 3:上市",
  9330. "type": "integer"
  9331. },
  9332. "goodunit": {
  9333. "description": "报价单位",
  9334. "type": "string"
  9335. },
  9336. "lasttradedate": {
  9337. "description": "最后交易日期(状态:待退市)",
  9338. "type": "string"
  9339. },
  9340. "listingdate": {
  9341. "description": "交易开始日期",
  9342. "type": "string"
  9343. },
  9344. "lotsize": {
  9345. "description": "手数最小变动单位",
  9346. "type": "integer"
  9347. },
  9348. "marketid": {
  9349. "description": "所属市场ID",
  9350. "type": "integer"
  9351. },
  9352. "picurls": {
  9353. "description": "介绍图片[多张用逗号分隔]",
  9354. "type": "string"
  9355. },
  9356. "presaledqty": {
  9357. "description": "已预售量(预售结束时更新)",
  9358. "type": "integer"
  9359. },
  9360. "presaleqty": {
  9361. "description": "预售数量",
  9362. "type": "integer"
  9363. },
  9364. "quoteminunit": {
  9365. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9366. "type": "integer"
  9367. },
  9368. "refprice": {
  9369. "description": "参考价格[一口价]",
  9370. "type": "number"
  9371. },
  9372. "relatedgoodsid": {
  9373. "description": "关联交易合约ID",
  9374. "type": "integer"
  9375. },
  9376. "stepvalue": {
  9377. "description": "价格最小变动单位",
  9378. "type": "number"
  9379. },
  9380. "trademode": {
  9381. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9382. "type": "integer"
  9383. },
  9384. "vendorattr": {
  9385. "description": "供应商附件(多张,逗号分隔)",
  9386. "type": "string"
  9387. },
  9388. "vendorname": {
  9389. "description": "供应商名称",
  9390. "type": "string"
  9391. },
  9392. "vendorphone": {
  9393. "description": "供应商客服电话",
  9394. "type": "string"
  9395. },
  9396. "videourls": {
  9397. "description": "介绍视频[多张用逗号分隔]",
  9398. "type": "string"
  9399. }
  9400. }
  9401. },
  9402. "models.HsbySellCollectionOrder": {
  9403. "type": "object",
  9404. "required": [
  9405. "goodscode",
  9406. "goodsname",
  9407. "tradeid",
  9408. "trademode"
  9409. ],
  9410. "properties": {
  9411. "agreeunit": {
  9412. "description": "合约单位",
  9413. "type": "number"
  9414. },
  9415. "buyaccountid": {
  9416. "description": "买方账号ID[报价币种]",
  9417. "type": "integer"
  9418. },
  9419. "buyorderid": {
  9420. "description": "买方委托单号",
  9421. "type": "string"
  9422. },
  9423. "createtime": {
  9424. "description": "创建时间",
  9425. "type": "string"
  9426. },
  9427. "currencysign": {
  9428. "description": "货币符号",
  9429. "type": "string"
  9430. },
  9431. "decimalplace": {
  9432. "description": "报价小数位",
  9433. "type": "integer"
  9434. },
  9435. "goodscode": {
  9436. "description": "商品代码(内部)",
  9437. "type": "string"
  9438. },
  9439. "goodsid": {
  9440. "description": "商品ID",
  9441. "type": "integer"
  9442. },
  9443. "goodsname": {
  9444. "description": "商品名称",
  9445. "type": "string"
  9446. },
  9447. "marketid": {
  9448. "description": "市场ID",
  9449. "type": "integer"
  9450. },
  9451. "offamount": {
  9452. "description": "优惠金额",
  9453. "type": "number"
  9454. },
  9455. "payamount": {
  9456. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  9457. "type": "number"
  9458. },
  9459. "payflag": {
  9460. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9461. "type": "integer"
  9462. },
  9463. "paylimitedtime": {
  9464. "description": "支付期限",
  9465. "type": "string"
  9466. },
  9467. "paytime": {
  9468. "description": "付款时间",
  9469. "type": "string"
  9470. },
  9471. "picurls": {
  9472. "description": "商品介绍图片[多张用逗号分隔]",
  9473. "type": "string"
  9474. },
  9475. "sellaccountid": {
  9476. "description": "卖方账号ID[报价币种]",
  9477. "type": "integer"
  9478. },
  9479. "sellorderid": {
  9480. "description": "卖方委托单号",
  9481. "type": "string"
  9482. },
  9483. "tradeamount": {
  9484. "description": "成交金额",
  9485. "type": "number"
  9486. },
  9487. "tradecharge": {
  9488. "description": "成交手续费(买方)",
  9489. "type": "number"
  9490. },
  9491. "tradedate": {
  9492. "description": "交易日(yyyyMMdd)",
  9493. "type": "string"
  9494. },
  9495. "tradeid": {
  9496. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9497. "type": "string"
  9498. },
  9499. "trademode": {
  9500. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9501. "type": "integer"
  9502. },
  9503. "tradeprice": {
  9504. "description": "成交价格",
  9505. "type": "number"
  9506. },
  9507. "tradeqty": {
  9508. "description": "成交数量",
  9509. "type": "integer"
  9510. }
  9511. }
  9512. },
  9513. "models.HsbySellMyDetail": {
  9514. "type": "object",
  9515. "required": [
  9516. "accountid",
  9517. "buyorsell",
  9518. "goodscode",
  9519. "goodsid",
  9520. "goodsname",
  9521. "marketid",
  9522. "orderid",
  9523. "time",
  9524. "trademode"
  9525. ],
  9526. "properties": {
  9527. "accountid": {
  9528. "description": "账户ID[报价币种]",
  9529. "type": "integer"
  9530. },
  9531. "agreeunit": {
  9532. "description": "合约单位",
  9533. "type": "number"
  9534. },
  9535. "buyorsell": {
  9536. "description": "买卖 - 0:买 1:卖",
  9537. "type": "integer"
  9538. },
  9539. "currencysign": {
  9540. "description": "货币符号",
  9541. "type": "string"
  9542. },
  9543. "decimalplace": {
  9544. "description": "报价小数位",
  9545. "type": "integer"
  9546. },
  9547. "goodscode": {
  9548. "description": "商品代码(内部)",
  9549. "type": "string"
  9550. },
  9551. "goodsid": {
  9552. "description": "商品ID",
  9553. "type": "integer"
  9554. },
  9555. "goodsname": {
  9556. "description": "商品名称",
  9557. "type": "string"
  9558. },
  9559. "marketid": {
  9560. "description": "市场ID",
  9561. "type": "integer"
  9562. },
  9563. "orderid": {
  9564. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  9565. "type": "string"
  9566. },
  9567. "ordertype": {
  9568. "description": "单据类型:0 - 发布中, 1 - 已完成",
  9569. "type": "integer"
  9570. },
  9571. "picurls": {
  9572. "description": "介绍图片[多张用逗号分隔]",
  9573. "type": "string"
  9574. },
  9575. "price": {
  9576. "description": "价格",
  9577. "type": "number"
  9578. },
  9579. "qty": {
  9580. "description": "数量",
  9581. "type": "integer"
  9582. },
  9583. "time": {
  9584. "description": "时间",
  9585. "type": "string"
  9586. },
  9587. "trademode": {
  9588. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9589. "type": "integer"
  9590. },
  9591. "vendorname": {
  9592. "description": "供应商名称",
  9593. "type": "string"
  9594. }
  9595. }
  9596. },
  9597. "models.HsbyTopGoods": {
  9598. "type": "object",
  9599. "required": [
  9600. "goodscode",
  9601. "goodsid",
  9602. "goodsname",
  9603. "marketid",
  9604. "trademode"
  9605. ],
  9606. "properties": {
  9607. "agreeunit": {
  9608. "description": "合约单位",
  9609. "type": "number"
  9610. },
  9611. "currency": {
  9612. "description": "货币",
  9613. "type": "string"
  9614. },
  9615. "currencysign": {
  9616. "description": "货币符号",
  9617. "type": "string"
  9618. },
  9619. "decimalplace": {
  9620. "description": "报价小数位",
  9621. "type": "integer"
  9622. },
  9623. "goodscode": {
  9624. "description": "商品代码(内部)",
  9625. "type": "string"
  9626. },
  9627. "goodsid": {
  9628. "description": "商品ID(自增ID SEQ_GOODS)",
  9629. "type": "integer"
  9630. },
  9631. "goodsname": {
  9632. "description": "商品名称",
  9633. "type": "string"
  9634. },
  9635. "hotindex": {
  9636. "description": "景点热度",
  9637. "type": "integer"
  9638. },
  9639. "last": {
  9640. "description": "现价",
  9641. "type": "number"
  9642. },
  9643. "marketid": {
  9644. "description": "所属市场ID",
  9645. "type": "integer"
  9646. },
  9647. "picurls": {
  9648. "description": "介绍图片[多张用逗号分隔]",
  9649. "type": "string"
  9650. },
  9651. "quoteminunit": {
  9652. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9653. "type": "integer"
  9654. },
  9655. "trademode": {
  9656. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9657. "type": "integer"
  9658. },
  9659. "videourls": {
  9660. "description": "介绍视频[多张用逗号分隔]",
  9661. "type": "string"
  9662. }
  9663. }
  9664. },
  9665. "models.HybsMyBuyOrderDetail": {
  9666. "type": "object",
  9667. "required": [
  9668. "accountid",
  9669. "buyorsell",
  9670. "goodscode",
  9671. "goodsid",
  9672. "goodsname",
  9673. "marketid",
  9674. "orderid",
  9675. "orderqty",
  9676. "ordertime",
  9677. "trademode"
  9678. ],
  9679. "properties": {
  9680. "accountid": {
  9681. "description": "账户ID[报价币种]",
  9682. "type": "integer"
  9683. },
  9684. "agreeunit": {
  9685. "description": "合约单位",
  9686. "type": "number"
  9687. },
  9688. "buyorsell": {
  9689. "description": "买卖 - 0:买 1:卖",
  9690. "type": "integer"
  9691. },
  9692. "cancelqty": {
  9693. "description": "撤单数量",
  9694. "type": "integer"
  9695. },
  9696. "currencysign": {
  9697. "description": "货币符号",
  9698. "type": "string"
  9699. },
  9700. "decimalplace": {
  9701. "description": "报价小数位",
  9702. "type": "integer"
  9703. },
  9704. "goodscode": {
  9705. "description": "商品代码(内部)",
  9706. "type": "string"
  9707. },
  9708. "goodsid": {
  9709. "description": "商品ID",
  9710. "type": "integer"
  9711. },
  9712. "goodsname": {
  9713. "description": "商品名称",
  9714. "type": "string"
  9715. },
  9716. "listingselecttype": {
  9717. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9718. "type": "integer"
  9719. },
  9720. "marketid": {
  9721. "description": "市场ID",
  9722. "type": "integer"
  9723. },
  9724. "mybuystatus": {
  9725. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  9726. "type": "integer"
  9727. },
  9728. "orderamount": {
  9729. "description": "委托金额",
  9730. "type": "number"
  9731. },
  9732. "orderid": {
  9733. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9734. "type": "string"
  9735. },
  9736. "orderprice": {
  9737. "description": "委托价格",
  9738. "type": "number"
  9739. },
  9740. "orderqty": {
  9741. "description": "委托数量",
  9742. "type": "integer"
  9743. },
  9744. "orderstatus": {
  9745. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9746. "type": "integer"
  9747. },
  9748. "ordertime": {
  9749. "description": "委托时间",
  9750. "type": "string"
  9751. },
  9752. "picurls1": {
  9753. "description": "预售商品介绍图片[多张用逗号分隔]",
  9754. "type": "string"
  9755. },
  9756. "picurls2": {
  9757. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9758. "type": "string"
  9759. },
  9760. "trademode": {
  9761. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9762. "type": "integer"
  9763. },
  9764. "tradeqty": {
  9765. "description": "成交数量",
  9766. "type": "integer"
  9767. },
  9768. "vendorname1": {
  9769. "description": "预售商品供应商名称",
  9770. "type": "string"
  9771. },
  9772. "vendorname2": {
  9773. "description": "挂牌商品供应商名称",
  9774. "type": "string"
  9775. }
  9776. }
  9777. },
  9778. "models.Marketrun": {
  9779. "type": "object",
  9780. "required": [
  9781. "marketid",
  9782. "nexttradedate",
  9783. "reckonflag",
  9784. "runstatus",
  9785. "tradedate",
  9786. "tradedate2"
  9787. ],
  9788. "properties": {
  9789. "afternexttradedate": {
  9790. "description": "下下交易日",
  9791. "type": "string"
  9792. },
  9793. "clearquoteflag": {
  9794. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  9795. "type": "integer"
  9796. },
  9797. "lastreckondate": {
  9798. "description": "最新交易日(结算成功)",
  9799. "type": "string"
  9800. },
  9801. "machinedate": {
  9802. "description": "机器时间",
  9803. "type": "string"
  9804. },
  9805. "manualflag": {
  9806. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  9807. "type": "integer"
  9808. },
  9809. "marketid": {
  9810. "description": "市场ID",
  9811. "type": "integer"
  9812. },
  9813. "nexttradedate": {
  9814. "description": "下一交易日",
  9815. "type": "string"
  9816. },
  9817. "pretradedate": {
  9818. "description": "上一交易日",
  9819. "type": "string"
  9820. },
  9821. "reckonflag": {
  9822. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  9823. "type": "integer"
  9824. },
  9825. "runstatus": {
  9826. "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.今日免清算",
  9827. "type": "integer"
  9828. },
  9829. "sectionid": {
  9830. "description": "时间段号[多时段时用]",
  9831. "type": "integer"
  9832. },
  9833. "tradedate": {
  9834. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  9835. "type": "string"
  9836. },
  9837. "tradedate2": {
  9838. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  9839. "type": "string"
  9840. },
  9841. "updatetime": {
  9842. "description": "更新时间",
  9843. "type": "string"
  9844. }
  9845. }
  9846. },
  9847. "models.Messageboard": {
  9848. "type": "object",
  9849. "required": [
  9850. "messageboardid"
  9851. ],
  9852. "properties": {
  9853. "createtime": {
  9854. "description": "创建时间",
  9855. "type": "string"
  9856. },
  9857. "message": {
  9858. "description": "留言信息",
  9859. "type": "string"
  9860. },
  9861. "messageboardid": {
  9862. "description": "留言簿ID(SEQ_MessageBoard)",
  9863. "type": "integer"
  9864. },
  9865. "userid": {
  9866. "description": "用户ID",
  9867. "type": "integer"
  9868. }
  9869. }
  9870. },
  9871. "models.MyCoupon": {
  9872. "type": "object",
  9873. "required": [
  9874. "accountid",
  9875. "coupontypeid"
  9876. ],
  9877. "properties": {
  9878. "accountid": {
  9879. "description": "资金账户ID",
  9880. "type": "integer"
  9881. },
  9882. "areauserid": {
  9883. "description": "所属机构",
  9884. "type": "integer"
  9885. },
  9886. "conditionvalue": {
  9887. "description": "条件阈值(可为0)",
  9888. "type": "number"
  9889. },
  9890. "couponcategroy": {
  9891. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  9892. "type": "integer"
  9893. },
  9894. "couponname": {
  9895. "description": "优惠券名称",
  9896. "type": "string"
  9897. },
  9898. "coupontypeid": {
  9899. "description": "优惠券类型ID",
  9900. "type": "string"
  9901. },
  9902. "couponvalue": {
  9903. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9904. "type": "number"
  9905. },
  9906. "curfreezeqty": {
  9907. "description": "期末冻结数量",
  9908. "type": "integer"
  9909. },
  9910. "curqty": {
  9911. "description": "期末数量",
  9912. "type": "integer"
  9913. },
  9914. "isgeneral": {
  9915. "description": "是否通用券 - 0:否 1:是",
  9916. "type": "integer"
  9917. },
  9918. "isunusable": {
  9919. "description": "是否不可用",
  9920. "type": "boolean"
  9921. },
  9922. "limitedflag": {
  9923. "description": "是否指定商品 - 0:不限 1:限制",
  9924. "type": "integer"
  9925. },
  9926. "limitedgoodsids": {
  9927. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  9928. "type": "string"
  9929. },
  9930. "orifreezeqty": {
  9931. "description": "期初冻结数量",
  9932. "type": "integer"
  9933. },
  9934. "oriqty": {
  9935. "description": "期初数量",
  9936. "type": "integer"
  9937. },
  9938. "reasontype": {
  9939. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  9940. "type": "integer"
  9941. },
  9942. "todaydecrease": {
  9943. "description": "今日减少",
  9944. "type": "integer"
  9945. },
  9946. "todayincrease": {
  9947. "description": "今日增加",
  9948. "type": "integer"
  9949. },
  9950. "userid": {
  9951. "description": "用户ID",
  9952. "type": "integer"
  9953. },
  9954. "userscope": {
  9955. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  9956. "type": "string"
  9957. }
  9958. }
  9959. },
  9960. "models.MyCouponHold": {
  9961. "type": "object",
  9962. "required": [
  9963. "couponholdid"
  9964. ],
  9965. "properties": {
  9966. "accountid": {
  9967. "description": "资金账户ID",
  9968. "type": "integer"
  9969. },
  9970. "conditionvalue": {
  9971. "description": "条件阈值(可为0)",
  9972. "type": "number"
  9973. },
  9974. "couponcategroy": {
  9975. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  9976. "type": "integer"
  9977. },
  9978. "couponholdid": {
  9979. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  9980. "type": "string"
  9981. },
  9982. "couponname": {
  9983. "description": "优惠券名称",
  9984. "type": "string"
  9985. },
  9986. "coupontypeid": {
  9987. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  9988. "type": "string"
  9989. },
  9990. "couponvalue": {
  9991. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9992. "type": "number"
  9993. },
  9994. "createtime": {
  9995. "description": "创建时间",
  9996. "type": "string"
  9997. },
  9998. "enddate": {
  9999. "description": "结束日期",
  10000. "type": "string"
  10001. },
  10002. "giveapplyid": {
  10003. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  10004. "type": "integer"
  10005. },
  10006. "holdstatus": {
  10007. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  10008. "type": "integer"
  10009. },
  10010. "isgeneral": {
  10011. "description": "是否通用券 - 0:否 1:是",
  10012. "type": "integer"
  10013. },
  10014. "limitedflag": {
  10015. "description": "是否指定商品 - 0:不限 1:限制",
  10016. "type": "integer"
  10017. },
  10018. "limitedgoodsids": {
  10019. "description": "指定商品IDs[逗号分隔]",
  10020. "type": "string"
  10021. },
  10022. "qty": {
  10023. "description": "数量(按1平铺)",
  10024. "type": "integer"
  10025. },
  10026. "startdate": {
  10027. "description": "开始日期",
  10028. "type": "string"
  10029. },
  10030. "userid": {
  10031. "description": "用户ID",
  10032. "type": "integer"
  10033. },
  10034. "userscope": {
  10035. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  10036. "type": "string"
  10037. }
  10038. }
  10039. },
  10040. "models.MyUsedCoupon": {
  10041. "type": "object",
  10042. "required": [
  10043. "coupontypeid",
  10044. "orderid"
  10045. ],
  10046. "properties": {
  10047. "accountid": {
  10048. "description": "资金账户ID(买方)",
  10049. "type": "integer"
  10050. },
  10051. "conditionvalue": {
  10052. "description": "条件阈值(可为0)",
  10053. "type": "number"
  10054. },
  10055. "couponcategroy": {
  10056. "description": "种类 - 1:现金券 2:折扣券",
  10057. "type": "integer"
  10058. },
  10059. "couponname": {
  10060. "description": "优惠券名称",
  10061. "type": "string"
  10062. },
  10063. "coupontypeid": {
  10064. "description": "优惠券类型ID(买方)",
  10065. "type": "string"
  10066. },
  10067. "couponvalue": {
  10068. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  10069. "type": "number"
  10070. },
  10071. "createtime": {
  10072. "description": "创建时间",
  10073. "type": "string"
  10074. },
  10075. "goodsid": {
  10076. "description": "商品ID",
  10077. "type": "integer"
  10078. },
  10079. "handlestatus": {
  10080. "description": "处理状态",
  10081. "type": "integer"
  10082. },
  10083. "marketid": {
  10084. "description": "市场ID",
  10085. "type": "integer"
  10086. },
  10087. "offamount": {
  10088. "description": "优惠金额",
  10089. "type": "number"
  10090. },
  10091. "orderid": {
  10092. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10093. "type": "string"
  10094. },
  10095. "sellaccountid": {
  10096. "description": "资金账户ID(卖方)",
  10097. "type": "integer"
  10098. },
  10099. "tradeamount": {
  10100. "description": "成交金额",
  10101. "type": "number"
  10102. },
  10103. "tradeid": {
  10104. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10105. "type": "string"
  10106. },
  10107. "usedqty": {
  10108. "description": "使用数量",
  10109. "type": "integer"
  10110. }
  10111. }
  10112. },
  10113. "models.OperationPrimaryMenu": {
  10114. "type": "object",
  10115. "properties": {
  10116. "Children": {
  10117. "description": "二级功能菜单",
  10118. "type": "array",
  10119. "items": {
  10120. "$ref": "#/definitions/models.OperationSecondaryMenu"
  10121. }
  10122. },
  10123. "Key": {
  10124. "description": "菜单KEY",
  10125. "type": "string"
  10126. },
  10127. "Label": {
  10128. "description": "菜单标题",
  10129. "type": "string"
  10130. }
  10131. }
  10132. },
  10133. "models.OperationSecondaryMenu": {
  10134. "type": "object",
  10135. "properties": {
  10136. "Key": {
  10137. "description": "菜单KEY",
  10138. "type": "string"
  10139. },
  10140. "Label": {
  10141. "description": "菜单标题",
  10142. "type": "string"
  10143. },
  10144. "TabList": {
  10145. "description": "三级功能菜单",
  10146. "type": "array",
  10147. "items": {
  10148. "$ref": "#/definitions/models.OperationTabMenu"
  10149. }
  10150. }
  10151. }
  10152. },
  10153. "models.OperationTabMenu": {
  10154. "type": "object",
  10155. "properties": {
  10156. "Key": {
  10157. "description": "菜单KEY",
  10158. "type": "string"
  10159. },
  10160. "Label": {
  10161. "description": "菜单标题",
  10162. "type": "string"
  10163. }
  10164. }
  10165. },
  10166. "models.PendingAuditBizModel": {
  10167. "type": "object",
  10168. "properties": {
  10169. "accountid": {
  10170. "description": "现货账户",
  10171. "type": "string"
  10172. },
  10173. "areaname": {
  10174. "description": "所属部门",
  10175. "type": "string"
  10176. },
  10177. "bizid": {
  10178. "description": "业务ID",
  10179. "type": "string"
  10180. },
  10181. "bizname": {
  10182. "description": "业务名称",
  10183. "type": "string"
  10184. },
  10185. "status": {
  10186. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10187. "type": "integer"
  10188. },
  10189. "type": {
  10190. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  10191. "type": "integer"
  10192. }
  10193. }
  10194. },
  10195. "models.QuotePrimaryMenu": {
  10196. "type": "object",
  10197. "properties": {
  10198. "Index": {
  10199. "description": "序号",
  10200. "type": "integer"
  10201. },
  10202. "Key": {
  10203. "description": "键名",
  10204. "type": "string"
  10205. },
  10206. "Name": {
  10207. "description": "菜单名称",
  10208. "type": "string"
  10209. },
  10210. "SubMenus": {
  10211. "description": "子菜单",
  10212. "type": "array",
  10213. "items": {
  10214. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  10215. }
  10216. },
  10217. "SubTitleType": {
  10218. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  10219. "type": "integer"
  10220. },
  10221. "TradeModes": {
  10222. "description": "包含市场交易类型",
  10223. "type": "string"
  10224. }
  10225. }
  10226. },
  10227. "models.QuoteSecondaryMenu": {
  10228. "type": "object",
  10229. "properties": {
  10230. "ExExchangeCode": {
  10231. "description": "外部交易所代码",
  10232. "type": "string"
  10233. },
  10234. "ExExchangeID": {
  10235. "description": "外部交易所ID",
  10236. "type": "integer"
  10237. },
  10238. "GoodsGroupIDs": {
  10239. "description": "商品组ID列表",
  10240. "type": "array",
  10241. "items": {
  10242. "type": "integer"
  10243. }
  10244. },
  10245. "Index": {
  10246. "description": "序号",
  10247. "type": "integer"
  10248. },
  10249. "MarketID": {
  10250. "description": "市场ID",
  10251. "type": "integer"
  10252. },
  10253. "MenuTitle": {
  10254. "description": "菜单标题(市场名称或外部交易所名称)",
  10255. "type": "string"
  10256. },
  10257. "TradeMode": {
  10258. "description": "交易模式",
  10259. "type": "integer"
  10260. }
  10261. }
  10262. },
  10263. "models.SearchGoods": {
  10264. "type": "object",
  10265. "required": [
  10266. "goodscode",
  10267. "goodsid",
  10268. "goodsname",
  10269. "marketid",
  10270. "trademode"
  10271. ],
  10272. "properties": {
  10273. "goodscode": {
  10274. "description": "商品代码(内部)",
  10275. "type": "string"
  10276. },
  10277. "goodsid": {
  10278. "description": "商品ID(自增ID SEQ_GOODS)",
  10279. "type": "integer"
  10280. },
  10281. "goodsname": {
  10282. "description": "商品名称",
  10283. "type": "string"
  10284. },
  10285. "marketid": {
  10286. "description": "所属市场ID",
  10287. "type": "integer"
  10288. },
  10289. "marketname": {
  10290. "description": "市场名称",
  10291. "type": "string"
  10292. },
  10293. "trademode": {
  10294. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10295. "type": "integer"
  10296. }
  10297. }
  10298. },
  10299. "models.Szdz2imageconfig": {
  10300. "type": "object",
  10301. "required": [
  10302. "configid"
  10303. ],
  10304. "properties": {
  10305. "configid": {
  10306. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10307. "type": "integer"
  10308. },
  10309. "imagepath": {
  10310. "description": "图片",
  10311. "type": "string"
  10312. },
  10313. "imagetype": {
  10314. "description": "类型 - 1:App首页轮播 2:我的",
  10315. "type": "integer"
  10316. },
  10317. "sort": {
  10318. "description": "排序",
  10319. "type": "integer"
  10320. },
  10321. "title": {
  10322. "description": "标题",
  10323. "type": "string"
  10324. },
  10325. "url": {
  10326. "description": "链接",
  10327. "type": "string"
  10328. }
  10329. }
  10330. },
  10331. "models.Szdz3convertconfig": {
  10332. "type": "object",
  10333. "required": [
  10334. "converttype",
  10335. "innergoodsid",
  10336. "outergoodscode"
  10337. ],
  10338. "properties": {
  10339. "canin": {
  10340. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  10341. "type": "integer"
  10342. },
  10343. "canout": {
  10344. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  10345. "type": "integer"
  10346. },
  10347. "converttype": {
  10348. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10349. "type": "integer"
  10350. },
  10351. "createtime": {
  10352. "description": "创建时间",
  10353. "type": "string"
  10354. },
  10355. "creatorid": {
  10356. "description": "创建人",
  10357. "type": "integer"
  10358. },
  10359. "daymaxvalue": {
  10360. "description": "当日最大转入限制",
  10361. "type": "number"
  10362. },
  10363. "freezedays": {
  10364. "description": "冻结天数 [5:花生米转交易]",
  10365. "type": "integer"
  10366. },
  10367. "innergoodsid": {
  10368. "description": "内部商品ID[交易]",
  10369. "type": "integer"
  10370. },
  10371. "inratio": {
  10372. "description": "目标值",
  10373. "type": "integer"
  10374. },
  10375. "modifierid": {
  10376. "description": "修改人",
  10377. "type": "integer"
  10378. },
  10379. "modifytime": {
  10380. "description": "修改时间",
  10381. "type": "string"
  10382. },
  10383. "outergoodscode": {
  10384. "description": "外部商品代码[JD\\PD]",
  10385. "type": "string"
  10386. },
  10387. "outratio": {
  10388. "description": "源值",
  10389. "type": "integer"
  10390. },
  10391. "pddecimalplace": {
  10392. "description": "PD小数位",
  10393. "type": "integer"
  10394. },
  10395. "timemaxvalue": {
  10396. "description": "单次最大转入限制",
  10397. "type": "number"
  10398. },
  10399. "timeminvalue": {
  10400. "description": "单次最小转入限制",
  10401. "type": "number"
  10402. }
  10403. }
  10404. },
  10405. "models.Szdz3searchwhitelist": {
  10406. "type": "object",
  10407. "required": [
  10408. "userid"
  10409. ],
  10410. "properties": {
  10411. "createtime": {
  10412. "description": "创建时间",
  10413. "type": "string"
  10414. },
  10415. "creatorid": {
  10416. "description": "创建人",
  10417. "type": "integer"
  10418. },
  10419. "modifierid": {
  10420. "description": "修改人",
  10421. "type": "integer"
  10422. },
  10423. "modifytime": {
  10424. "description": "修改时间",
  10425. "type": "string"
  10426. },
  10427. "userid": {
  10428. "description": "用户ID",
  10429. "type": "integer"
  10430. }
  10431. }
  10432. },
  10433. "models.Tablecolumnconfig": {
  10434. "type": "object",
  10435. "required": [
  10436. "autoid"
  10437. ],
  10438. "properties": {
  10439. "aligntype": {
  10440. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  10441. "type": "integer"
  10442. },
  10443. "autoid": {
  10444. "description": "AutoID",
  10445. "type": "integer"
  10446. },
  10447. "columnfield": {
  10448. "description": "列字段",
  10449. "type": "string"
  10450. },
  10451. "columntitle": {
  10452. "description": "列Title",
  10453. "type": "string"
  10454. },
  10455. "columnwidth": {
  10456. "description": "列宽",
  10457. "type": "string"
  10458. },
  10459. "formatterstring": {
  10460. "description": "格式化字符",
  10461. "type": "string"
  10462. },
  10463. "formattertype": {
  10464. "description": "格式化类型",
  10465. "type": "string"
  10466. },
  10467. "groupname": {
  10468. "description": "表头分组名称",
  10469. "type": "string"
  10470. },
  10471. "isshow": {
  10472. "description": "是否显示 - 0:不显示 1:显示",
  10473. "type": "integer"
  10474. },
  10475. "needsummary": {
  10476. "description": "是否需要汇总 - 0:不需要 1:需要",
  10477. "type": "integer"
  10478. },
  10479. "orderindex": {
  10480. "description": "顺序",
  10481. "type": "integer"
  10482. },
  10483. "remark": {
  10484. "description": "备注",
  10485. "type": "string"
  10486. },
  10487. "summarytype": {
  10488. "description": "汇总类型 - 1:加总 2:最后一个",
  10489. "type": "integer"
  10490. },
  10491. "tablekey": {
  10492. "description": "列表Key",
  10493. "type": "string"
  10494. }
  10495. }
  10496. },
  10497. "models.Useraccount": {
  10498. "type": "object",
  10499. "required": [
  10500. "userid"
  10501. ],
  10502. "properties": {
  10503. "accountname": {
  10504. "description": "账户名称(机构名称)",
  10505. "type": "string"
  10506. },
  10507. "accountstatus": {
  10508. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10509. "type": "integer"
  10510. },
  10511. "auditremark": {
  10512. "description": "审核备注",
  10513. "type": "string"
  10514. },
  10515. "audittime": {
  10516. "description": "审核时间",
  10517. "type": "string"
  10518. },
  10519. "audituserid": {
  10520. "description": "审核人",
  10521. "type": "integer"
  10522. },
  10523. "broker": {
  10524. "description": "所属经纪人ID",
  10525. "type": "integer"
  10526. },
  10527. "canceltime": {
  10528. "description": "销户时间",
  10529. "type": "string"
  10530. },
  10531. "canceluserid": {
  10532. "description": "销户人",
  10533. "type": "integer"
  10534. },
  10535. "createtime": {
  10536. "description": "创建时间",
  10537. "type": "string"
  10538. },
  10539. "creatorid": {
  10540. "description": "创建人",
  10541. "type": "integer"
  10542. },
  10543. "hasauth": {
  10544. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  10545. "type": "integer"
  10546. },
  10547. "isanonymous": {
  10548. "description": "是否匿名下单 - 0:否 1:是",
  10549. "type": "integer"
  10550. },
  10551. "maxinvestornum": {
  10552. "description": "最大用户数(经纪会员下投资者个数)",
  10553. "type": "integer"
  10554. },
  10555. "memberuserid": {
  10556. "description": "所属会员ID",
  10557. "type": "integer"
  10558. },
  10559. "modifierid": {
  10560. "description": "修改人",
  10561. "type": "integer"
  10562. },
  10563. "modifyremark": {
  10564. "description": "变更备注",
  10565. "type": "string"
  10566. },
  10567. "modifystatus": {
  10568. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  10569. "type": "integer"
  10570. },
  10571. "modifytime": {
  10572. "description": "修改时间",
  10573. "type": "string"
  10574. },
  10575. "parentuserid": {
  10576. "description": "所属机构ID",
  10577. "type": "integer"
  10578. },
  10579. "reckonaccountid": {
  10580. "description": "默认结算资金账号ID(机构分润使用) 作废",
  10581. "type": "integer"
  10582. },
  10583. "refercount": {
  10584. "description": "推荐总人数",
  10585. "type": "integer"
  10586. },
  10587. "refereeuserid": {
  10588. "description": "推荐人ID",
  10589. "type": "integer"
  10590. },
  10591. "refernum": {
  10592. "description": "推荐码",
  10593. "type": "string"
  10594. },
  10595. "subarealevelpath": {
  10596. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  10597. "type": "string"
  10598. },
  10599. "userid": {
  10600. "description": "用户ID",
  10601. "type": "integer"
  10602. },
  10603. "usertype": {
  10604. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10605. "type": "integer"
  10606. }
  10607. }
  10608. },
  10609. "models.Userfavoritegoods": {
  10610. "type": "object",
  10611. "required": [
  10612. "goodsid"
  10613. ],
  10614. "properties": {
  10615. "goodsid": {
  10616. "description": "商品ID",
  10617. "type": "integer"
  10618. }
  10619. }
  10620. },
  10621. "models.Userinfo": {
  10622. "type": "object",
  10623. "required": [
  10624. "userid"
  10625. ],
  10626. "properties": {
  10627. "address": {
  10628. "description": "地址",
  10629. "type": "string"
  10630. },
  10631. "attachment1": {
  10632. "description": "附件1",
  10633. "type": "string"
  10634. },
  10635. "attachment2": {
  10636. "description": "附件2",
  10637. "type": "string"
  10638. },
  10639. "bankaccount": {
  10640. "description": "银行帐号 (加密存储)",
  10641. "type": "string"
  10642. },
  10643. "bankaccountname": {
  10644. "description": "收款人名称",
  10645. "type": "string"
  10646. },
  10647. "bankcardfrontphotourl": {
  10648. "description": "银行卡正面照地址",
  10649. "type": "string"
  10650. },
  10651. "bankid": {
  10652. "description": "银行编码",
  10653. "type": "string"
  10654. },
  10655. "bankname": {
  10656. "description": "银行名称",
  10657. "type": "string"
  10658. },
  10659. "biznature": {
  10660. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10661. "type": "integer"
  10662. },
  10663. "bizscope": {
  10664. "description": "企业经营范围(企业)",
  10665. "type": "string"
  10666. },
  10667. "cardbackphotourl": {
  10668. "description": "证件背面图片地址",
  10669. "type": "string"
  10670. },
  10671. "cardfrontphotourl": {
  10672. "description": "证件正面图片地址",
  10673. "type": "string"
  10674. },
  10675. "cardnum": {
  10676. "description": "证件号码(加密存储)",
  10677. "type": "string"
  10678. },
  10679. "cardtypeid": {
  10680. "description": "证件类型ID",
  10681. "type": "integer"
  10682. },
  10683. "cityid": {
  10684. "description": "市",
  10685. "type": "integer"
  10686. },
  10687. "company": {
  10688. "description": "公司(个人)",
  10689. "type": "string"
  10690. },
  10691. "contactname": {
  10692. "description": "联系人",
  10693. "type": "string"
  10694. },
  10695. "countryid": {
  10696. "description": "国家",
  10697. "type": "integer"
  10698. },
  10699. "createtime": {
  10700. "description": "创建时间",
  10701. "type": "string"
  10702. },
  10703. "creatorid": {
  10704. "description": "创建人",
  10705. "type": "integer"
  10706. },
  10707. "customername": {
  10708. "description": "客户名称(企业名称)",
  10709. "type": "string"
  10710. },
  10711. "districtid": {
  10712. "description": "地区",
  10713. "type": "integer"
  10714. },
  10715. "email": {
  10716. "description": "邮件(加密存储)",
  10717. "type": "string"
  10718. },
  10719. "fax": {
  10720. "description": "传真(加密存储)",
  10721. "type": "string"
  10722. },
  10723. "halfbodyphotourl": {
  10724. "description": "半身照地址",
  10725. "type": "string"
  10726. },
  10727. "hasencrypt": {
  10728. "description": "数据是否已加密 - 0:未加密 1:已加密",
  10729. "type": "integer"
  10730. },
  10731. "headurl": {
  10732. "description": "头像地址",
  10733. "type": "string"
  10734. },
  10735. "legalcardbackphotourl": {
  10736. "description": "法人身份证背面照地址",
  10737. "type": "string"
  10738. },
  10739. "legalcardfrontphotourl": {
  10740. "description": "法人身份证正面照地址",
  10741. "type": "string"
  10742. },
  10743. "legalpersonname": {
  10744. "description": "法人姓名(企业)",
  10745. "type": "string"
  10746. },
  10747. "mobile": {
  10748. "description": "手机号码(加密存储)",
  10749. "type": "string"
  10750. },
  10751. "mobile2": {
  10752. "description": "手机号码[明文-尚志]",
  10753. "type": "string"
  10754. },
  10755. "modifierid": {
  10756. "description": "修改人",
  10757. "type": "integer"
  10758. },
  10759. "modifiertime": {
  10760. "description": "修改时间",
  10761. "type": "string"
  10762. },
  10763. "needinvoice": {
  10764. "description": "是否需要发票 - 0:不需要 1:需要",
  10765. "type": "integer"
  10766. },
  10767. "nickname": {
  10768. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  10769. "type": "string"
  10770. },
  10771. "openmode": {
  10772. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  10773. "type": "integer"
  10774. },
  10775. "otherurl": {
  10776. "description": "其它图片地址[使用分号分隔]",
  10777. "type": "string"
  10778. },
  10779. "postalcode": {
  10780. "description": "邮政编码",
  10781. "type": "string"
  10782. },
  10783. "provinceid": {
  10784. "description": "省",
  10785. "type": "integer"
  10786. },
  10787. "qq": {
  10788. "description": "QQ(加密存储",
  10789. "type": "string"
  10790. },
  10791. "remark": {
  10792. "description": "备注",
  10793. "type": "string"
  10794. },
  10795. "sex": {
  10796. "description": "用户性别 0: 女 1: 男",
  10797. "type": "integer"
  10798. },
  10799. "signpdfurl": {
  10800. "description": "签约pdf文件",
  10801. "type": "string"
  10802. },
  10803. "telphone": {
  10804. "description": "联系电话(加密存储)",
  10805. "type": "string"
  10806. },
  10807. "userid": {
  10808. "description": "用户ID",
  10809. "type": "integer"
  10810. },
  10811. "userinfotype": {
  10812. "description": "用户信息类型 - 1:个人 2:企业",
  10813. "type": "integer"
  10814. },
  10815. "userstatus": {
  10816. "description": "用户状态 - 1:正常 2:注销",
  10817. "type": "integer"
  10818. },
  10819. "usertype": {
  10820. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10821. "type": "integer"
  10822. },
  10823. "wechat": {
  10824. "description": "微信(加密存储)",
  10825. "type": "string"
  10826. },
  10827. "wskhinfo": {
  10828. "description": "开户申请信息(JSON)",
  10829. "type": "string"
  10830. }
  10831. }
  10832. },
  10833. "models.WRCategoryTree": {
  10834. "type": "object",
  10835. "required": [
  10836. "categoryid"
  10837. ],
  10838. "properties": {
  10839. "areauserid": {
  10840. "description": "所属机构",
  10841. "type": "integer"
  10842. },
  10843. "categorydesc": {
  10844. "description": "类别描述",
  10845. "type": "string"
  10846. },
  10847. "categoryid": {
  10848. "description": "类别ID(SEQ_WRCATEGORY)",
  10849. "type": "integer"
  10850. },
  10851. "categoryname": {
  10852. "description": "类别名称",
  10853. "type": "string"
  10854. },
  10855. "iconurl": {
  10856. "description": "图标地址",
  10857. "type": "string"
  10858. },
  10859. "orderindex": {
  10860. "description": "顺序",
  10861. "type": "integer"
  10862. },
  10863. "parentcategoryid": {
  10864. "description": "父类别ID",
  10865. "type": "integer"
  10866. },
  10867. "subcategory": {
  10868. "description": "子分类",
  10869. "type": "array",
  10870. "items": {
  10871. "$ref": "#/definitions/models.WRCategoryTree"
  10872. }
  10873. }
  10874. }
  10875. },
  10876. "models.WRStandardInfo": {
  10877. "type": "object",
  10878. "required": [
  10879. "wrstandardid"
  10880. ],
  10881. "properties": {
  10882. "createtime": {
  10883. "description": "创建时间",
  10884. "type": "string"
  10885. },
  10886. "creatorid": {
  10887. "description": "创建人",
  10888. "type": "integer"
  10889. },
  10890. "deliverygoodsid": {
  10891. "description": "品种ID",
  10892. "type": "integer"
  10893. },
  10894. "deliverygoodsname": {
  10895. "description": "交割商品名称",
  10896. "type": "string"
  10897. },
  10898. "factoryitemjson": {
  10899. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  10900. "type": "string"
  10901. },
  10902. "isvalid": {
  10903. "description": "是否有效 - 0:无效 1:有效",
  10904. "type": "integer"
  10905. },
  10906. "minivalue": {
  10907. "description": "最小变动值",
  10908. "type": "integer"
  10909. },
  10910. "minivaluedp": {
  10911. "description": "最小变动值小数位",
  10912. "type": "integer"
  10913. },
  10914. "realminivalue": {
  10915. "description": "实际最小变动值",
  10916. "type": "integer"
  10917. },
  10918. "realminivaluedp": {
  10919. "description": "实际最小变动值小数位",
  10920. "type": "integer"
  10921. },
  10922. "unitid": {
  10923. "description": "单位ID",
  10924. "type": "integer"
  10925. },
  10926. "unitname": {
  10927. "description": "单位",
  10928. "type": "string"
  10929. },
  10930. "updatetime": {
  10931. "description": "更新时间",
  10932. "type": "string"
  10933. },
  10934. "updatorid": {
  10935. "description": "更新人",
  10936. "type": "integer"
  10937. },
  10938. "wrsstatus": {
  10939. "description": "状态 - 作废 - 0:未激活 1:正常",
  10940. "type": "integer"
  10941. },
  10942. "wrstandardcode": {
  10943. "description": "仓单标准代码",
  10944. "type": "string"
  10945. },
  10946. "wrstandardid": {
  10947. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10948. "type": "integer"
  10949. },
  10950. "wrstandardname": {
  10951. "description": "仓单标准名称",
  10952. "type": "string"
  10953. }
  10954. }
  10955. },
  10956. "models.Warehouseinfo": {
  10957. "type": "object",
  10958. "required": [
  10959. "autoid",
  10960. "warehousecode"
  10961. ],
  10962. "properties": {
  10963. "address": {
  10964. "description": "详细地址",
  10965. "type": "string"
  10966. },
  10967. "areauserid": {
  10968. "description": "所属机构",
  10969. "type": "integer"
  10970. },
  10971. "autoid": {
  10972. "description": "自增ID",
  10973. "type": "integer"
  10974. },
  10975. "cityid": {
  10976. "description": "市",
  10977. "type": "integer"
  10978. },
  10979. "contactname": {
  10980. "description": "联系人",
  10981. "type": "string"
  10982. },
  10983. "contactnum": {
  10984. "description": "联系电话",
  10985. "type": "string"
  10986. },
  10987. "countryid": {
  10988. "description": "国家",
  10989. "type": "integer"
  10990. },
  10991. "createtime": {
  10992. "description": "创建时间",
  10993. "type": "string"
  10994. },
  10995. "districtid": {
  10996. "description": "区",
  10997. "type": "integer"
  10998. },
  10999. "hasvideo": {
  11000. "description": "是否有视频 - 0:无 1:有",
  11001. "type": "integer"
  11002. },
  11003. "provinceid": {
  11004. "description": "省",
  11005. "type": "integer"
  11006. },
  11007. "remark": {
  11008. "description": "审核备注",
  11009. "type": "string"
  11010. },
  11011. "videourl": {
  11012. "description": "视频地址",
  11013. "type": "string"
  11014. },
  11015. "warehousecode": {
  11016. "description": "仓库代码",
  11017. "type": "string"
  11018. },
  11019. "warehousename": {
  11020. "description": "仓库名称",
  11021. "type": "string"
  11022. },
  11023. "warehousestatus": {
  11024. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  11025. "type": "integer"
  11026. },
  11027. "warehousetype": {
  11028. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11029. "type": "integer"
  11030. }
  11031. }
  11032. },
  11033. "order.QueryHisTradeDetailRsp": {
  11034. "type": "object",
  11035. "required": [
  11036. "accountid",
  11037. "buyorsell",
  11038. "goodsid",
  11039. "histradedate",
  11040. "marketid",
  11041. "memberuserid",
  11042. "orderid",
  11043. "tradeamount",
  11044. "tradedate",
  11045. "tradeid",
  11046. "tradeprice",
  11047. "tradeqty",
  11048. "tradetime"
  11049. ],
  11050. "properties": {
  11051. "accountid": {
  11052. "description": "账户ID[报价币种]",
  11053. "type": "integer"
  11054. },
  11055. "buildtype": {
  11056. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11057. "type": "integer"
  11058. },
  11059. "buyorsell": {
  11060. "description": "方向 - 0:买 1:卖",
  11061. "type": "integer"
  11062. },
  11063. "charge": {
  11064. "description": "手续费",
  11065. "type": "number"
  11066. },
  11067. "closecharge": {
  11068. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11069. "type": "number"
  11070. },
  11071. "closeexchagechargevalue": {
  11072. "description": "平仓交易所手续费设置值",
  11073. "type": "number"
  11074. },
  11075. "closefeealgorithm": {
  11076. "description": "平仓手续费收取方式 1:比率 2:固定",
  11077. "type": "integer"
  11078. },
  11079. "closememberchargevalue": {
  11080. "description": "平仓会员手续费设置值",
  11081. "type": "number"
  11082. },
  11083. "closepl": {
  11084. "description": "平仓盈亏",
  11085. "type": "number"
  11086. },
  11087. "closepl2": {
  11088. "description": "平仓盈亏[逐笔]",
  11089. "type": "number"
  11090. },
  11091. "closeqty": {
  11092. "description": "平仓数量(先建后平操作 需要记录)",
  11093. "type": "integer"
  11094. },
  11095. "creditamount": {
  11096. "description": "授信金额",
  11097. "type": "number"
  11098. },
  11099. "gcaccountid": {
  11100. "description": "账户ID[合约币种]",
  11101. "type": "integer"
  11102. },
  11103. "goodscode": {
  11104. "description": "商品代码",
  11105. "type": "string"
  11106. },
  11107. "goodsid": {
  11108. "description": "商品ID",
  11109. "type": "integer"
  11110. },
  11111. "goodsname": {
  11112. "description": "商品名称",
  11113. "type": "string"
  11114. },
  11115. "histradedate": {
  11116. "description": "历史交易日",
  11117. "type": "string"
  11118. },
  11119. "intclosepl": {
  11120. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11121. "type": "integer"
  11122. },
  11123. "isconfirmexercise": {
  11124. "description": "是否确认行权- 0:否 1:是",
  11125. "type": "integer"
  11126. },
  11127. "ismain": {
  11128. "description": "是否主单 - 0:不是 1:是",
  11129. "type": "integer"
  11130. },
  11131. "ispreexercise": {
  11132. "description": "是否预申报- 0:否 1:是",
  11133. "type": "integer"
  11134. },
  11135. "isreckoned": {
  11136. "description": "是否结算 - 0:未结算 1:已结算",
  11137. "type": "integer"
  11138. },
  11139. "isvaliddata": {
  11140. "description": "是否有效 - 0:无效 1:有效",
  11141. "type": "integer"
  11142. },
  11143. "listingselecttype": {
  11144. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11145. "type": "integer"
  11146. },
  11147. "marketid": {
  11148. "description": "市场ID",
  11149. "type": "integer"
  11150. },
  11151. "marketname": {
  11152. "description": "市场名称",
  11153. "type": "string"
  11154. },
  11155. "matchaccountid": {
  11156. "description": "对手账号id",
  11157. "type": "integer"
  11158. },
  11159. "memberuserid": {
  11160. "description": "会员id 个人投资者 需要填写",
  11161. "type": "integer"
  11162. },
  11163. "opencharge": {
  11164. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11165. "type": "number"
  11166. },
  11167. "openexchagechargevalue": {
  11168. "description": "建仓交易所手续费设置值",
  11169. "type": "number"
  11170. },
  11171. "openfeealgorithm": {
  11172. "description": "建仓手续费收取方式 1:比率 2:固定",
  11173. "type": "integer"
  11174. },
  11175. "openmemberchargevalue": {
  11176. "description": "建仓会员手续费设置值",
  11177. "type": "number"
  11178. },
  11179. "openqty": {
  11180. "description": "开仓数量(先建后平操作 需要记录)",
  11181. "type": "integer"
  11182. },
  11183. "optiontype": {
  11184. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11185. "type": "integer"
  11186. },
  11187. "orderid": {
  11188. "description": "委托单号",
  11189. "type": "string"
  11190. },
  11191. "performanceplanid": {
  11192. "description": "履约计划ID[期权]",
  11193. "type": "integer"
  11194. },
  11195. "performancestatus": {
  11196. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11197. "type": "integer"
  11198. },
  11199. "preexerciseprice": {
  11200. "description": "预申报价格",
  11201. "type": "number"
  11202. },
  11203. "premium": {
  11204. "description": "权利金 - [持仓单的权利金]",
  11205. "type": "number"
  11206. },
  11207. "relatedouttradeid": {
  11208. "description": "关联外部成交单ID",
  11209. "type": "integer"
  11210. },
  11211. "status": {
  11212. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11213. "type": "integer"
  11214. },
  11215. "tradeamount": {
  11216. "description": "成交金额[账户币种,用于所有权]",
  11217. "type": "number"
  11218. },
  11219. "tradedate": {
  11220. "description": "交易日(yyyyMMdd)",
  11221. "type": "string"
  11222. },
  11223. "tradeid": {
  11224. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11225. "type": "string"
  11226. },
  11227. "trademode": {
  11228. "description": "交易模式",
  11229. "type": "integer"
  11230. },
  11231. "tradeprice": {
  11232. "description": "成交价格",
  11233. "type": "number"
  11234. },
  11235. "tradeproperty": {
  11236. "description": "交易属性",
  11237. "type": "integer"
  11238. },
  11239. "tradeqty": {
  11240. "description": "成交数量",
  11241. "type": "integer"
  11242. },
  11243. "tradetime": {
  11244. "description": "成交时间",
  11245. "type": "string"
  11246. },
  11247. "tradetype": {
  11248. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11249. "type": "integer"
  11250. }
  11251. }
  11252. },
  11253. "order.QueryHisTradeOrderDetailRsp": {
  11254. "type": "object",
  11255. "required": [
  11256. "accountid",
  11257. "buildtype",
  11258. "buyorsell",
  11259. "goodsid",
  11260. "histradedate",
  11261. "marketid",
  11262. "memberuserid",
  11263. "operatetype",
  11264. "orderid",
  11265. "orderqty",
  11266. "ordertime",
  11267. "pricemode",
  11268. "tradedate",
  11269. "validtype"
  11270. ],
  11271. "properties": {
  11272. "accountid": {
  11273. "description": "账户ID[报价币种]",
  11274. "type": "integer"
  11275. },
  11276. "buildtype": {
  11277. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11278. "type": "integer"
  11279. },
  11280. "buyorsell": {
  11281. "description": "买卖 - 0:买 1:卖",
  11282. "type": "integer"
  11283. },
  11284. "cancelorderid": {
  11285. "description": "撤单单号(撤单时填写)",
  11286. "type": "string"
  11287. },
  11288. "cancelqty": {
  11289. "description": "撤单数量",
  11290. "type": "integer"
  11291. },
  11292. "clientordertime": {
  11293. "description": "客户端委托时间",
  11294. "type": "string"
  11295. },
  11296. "clientticket": {
  11297. "description": "客户端流水号",
  11298. "type": "string"
  11299. },
  11300. "clienttype": {
  11301. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11302. "type": "integer"
  11303. },
  11304. "closeexchagechargevalue": {
  11305. "description": "平仓交易所手续费设置值",
  11306. "type": "number"
  11307. },
  11308. "closefeealgorithm": {
  11309. "description": "平仓手续费收取方式 1:比率 2:固定",
  11310. "type": "integer"
  11311. },
  11312. "closefreezecharge": {
  11313. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11314. "type": "number"
  11315. },
  11316. "closememberchargevalue": {
  11317. "description": "平仓会员手续费设置值",
  11318. "type": "number"
  11319. },
  11320. "closeqty": {
  11321. "description": "平仓数量(先建后平操作 需要记录)",
  11322. "type": "integer"
  11323. },
  11324. "closetradeqty": {
  11325. "description": "平仓成交数量(先建后平操作,需要记录)",
  11326. "type": "integer"
  11327. },
  11328. "closeunfreezecharge": {
  11329. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11330. "type": "number"
  11331. },
  11332. "delistingtype": {
  11333. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11334. "type": "integer"
  11335. },
  11336. "freezecharge": {
  11337. "description": "冻结手续费",
  11338. "type": "number"
  11339. },
  11340. "freezemargin": {
  11341. "description": "冻结保证金(冻结交易金额)",
  11342. "type": "number"
  11343. },
  11344. "gcaccountid": {
  11345. "description": "账户ID[合约币种]",
  11346. "type": "integer"
  11347. },
  11348. "goodscode": {
  11349. "description": "商品代码",
  11350. "type": "string"
  11351. },
  11352. "goodsid": {
  11353. "description": "商品ID",
  11354. "type": "integer"
  11355. },
  11356. "goodsname": {
  11357. "description": "商品名称",
  11358. "type": "string"
  11359. },
  11360. "histradedate": {
  11361. "description": "历史交易日",
  11362. "type": "string"
  11363. },
  11364. "isconfirmexercise": {
  11365. "description": "是否确认行权- 0:否 1:是",
  11366. "type": "integer"
  11367. },
  11368. "ispreexercise": {
  11369. "description": "是否预申报- 0:否 1:是",
  11370. "type": "integer"
  11371. },
  11372. "isvaliddata": {
  11373. "description": "是否有效 - 0:无效 1:有效",
  11374. "type": "integer"
  11375. },
  11376. "listingselecttype": {
  11377. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11378. "type": "integer"
  11379. },
  11380. "marginalgorithm": {
  11381. "description": "保证金收取方式 1:比率 2:固定",
  11382. "type": "integer"
  11383. },
  11384. "marginvalue": {
  11385. "description": "即市保证金设置值",
  11386. "type": "number"
  11387. },
  11388. "marketid": {
  11389. "description": "市场ID",
  11390. "type": "integer"
  11391. },
  11392. "marketmaxsub": {
  11393. "description": "市价最大偏移范围",
  11394. "type": "number"
  11395. },
  11396. "marketname": {
  11397. "description": "市场名称",
  11398. "type": "string"
  11399. },
  11400. "memberuserid": {
  11401. "description": "所属会员UserID",
  11402. "type": "integer"
  11403. },
  11404. "openexchagechargevalue": {
  11405. "description": "建仓交易所手续费设置值",
  11406. "type": "number"
  11407. },
  11408. "openfeealgorithm": {
  11409. "description": "建仓手续费收取方式 1:比率 2:固定",
  11410. "type": "integer"
  11411. },
  11412. "openfreezecharge": {
  11413. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11414. "type": "number"
  11415. },
  11416. "openmemberchargevalue": {
  11417. "description": "建仓会员手续费设置值",
  11418. "type": "number"
  11419. },
  11420. "openqty": {
  11421. "description": "开仓数量(先建后平操作,需要记录)",
  11422. "type": "integer"
  11423. },
  11424. "opentradeqty": {
  11425. "description": "开仓成交数量(先建后平操作,需要记录)",
  11426. "type": "integer"
  11427. },
  11428. "openunfreezecharge": {
  11429. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11430. "type": "number"
  11431. },
  11432. "operatetype": {
  11433. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11434. "type": "integer"
  11435. },
  11436. "operatorid": {
  11437. "description": "登录账号(LoginID)",
  11438. "type": "integer"
  11439. },
  11440. "optiontype": {
  11441. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11442. "type": "integer"
  11443. },
  11444. "orderid": {
  11445. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11446. "type": "string"
  11447. },
  11448. "orderprice": {
  11449. "description": "委托价格",
  11450. "type": "number"
  11451. },
  11452. "orderqty": {
  11453. "description": "委托数量",
  11454. "type": "integer"
  11455. },
  11456. "ordersrc": {
  11457. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11458. "type": "integer"
  11459. },
  11460. "orderstatus": {
  11461. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11462. "type": "integer"
  11463. },
  11464. "ordertime": {
  11465. "description": "委托时间",
  11466. "type": "string"
  11467. },
  11468. "preexerciseprice": {
  11469. "description": "预申报价格",
  11470. "type": "number"
  11471. },
  11472. "premium": {
  11473. "description": "权利金",
  11474. "type": "number"
  11475. },
  11476. "preorderid": {
  11477. "description": "关联预埋单号(止盈止损单时填写)",
  11478. "type": "string"
  11479. },
  11480. "pricemode": {
  11481. "description": "取价方式 - 1:市价 2: 限价",
  11482. "type": "integer"
  11483. },
  11484. "quoteid": {
  11485. "description": "报价单ID",
  11486. "type": "integer"
  11487. },
  11488. "relatedid": {
  11489. "description": "关联单号(交割单)",
  11490. "type": "string"
  11491. },
  11492. "retcode": {
  11493. "description": "错误代码",
  11494. "type": "integer"
  11495. },
  11496. "sessionid": {
  11497. "description": "会话ID",
  11498. "type": "integer"
  11499. },
  11500. "tradedate": {
  11501. "description": "交易日(yyyyMMdd)",
  11502. "type": "string"
  11503. },
  11504. "trademode": {
  11505. "description": "交易模式",
  11506. "type": "integer"
  11507. },
  11508. "tradeproperty": {
  11509. "description": "交易属性",
  11510. "type": "integer"
  11511. },
  11512. "tradeqty": {
  11513. "description": "成交数量",
  11514. "type": "integer"
  11515. },
  11516. "unfreezecharge": {
  11517. "description": "解冻手续费",
  11518. "type": "number"
  11519. },
  11520. "unfreezemargin": {
  11521. "description": "解冻保证金",
  11522. "type": "number"
  11523. },
  11524. "updatetime": {
  11525. "description": "更新时间",
  11526. "type": "string"
  11527. },
  11528. "uuid": {
  11529. "description": "发起端唯一id",
  11530. "type": "string"
  11531. },
  11532. "validtime": {
  11533. "description": "有效期限",
  11534. "type": "string"
  11535. },
  11536. "validtype": {
  11537. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11538. "type": "integer"
  11539. },
  11540. "volumetype": {
  11541. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11542. "type": "integer"
  11543. }
  11544. }
  11545. },
  11546. "order.QueryTradeDetailRsp": {
  11547. "type": "object",
  11548. "required": [
  11549. "accountid",
  11550. "buyorsell",
  11551. "goodsid",
  11552. "marketid",
  11553. "memberuserid",
  11554. "orderid",
  11555. "tradeamount",
  11556. "tradedate",
  11557. "tradeid",
  11558. "tradeprice",
  11559. "tradeqty",
  11560. "tradetime"
  11561. ],
  11562. "properties": {
  11563. "accountid": {
  11564. "description": "账户ID[报价币种]",
  11565. "type": "integer"
  11566. },
  11567. "buildtype": {
  11568. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11569. "type": "integer"
  11570. },
  11571. "buyorsell": {
  11572. "description": "方向 - 0:买 1:卖",
  11573. "type": "integer"
  11574. },
  11575. "charge": {
  11576. "description": "手续费",
  11577. "type": "number"
  11578. },
  11579. "closecharge": {
  11580. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11581. "type": "number"
  11582. },
  11583. "closeexchagechargevalue": {
  11584. "description": "平仓交易所手续费设置值",
  11585. "type": "number"
  11586. },
  11587. "closefeealgorithm": {
  11588. "description": "平仓手续费收取方式 1:比率 2:固定",
  11589. "type": "integer"
  11590. },
  11591. "closememberchargevalue": {
  11592. "description": "平仓会员手续费设置值",
  11593. "type": "number"
  11594. },
  11595. "closepl": {
  11596. "description": "平仓盈亏",
  11597. "type": "number"
  11598. },
  11599. "closepl2": {
  11600. "description": "平仓盈亏[逐笔]",
  11601. "type": "number"
  11602. },
  11603. "closeqty": {
  11604. "description": "平仓数量(先建后平操作 需要记录)",
  11605. "type": "integer"
  11606. },
  11607. "creditamount": {
  11608. "description": "授信金额",
  11609. "type": "number"
  11610. },
  11611. "gcaccountid": {
  11612. "description": "账户ID[合约币种]",
  11613. "type": "integer"
  11614. },
  11615. "goodscode": {
  11616. "description": "商品代码",
  11617. "type": "string"
  11618. },
  11619. "goodsid": {
  11620. "description": "商品ID",
  11621. "type": "integer"
  11622. },
  11623. "goodsname": {
  11624. "description": "商品名称",
  11625. "type": "string"
  11626. },
  11627. "intclosepl": {
  11628. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11629. "type": "integer"
  11630. },
  11631. "isconfirmexercise": {
  11632. "description": "是否确认行权- 0:否 1:是",
  11633. "type": "integer"
  11634. },
  11635. "ismain": {
  11636. "description": "是否主单 - 0:不是 1:是",
  11637. "type": "integer"
  11638. },
  11639. "ispreexercise": {
  11640. "description": "是否预申报- 0:否 1:是",
  11641. "type": "integer"
  11642. },
  11643. "isreckoned": {
  11644. "description": "是否结算 - 0:未结算 1:已结算",
  11645. "type": "integer"
  11646. },
  11647. "listingselecttype": {
  11648. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11649. "type": "integer"
  11650. },
  11651. "marketid": {
  11652. "description": "市场ID",
  11653. "type": "integer"
  11654. },
  11655. "marketname": {
  11656. "description": "市场名称",
  11657. "type": "string"
  11658. },
  11659. "matchaccountid": {
  11660. "description": "对手账号id",
  11661. "type": "integer"
  11662. },
  11663. "memberuserid": {
  11664. "description": "会员id 个人投资者 需要填写",
  11665. "type": "integer"
  11666. },
  11667. "opencharge": {
  11668. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11669. "type": "number"
  11670. },
  11671. "openexchagechargevalue": {
  11672. "description": "建仓交易所手续费设置值",
  11673. "type": "number"
  11674. },
  11675. "openfeealgorithm": {
  11676. "description": "建仓手续费收取方式 1:比率 2:固定",
  11677. "type": "integer"
  11678. },
  11679. "openmemberchargevalue": {
  11680. "description": "建仓会员手续费设置值",
  11681. "type": "number"
  11682. },
  11683. "openqty": {
  11684. "description": "开仓数量(先建后平操作 需要记录)",
  11685. "type": "integer"
  11686. },
  11687. "optiontype": {
  11688. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11689. "type": "integer"
  11690. },
  11691. "orderid": {
  11692. "description": "委托单号",
  11693. "type": "string"
  11694. },
  11695. "performanceplanid": {
  11696. "description": "履约计划ID[期权]",
  11697. "type": "integer"
  11698. },
  11699. "performancestatus": {
  11700. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11701. "type": "integer"
  11702. },
  11703. "preexerciseprice": {
  11704. "description": "预申报价格",
  11705. "type": "number"
  11706. },
  11707. "premium": {
  11708. "description": "权利金 - [持仓单的权利金]",
  11709. "type": "number"
  11710. },
  11711. "relatedouttradeid": {
  11712. "description": "关联外部成交单ID",
  11713. "type": "integer"
  11714. },
  11715. "status": {
  11716. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11717. "type": "integer"
  11718. },
  11719. "tradeamount": {
  11720. "description": "成交金额[账户币种,用于所有权]",
  11721. "type": "number"
  11722. },
  11723. "tradedate": {
  11724. "description": "交易日(yyyyMMdd)",
  11725. "type": "string"
  11726. },
  11727. "tradeid": {
  11728. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11729. "type": "string"
  11730. },
  11731. "trademode": {
  11732. "description": "交易模式",
  11733. "type": "integer"
  11734. },
  11735. "tradeprice": {
  11736. "description": "成交价格",
  11737. "type": "number"
  11738. },
  11739. "tradeproperty": {
  11740. "description": "交易属性",
  11741. "type": "integer"
  11742. },
  11743. "tradeqty": {
  11744. "description": "成交数量",
  11745. "type": "integer"
  11746. },
  11747. "tradetime": {
  11748. "description": "成交时间",
  11749. "type": "string"
  11750. },
  11751. "tradetype": {
  11752. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11753. "type": "integer"
  11754. }
  11755. }
  11756. },
  11757. "order.QueryTradeOrderDetailRsp": {
  11758. "type": "object",
  11759. "required": [
  11760. "accountid",
  11761. "buildtype",
  11762. "buyorsell",
  11763. "goodsid",
  11764. "marketid",
  11765. "operatetype",
  11766. "orderqty",
  11767. "ordertime",
  11768. "pricemode",
  11769. "tradedate",
  11770. "validtype"
  11771. ],
  11772. "properties": {
  11773. "accountid": {
  11774. "description": "账户ID[报价币种]",
  11775. "type": "integer"
  11776. },
  11777. "buildtype": {
  11778. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11779. "type": "integer"
  11780. },
  11781. "buyorsell": {
  11782. "description": "买卖 - 0:买 1:卖",
  11783. "type": "integer"
  11784. },
  11785. "cancelorderid": {
  11786. "description": "撤单单号(撤单时填写)",
  11787. "type": "string"
  11788. },
  11789. "cancelqty": {
  11790. "description": "撤单数量",
  11791. "type": "integer"
  11792. },
  11793. "clienttype": {
  11794. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11795. "type": "integer"
  11796. },
  11797. "closefreezecharge": {
  11798. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11799. "type": "number"
  11800. },
  11801. "closeqty": {
  11802. "description": "平仓数量(先建后平操作 需要记录)",
  11803. "type": "integer"
  11804. },
  11805. "closetradeqty": {
  11806. "description": "平仓成交数量(先建后平操作,需要记录)",
  11807. "type": "integer"
  11808. },
  11809. "closeunfreezecharge": {
  11810. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11811. "type": "number"
  11812. },
  11813. "delistingtype": {
  11814. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11815. "type": "integer"
  11816. },
  11817. "enableqty": {
  11818. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  11819. "type": "integer"
  11820. },
  11821. "freezecharge": {
  11822. "description": "冻结手续费",
  11823. "type": "number"
  11824. },
  11825. "freezemargin": {
  11826. "description": "冻结保证金(冻结交易金额)",
  11827. "type": "number"
  11828. },
  11829. "goodscode": {
  11830. "description": "商品代码",
  11831. "type": "string"
  11832. },
  11833. "goodsid": {
  11834. "description": "商品ID",
  11835. "type": "integer"
  11836. },
  11837. "goodsname": {
  11838. "description": "商品名称",
  11839. "type": "string"
  11840. },
  11841. "listingselecttype": {
  11842. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11843. "type": "integer"
  11844. },
  11845. "marketid": {
  11846. "description": "市场ID",
  11847. "type": "integer"
  11848. },
  11849. "marketname": {
  11850. "description": "市场名称",
  11851. "type": "string"
  11852. },
  11853. "openfreezecharge": {
  11854. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11855. "type": "number"
  11856. },
  11857. "openqty": {
  11858. "description": "开仓数量(先建后平操作,需要记录)",
  11859. "type": "integer"
  11860. },
  11861. "opentradeqty": {
  11862. "description": "开仓成交数量(先建后平操作,需要记录)",
  11863. "type": "integer"
  11864. },
  11865. "openunfreezecharge": {
  11866. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11867. "type": "number"
  11868. },
  11869. "operatetype": {
  11870. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11871. "type": "integer"
  11872. },
  11873. "operatorid": {
  11874. "description": "登录账号(LoginID)",
  11875. "type": "integer"
  11876. },
  11877. "orderid": {
  11878. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11879. "type": "string"
  11880. },
  11881. "orderprice": {
  11882. "description": "委托价格",
  11883. "type": "number"
  11884. },
  11885. "orderqty": {
  11886. "description": "委托数量",
  11887. "type": "integer"
  11888. },
  11889. "ordersrc": {
  11890. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11891. "type": "integer"
  11892. },
  11893. "orderstatus": {
  11894. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11895. "type": "integer"
  11896. },
  11897. "ordertime": {
  11898. "description": "委托时间",
  11899. "type": "string"
  11900. },
  11901. "preorderid": {
  11902. "description": "关联预埋单号(止盈止损单时填写)",
  11903. "type": "string"
  11904. },
  11905. "pricemode": {
  11906. "description": "取价方式 - 1:市价 2: 限价",
  11907. "type": "integer"
  11908. },
  11909. "relatedid": {
  11910. "description": "关联单号(交割单)",
  11911. "type": "string"
  11912. },
  11913. "tradedate": {
  11914. "description": "交易日(yyyyMMdd)",
  11915. "type": "string"
  11916. },
  11917. "trademode": {
  11918. "description": "交易模式",
  11919. "type": "integer"
  11920. },
  11921. "tradeqty": {
  11922. "description": "成交数量",
  11923. "type": "integer"
  11924. },
  11925. "unfreezecharge": {
  11926. "description": "解冻手续费",
  11927. "type": "number"
  11928. },
  11929. "unfreezemargin": {
  11930. "description": "解冻保证金",
  11931. "type": "number"
  11932. },
  11933. "validtime": {
  11934. "description": "有效期限",
  11935. "type": "string"
  11936. },
  11937. "validtype": {
  11938. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11939. "type": "integer"
  11940. },
  11941. "volumetype": {
  11942. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11943. "type": "integer"
  11944. }
  11945. }
  11946. },
  11947. "order.QueryTradePositionRsp": {
  11948. "type": "object",
  11949. "required": [
  11950. "goodsid"
  11951. ],
  11952. "properties": {
  11953. "accountid": {
  11954. "description": "资金账户",
  11955. "type": "integer"
  11956. },
  11957. "agreeunit": {
  11958. "description": "合约单位",
  11959. "type": "number"
  11960. },
  11961. "averageprice": {
  11962. "description": "持仓均价",
  11963. "type": "number"
  11964. },
  11965. "buyorsell": {
  11966. "description": "方向 - 0:买 1:卖",
  11967. "type": "integer"
  11968. },
  11969. "closetotalqty": {
  11970. "description": "平仓总数量",
  11971. "type": "integer"
  11972. },
  11973. "curholderamount": {
  11974. "description": "当前持仓总金额[商品币种]",
  11975. "type": "number"
  11976. },
  11977. "curpositionqty": {
  11978. "description": "当前持仓总数量",
  11979. "type": "integer"
  11980. },
  11981. "currencyid": {
  11982. "description": "报价货币ID",
  11983. "type": "integer"
  11984. },
  11985. "curtdposition": {
  11986. "description": "期末今日头寸",
  11987. "type": "integer"
  11988. },
  11989. "decimalplace": {
  11990. "description": "报价小数位",
  11991. "type": "integer"
  11992. },
  11993. "enableqty": {
  11994. "description": "可用量",
  11995. "type": "integer"
  11996. },
  11997. "fretdposition": {
  11998. "description": "冻结今日头寸",
  11999. "type": "integer"
  12000. },
  12001. "frozenqty": {
  12002. "description": "持仓冻结数量",
  12003. "type": "integer"
  12004. },
  12005. "goodscode": {
  12006. "description": "商品代码",
  12007. "type": "string"
  12008. },
  12009. "goodsid": {
  12010. "description": "商品Id",
  12011. "type": "integer"
  12012. },
  12013. "goodsname": {
  12014. "description": "商品名称",
  12015. "type": "string"
  12016. },
  12017. "goodunit": {
  12018. "description": "报价单位",
  12019. "type": "string"
  12020. },
  12021. "goodunitid": {
  12022. "description": "报价单位ID",
  12023. "type": "integer"
  12024. },
  12025. "holderamount": {
  12026. "description": "期初持仓总金额[商品币种]",
  12027. "type": "number"
  12028. },
  12029. "marketid": {
  12030. "description": "所属市场ID",
  12031. "type": "integer"
  12032. },
  12033. "openreqqty": {
  12034. "description": "开仓申请数量(用于比较最大持仓数量)",
  12035. "type": "integer"
  12036. },
  12037. "opentotalqty": {
  12038. "description": "开仓总数量",
  12039. "type": "integer"
  12040. },
  12041. "otherfrozenqty": {
  12042. "description": "持仓其他冻结数量(交割冻结)",
  12043. "type": "integer"
  12044. },
  12045. "positionqty": {
  12046. "description": "期初持仓数量",
  12047. "type": "integer"
  12048. },
  12049. "tnqty": {
  12050. "description": "T+N冻结总量",
  12051. "type": "integer"
  12052. },
  12053. "tnusedqty": {
  12054. "description": "T+N使用量(可以使用T+N的冻结数量)",
  12055. "type": "integer"
  12056. },
  12057. "trademode": {
  12058. "description": "交易模式",
  12059. "type": "integer"
  12060. },
  12061. "usedmargin": {
  12062. "description": "占用保证金[商品币种]",
  12063. "type": "number"
  12064. }
  12065. }
  12066. },
  12067. "quote.HistoryData": {
  12068. "type": "object",
  12069. "properties": {
  12070. "c": {
  12071. "description": "收盘价",
  12072. "type": "number"
  12073. },
  12074. "h": {
  12075. "description": "最高价",
  12076. "type": "number"
  12077. },
  12078. "hv": {
  12079. "description": "持仓量",
  12080. "type": "integer"
  12081. },
  12082. "l": {
  12083. "description": "最低价",
  12084. "type": "number"
  12085. },
  12086. "o": {
  12087. "description": "开盘价",
  12088. "type": "number"
  12089. },
  12090. "s": {
  12091. "description": "结算价,日线周期(包括)以上才有",
  12092. "type": "number"
  12093. },
  12094. "ts": {
  12095. "description": "时间",
  12096. "type": "string"
  12097. },
  12098. "tt": {
  12099. "description": "总金额",
  12100. "type": "number"
  12101. },
  12102. "tv": {
  12103. "description": "总量",
  12104. "type": "integer"
  12105. }
  12106. }
  12107. },
  12108. "quote.QueryTSDataRsp": {
  12109. "type": "object",
  12110. "properties": {
  12111. "decimalPlace": {
  12112. "description": "小数位",
  12113. "type": "integer"
  12114. },
  12115. "endTime": {
  12116. "description": "结束时间",
  12117. "type": "string"
  12118. },
  12119. "goodsCode": {
  12120. "description": "商品代码",
  12121. "type": "string"
  12122. },
  12123. "historyDatas": {
  12124. "description": "历史数据",
  12125. "type": "array",
  12126. "items": {
  12127. "$ref": "#/definitions/quote.HistoryData"
  12128. }
  12129. },
  12130. "preSettle": {
  12131. "description": "昨结",
  12132. "type": "number"
  12133. },
  12134. "startTime": {
  12135. "description": "开始时间",
  12136. "type": "string"
  12137. },
  12138. "tradeDate": {
  12139. "description": "交易日",
  12140. "type": "string"
  12141. }
  12142. }
  12143. },
  12144. "szdz.QueryConvertLogRsp": {
  12145. "type": "object",
  12146. "required": [
  12147. "logid"
  12148. ],
  12149. "properties": {
  12150. "accountid": {
  12151. "description": "资金账户ID",
  12152. "type": "integer"
  12153. },
  12154. "clientticket": {
  12155. "description": "客户端流水号",
  12156. "type": "string"
  12157. },
  12158. "converttype": {
  12159. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  12160. "type": "integer"
  12161. },
  12162. "createtime": {
  12163. "description": "记账时间",
  12164. "type": "string"
  12165. },
  12166. "daymaxvalue": {
  12167. "description": "配置当日最大转入限制",
  12168. "type": "number"
  12169. },
  12170. "daymaxvalue2": {
  12171. "description": "配置当日最大转入限制(转入)",
  12172. "type": "number"
  12173. },
  12174. "goodscode": {
  12175. "description": "商品代码",
  12176. "type": "string"
  12177. },
  12178. "goodsname": {
  12179. "description": "商品名称",
  12180. "type": "string"
  12181. },
  12182. "handlestatus": {
  12183. "description": "处理状态",
  12184. "type": "integer"
  12185. },
  12186. "innergoodsid": {
  12187. "description": "内部商品ID",
  12188. "type": "integer"
  12189. },
  12190. "inratio": {
  12191. "description": "配置转入比值",
  12192. "type": "integer"
  12193. },
  12194. "invalue": {
  12195. "description": "目标值",
  12196. "type": "number"
  12197. },
  12198. "logid": {
  12199. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12200. "type": "integer"
  12201. },
  12202. "mobile": {
  12203. "description": "手机号码(加密存储)",
  12204. "type": "string"
  12205. },
  12206. "outergoodscode": {
  12207. "description": "外部商品代码[JD\\PD]",
  12208. "type": "string"
  12209. },
  12210. "outratio": {
  12211. "description": "配置转出比值",
  12212. "type": "integer"
  12213. },
  12214. "outvalue": {
  12215. "description": "源值",
  12216. "type": "number"
  12217. },
  12218. "pddecimalplace": {
  12219. "description": "PD小数位",
  12220. "type": "integer"
  12221. },
  12222. "qty": {
  12223. "description": "数量",
  12224. "type": "string"
  12225. },
  12226. "remark": {
  12227. "description": "备注",
  12228. "type": "string"
  12229. },
  12230. "sessionid": {
  12231. "description": "会话ID",
  12232. "type": "integer"
  12233. },
  12234. "timemaxvalue": {
  12235. "description": "配置单次最大转入限制",
  12236. "type": "number"
  12237. },
  12238. "timemaxvalue2": {
  12239. "description": "配置单次最大转入限制(转入)",
  12240. "type": "number"
  12241. },
  12242. "timeminvalue": {
  12243. "description": "配置单次最小数量限制",
  12244. "type": "number"
  12245. },
  12246. "timeminvalue2": {
  12247. "description": "配置单次最小数量限制(转入)",
  12248. "type": "number"
  12249. },
  12250. "tradedate": {
  12251. "description": "交易日(yyyyMMdd)",
  12252. "type": "string"
  12253. },
  12254. "userid": {
  12255. "description": "用户ID",
  12256. "type": "integer"
  12257. }
  12258. }
  12259. },
  12260. "szdz.QueryGoodsPickupRsp": {
  12261. "type": "object",
  12262. "required": [
  12263. "takeorderid"
  12264. ],
  12265. "properties": {
  12266. "accountid": {
  12267. "description": "账户ID",
  12268. "type": "integer"
  12269. },
  12270. "address": {
  12271. "description": "提货人详细地址",
  12272. "type": "string"
  12273. },
  12274. "auditer": {
  12275. "description": "审核人",
  12276. "type": "integer"
  12277. },
  12278. "audittime": {
  12279. "description": "审核时间",
  12280. "type": "string"
  12281. },
  12282. "cardnum": {
  12283. "description": "提货人证件号码",
  12284. "type": "string"
  12285. },
  12286. "cardtypeid": {
  12287. "description": "提货人证件类型",
  12288. "type": "integer"
  12289. },
  12290. "checkremark": {
  12291. "description": "审核备注",
  12292. "type": "string"
  12293. },
  12294. "goodscode": {
  12295. "description": "商品代码",
  12296. "type": "string"
  12297. },
  12298. "goodsid": {
  12299. "description": "商品ID",
  12300. "type": "integer"
  12301. },
  12302. "goodsname": {
  12303. "description": "商品名称",
  12304. "type": "string"
  12305. },
  12306. "handlestatus": {
  12307. "description": "处理状态",
  12308. "type": "integer"
  12309. },
  12310. "marketid": {
  12311. "description": "市场ID",
  12312. "type": "integer"
  12313. },
  12314. "phonenum": {
  12315. "description": "提货人联系方式",
  12316. "type": "string"
  12317. },
  12318. "qty": {
  12319. "description": "提货数量",
  12320. "type": "number"
  12321. },
  12322. "recivername": {
  12323. "description": "提货人姓名",
  12324. "type": "string"
  12325. },
  12326. "reqtime": {
  12327. "description": "更新时间",
  12328. "type": "string"
  12329. },
  12330. "takemode": {
  12331. "description": "提货方式 - 2:自提 3:配送",
  12332. "type": "integer"
  12333. },
  12334. "takeorderid": {
  12335. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12336. "type": "string"
  12337. },
  12338. "takeorderstatus": {
  12339. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12340. "type": "integer"
  12341. },
  12342. "takeremark": {
  12343. "description": "提货备注",
  12344. "type": "string"
  12345. },
  12346. "tradedate": {
  12347. "description": "交易日(yyyyMMdd)",
  12348. "type": "string"
  12349. },
  12350. "userid": {
  12351. "description": "用户ID",
  12352. "type": "integer"
  12353. }
  12354. }
  12355. },
  12356. "szdz.QueryRecieptOrderRsp": {
  12357. "type": "object",
  12358. "required": [
  12359. "ordertime"
  12360. ],
  12361. "properties": {
  12362. "accountName": {
  12363. "description": "所属账号名称(已脱敏)",
  12364. "type": "string"
  12365. },
  12366. "accountid": {
  12367. "description": "资金账号",
  12368. "type": "integer"
  12369. },
  12370. "buyorsell": {
  12371. "description": "方向 - 0:买 1:卖",
  12372. "type": "integer"
  12373. },
  12374. "enableqty": {
  12375. "description": "可摘数量",
  12376. "type": "integer"
  12377. },
  12378. "goodscode": {
  12379. "description": "商品代码",
  12380. "type": "string"
  12381. },
  12382. "goodsid": {
  12383. "description": "商品ID",
  12384. "type": "integer"
  12385. },
  12386. "goodsname": {
  12387. "description": "商品名称",
  12388. "type": "string"
  12389. },
  12390. "orderid": {
  12391. "description": "委托单号",
  12392. "type": "string"
  12393. },
  12394. "orderprice": {
  12395. "description": "委托价格",
  12396. "type": "number"
  12397. },
  12398. "ordertime": {
  12399. "description": "委托时间",
  12400. "type": "string"
  12401. },
  12402. "tradedate": {
  12403. "description": "交易日(yyyyMMdd)",
  12404. "type": "string"
  12405. }
  12406. }
  12407. },
  12408. "szdz.QuerySZDZTradePositionRsp": {
  12409. "type": "object",
  12410. "properties": {
  12411. "accountid": {
  12412. "description": "账号Id",
  12413. "type": "integer"
  12414. },
  12415. "agreeunit": {
  12416. "description": "合约单位",
  12417. "type": "number"
  12418. },
  12419. "averageprice": {
  12420. "description": "持仓均价",
  12421. "type": "number"
  12422. },
  12423. "buyorsell": {
  12424. "description": "方向 - 0:买 1:卖",
  12425. "type": "integer"
  12426. },
  12427. "closetotalqty": {
  12428. "description": "平仓总数量",
  12429. "type": "integer"
  12430. },
  12431. "curholderamount": {
  12432. "description": "当前持仓总金额",
  12433. "type": "number"
  12434. },
  12435. "curpositionqty": {
  12436. "description": "当前持仓总数量",
  12437. "type": "integer"
  12438. },
  12439. "currencyid": {
  12440. "description": "报价货币ID",
  12441. "type": "integer"
  12442. },
  12443. "curtdposition": {
  12444. "description": "期末今日头寸",
  12445. "type": "integer"
  12446. },
  12447. "decimalplace": {
  12448. "description": "报价小数位",
  12449. "type": "integer"
  12450. },
  12451. "enableqty": {
  12452. "description": "可用量",
  12453. "type": "integer"
  12454. },
  12455. "fretdposition": {
  12456. "description": "冻结今日头寸",
  12457. "type": "integer"
  12458. },
  12459. "frozenqty": {
  12460. "description": "持仓冻结数量",
  12461. "type": "integer"
  12462. },
  12463. "goodscode": {
  12464. "description": "商品代码(内部)",
  12465. "type": "string"
  12466. },
  12467. "goodsid": {
  12468. "description": "商品Id",
  12469. "type": "integer"
  12470. },
  12471. "goodsname": {
  12472. "description": "商品名称",
  12473. "type": "string"
  12474. },
  12475. "goodunit": {
  12476. "description": "报价单位",
  12477. "type": "string"
  12478. },
  12479. "goodunitid": {
  12480. "description": "报价单位ID",
  12481. "type": "integer"
  12482. },
  12483. "holderamount": {
  12484. "description": "期初持仓总金额",
  12485. "type": "number"
  12486. },
  12487. "marketid": {
  12488. "description": "市场ID",
  12489. "type": "integer"
  12490. },
  12491. "openreqqty": {
  12492. "description": "开仓申请数量",
  12493. "type": "integer"
  12494. },
  12495. "opentotalqty": {
  12496. "description": "开仓总数量",
  12497. "type": "integer"
  12498. },
  12499. "otherfrozenqty": {
  12500. "description": "持仓其他冻结数量(交割冻结)",
  12501. "type": "integer"
  12502. },
  12503. "positionqty": {
  12504. "description": "期初持仓数量",
  12505. "type": "integer"
  12506. },
  12507. "szdz3freezqty": {
  12508. "description": "尚志大宗转换冻结总数量",
  12509. "type": "integer"
  12510. },
  12511. "tnqty": {
  12512. "description": "T+N冻结总量",
  12513. "type": "integer"
  12514. },
  12515. "tnusedqty": {
  12516. "description": "T+N使用量",
  12517. "type": "integer"
  12518. },
  12519. "trademode": {
  12520. "description": "交易模式",
  12521. "type": "integer"
  12522. },
  12523. "usedmargin": {
  12524. "description": "占用保证金",
  12525. "type": "number"
  12526. }
  12527. }
  12528. },
  12529. "taaccount.QueryAmountLogRsp": {
  12530. "type": "object",
  12531. "required": [
  12532. "accountid",
  12533. "amount",
  12534. "amountadjusttype",
  12535. "autoid",
  12536. "balance",
  12537. "createtime",
  12538. "currentbalance",
  12539. "operatetype"
  12540. ],
  12541. "properties": {
  12542. "OPERATETYPENAME": {
  12543. "description": "资金操作类型名称",
  12544. "type": "string"
  12545. },
  12546. "accountid": {
  12547. "description": "资金账户ID",
  12548. "type": "integer"
  12549. },
  12550. "agoodscode": {
  12551. "description": "竞拍商品代码",
  12552. "type": "string"
  12553. },
  12554. "agoodsname": {
  12555. "description": "竞拍商品名称",
  12556. "type": "string"
  12557. },
  12558. "amount": {
  12559. "description": "资金金额",
  12560. "type": "number"
  12561. },
  12562. "amountadjusttype": {
  12563. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12564. "type": "integer"
  12565. },
  12566. "autoid": {
  12567. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12568. "type": "integer"
  12569. },
  12570. "balance": {
  12571. "description": "期初余额",
  12572. "type": "number"
  12573. },
  12574. "businesscode": {
  12575. "description": "业务编号",
  12576. "type": "integer"
  12577. },
  12578. "createtime": {
  12579. "description": "发生时间",
  12580. "type": "string"
  12581. },
  12582. "currencyid": {
  12583. "description": "币种ID",
  12584. "type": "integer"
  12585. },
  12586. "currentbalance": {
  12587. "description": "期末余额(变动后金额)",
  12588. "type": "number"
  12589. },
  12590. "dgoodscode": {
  12591. "description": "交割商品代码",
  12592. "type": "string"
  12593. },
  12594. "dgoodsname": {
  12595. "description": "交割商品名称",
  12596. "type": "string"
  12597. },
  12598. "goodscode": {
  12599. "description": "商品代码",
  12600. "type": "string"
  12601. },
  12602. "goodsid": {
  12603. "description": "商品ID",
  12604. "type": "integer"
  12605. },
  12606. "goodsname": {
  12607. "description": "商品名称",
  12608. "type": "string"
  12609. },
  12610. "marketid": {
  12611. "description": "市场ID",
  12612. "type": "integer"
  12613. },
  12614. "marketname": {
  12615. "description": "市场名称",
  12616. "type": "string"
  12617. },
  12618. "moneyticket": {
  12619. "description": "资金流水号:银行端流水号",
  12620. "type": "integer"
  12621. },
  12622. "operatetype": {
  12623. "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:营销收款",
  12624. "type": "integer"
  12625. },
  12626. "relationorderid": {
  12627. "description": "关联单号",
  12628. "type": "string"
  12629. },
  12630. "remark": {
  12631. "description": "备注",
  12632. "type": "string"
  12633. },
  12634. "trademode": {
  12635. "description": "交易模式",
  12636. "type": "integer"
  12637. }
  12638. }
  12639. },
  12640. "taaccount.QueryHisAmountLogRsp": {
  12641. "type": "object",
  12642. "required": [
  12643. "accountid",
  12644. "amount",
  12645. "amountadjusttype",
  12646. "autoid",
  12647. "balance",
  12648. "createtime",
  12649. "currentbalance",
  12650. "histradedate",
  12651. "operatetype"
  12652. ],
  12653. "properties": {
  12654. "OPERATETYPENAME": {
  12655. "description": "资金操作类型名称",
  12656. "type": "string"
  12657. },
  12658. "accountid": {
  12659. "description": "资金账户ID",
  12660. "type": "integer"
  12661. },
  12662. "agoodscode": {
  12663. "description": "竞拍商品代码",
  12664. "type": "string"
  12665. },
  12666. "agoodsname": {
  12667. "description": "竞拍商品名称",
  12668. "type": "string"
  12669. },
  12670. "amount": {
  12671. "description": "资金金额",
  12672. "type": "number"
  12673. },
  12674. "amountadjusttype": {
  12675. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12676. "type": "integer"
  12677. },
  12678. "autoid": {
  12679. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12680. "type": "integer"
  12681. },
  12682. "balance": {
  12683. "description": "期初余额",
  12684. "type": "number"
  12685. },
  12686. "businesscode": {
  12687. "description": "业务编号",
  12688. "type": "integer"
  12689. },
  12690. "createtime": {
  12691. "description": "发生时间",
  12692. "type": "string"
  12693. },
  12694. "currencyid": {
  12695. "description": "币种ID",
  12696. "type": "integer"
  12697. },
  12698. "currentbalance": {
  12699. "description": "期末余额(变动后金额)",
  12700. "type": "number"
  12701. },
  12702. "dgoodscode": {
  12703. "description": "交割商品代码",
  12704. "type": "string"
  12705. },
  12706. "dgoodsname": {
  12707. "description": "交割商品名称",
  12708. "type": "string"
  12709. },
  12710. "goodscode": {
  12711. "description": "商品代码",
  12712. "type": "string"
  12713. },
  12714. "goodsid": {
  12715. "description": "商品ID",
  12716. "type": "integer"
  12717. },
  12718. "goodsname": {
  12719. "description": "商品名称",
  12720. "type": "string"
  12721. },
  12722. "histradedate": {
  12723. "description": "历史交易日",
  12724. "type": "string"
  12725. },
  12726. "isvaliddata": {
  12727. "description": "是否有效 - 0:无效 1:有效",
  12728. "type": "integer"
  12729. },
  12730. "marketid": {
  12731. "description": "市场ID",
  12732. "type": "integer"
  12733. },
  12734. "marketname": {
  12735. "description": "市场名称",
  12736. "type": "string"
  12737. },
  12738. "moneyticket": {
  12739. "description": "资金流水号:银行端流水号",
  12740. "type": "integer"
  12741. },
  12742. "operatetype": {
  12743. "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:营销收款",
  12744. "type": "integer"
  12745. },
  12746. "relationorderid": {
  12747. "description": "关联单号",
  12748. "type": "string"
  12749. },
  12750. "remark": {
  12751. "description": "备注",
  12752. "type": "string"
  12753. },
  12754. "trademode": {
  12755. "description": "交易模式",
  12756. "type": "integer"
  12757. }
  12758. }
  12759. },
  12760. "trade.QueryRecieptOrderRsp": {
  12761. "type": "object",
  12762. "required": [
  12763. "ordertime"
  12764. ],
  12765. "properties": {
  12766. "accountName": {
  12767. "description": "所属账号名称(已脱敏)",
  12768. "type": "string"
  12769. },
  12770. "accountid": {
  12771. "description": "资金账号",
  12772. "type": "integer"
  12773. },
  12774. "buyorsell": {
  12775. "description": "方向 - 0:买 1:卖",
  12776. "type": "integer"
  12777. },
  12778. "enableqty": {
  12779. "description": "可摘数量",
  12780. "type": "integer"
  12781. },
  12782. "goodscode": {
  12783. "description": "商品代码",
  12784. "type": "string"
  12785. },
  12786. "goodsid": {
  12787. "description": "商品ID",
  12788. "type": "integer"
  12789. },
  12790. "goodsname": {
  12791. "description": "商品名称",
  12792. "type": "string"
  12793. },
  12794. "orderid": {
  12795. "description": "委托单号",
  12796. "type": "string"
  12797. },
  12798. "orderprice": {
  12799. "description": "委托价格",
  12800. "type": "number"
  12801. },
  12802. "ordertime": {
  12803. "description": "委托时间",
  12804. "type": "string"
  12805. },
  12806. "tradedate": {
  12807. "description": "交易日(yyyyMMdd)",
  12808. "type": "string"
  12809. }
  12810. }
  12811. }
  12812. },
  12813. "securityDefinitions": {
  12814. "ApiKeyAuth": {
  12815. "type": "apiKey",
  12816. "name": "Authorization",
  12817. "in": "header"
  12818. }
  12819. }
  12820. }`
  12821. type swaggerInfo struct {
  12822. Version string
  12823. Host string
  12824. BasePath string
  12825. Schemes []string
  12826. Title string
  12827. Description string
  12828. }
  12829. // SwaggerInfo holds exported Swagger Info so clients can modify it
  12830. var SwaggerInfo = swaggerInfo{
  12831. Version: "1.0",
  12832. Host: "",
  12833. BasePath: "/api",
  12834. Schemes: []string{},
  12835. Title: "MTP2.0 查询服务 API",
  12836. Description: "新的查询服务,替代原通用查询服务。",
  12837. }
  12838. type s struct{}
  12839. func (s *s) ReadDoc() string {
  12840. sInfo := SwaggerInfo
  12841. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  12842. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  12843. "marshal": func(v interface{}) string {
  12844. a, _ := json.Marshal(v)
  12845. return string(a)
  12846. },
  12847. }).Parse(doc)
  12848. if err != nil {
  12849. return doc
  12850. }
  12851. var tpl bytes.Buffer
  12852. if err := t.Execute(&tpl, sInfo); err != nil {
  12853. return doc
  12854. }
  12855. return tpl.String()
  12856. }
  12857. func init() {
  12858. swag.Register(swag.Name, &s{})
  12859. }