docs.go 503 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981
  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/QueryExposureDetail": {
  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": "areaUserId",
  1025. "in": "query",
  1026. "required": true
  1027. },
  1028. {
  1029. "type": "integer",
  1030. "description": "套保商品",
  1031. "name": "middleGoodsId",
  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.ExposureDetailRsp"
  1043. }
  1044. }
  1045. },
  1046. "500": {
  1047. "description": "Internal Server Error",
  1048. "schema": {
  1049. "$ref": "#/definitions/app.Response"
  1050. }
  1051. }
  1052. }
  1053. }
  1054. },
  1055. "/Ermcp/QueryExposureSpot": {
  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.ExposureSpotRsp"
  1085. }
  1086. }
  1087. },
  1088. "500": {
  1089. "description": "Internal Server Error",
  1090. "schema": {
  1091. "$ref": "#/definitions/app.Response"
  1092. }
  1093. }
  1094. }
  1095. }
  1096. },
  1097. "/Ermcp/QueryExposureSpotDetail": {
  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": "areaUserId",
  1116. "in": "query",
  1117. "required": true
  1118. },
  1119. {
  1120. "type": "integer",
  1121. "description": "现货品种ID",
  1122. "name": "wrstandardId",
  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.ExposureSpotDetailRsp"
  1134. }
  1135. }
  1136. },
  1137. "500": {
  1138. "description": "Internal Server Error",
  1139. "schema": {
  1140. "$ref": "#/definitions/app.Response"
  1141. }
  1142. }
  1143. }
  1144. }
  1145. },
  1146. "/Ermcp/QueryHedgePlan": {
  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": "userId",
  1165. "in": "query",
  1166. "required": true
  1167. },
  1168. {
  1169. "type": "string",
  1170. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1171. "name": "HedgePlanStatus",
  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.QryHedgePlanRsp"
  1183. }
  1184. }
  1185. },
  1186. "500": {
  1187. "description": "Internal Server Error",
  1188. "schema": {
  1189. "$ref": "#/definitions/app.Response"
  1190. }
  1191. }
  1192. }
  1193. }
  1194. },
  1195. "/Ermcp/QueryHisExposure": {
  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": "areaUserId",
  1214. "in": "query",
  1215. "required": true
  1216. },
  1217. {
  1218. "type": "integer",
  1219. "description": "最近多少条记录, -1:为查全部",
  1220. "name": "lastNum",
  1221. "in": "query",
  1222. "required": true
  1223. }
  1224. ],
  1225. "responses": {
  1226. "200": {
  1227. "description": "OK",
  1228. "schema": {
  1229. "type": "array",
  1230. "items": {
  1231. "$ref": "#/definitions/ermcp.HisExposureRsp"
  1232. }
  1233. }
  1234. },
  1235. "500": {
  1236. "description": "Internal Server Error",
  1237. "schema": {
  1238. "$ref": "#/definitions/app.Response"
  1239. }
  1240. }
  1241. }
  1242. }
  1243. },
  1244. "/Ermcp/QueryMiddleGoods": {
  1245. "get": {
  1246. "security": [
  1247. {
  1248. "ApiKeyAuth": []
  1249. }
  1250. ],
  1251. "produces": [
  1252. "application/json"
  1253. ],
  1254. "tags": [
  1255. "企业风险管理(app)"
  1256. ],
  1257. "summary": "查询套保品种(菜单:套保品种)",
  1258. "parameters": [
  1259. {
  1260. "type": "integer",
  1261. "description": "所属机构ID",
  1262. "name": "userid",
  1263. "in": "query",
  1264. "required": true
  1265. }
  1266. ],
  1267. "responses": {
  1268. "200": {
  1269. "description": "OK",
  1270. "schema": {
  1271. "type": "array",
  1272. "items": {
  1273. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  1274. }
  1275. }
  1276. },
  1277. "500": {
  1278. "description": "Internal Server Error",
  1279. "schema": {
  1280. "$ref": "#/definitions/app.Response"
  1281. }
  1282. }
  1283. }
  1284. }
  1285. },
  1286. "/Ermcp/QueryRealtimeExposure": {
  1287. "get": {
  1288. "security": [
  1289. {
  1290. "ApiKeyAuth": []
  1291. }
  1292. ],
  1293. "produces": [
  1294. "application/json"
  1295. ],
  1296. "tags": [
  1297. "企业风险管理(app)"
  1298. ],
  1299. "summary": "查询实时敞口",
  1300. "parameters": [
  1301. {
  1302. "type": "integer",
  1303. "description": "所属机构ID",
  1304. "name": "AreaUserID",
  1305. "in": "query",
  1306. "required": true
  1307. }
  1308. ],
  1309. "responses": {
  1310. "200": {
  1311. "description": "OK",
  1312. "schema": {
  1313. "type": "array",
  1314. "items": {
  1315. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1316. }
  1317. }
  1318. },
  1319. "500": {
  1320. "description": "Internal Server Error",
  1321. "schema": {
  1322. "$ref": "#/definitions/app.Response"
  1323. }
  1324. }
  1325. }
  1326. }
  1327. },
  1328. "/Ermcp/QuerySpotContract": {
  1329. "get": {
  1330. "security": [
  1331. {
  1332. "ApiKeyAuth": []
  1333. }
  1334. ],
  1335. "produces": [
  1336. "application/json"
  1337. ],
  1338. "tags": [
  1339. "企业风险管理(app)"
  1340. ],
  1341. "summary": "查询现货合同(对应现货合同菜单)",
  1342. "parameters": [
  1343. {
  1344. "type": "integer",
  1345. "description": "用户ID",
  1346. "name": "userId",
  1347. "in": "query",
  1348. "required": true
  1349. },
  1350. {
  1351. "type": "integer",
  1352. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1353. "name": "QueryType",
  1354. "in": "query",
  1355. "required": true
  1356. }
  1357. ],
  1358. "responses": {
  1359. "200": {
  1360. "description": "OK",
  1361. "schema": {
  1362. "type": "array",
  1363. "items": {
  1364. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1365. }
  1366. }
  1367. },
  1368. "500": {
  1369. "description": "Internal Server Error",
  1370. "schema": {
  1371. "$ref": "#/definitions/app.Response"
  1372. }
  1373. }
  1374. }
  1375. }
  1376. },
  1377. "/Ermcp/QueryUserInfo": {
  1378. "get": {
  1379. "security": [
  1380. {
  1381. "ApiKeyAuth": []
  1382. }
  1383. ],
  1384. "produces": [
  1385. "application/json"
  1386. ],
  1387. "tags": [
  1388. "企业风险管理(app)"
  1389. ],
  1390. "summary": "查询客户资料",
  1391. "parameters": [
  1392. {
  1393. "type": "integer",
  1394. "description": "所属机构用户ID",
  1395. "name": "MemberUserID",
  1396. "in": "query",
  1397. "required": true
  1398. },
  1399. {
  1400. "type": "integer",
  1401. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1402. "name": "queryType",
  1403. "in": "query",
  1404. "required": true
  1405. }
  1406. ],
  1407. "responses": {
  1408. "200": {
  1409. "description": "OK",
  1410. "schema": {
  1411. "type": "array",
  1412. "items": {
  1413. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1414. }
  1415. }
  1416. },
  1417. "500": {
  1418. "description": "Internal Server Error",
  1419. "schema": {
  1420. "$ref": "#/definitions/app.Response"
  1421. }
  1422. }
  1423. }
  1424. }
  1425. },
  1426. "/Ermcp/QueryWrStandard": {
  1427. "get": {
  1428. "security": [
  1429. {
  1430. "ApiKeyAuth": []
  1431. }
  1432. ],
  1433. "produces": [
  1434. "application/json"
  1435. ],
  1436. "tags": [
  1437. "企业风险管理(app)"
  1438. ],
  1439. "summary": "查询现货商品",
  1440. "parameters": [
  1441. {
  1442. "type": "integer",
  1443. "description": "所属机构ID",
  1444. "name": "userid",
  1445. "in": "query",
  1446. "required": true
  1447. }
  1448. ],
  1449. "responses": {
  1450. "200": {
  1451. "description": "OK",
  1452. "schema": {
  1453. "type": "array",
  1454. "items": {
  1455. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1456. }
  1457. }
  1458. },
  1459. "500": {
  1460. "description": "Internal Server Error",
  1461. "schema": {
  1462. "$ref": "#/definitions/app.Response"
  1463. }
  1464. }
  1465. }
  1466. }
  1467. },
  1468. "/Ermcp/QueryWrStandardDetail": {
  1469. "get": {
  1470. "security": [
  1471. {
  1472. "ApiKeyAuth": []
  1473. }
  1474. ],
  1475. "produces": [
  1476. "application/json"
  1477. ],
  1478. "tags": [
  1479. "企业风险管理(app)"
  1480. ],
  1481. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  1482. "parameters": [
  1483. {
  1484. "type": "integer",
  1485. "description": "所属机构ID",
  1486. "name": "userid",
  1487. "in": "query",
  1488. "required": true
  1489. },
  1490. {
  1491. "type": "integer",
  1492. "description": "现货商品ID",
  1493. "name": "wrstandardid",
  1494. "in": "query",
  1495. "required": true
  1496. }
  1497. ],
  1498. "responses": {
  1499. "200": {
  1500. "description": "OK",
  1501. "schema": {
  1502. "type": "array",
  1503. "items": {
  1504. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  1505. }
  1506. }
  1507. },
  1508. "500": {
  1509. "description": "Internal Server Error",
  1510. "schema": {
  1511. "$ref": "#/definitions/app.Response"
  1512. }
  1513. }
  1514. }
  1515. }
  1516. },
  1517. "/Erms2/QueryArbitrageStrategy": {
  1518. "get": {
  1519. "security": [
  1520. {
  1521. "ApiKeyAuth": []
  1522. }
  1523. ],
  1524. "produces": [
  1525. "application/json"
  1526. ],
  1527. "tags": [
  1528. "风险管理"
  1529. ],
  1530. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1531. "parameters": [
  1532. {
  1533. "type": "integer",
  1534. "description": "账户ID",
  1535. "name": "userid",
  1536. "in": "query",
  1537. "required": true
  1538. },
  1539. {
  1540. "type": "string",
  1541. "description": "商品组ID(品种ID)",
  1542. "name": "goodsgroupid",
  1543. "in": "query"
  1544. }
  1545. ],
  1546. "responses": {
  1547. "200": {
  1548. "description": "OK",
  1549. "schema": {
  1550. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1551. }
  1552. },
  1553. "500": {
  1554. "description": "Internal Server Error",
  1555. "schema": {
  1556. "$ref": "#/definitions/app.Response"
  1557. }
  1558. }
  1559. }
  1560. }
  1561. },
  1562. "/Erms2/QueryInnerTradeDetail": {
  1563. "get": {
  1564. "security": [
  1565. {
  1566. "ApiKeyAuth": []
  1567. }
  1568. ],
  1569. "produces": [
  1570. "application/json"
  1571. ],
  1572. "tags": [
  1573. "风险管理"
  1574. ],
  1575. "summary": "查询内部成交单信息",
  1576. "parameters": [
  1577. {
  1578. "type": "integer",
  1579. "description": "资金账户",
  1580. "name": "accountid",
  1581. "in": "query",
  1582. "required": true
  1583. }
  1584. ],
  1585. "responses": {
  1586. "200": {
  1587. "description": "OK",
  1588. "schema": {
  1589. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1590. }
  1591. },
  1592. "500": {
  1593. "description": "Internal Server Error",
  1594. "schema": {
  1595. "$ref": "#/definitions/app.Response"
  1596. }
  1597. }
  1598. }
  1599. }
  1600. },
  1601. "/Erms2/QuerySpotContract": {
  1602. "get": {
  1603. "security": [
  1604. {
  1605. "ApiKeyAuth": []
  1606. }
  1607. ],
  1608. "produces": [
  1609. "application/json"
  1610. ],
  1611. "tags": [
  1612. "风险管理"
  1613. ],
  1614. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1615. "parameters": [
  1616. {
  1617. "type": "integer",
  1618. "description": "策略申请ID",
  1619. "name": "asapplyid",
  1620. "in": "query",
  1621. "required": true
  1622. },
  1623. {
  1624. "type": "integer",
  1625. "description": "现货合同ID",
  1626. "name": "spotcontractid",
  1627. "in": "query"
  1628. }
  1629. ],
  1630. "responses": {
  1631. "200": {
  1632. "description": "OK",
  1633. "schema": {
  1634. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1635. }
  1636. },
  1637. "500": {
  1638. "description": "Internal Server Error",
  1639. "schema": {
  1640. "$ref": "#/definitions/app.Response"
  1641. }
  1642. }
  1643. }
  1644. }
  1645. },
  1646. "/Erms3/AddErms2ASApply": {
  1647. "post": {
  1648. "security": [
  1649. {
  1650. "ApiKeyAuth": []
  1651. }
  1652. ],
  1653. "produces": [
  1654. "application/json"
  1655. ],
  1656. "tags": [
  1657. "风险管理v3"
  1658. ],
  1659. "summary": "新增期现套利业务申请",
  1660. "parameters": [
  1661. {
  1662. "description": "申请参数",
  1663. "name": "jsonBody",
  1664. "in": "body",
  1665. "required": true,
  1666. "schema": {
  1667. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1668. }
  1669. }
  1670. ],
  1671. "responses": {
  1672. "200": {
  1673. "description": "OK",
  1674. "schema": {
  1675. "$ref": "#/definitions/app.Response"
  1676. }
  1677. },
  1678. "500": {
  1679. "description": "Internal Server Error",
  1680. "schema": {
  1681. "$ref": "#/definitions/app.Response"
  1682. }
  1683. }
  1684. }
  1685. }
  1686. },
  1687. "/Erms3/AddErms2SpotTradeApply": {
  1688. "post": {
  1689. "security": [
  1690. {
  1691. "ApiKeyAuth": []
  1692. }
  1693. ],
  1694. "produces": [
  1695. "application/json"
  1696. ],
  1697. "tags": [
  1698. "风险管理v3"
  1699. ],
  1700. "summary": "新增现货贸易业务申请",
  1701. "parameters": [
  1702. {
  1703. "description": "申请参数",
  1704. "name": "jsonBody",
  1705. "in": "body",
  1706. "required": true,
  1707. "schema": {
  1708. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1709. }
  1710. }
  1711. ],
  1712. "responses": {
  1713. "200": {
  1714. "description": "OK",
  1715. "schema": {
  1716. "$ref": "#/definitions/app.Response"
  1717. }
  1718. },
  1719. "500": {
  1720. "description": "Internal Server Error",
  1721. "schema": {
  1722. "$ref": "#/definitions/app.Response"
  1723. }
  1724. }
  1725. }
  1726. }
  1727. },
  1728. "/Erms3/AddSpotContractApply": {
  1729. "post": {
  1730. "security": [
  1731. {
  1732. "ApiKeyAuth": []
  1733. }
  1734. ],
  1735. "produces": [
  1736. "application/json"
  1737. ],
  1738. "tags": [
  1739. "风险管理v3"
  1740. ],
  1741. "summary": "新增现货合同申请",
  1742. "parameters": [
  1743. {
  1744. "description": "申请参数",
  1745. "name": "jsonBody",
  1746. "in": "body",
  1747. "required": true,
  1748. "schema": {
  1749. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1750. }
  1751. }
  1752. ],
  1753. "responses": {
  1754. "200": {
  1755. "description": "OK",
  1756. "schema": {
  1757. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1758. }
  1759. },
  1760. "500": {
  1761. "description": "Internal Server Error",
  1762. "schema": {
  1763. "$ref": "#/definitions/app.Response"
  1764. }
  1765. }
  1766. }
  1767. }
  1768. },
  1769. "/Erms3/AddUserInfoApply": {
  1770. "post": {
  1771. "security": [
  1772. {
  1773. "ApiKeyAuth": []
  1774. }
  1775. ],
  1776. "produces": [
  1777. "application/json"
  1778. ],
  1779. "tags": [
  1780. "风险管理v3"
  1781. ],
  1782. "summary": "新增客户申请",
  1783. "parameters": [
  1784. {
  1785. "description": "申请参数",
  1786. "name": "jsonBody",
  1787. "in": "body",
  1788. "required": true,
  1789. "schema": {
  1790. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1791. }
  1792. }
  1793. ],
  1794. "responses": {
  1795. "200": {
  1796. "description": "OK",
  1797. "schema": {
  1798. "$ref": "#/definitions/app.Response"
  1799. }
  1800. },
  1801. "500": {
  1802. "description": "Internal Server Error",
  1803. "schema": {
  1804. "$ref": "#/definitions/app.Response"
  1805. }
  1806. }
  1807. }
  1808. }
  1809. },
  1810. "/Erms3/QueryBusinessInfo": {
  1811. "get": {
  1812. "security": [
  1813. {
  1814. "ApiKeyAuth": []
  1815. }
  1816. ],
  1817. "produces": [
  1818. "application/json"
  1819. ],
  1820. "tags": [
  1821. "风险管理v3"
  1822. ],
  1823. "summary": "查询业务表单数据",
  1824. "parameters": [
  1825. {
  1826. "type": "string",
  1827. "description": "资金账号ID列表,用逗号分隔",
  1828. "name": "accountids",
  1829. "in": "query",
  1830. "required": true
  1831. },
  1832. {
  1833. "type": "integer",
  1834. "description": "状态,0为未结束 1为已结束",
  1835. "name": "status",
  1836. "in": "query",
  1837. "required": true
  1838. }
  1839. ],
  1840. "responses": {
  1841. "200": {
  1842. "description": "OK",
  1843. "schema": {
  1844. "type": "array",
  1845. "items": {
  1846. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1847. }
  1848. }
  1849. },
  1850. "500": {
  1851. "description": "Internal Server Error",
  1852. "schema": {
  1853. "$ref": "#/definitions/app.Response"
  1854. }
  1855. }
  1856. }
  1857. }
  1858. },
  1859. "/Erms3/QueryPendingAuditContract": {
  1860. "get": {
  1861. "security": [
  1862. {
  1863. "ApiKeyAuth": []
  1864. }
  1865. ],
  1866. "produces": [
  1867. "application/json"
  1868. ],
  1869. "tags": [
  1870. "风险管理v3"
  1871. ],
  1872. "summary": "查询待审核合同",
  1873. "parameters": [
  1874. {
  1875. "type": "string",
  1876. "description": "资金账号ID列表,逗号隔开",
  1877. "name": "accountids",
  1878. "in": "query",
  1879. "required": true
  1880. },
  1881. {
  1882. "type": "integer",
  1883. "description": "合同类型 1-采购 -1-销售",
  1884. "name": "contracttype",
  1885. "in": "query",
  1886. "required": true
  1887. },
  1888. {
  1889. "type": "integer",
  1890. "description": "合同模式 1-普通 2-回购",
  1891. "name": "contractmode",
  1892. "in": "query",
  1893. "required": true
  1894. }
  1895. ],
  1896. "responses": {
  1897. "200": {
  1898. "description": "OK",
  1899. "schema": {
  1900. "type": "array",
  1901. "items": {
  1902. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1903. }
  1904. }
  1905. },
  1906. "500": {
  1907. "description": "Internal Server Error",
  1908. "schema": {
  1909. "$ref": "#/definitions/app.Response"
  1910. }
  1911. }
  1912. }
  1913. }
  1914. },
  1915. "/Erms3/QueryPendingBusiness": {
  1916. "get": {
  1917. "security": [
  1918. {
  1919. "ApiKeyAuth": []
  1920. }
  1921. ],
  1922. "produces": [
  1923. "application/json"
  1924. ],
  1925. "tags": [
  1926. "风险管理v3"
  1927. ],
  1928. "summary": "查询待审核基差贸易业务",
  1929. "parameters": [
  1930. {
  1931. "type": "string",
  1932. "description": "资金账号ID列表,逗号隔开",
  1933. "name": "accountids",
  1934. "in": "query",
  1935. "required": true
  1936. }
  1937. ],
  1938. "responses": {
  1939. "200": {
  1940. "description": "OK",
  1941. "schema": {
  1942. "type": "array",
  1943. "items": {
  1944. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1945. }
  1946. }
  1947. },
  1948. "500": {
  1949. "description": "Internal Server Error",
  1950. "schema": {
  1951. "$ref": "#/definitions/app.Response"
  1952. }
  1953. }
  1954. }
  1955. }
  1956. },
  1957. "/Erms3/QuerySpotContractAppleForm": {
  1958. "get": {
  1959. "security": [
  1960. {
  1961. "ApiKeyAuth": []
  1962. }
  1963. ],
  1964. "produces": [
  1965. "application/json"
  1966. ],
  1967. "tags": [
  1968. "风险管理v3"
  1969. ],
  1970. "summary": "查询合同申请表单数据",
  1971. "parameters": [
  1972. {
  1973. "type": "integer",
  1974. "description": "登录账号",
  1975. "name": "loginID",
  1976. "in": "query",
  1977. "required": true
  1978. }
  1979. ],
  1980. "responses": {
  1981. "200": {
  1982. "description": "OK",
  1983. "schema": {
  1984. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1985. }
  1986. },
  1987. "500": {
  1988. "description": "Internal Server Error",
  1989. "schema": {
  1990. "$ref": "#/definitions/app.Response"
  1991. }
  1992. }
  1993. }
  1994. }
  1995. },
  1996. "/Erms3/QuerySpotContractDetail": {
  1997. "get": {
  1998. "security": [
  1999. {
  2000. "ApiKeyAuth": []
  2001. }
  2002. ],
  2003. "produces": [
  2004. "application/json"
  2005. ],
  2006. "tags": [
  2007. "风险管理v3"
  2008. ],
  2009. "summary": "查询合同详细信息",
  2010. "parameters": [
  2011. {
  2012. "type": "string",
  2013. "description": "资金账号ID列表,用逗号分隔",
  2014. "name": "accountids",
  2015. "in": "query",
  2016. "required": true
  2017. },
  2018. {
  2019. "type": "integer",
  2020. "description": "合同类型,1为采购合同 -1为销售合同",
  2021. "name": "contracttype",
  2022. "in": "query",
  2023. "required": true
  2024. },
  2025. {
  2026. "type": "integer",
  2027. "description": "合同模式,1为普通合同 2为回购销售合同",
  2028. "name": "contractmode",
  2029. "in": "query",
  2030. "required": true
  2031. },
  2032. {
  2033. "type": "integer",
  2034. "description": "状态,0为履约中 1为已完成",
  2035. "name": "status",
  2036. "in": "query",
  2037. "required": true
  2038. }
  2039. ],
  2040. "responses": {
  2041. "200": {
  2042. "description": "OK",
  2043. "schema": {
  2044. "type": "array",
  2045. "items": {
  2046. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  2047. }
  2048. }
  2049. },
  2050. "500": {
  2051. "description": "Internal Server Error",
  2052. "schema": {
  2053. "$ref": "#/definitions/app.Response"
  2054. }
  2055. }
  2056. }
  2057. }
  2058. },
  2059. "/Erms3/QueryUserInfoApplies": {
  2060. "get": {
  2061. "security": [
  2062. {
  2063. "ApiKeyAuth": []
  2064. }
  2065. ],
  2066. "produces": [
  2067. "application/json"
  2068. ],
  2069. "tags": [
  2070. "风险管理v3"
  2071. ],
  2072. "summary": "客户申请信息查询",
  2073. "parameters": [
  2074. {
  2075. "type": "integer",
  2076. "description": "页码",
  2077. "name": "page",
  2078. "in": "query"
  2079. },
  2080. {
  2081. "type": "integer",
  2082. "description": "每页条数",
  2083. "name": "pagesize",
  2084. "in": "query"
  2085. },
  2086. {
  2087. "type": "string",
  2088. "description": "客户名称,支持模糊查询",
  2089. "name": "userName",
  2090. "in": "query"
  2091. }
  2092. ],
  2093. "responses": {
  2094. "200": {
  2095. "description": "OK",
  2096. "schema": {
  2097. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  2098. }
  2099. },
  2100. "500": {
  2101. "description": "Internal Server Error",
  2102. "schema": {
  2103. "$ref": "#/definitions/app.Response"
  2104. }
  2105. }
  2106. }
  2107. }
  2108. },
  2109. "/Erms3/QueryUserInfos": {
  2110. "get": {
  2111. "security": [
  2112. {
  2113. "ApiKeyAuth": []
  2114. }
  2115. ],
  2116. "produces": [
  2117. "application/json"
  2118. ],
  2119. "tags": [
  2120. "风险管理v3"
  2121. ],
  2122. "summary": "客户信息查询",
  2123. "parameters": [
  2124. {
  2125. "type": "integer",
  2126. "description": "页码",
  2127. "name": "page",
  2128. "in": "query"
  2129. },
  2130. {
  2131. "type": "integer",
  2132. "description": "每页条数",
  2133. "name": "pagesize",
  2134. "in": "query"
  2135. },
  2136. {
  2137. "type": "string",
  2138. "description": "客户名称,支持模糊查询",
  2139. "name": "userName",
  2140. "in": "query"
  2141. }
  2142. ],
  2143. "responses": {
  2144. "200": {
  2145. "description": "OK",
  2146. "schema": {
  2147. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  2148. }
  2149. },
  2150. "500": {
  2151. "description": "Internal Server Error",
  2152. "schema": {
  2153. "$ref": "#/definitions/app.Response"
  2154. }
  2155. }
  2156. }
  2157. }
  2158. },
  2159. "/HSBY/GetHsbyMyCount": {
  2160. "get": {
  2161. "security": [
  2162. {
  2163. "ApiKeyAuth": []
  2164. }
  2165. ],
  2166. "description": "说明: 不包括已完成的数量。",
  2167. "produces": [
  2168. "application/json"
  2169. ],
  2170. "tags": [
  2171. "定制【海商报业】"
  2172. ],
  2173. "summary": "获取我的订单与包裹数量",
  2174. "parameters": [
  2175. {
  2176. "type": "string",
  2177. "description": "资金账户列表,格式:1,2,3",
  2178. "name": "accountIDs",
  2179. "in": "query",
  2180. "required": true
  2181. }
  2182. ],
  2183. "responses": {
  2184. "200": {
  2185. "description": "OK",
  2186. "schema": {
  2187. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  2188. }
  2189. },
  2190. "500": {
  2191. "description": "Internal Server Error",
  2192. "schema": {
  2193. "$ref": "#/definitions/app.Response"
  2194. }
  2195. }
  2196. }
  2197. }
  2198. },
  2199. "/HSBY/QueryClientFixedADConfigs": {
  2200. "get": {
  2201. "security": [
  2202. {
  2203. "ApiKeyAuth": []
  2204. }
  2205. ],
  2206. "produces": [
  2207. "application/json"
  2208. ],
  2209. "tags": [
  2210. "定制【海商报业】"
  2211. ],
  2212. "summary": "获取终端固定广告配置",
  2213. "responses": {
  2214. "200": {
  2215. "description": "OK",
  2216. "schema": {
  2217. "$ref": "#/definitions/models.Clientfixedadconfig"
  2218. }
  2219. },
  2220. "500": {
  2221. "description": "Internal Server Error",
  2222. "schema": {
  2223. "$ref": "#/definitions/app.Response"
  2224. }
  2225. }
  2226. }
  2227. }
  2228. },
  2229. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2230. "get": {
  2231. "security": [
  2232. {
  2233. "ApiKeyAuth": []
  2234. }
  2235. ],
  2236. "produces": [
  2237. "application/json"
  2238. ],
  2239. "tags": [
  2240. "定制【海商报业】"
  2241. ],
  2242. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2243. "parameters": [
  2244. {
  2245. "type": "integer",
  2246. "description": "页码",
  2247. "name": "page",
  2248. "in": "query"
  2249. },
  2250. {
  2251. "type": "integer",
  2252. "description": "每页条数",
  2253. "name": "pagesize",
  2254. "in": "query"
  2255. },
  2256. {
  2257. "type": "string",
  2258. "description": "资金账户列表,格式:1,2,3",
  2259. "name": "accountIDs",
  2260. "in": "query",
  2261. "required": true
  2262. }
  2263. ],
  2264. "responses": {
  2265. "200": {
  2266. "description": "OK",
  2267. "schema": {
  2268. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2269. }
  2270. },
  2271. "500": {
  2272. "description": "Internal Server Error",
  2273. "schema": {
  2274. "$ref": "#/definitions/app.Response"
  2275. }
  2276. }
  2277. }
  2278. }
  2279. },
  2280. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2281. "get": {
  2282. "security": [
  2283. {
  2284. "ApiKeyAuth": []
  2285. }
  2286. ],
  2287. "description": "说明:查询结果已按委托价格和委托时间排序",
  2288. "produces": [
  2289. "application/json"
  2290. ],
  2291. "tags": [
  2292. "定制【海商报业】"
  2293. ],
  2294. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2295. "parameters": [
  2296. {
  2297. "type": "integer",
  2298. "description": "商品ID",
  2299. "name": "goodsID",
  2300. "in": "query",
  2301. "required": true
  2302. },
  2303. {
  2304. "type": "string",
  2305. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2306. "name": "accountIDs",
  2307. "in": "query"
  2308. },
  2309. {
  2310. "type": "integer",
  2311. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2312. "name": "buyOrSell",
  2313. "in": "query"
  2314. },
  2315. {
  2316. "type": "number",
  2317. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2318. "name": "price",
  2319. "in": "query"
  2320. },
  2321. {
  2322. "type": "integer",
  2323. "description": "档位,不传则默认为3档",
  2324. "name": "speed",
  2325. "in": "query"
  2326. }
  2327. ],
  2328. "responses": {
  2329. "200": {
  2330. "description": "OK",
  2331. "schema": {
  2332. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2333. }
  2334. },
  2335. "500": {
  2336. "description": "Internal Server Error",
  2337. "schema": {
  2338. "$ref": "#/definitions/app.Response"
  2339. }
  2340. }
  2341. }
  2342. }
  2343. },
  2344. "/HSBY/QueryHsbyListingGoodsDetail": {
  2345. "get": {
  2346. "security": [
  2347. {
  2348. "ApiKeyAuth": []
  2349. }
  2350. ],
  2351. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2352. "produces": [
  2353. "application/json"
  2354. ],
  2355. "tags": [
  2356. "定制【海商报业】"
  2357. ],
  2358. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2359. "parameters": [
  2360. {
  2361. "type": "integer",
  2362. "description": "商品ID",
  2363. "name": "goodsID",
  2364. "in": "query",
  2365. "required": true
  2366. },
  2367. {
  2368. "type": "integer",
  2369. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2370. "name": "accountID",
  2371. "in": "query"
  2372. }
  2373. ],
  2374. "responses": {
  2375. "200": {
  2376. "description": "OK",
  2377. "schema": {
  2378. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2379. }
  2380. },
  2381. "500": {
  2382. "description": "Internal Server Error",
  2383. "schema": {
  2384. "$ref": "#/definitions/app.Response"
  2385. }
  2386. }
  2387. }
  2388. }
  2389. },
  2390. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2391. "get": {
  2392. "security": [
  2393. {
  2394. "ApiKeyAuth": []
  2395. }
  2396. ],
  2397. "produces": [
  2398. "application/json"
  2399. ],
  2400. "tags": [
  2401. "定制【海商报业】"
  2402. ],
  2403. "summary": "查询三级市场(商城)商品信息详情",
  2404. "parameters": [
  2405. {
  2406. "type": "integer",
  2407. "description": "委托单号",
  2408. "name": "orderID",
  2409. "in": "query",
  2410. "required": true
  2411. },
  2412. {
  2413. "type": "integer",
  2414. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2415. "name": "accountID",
  2416. "in": "query"
  2417. }
  2418. ],
  2419. "responses": {
  2420. "200": {
  2421. "description": "OK",
  2422. "schema": {
  2423. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2424. }
  2425. },
  2426. "500": {
  2427. "description": "Internal Server Error",
  2428. "schema": {
  2429. "$ref": "#/definitions/app.Response"
  2430. }
  2431. }
  2432. }
  2433. }
  2434. },
  2435. "/HSBY/QueryHsbyMarketGoodses": {
  2436. "get": {
  2437. "security": [
  2438. {
  2439. "ApiKeyAuth": []
  2440. }
  2441. ],
  2442. "produces": [
  2443. "application/json"
  2444. ],
  2445. "tags": [
  2446. "定制【海商报业】"
  2447. ],
  2448. "summary": "查询特卖商品列表(三级商城)",
  2449. "parameters": [
  2450. {
  2451. "type": "integer",
  2452. "description": "页码",
  2453. "name": "page",
  2454. "in": "query"
  2455. },
  2456. {
  2457. "type": "integer",
  2458. "description": "每页条数",
  2459. "name": "pagesize",
  2460. "in": "query"
  2461. },
  2462. {
  2463. "type": "string",
  2464. "description": "市场ID列表,格式:1,2,3",
  2465. "name": "marketIDs",
  2466. "in": "query",
  2467. "required": true
  2468. },
  2469. {
  2470. "type": "integer",
  2471. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2472. "name": "accountID",
  2473. "in": "query",
  2474. "required": true
  2475. },
  2476. {
  2477. "type": "integer",
  2478. "description": "类别ID",
  2479. "name": "categoryID",
  2480. "in": "query"
  2481. },
  2482. {
  2483. "type": "string",
  2484. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2485. "name": "goodsIDs",
  2486. "in": "query"
  2487. },
  2488. {
  2489. "type": "integer",
  2490. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2491. "name": "couponTypeID",
  2492. "in": "query"
  2493. }
  2494. ],
  2495. "responses": {
  2496. "200": {
  2497. "description": "OK",
  2498. "schema": {
  2499. "$ref": "#/definitions/models.HsbyMarketGoods"
  2500. }
  2501. },
  2502. "500": {
  2503. "description": "Internal Server Error",
  2504. "schema": {
  2505. "$ref": "#/definitions/app.Response"
  2506. }
  2507. }
  2508. }
  2509. }
  2510. },
  2511. "/HSBY/QueryHsbyMarkets": {
  2512. "get": {
  2513. "security": [
  2514. {
  2515. "ApiKeyAuth": []
  2516. }
  2517. ],
  2518. "produces": [
  2519. "application/json"
  2520. ],
  2521. "tags": [
  2522. "定制【海商报业】"
  2523. ],
  2524. "summary": "查询海商报业相关市场信息",
  2525. "responses": {
  2526. "200": {
  2527. "description": "OK",
  2528. "schema": {
  2529. "$ref": "#/definitions/models.HsbyMarketInfo"
  2530. }
  2531. },
  2532. "500": {
  2533. "description": "Internal Server Error",
  2534. "schema": {
  2535. "$ref": "#/definitions/app.Response"
  2536. }
  2537. }
  2538. }
  2539. }
  2540. },
  2541. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2542. "get": {
  2543. "security": [
  2544. {
  2545. "ApiKeyAuth": []
  2546. }
  2547. ],
  2548. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2549. "produces": [
  2550. "application/json"
  2551. ],
  2552. "tags": [
  2553. "定制【海商报业】"
  2554. ],
  2555. "summary": "查询“我的订单”信息",
  2556. "parameters": [
  2557. {
  2558. "type": "string",
  2559. "description": "资金账户列表,格式:1,2,3",
  2560. "name": "accountIDs",
  2561. "in": "query",
  2562. "required": true
  2563. },
  2564. {
  2565. "type": "integer",
  2566. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2567. "name": "myBuyStatus",
  2568. "in": "query"
  2569. }
  2570. ],
  2571. "responses": {
  2572. "200": {
  2573. "description": "OK",
  2574. "schema": {
  2575. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2576. }
  2577. },
  2578. "500": {
  2579. "description": "Internal Server Error",
  2580. "schema": {
  2581. "$ref": "#/definitions/app.Response"
  2582. }
  2583. }
  2584. }
  2585. }
  2586. },
  2587. "/HSBY/QueryHsbyMyGoods": {
  2588. "get": {
  2589. "security": [
  2590. {
  2591. "ApiKeyAuth": []
  2592. }
  2593. ],
  2594. "produces": [
  2595. "application/json"
  2596. ],
  2597. "tags": [
  2598. "定制【海商报业】"
  2599. ],
  2600. "summary": "查询“我的商品”信息",
  2601. "parameters": [
  2602. {
  2603. "type": "string",
  2604. "description": "资金账户列表,格式:1,2,3",
  2605. "name": "accountIDs",
  2606. "in": "query",
  2607. "required": true
  2608. }
  2609. ],
  2610. "responses": {
  2611. "200": {
  2612. "description": "OK",
  2613. "schema": {
  2614. "$ref": "#/definitions/models.HsbyMyGoods"
  2615. }
  2616. },
  2617. "500": {
  2618. "description": "Internal Server Error",
  2619. "schema": {
  2620. "$ref": "#/definitions/app.Response"
  2621. }
  2622. }
  2623. }
  2624. }
  2625. },
  2626. "/HSBY/QueryHsbyMyPackages": {
  2627. "get": {
  2628. "security": [
  2629. {
  2630. "ApiKeyAuth": []
  2631. }
  2632. ],
  2633. "produces": [
  2634. "application/json"
  2635. ],
  2636. "tags": [
  2637. "定制【海商报业】"
  2638. ],
  2639. "summary": "查询我的包裹信息",
  2640. "parameters": [
  2641. {
  2642. "type": "string",
  2643. "description": "资金账户列表,格式:1,2,3",
  2644. "name": "accountIDs",
  2645. "in": "query",
  2646. "required": true
  2647. },
  2648. {
  2649. "type": "integer",
  2650. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2651. "name": "takeOrderStatus",
  2652. "in": "query"
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "$ref": "#/definitions/models.HsbyMyPackage"
  2660. }
  2661. },
  2662. "500": {
  2663. "description": "Internal Server Error",
  2664. "schema": {
  2665. "$ref": "#/definitions/app.Response"
  2666. }
  2667. }
  2668. }
  2669. }
  2670. },
  2671. "/HSBY/QueryHsbyPreGoodsDetail": {
  2672. "get": {
  2673. "security": [
  2674. {
  2675. "ApiKeyAuth": []
  2676. }
  2677. ],
  2678. "produces": [
  2679. "application/json"
  2680. ],
  2681. "tags": [
  2682. "定制【海商报业】"
  2683. ],
  2684. "summary": "查询一级市场(预售)商品信息详情",
  2685. "parameters": [
  2686. {
  2687. "type": "integer",
  2688. "description": "商品ID",
  2689. "name": "goodsID",
  2690. "in": "query",
  2691. "required": true
  2692. },
  2693. {
  2694. "type": "integer",
  2695. "description": "资金账户,主要用于获取预售商品购买上限",
  2696. "name": "accountID",
  2697. "in": "query"
  2698. }
  2699. ],
  2700. "responses": {
  2701. "200": {
  2702. "description": "OK",
  2703. "schema": {
  2704. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2705. }
  2706. },
  2707. "500": {
  2708. "description": "Internal Server Error",
  2709. "schema": {
  2710. "$ref": "#/definitions/app.Response"
  2711. }
  2712. }
  2713. }
  2714. }
  2715. },
  2716. "/HSBY/QueryHsbyPreGoodses": {
  2717. "get": {
  2718. "security": [
  2719. {
  2720. "ApiKeyAuth": []
  2721. }
  2722. ],
  2723. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2724. "produces": [
  2725. "application/json"
  2726. ],
  2727. "tags": [
  2728. "定制【海商报业】"
  2729. ],
  2730. "summary": "查询新品上市商品列表(一级市场预售)",
  2731. "parameters": [
  2732. {
  2733. "type": "integer",
  2734. "description": "页码",
  2735. "name": "page",
  2736. "in": "query"
  2737. },
  2738. {
  2739. "type": "integer",
  2740. "description": "每页条数",
  2741. "name": "pagesize",
  2742. "in": "query"
  2743. },
  2744. {
  2745. "type": "string",
  2746. "description": "市场ID列表,格式:1,2,3",
  2747. "name": "marketIDs",
  2748. "in": "query",
  2749. "required": true
  2750. },
  2751. {
  2752. "type": "integer",
  2753. "description": "目的地(省)ID",
  2754. "name": "descProvinceID",
  2755. "in": "query"
  2756. },
  2757. {
  2758. "type": "integer",
  2759. "description": "目的地(市)ID",
  2760. "name": "descCityID",
  2761. "in": "query"
  2762. }
  2763. ],
  2764. "responses": {
  2765. "200": {
  2766. "description": "OK",
  2767. "schema": {
  2768. "$ref": "#/definitions/models.HsbyPreGoods"
  2769. }
  2770. },
  2771. "500": {
  2772. "description": "Internal Server Error",
  2773. "schema": {
  2774. "$ref": "#/definitions/app.Response"
  2775. }
  2776. }
  2777. }
  2778. }
  2779. },
  2780. "/HSBY/QueryHsbySellMyDetails": {
  2781. "get": {
  2782. "security": [
  2783. {
  2784. "ApiKeyAuth": []
  2785. }
  2786. ],
  2787. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2788. "produces": [
  2789. "application/json"
  2790. ],
  2791. "tags": [
  2792. "定制【海商报业】"
  2793. ],
  2794. "summary": "查询\"我的闲置\"单据信息",
  2795. "parameters": [
  2796. {
  2797. "type": "integer",
  2798. "description": "页码",
  2799. "name": "page",
  2800. "in": "query"
  2801. },
  2802. {
  2803. "type": "integer",
  2804. "description": "每页条数",
  2805. "name": "pagesize",
  2806. "in": "query"
  2807. },
  2808. {
  2809. "type": "string",
  2810. "description": "资金账户列表,格式:1,2,3",
  2811. "name": "accountIDs",
  2812. "in": "query",
  2813. "required": true
  2814. },
  2815. {
  2816. "type": "integer",
  2817. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2818. "name": "orderType",
  2819. "in": "query"
  2820. }
  2821. ],
  2822. "responses": {
  2823. "200": {
  2824. "description": "OK",
  2825. "schema": {
  2826. "$ref": "#/definitions/models.HsbySellMyDetail"
  2827. }
  2828. },
  2829. "500": {
  2830. "description": "Internal Server Error",
  2831. "schema": {
  2832. "$ref": "#/definitions/app.Response"
  2833. }
  2834. }
  2835. }
  2836. }
  2837. },
  2838. "/HSBY/QueryHsbyTopGoodses": {
  2839. "get": {
  2840. "security": [
  2841. {
  2842. "ApiKeyAuth": []
  2843. }
  2844. ],
  2845. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2846. "produces": [
  2847. "application/json"
  2848. ],
  2849. "tags": [
  2850. "定制【海商报业】"
  2851. ],
  2852. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2853. "parameters": [
  2854. {
  2855. "type": "integer",
  2856. "description": "页码",
  2857. "name": "page",
  2858. "in": "query"
  2859. },
  2860. {
  2861. "type": "integer",
  2862. "description": "每页条数",
  2863. "name": "pagesize",
  2864. "in": "query"
  2865. },
  2866. {
  2867. "type": "string",
  2868. "description": "市场ID列表,格式:1,2,3",
  2869. "name": "marketIDs",
  2870. "in": "query",
  2871. "required": true
  2872. },
  2873. {
  2874. "type": "integer",
  2875. "description": "目的地(省)ID",
  2876. "name": "descProvinceID",
  2877. "in": "query"
  2878. },
  2879. {
  2880. "type": "integer",
  2881. "description": "目的地(市)ID",
  2882. "name": "descCityID",
  2883. "in": "query"
  2884. }
  2885. ],
  2886. "responses": {
  2887. "200": {
  2888. "description": "OK",
  2889. "schema": {
  2890. "$ref": "#/definitions/models.HsbyTopGoods"
  2891. }
  2892. },
  2893. "500": {
  2894. "description": "Internal Server Error",
  2895. "schema": {
  2896. "$ref": "#/definitions/app.Response"
  2897. }
  2898. }
  2899. }
  2900. }
  2901. },
  2902. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  2903. "get": {
  2904. "security": [
  2905. {
  2906. "ApiKeyAuth": []
  2907. }
  2908. ],
  2909. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  2910. "produces": [
  2911. "application/json"
  2912. ],
  2913. "tags": [
  2914. "定制【海商报业】"
  2915. ],
  2916. "summary": "查询游客三级市场(商城)商品信息详情",
  2917. "parameters": [
  2918. {
  2919. "type": "integer",
  2920. "description": "商品ID",
  2921. "name": "goodsID",
  2922. "in": "query",
  2923. "required": true
  2924. }
  2925. ],
  2926. "responses": {
  2927. "200": {
  2928. "description": "OK",
  2929. "schema": {
  2930. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2931. }
  2932. },
  2933. "500": {
  2934. "description": "Internal Server Error",
  2935. "schema": {
  2936. "$ref": "#/definitions/app.Response"
  2937. }
  2938. }
  2939. }
  2940. }
  2941. },
  2942. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  2943. "get": {
  2944. "security": [
  2945. {
  2946. "ApiKeyAuth": []
  2947. }
  2948. ],
  2949. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  2950. "produces": [
  2951. "application/json"
  2952. ],
  2953. "tags": [
  2954. "定制【海商报业】"
  2955. ],
  2956. "summary": "查询游客特卖商品列表(三级商城)",
  2957. "parameters": [
  2958. {
  2959. "type": "integer",
  2960. "description": "页码",
  2961. "name": "page",
  2962. "in": "query"
  2963. },
  2964. {
  2965. "type": "integer",
  2966. "description": "每页条数",
  2967. "name": "pagesize",
  2968. "in": "query"
  2969. },
  2970. {
  2971. "type": "string",
  2972. "description": "市场ID列表,格式:1,2,3",
  2973. "name": "marketIDs",
  2974. "in": "query",
  2975. "required": true
  2976. },
  2977. {
  2978. "type": "integer",
  2979. "description": "类别ID",
  2980. "name": "categoryID",
  2981. "in": "query"
  2982. },
  2983. {
  2984. "type": "string",
  2985. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2986. "name": "goodsIDs",
  2987. "in": "query"
  2988. }
  2989. ],
  2990. "responses": {
  2991. "200": {
  2992. "description": "OK",
  2993. "schema": {
  2994. "$ref": "#/definitions/models.HsbyMarketGoods"
  2995. }
  2996. },
  2997. "500": {
  2998. "description": "Internal Server Error",
  2999. "schema": {
  3000. "$ref": "#/definitions/app.Response"
  3001. }
  3002. }
  3003. }
  3004. }
  3005. },
  3006. "/HSBY/QueryMyCollectionOrders": {
  3007. "get": {
  3008. "security": [
  3009. {
  3010. "ApiKeyAuth": []
  3011. }
  3012. ],
  3013. "produces": [
  3014. "application/json"
  3015. ],
  3016. "tags": [
  3017. "定制【海商报业】"
  3018. ],
  3019. "summary": "我的闲置中收款信息查询",
  3020. "parameters": [
  3021. {
  3022. "type": "integer",
  3023. "description": "页码",
  3024. "name": "page",
  3025. "in": "query"
  3026. },
  3027. {
  3028. "type": "integer",
  3029. "description": "每页条数",
  3030. "name": "pagesize",
  3031. "in": "query"
  3032. },
  3033. {
  3034. "type": "string",
  3035. "description": "资金账户,格式:1,2,3",
  3036. "name": "accountIDs",
  3037. "in": "query",
  3038. "required": true
  3039. }
  3040. ],
  3041. "responses": {
  3042. "200": {
  3043. "description": "OK",
  3044. "schema": {
  3045. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  3046. }
  3047. },
  3048. "500": {
  3049. "description": "Internal Server Error",
  3050. "schema": {
  3051. "$ref": "#/definitions/app.Response"
  3052. }
  3053. }
  3054. }
  3055. }
  3056. },
  3057. "/HSBY/QueryMyCouponHolds": {
  3058. "get": {
  3059. "security": [
  3060. {
  3061. "ApiKeyAuth": []
  3062. }
  3063. ],
  3064. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  3065. "produces": [
  3066. "application/json"
  3067. ],
  3068. "tags": [
  3069. "定制【海商报业】"
  3070. ],
  3071. "summary": "我的优惠卷持仓查询",
  3072. "parameters": [
  3073. {
  3074. "type": "string",
  3075. "description": "资金账户列表,格式:1,2,3",
  3076. "name": "accountIDs",
  3077. "in": "query",
  3078. "required": true
  3079. },
  3080. {
  3081. "type": "string",
  3082. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  3083. "name": "holdStatus",
  3084. "in": "query"
  3085. }
  3086. ],
  3087. "responses": {
  3088. "200": {
  3089. "description": "OK",
  3090. "schema": {
  3091. "$ref": "#/definitions/models.MyCouponHold"
  3092. }
  3093. },
  3094. "500": {
  3095. "description": "Internal Server Error",
  3096. "schema": {
  3097. "$ref": "#/definitions/app.Response"
  3098. }
  3099. }
  3100. }
  3101. }
  3102. },
  3103. "/HSBY/QueryMyCoupons": {
  3104. "get": {
  3105. "security": [
  3106. {
  3107. "ApiKeyAuth": []
  3108. }
  3109. ],
  3110. "produces": [
  3111. "application/json"
  3112. ],
  3113. "tags": [
  3114. "定制【海商报业】"
  3115. ],
  3116. "summary": "我的优惠卷查询",
  3117. "parameters": [
  3118. {
  3119. "type": "string",
  3120. "description": "资金账户列表,格式:1,2,3",
  3121. "name": "accountIDs",
  3122. "in": "query",
  3123. "required": true
  3124. },
  3125. {
  3126. "type": "integer",
  3127. "description": "商品ID, 一般与sellUserID配套传入",
  3128. "name": "goodsID",
  3129. "in": "query"
  3130. },
  3131. {
  3132. "type": "integer",
  3133. "description": "卖方UserID",
  3134. "name": "sellUserID",
  3135. "in": "query"
  3136. }
  3137. ],
  3138. "responses": {
  3139. "200": {
  3140. "description": "OK",
  3141. "schema": {
  3142. "$ref": "#/definitions/models.MyCoupon"
  3143. }
  3144. },
  3145. "500": {
  3146. "description": "Internal Server Error",
  3147. "schema": {
  3148. "$ref": "#/definitions/app.Response"
  3149. }
  3150. }
  3151. }
  3152. }
  3153. },
  3154. "/HSBY/QueryMyPayOrders": {
  3155. "get": {
  3156. "security": [
  3157. {
  3158. "ApiKeyAuth": []
  3159. }
  3160. ],
  3161. "produces": [
  3162. "application/json"
  3163. ],
  3164. "tags": [
  3165. "定制【海商报业】"
  3166. ],
  3167. "summary": "获取我的订单中待付款信息",
  3168. "parameters": [
  3169. {
  3170. "type": "integer",
  3171. "description": "页码",
  3172. "name": "page",
  3173. "in": "query"
  3174. },
  3175. {
  3176. "type": "integer",
  3177. "description": "每页条数",
  3178. "name": "pagesize",
  3179. "in": "query"
  3180. },
  3181. {
  3182. "type": "string",
  3183. "description": "资金账户列表,格式:1,2,3",
  3184. "name": "accountIDs",
  3185. "in": "query",
  3186. "required": true
  3187. },
  3188. {
  3189. "type": "integer",
  3190. "description": "买方委托单号",
  3191. "name": "buyOrderID",
  3192. "in": "query"
  3193. },
  3194. {
  3195. "type": "integer",
  3196. "description": "卖方委托单号",
  3197. "name": "sellOrderID",
  3198. "in": "query"
  3199. }
  3200. ],
  3201. "responses": {
  3202. "200": {
  3203. "description": "OK",
  3204. "schema": {
  3205. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  3206. }
  3207. },
  3208. "500": {
  3209. "description": "Internal Server Error",
  3210. "schema": {
  3211. "$ref": "#/definitions/app.Response"
  3212. }
  3213. }
  3214. }
  3215. }
  3216. },
  3217. "/HSBY/QueryMyUsedCoupon": {
  3218. "get": {
  3219. "security": [
  3220. {
  3221. "ApiKeyAuth": []
  3222. }
  3223. ],
  3224. "produces": [
  3225. "application/json"
  3226. ],
  3227. "tags": [
  3228. "定制【海商报业】"
  3229. ],
  3230. "summary": "已使用优惠卷查询",
  3231. "parameters": [
  3232. {
  3233. "type": "string",
  3234. "description": "资金账户列表,格式:1,2,3",
  3235. "name": "accountIDs",
  3236. "in": "query",
  3237. "required": true
  3238. }
  3239. ],
  3240. "responses": {
  3241. "200": {
  3242. "description": "OK",
  3243. "schema": {
  3244. "$ref": "#/definitions/models.MyUsedCoupon"
  3245. }
  3246. },
  3247. "500": {
  3248. "description": "Internal Server Error",
  3249. "schema": {
  3250. "$ref": "#/definitions/app.Response"
  3251. }
  3252. }
  3253. }
  3254. }
  3255. },
  3256. "/HSBY/QueryProvincesAndCities": {
  3257. "get": {
  3258. "security": [
  3259. {
  3260. "ApiKeyAuth": []
  3261. }
  3262. ],
  3263. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3264. "produces": [
  3265. "application/json"
  3266. ],
  3267. "tags": [
  3268. "定制【海商报业】"
  3269. ],
  3270. "summary": "查询省市信息(不包括区)",
  3271. "parameters": [
  3272. {
  3273. "type": "integer",
  3274. "description": "省ID",
  3275. "name": "provinceID",
  3276. "in": "query"
  3277. }
  3278. ],
  3279. "responses": {
  3280. "200": {
  3281. "description": "OK",
  3282. "schema": {
  3283. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3284. }
  3285. },
  3286. "500": {
  3287. "description": "Internal Server Error",
  3288. "schema": {
  3289. "$ref": "#/definitions/app.Response"
  3290. }
  3291. }
  3292. }
  3293. }
  3294. },
  3295. "/HSBY/SetHsbyMyPackagesStatus": {
  3296. "post": {
  3297. "security": [
  3298. {
  3299. "ApiKeyAuth": []
  3300. }
  3301. ],
  3302. "produces": [
  3303. "application/json"
  3304. ],
  3305. "tags": [
  3306. "定制【海商报业】"
  3307. ],
  3308. "summary": "设置我的包裹已收货状态",
  3309. "parameters": [
  3310. {
  3311. "type": "string",
  3312. "description": "提货单号",
  3313. "name": "takeOrderID",
  3314. "in": "query",
  3315. "required": true
  3316. },
  3317. {
  3318. "type": "integer",
  3319. "description": "资金账号",
  3320. "name": "accountID",
  3321. "in": "query",
  3322. "required": true
  3323. }
  3324. ],
  3325. "responses": {
  3326. "200": {
  3327. "description": "OK",
  3328. "schema": {
  3329. "$ref": "#/definitions/app.Response"
  3330. }
  3331. },
  3332. "500": {
  3333. "description": "Internal Server Error",
  3334. "schema": {
  3335. "$ref": "#/definitions/app.Response"
  3336. }
  3337. }
  3338. }
  3339. }
  3340. },
  3341. "/Market/QueryGoodsesByLoginID": {
  3342. "get": {
  3343. "security": [
  3344. {
  3345. "ApiKeyAuth": []
  3346. }
  3347. ],
  3348. "produces": [
  3349. "application/json"
  3350. ],
  3351. "tags": [
  3352. "通用市场"
  3353. ],
  3354. "summary": "获取登录账号有权限的商品信息",
  3355. "parameters": [
  3356. {
  3357. "type": "integer",
  3358. "description": "登录账号",
  3359. "name": "loginID",
  3360. "in": "query",
  3361. "required": true
  3362. },
  3363. {
  3364. "type": "string",
  3365. "description": "市场ID列表,格式:1,2,3",
  3366. "name": "marketIDs",
  3367. "in": "query"
  3368. }
  3369. ],
  3370. "responses": {
  3371. "200": {
  3372. "description": "OK",
  3373. "schema": {
  3374. "$ref": "#/definitions/models.Market"
  3375. }
  3376. },
  3377. "500": {
  3378. "description": "Internal Server Error",
  3379. "schema": {
  3380. "$ref": "#/definitions/app.Response"
  3381. }
  3382. }
  3383. }
  3384. }
  3385. },
  3386. "/Market/QueryMarketRun": {
  3387. "get": {
  3388. "security": [
  3389. {
  3390. "ApiKeyAuth": []
  3391. }
  3392. ],
  3393. "produces": [
  3394. "application/json"
  3395. ],
  3396. "tags": [
  3397. "通用市场"
  3398. ],
  3399. "summary": "查询市场运行信息",
  3400. "parameters": [
  3401. {
  3402. "type": "integer",
  3403. "description": "市场ID,不传返回所有",
  3404. "name": "marketID",
  3405. "in": "query"
  3406. }
  3407. ],
  3408. "responses": {
  3409. "200": {
  3410. "description": "OK",
  3411. "schema": {
  3412. "$ref": "#/definitions/models.Marketrun"
  3413. }
  3414. },
  3415. "500": {
  3416. "description": "Internal Server Error",
  3417. "schema": {
  3418. "$ref": "#/definitions/app.Response"
  3419. }
  3420. }
  3421. }
  3422. }
  3423. },
  3424. "/Market/QueryMarketsByLoginID": {
  3425. "get": {
  3426. "security": [
  3427. {
  3428. "ApiKeyAuth": []
  3429. }
  3430. ],
  3431. "produces": [
  3432. "application/json"
  3433. ],
  3434. "tags": [
  3435. "通用市场"
  3436. ],
  3437. "summary": "获取登录账号有权限的市场信息",
  3438. "parameters": [
  3439. {
  3440. "type": "integer",
  3441. "description": "登录账号",
  3442. "name": "loginID",
  3443. "in": "query",
  3444. "required": true
  3445. }
  3446. ],
  3447. "responses": {
  3448. "200": {
  3449. "description": "OK",
  3450. "schema": {
  3451. "$ref": "#/definitions/models.Market"
  3452. }
  3453. },
  3454. "500": {
  3455. "description": "Internal Server Error",
  3456. "schema": {
  3457. "$ref": "#/definitions/app.Response"
  3458. }
  3459. }
  3460. }
  3461. }
  3462. },
  3463. "/Order/QueryHisTradeDetail": {
  3464. "get": {
  3465. "security": [
  3466. {
  3467. "ApiKeyAuth": []
  3468. }
  3469. ],
  3470. "produces": [
  3471. "application/json"
  3472. ],
  3473. "tags": [
  3474. "通用单据"
  3475. ],
  3476. "summary": "历史成交单查询(合约市场)",
  3477. "parameters": [
  3478. {
  3479. "type": "string",
  3480. "description": "资金账户 - 格式:1,2,3",
  3481. "name": "accountID",
  3482. "in": "query",
  3483. "required": true
  3484. },
  3485. {
  3486. "type": "integer",
  3487. "description": "成交单号",
  3488. "name": "tradeID",
  3489. "in": "query"
  3490. },
  3491. {
  3492. "type": "integer",
  3493. "description": "委托单号",
  3494. "name": "orderID",
  3495. "in": "query"
  3496. },
  3497. {
  3498. "type": "string",
  3499. "description": "交易模式 - 格式:1,2,3",
  3500. "name": "tradeMode",
  3501. "in": "query"
  3502. },
  3503. {
  3504. "type": "integer",
  3505. "description": "委托单据类型",
  3506. "name": "buildType",
  3507. "in": "query"
  3508. },
  3509. {
  3510. "type": "string",
  3511. "description": "成交类别 - 格式:1,2,3",
  3512. "name": "tradeType",
  3513. "in": "query"
  3514. },
  3515. {
  3516. "type": "string",
  3517. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3518. "name": "startDate",
  3519. "in": "query"
  3520. },
  3521. {
  3522. "type": "string",
  3523. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3524. "name": "endDate",
  3525. "in": "query"
  3526. }
  3527. ],
  3528. "responses": {
  3529. "200": {
  3530. "description": "OK",
  3531. "schema": {
  3532. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3533. }
  3534. },
  3535. "500": {
  3536. "description": "Internal Server Error",
  3537. "schema": {
  3538. "$ref": "#/definitions/app.Response"
  3539. }
  3540. }
  3541. }
  3542. }
  3543. },
  3544. "/Order/QueryHisTradeOrderDetail": {
  3545. "get": {
  3546. "security": [
  3547. {
  3548. "ApiKeyAuth": []
  3549. }
  3550. ],
  3551. "produces": [
  3552. "application/json"
  3553. ],
  3554. "tags": [
  3555. "通用单据"
  3556. ],
  3557. "summary": "历史委托单查询请求(合约市场)",
  3558. "parameters": [
  3559. {
  3560. "type": "string",
  3561. "description": "资金账户 - 格式:1,2,3",
  3562. "name": "accountID",
  3563. "in": "query",
  3564. "required": true
  3565. },
  3566. {
  3567. "type": "string",
  3568. "description": "交易模式 - 格式:1,2,3",
  3569. "name": "tradeMode",
  3570. "in": "query"
  3571. },
  3572. {
  3573. "type": "string",
  3574. "description": "委托状态 - 格式:1,2,3",
  3575. "name": "orderStatus",
  3576. "in": "query"
  3577. },
  3578. {
  3579. "type": "integer",
  3580. "description": "委托单号",
  3581. "name": "orderID",
  3582. "in": "query"
  3583. },
  3584. {
  3585. "type": "string",
  3586. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3587. "name": "startDate",
  3588. "in": "query"
  3589. },
  3590. {
  3591. "type": "string",
  3592. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3593. "name": "endDate",
  3594. "in": "query"
  3595. }
  3596. ],
  3597. "responses": {
  3598. "200": {
  3599. "description": "OK",
  3600. "schema": {
  3601. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3602. }
  3603. },
  3604. "500": {
  3605. "description": "Internal Server Error",
  3606. "schema": {
  3607. "$ref": "#/definitions/app.Response"
  3608. }
  3609. }
  3610. }
  3611. }
  3612. },
  3613. "/Order/QueryTradeDetail": {
  3614. "get": {
  3615. "security": [
  3616. {
  3617. "ApiKeyAuth": []
  3618. }
  3619. ],
  3620. "produces": [
  3621. "application/json"
  3622. ],
  3623. "tags": [
  3624. "通用单据"
  3625. ],
  3626. "summary": "成交单查询(合约市场)",
  3627. "parameters": [
  3628. {
  3629. "type": "string",
  3630. "description": "资金账户 - 格式:1,2,3",
  3631. "name": "accountID",
  3632. "in": "query",
  3633. "required": true
  3634. },
  3635. {
  3636. "type": "integer",
  3637. "description": "成交单号",
  3638. "name": "tradeID",
  3639. "in": "query"
  3640. },
  3641. {
  3642. "type": "integer",
  3643. "description": "委托单号",
  3644. "name": "orderID",
  3645. "in": "query"
  3646. },
  3647. {
  3648. "type": "string",
  3649. "description": "交易模式 - 格式:1,2,3",
  3650. "name": "tradeMode",
  3651. "in": "query"
  3652. },
  3653. {
  3654. "type": "integer",
  3655. "description": "委托单据类型",
  3656. "name": "buildType",
  3657. "in": "query"
  3658. },
  3659. {
  3660. "type": "string",
  3661. "description": "成交类别 - 格式:1,2,3",
  3662. "name": "tradeType",
  3663. "in": "query"
  3664. }
  3665. ],
  3666. "responses": {
  3667. "200": {
  3668. "description": "OK",
  3669. "schema": {
  3670. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  3671. }
  3672. },
  3673. "500": {
  3674. "description": "Internal Server Error",
  3675. "schema": {
  3676. "$ref": "#/definitions/app.Response"
  3677. }
  3678. }
  3679. }
  3680. }
  3681. },
  3682. "/Order/QueryTradeOrderDetail": {
  3683. "get": {
  3684. "security": [
  3685. {
  3686. "ApiKeyAuth": []
  3687. }
  3688. ],
  3689. "produces": [
  3690. "application/json"
  3691. ],
  3692. "tags": [
  3693. "通用单据"
  3694. ],
  3695. "summary": "委托单查询请求(合约市场)",
  3696. "parameters": [
  3697. {
  3698. "type": "string",
  3699. "description": "资金账户 - 格式:1,2,3",
  3700. "name": "accountID",
  3701. "in": "query",
  3702. "required": true
  3703. },
  3704. {
  3705. "type": "string",
  3706. "description": "交易模式 - 格式:1,2,3",
  3707. "name": "tradeMode",
  3708. "in": "query"
  3709. },
  3710. {
  3711. "type": "string",
  3712. "description": "委托状态 - 格式:1,2,3",
  3713. "name": "orderStatus",
  3714. "in": "query"
  3715. },
  3716. {
  3717. "type": "integer",
  3718. "description": "委托单号",
  3719. "name": "orderID",
  3720. "in": "query"
  3721. }
  3722. ],
  3723. "responses": {
  3724. "200": {
  3725. "description": "OK",
  3726. "schema": {
  3727. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3728. }
  3729. },
  3730. "500": {
  3731. "description": "Internal Server Error",
  3732. "schema": {
  3733. "$ref": "#/definitions/app.Response"
  3734. }
  3735. }
  3736. }
  3737. }
  3738. },
  3739. "/Order/QueryTradePosition": {
  3740. "get": {
  3741. "security": [
  3742. {
  3743. "ApiKeyAuth": []
  3744. }
  3745. ],
  3746. "produces": [
  3747. "application/json"
  3748. ],
  3749. "tags": [
  3750. "通用单据"
  3751. ],
  3752. "summary": "持仓汇总查询(合约市场)",
  3753. "parameters": [
  3754. {
  3755. "type": "string",
  3756. "description": "资金账户 - 格式:1,2,3",
  3757. "name": "accountID",
  3758. "in": "query",
  3759. "required": true
  3760. },
  3761. {
  3762. "type": "string",
  3763. "description": "交易模式 - 格式:1,2,3",
  3764. "name": "tradeMode",
  3765. "in": "query"
  3766. }
  3767. ],
  3768. "responses": {
  3769. "200": {
  3770. "description": "OK",
  3771. "schema": {
  3772. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3773. }
  3774. },
  3775. "500": {
  3776. "description": "Internal Server Error",
  3777. "schema": {
  3778. "$ref": "#/definitions/app.Response"
  3779. }
  3780. }
  3781. }
  3782. }
  3783. },
  3784. "/Quote/QueryHistoryDatas": {
  3785. "get": {
  3786. "security": [
  3787. {
  3788. "ApiKeyAuth": []
  3789. }
  3790. ],
  3791. "produces": [
  3792. "application/json"
  3793. ],
  3794. "tags": [
  3795. "行情服务"
  3796. ],
  3797. "summary": "查询行情历史数据",
  3798. "parameters": [
  3799. {
  3800. "type": "integer",
  3801. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3802. "name": "cycleType",
  3803. "in": "query",
  3804. "required": true
  3805. },
  3806. {
  3807. "type": "string",
  3808. "description": "商品代码",
  3809. "name": "goodsCode",
  3810. "in": "query",
  3811. "required": true
  3812. },
  3813. {
  3814. "type": "string",
  3815. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3816. "name": "startTime",
  3817. "in": "query"
  3818. },
  3819. {
  3820. "type": "string",
  3821. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3822. "name": "endTime",
  3823. "in": "query"
  3824. },
  3825. {
  3826. "type": "integer",
  3827. "description": "条数",
  3828. "name": "count",
  3829. "in": "query"
  3830. },
  3831. {
  3832. "type": "boolean",
  3833. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3834. "name": "isAsc",
  3835. "in": "query"
  3836. }
  3837. ],
  3838. "responses": {
  3839. "200": {
  3840. "description": "OK",
  3841. "schema": {
  3842. "$ref": "#/definitions/quote.HistoryData"
  3843. }
  3844. },
  3845. "500": {
  3846. "description": "Internal Server Error",
  3847. "schema": {
  3848. "$ref": "#/definitions/app.Response"
  3849. }
  3850. }
  3851. }
  3852. }
  3853. },
  3854. "/Quote/QueryTSData": {
  3855. "get": {
  3856. "produces": [
  3857. "application/json"
  3858. ],
  3859. "tags": [
  3860. "行情服务"
  3861. ],
  3862. "summary": "分时图数据查询",
  3863. "parameters": [
  3864. {
  3865. "type": "string",
  3866. "description": "商品代码",
  3867. "name": "GoodsCode",
  3868. "in": "query",
  3869. "required": true
  3870. }
  3871. ],
  3872. "responses": {
  3873. "200": {
  3874. "description": "OK",
  3875. "schema": {
  3876. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3877. }
  3878. },
  3879. "500": {
  3880. "description": "Internal Server Error",
  3881. "schema": {
  3882. "$ref": "#/definitions/app.Response"
  3883. }
  3884. }
  3885. }
  3886. }
  3887. },
  3888. "/SZDZ/QueryConvertConfig": {
  3889. "get": {
  3890. "security": [
  3891. {
  3892. "ApiKeyAuth": []
  3893. }
  3894. ],
  3895. "produces": [
  3896. "application/json"
  3897. ],
  3898. "tags": [
  3899. "定制【尚志大宗】"
  3900. ],
  3901. "summary": "查询交易系统转换设置",
  3902. "parameters": [
  3903. {
  3904. "type": "integer",
  3905. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3906. "name": "convertType",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "string",
  3911. "description": "外部商品代码[JD\\PD]",
  3912. "name": "outerGoodsCode",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "string",
  3917. "description": "内部商品ID列表[交易],格式:1,2,3",
  3918. "name": "innerGoodsIDs",
  3919. "in": "query"
  3920. }
  3921. ],
  3922. "responses": {
  3923. "200": {
  3924. "description": "OK",
  3925. "schema": {
  3926. "$ref": "#/definitions/models.Szdz3convertconfig"
  3927. }
  3928. },
  3929. "500": {
  3930. "description": "Internal Server Error",
  3931. "schema": {
  3932. "$ref": "#/definitions/app.Response"
  3933. }
  3934. }
  3935. }
  3936. }
  3937. },
  3938. "/SZDZ/QueryConvertLog": {
  3939. "get": {
  3940. "security": [
  3941. {
  3942. "ApiKeyAuth": []
  3943. }
  3944. ],
  3945. "produces": [
  3946. "application/json"
  3947. ],
  3948. "tags": [
  3949. "定制【尚志大宗】"
  3950. ],
  3951. "summary": "交易系统转换流水查询",
  3952. "parameters": [
  3953. {
  3954. "type": "string",
  3955. "description": "资金账户 - 格式:1,2,3",
  3956. "name": "accountID",
  3957. "in": "query",
  3958. "required": true
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3963. "name": "startDate",
  3964. "in": "query"
  3965. },
  3966. {
  3967. "type": "string",
  3968. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3969. "name": "endDate",
  3970. "in": "query"
  3971. }
  3972. ],
  3973. "responses": {
  3974. "200": {
  3975. "description": "OK",
  3976. "schema": {
  3977. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3978. }
  3979. },
  3980. "500": {
  3981. "description": "Internal Server Error",
  3982. "schema": {
  3983. "$ref": "#/definitions/app.Response"
  3984. }
  3985. }
  3986. }
  3987. }
  3988. },
  3989. "/SZDZ/QueryGoodsPickup": {
  3990. "get": {
  3991. "security": [
  3992. {
  3993. "ApiKeyAuth": []
  3994. }
  3995. ],
  3996. "produces": [
  3997. "application/json"
  3998. ],
  3999. "tags": [
  4000. "定制【尚志大宗】"
  4001. ],
  4002. "summary": "商品提货单查询",
  4003. "parameters": [
  4004. {
  4005. "type": "string",
  4006. "description": "资金账户 - 格式:1,2,3",
  4007. "name": "accountID",
  4008. "in": "query",
  4009. "required": true
  4010. },
  4011. {
  4012. "type": "integer",
  4013. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4014. "name": "takeOrderStatus",
  4015. "in": "query"
  4016. }
  4017. ],
  4018. "responses": {
  4019. "200": {
  4020. "description": "OK",
  4021. "schema": {
  4022. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  4023. }
  4024. },
  4025. "500": {
  4026. "description": "Internal Server Error",
  4027. "schema": {
  4028. "$ref": "#/definitions/app.Response"
  4029. }
  4030. }
  4031. }
  4032. }
  4033. },
  4034. "/SZDZ/QueryRecieptOrder": {
  4035. "get": {
  4036. "security": [
  4037. {
  4038. "ApiKeyAuth": []
  4039. }
  4040. ],
  4041. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4042. "produces": [
  4043. "application/json"
  4044. ],
  4045. "tags": [
  4046. "定制【尚志大宗】"
  4047. ],
  4048. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  4049. "parameters": [
  4050. {
  4051. "type": "integer",
  4052. "description": "页码",
  4053. "name": "page",
  4054. "in": "query"
  4055. },
  4056. {
  4057. "type": "integer",
  4058. "description": "每页条数",
  4059. "name": "pagesize",
  4060. "in": "query"
  4061. },
  4062. {
  4063. "type": "integer",
  4064. "description": "商品ID",
  4065. "name": "goodsID",
  4066. "in": "query",
  4067. "required": true
  4068. },
  4069. {
  4070. "type": "string",
  4071. "description": "所属账户名称",
  4072. "name": "accountName",
  4073. "in": "query"
  4074. },
  4075. {
  4076. "type": "integer",
  4077. "description": "市场ID",
  4078. "name": "marketID",
  4079. "in": "query"
  4080. },
  4081. {
  4082. "type": "integer",
  4083. "description": "方向 - 0:买 1:卖",
  4084. "name": "buyorsell",
  4085. "in": "query",
  4086. "required": true
  4087. }
  4088. ],
  4089. "responses": {
  4090. "200": {
  4091. "description": "OK",
  4092. "schema": {
  4093. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  4094. }
  4095. },
  4096. "500": {
  4097. "description": "Internal Server Error",
  4098. "schema": {
  4099. "$ref": "#/definitions/app.Response"
  4100. }
  4101. }
  4102. }
  4103. }
  4104. },
  4105. "/SZDZ/QuerySZDZTradePosition": {
  4106. "get": {
  4107. "security": [
  4108. {
  4109. "ApiKeyAuth": []
  4110. }
  4111. ],
  4112. "produces": [
  4113. "application/json"
  4114. ],
  4115. "tags": [
  4116. "定制【尚志大宗】"
  4117. ],
  4118. "summary": "持仓汇总查询(尚志大宗)",
  4119. "parameters": [
  4120. {
  4121. "type": "integer",
  4122. "description": "资金账户",
  4123. "name": "accountID",
  4124. "in": "query",
  4125. "required": true
  4126. }
  4127. ],
  4128. "responses": {
  4129. "200": {
  4130. "description": "OK",
  4131. "schema": {
  4132. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  4133. }
  4134. },
  4135. "500": {
  4136. "description": "Internal Server Error",
  4137. "schema": {
  4138. "$ref": "#/definitions/app.Response"
  4139. }
  4140. }
  4141. }
  4142. }
  4143. },
  4144. "/SZDZ/SearchWhite": {
  4145. "get": {
  4146. "security": [
  4147. {
  4148. "ApiKeyAuth": []
  4149. }
  4150. ],
  4151. "produces": [
  4152. "application/json"
  4153. ],
  4154. "tags": [
  4155. "定制【尚志大宗】"
  4156. ],
  4157. "summary": "搜索白名单",
  4158. "parameters": [
  4159. {
  4160. "type": "integer",
  4161. "description": "用户ID",
  4162. "name": "userID",
  4163. "in": "query",
  4164. "required": true
  4165. }
  4166. ],
  4167. "responses": {
  4168. "200": {
  4169. "description": "OK",
  4170. "schema": {
  4171. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  4172. }
  4173. },
  4174. "500": {
  4175. "description": "Internal Server Error",
  4176. "schema": {
  4177. "$ref": "#/definitions/app.Response"
  4178. }
  4179. }
  4180. }
  4181. }
  4182. },
  4183. "/Search/SearchGoodses": {
  4184. "get": {
  4185. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  4186. "produces": [
  4187. "application/json"
  4188. ],
  4189. "tags": [
  4190. "检索服务"
  4191. ],
  4192. "summary": "检索商品信息",
  4193. "parameters": [
  4194. {
  4195. "type": "string",
  4196. "description": "检索内容",
  4197. "name": "content",
  4198. "in": "query",
  4199. "required": true
  4200. },
  4201. {
  4202. "type": "string",
  4203. "description": "交易模式,格式:1,2,3",
  4204. "name": "tradeModes",
  4205. "in": "query"
  4206. }
  4207. ],
  4208. "responses": {
  4209. "200": {
  4210. "description": "OK",
  4211. "schema": {
  4212. "$ref": "#/definitions/models.SearchGoods"
  4213. }
  4214. },
  4215. "500": {
  4216. "description": "Internal Server Error",
  4217. "schema": {
  4218. "$ref": "#/definitions/app.Response"
  4219. }
  4220. }
  4221. }
  4222. }
  4223. },
  4224. "/TaAccount/QueryAmountLog": {
  4225. "get": {
  4226. "security": [
  4227. {
  4228. "ApiKeyAuth": []
  4229. }
  4230. ],
  4231. "produces": [
  4232. "application/json"
  4233. ],
  4234. "tags": [
  4235. "资金账户"
  4236. ],
  4237. "summary": "资金流水查询(当前)",
  4238. "parameters": [
  4239. {
  4240. "type": "integer",
  4241. "description": "页码",
  4242. "name": "page",
  4243. "in": "query"
  4244. },
  4245. {
  4246. "type": "integer",
  4247. "description": "每页条数",
  4248. "name": "pagesize",
  4249. "in": "query"
  4250. },
  4251. {
  4252. "type": "string",
  4253. "description": "资金账户 - 格式:1,2,3",
  4254. "name": "accountID",
  4255. "in": "query",
  4256. "required": true
  4257. },
  4258. {
  4259. "type": "string",
  4260. "description": "资金操作类型 - 格式:1,2,3",
  4261. "name": "OperateType",
  4262. "in": "query"
  4263. }
  4264. ],
  4265. "responses": {
  4266. "200": {
  4267. "description": "OK",
  4268. "schema": {
  4269. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  4270. }
  4271. },
  4272. "500": {
  4273. "description": "Internal Server Error",
  4274. "schema": {
  4275. "$ref": "#/definitions/app.Response"
  4276. }
  4277. }
  4278. }
  4279. }
  4280. },
  4281. "/TaAccount/QueryHisAmountLog": {
  4282. "get": {
  4283. "security": [
  4284. {
  4285. "ApiKeyAuth": []
  4286. }
  4287. ],
  4288. "produces": [
  4289. "application/json"
  4290. ],
  4291. "tags": [
  4292. "资金账户"
  4293. ],
  4294. "summary": "资金流水查询(历史)",
  4295. "parameters": [
  4296. {
  4297. "type": "integer",
  4298. "description": "页码",
  4299. "name": "page",
  4300. "in": "query"
  4301. },
  4302. {
  4303. "type": "integer",
  4304. "description": "每页条数",
  4305. "name": "pagesize",
  4306. "in": "query"
  4307. },
  4308. {
  4309. "type": "string",
  4310. "description": "资金账户 - 格式:1,2,3",
  4311. "name": "accountID",
  4312. "in": "query",
  4313. "required": true
  4314. },
  4315. {
  4316. "type": "string",
  4317. "description": "资金操作类型 - 格式:1,2,3",
  4318. "name": "OperateType",
  4319. "in": "query"
  4320. },
  4321. {
  4322. "type": "string",
  4323. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4324. "name": "startDate",
  4325. "in": "query"
  4326. },
  4327. {
  4328. "type": "string",
  4329. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4330. "name": "endDate",
  4331. "in": "query"
  4332. }
  4333. ],
  4334. "responses": {
  4335. "200": {
  4336. "description": "OK",
  4337. "schema": {
  4338. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4339. }
  4340. },
  4341. "500": {
  4342. "description": "Internal Server Error",
  4343. "schema": {
  4344. "$ref": "#/definitions/app.Response"
  4345. }
  4346. }
  4347. }
  4348. }
  4349. },
  4350. "/Trade/QueryRecieptOrder": {
  4351. "get": {
  4352. "security": [
  4353. {
  4354. "ApiKeyAuth": []
  4355. }
  4356. ],
  4357. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4358. "produces": [
  4359. "application/json"
  4360. ],
  4361. "tags": [
  4362. "通用交易"
  4363. ],
  4364. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4365. "parameters": [
  4366. {
  4367. "type": "integer",
  4368. "description": "页码",
  4369. "name": "page",
  4370. "in": "query"
  4371. },
  4372. {
  4373. "type": "integer",
  4374. "description": "每页条数",
  4375. "name": "pagesize",
  4376. "in": "query"
  4377. },
  4378. {
  4379. "type": "integer",
  4380. "description": "商品ID",
  4381. "name": "goodsID",
  4382. "in": "query",
  4383. "required": true
  4384. },
  4385. {
  4386. "type": "string",
  4387. "description": "所属账户名称",
  4388. "name": "accountName",
  4389. "in": "query"
  4390. },
  4391. {
  4392. "type": "integer",
  4393. "description": "市场ID",
  4394. "name": "marketID",
  4395. "in": "query"
  4396. },
  4397. {
  4398. "type": "integer",
  4399. "description": "方向 - 0:买 1:卖",
  4400. "name": "buyorsell",
  4401. "in": "query",
  4402. "required": true
  4403. }
  4404. ],
  4405. "responses": {
  4406. "200": {
  4407. "description": "OK",
  4408. "schema": {
  4409. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4410. }
  4411. },
  4412. "500": {
  4413. "description": "Internal Server Error",
  4414. "schema": {
  4415. "$ref": "#/definitions/app.Response"
  4416. }
  4417. }
  4418. }
  4419. }
  4420. },
  4421. "/User/AddMessageBoard": {
  4422. "post": {
  4423. "security": [
  4424. {
  4425. "ApiKeyAuth": []
  4426. }
  4427. ],
  4428. "produces": [
  4429. "application/json"
  4430. ],
  4431. "tags": [
  4432. "用户信息"
  4433. ],
  4434. "summary": "添加用户留言板信息",
  4435. "parameters": [
  4436. {
  4437. "type": "integer",
  4438. "description": "用户ID",
  4439. "name": "userID",
  4440. "in": "query",
  4441. "required": true
  4442. },
  4443. {
  4444. "type": "string",
  4445. "description": "留言信息",
  4446. "name": "message",
  4447. "in": "query",
  4448. "required": true
  4449. }
  4450. ],
  4451. "responses": {
  4452. "200": {
  4453. "description": "OK",
  4454. "schema": {
  4455. "$ref": "#/definitions/app.Response"
  4456. }
  4457. },
  4458. "500": {
  4459. "description": "Internal Server Error",
  4460. "schema": {
  4461. "$ref": "#/definitions/app.Response"
  4462. }
  4463. }
  4464. }
  4465. }
  4466. },
  4467. "/User/AddUserFavoriteGoods": {
  4468. "post": {
  4469. "security": [
  4470. {
  4471. "ApiKeyAuth": []
  4472. }
  4473. ],
  4474. "produces": [
  4475. "application/json"
  4476. ],
  4477. "tags": [
  4478. "用户信息"
  4479. ],
  4480. "summary": "添加用户商品收藏信息",
  4481. "parameters": [
  4482. {
  4483. "type": "integer",
  4484. "description": "用户ID",
  4485. "name": "userID",
  4486. "in": "query",
  4487. "required": true
  4488. },
  4489. {
  4490. "type": "integer",
  4491. "description": "商品ID",
  4492. "name": "goodsID",
  4493. "in": "query",
  4494. "required": true
  4495. }
  4496. ],
  4497. "responses": {
  4498. "200": {
  4499. "description": "OK",
  4500. "schema": {
  4501. "$ref": "#/definitions/app.Response"
  4502. }
  4503. },
  4504. "500": {
  4505. "description": "Internal Server Error",
  4506. "schema": {
  4507. "$ref": "#/definitions/app.Response"
  4508. }
  4509. }
  4510. }
  4511. }
  4512. },
  4513. "/User/GetLoginID": {
  4514. "get": {
  4515. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4516. "produces": [
  4517. "application/json"
  4518. ],
  4519. "tags": [
  4520. "用户信息"
  4521. ],
  4522. "summary": "获取登录ID",
  4523. "parameters": [
  4524. {
  4525. "type": "string",
  4526. "description": "登录代码",
  4527. "name": "username",
  4528. "in": "query",
  4529. "required": true
  4530. }
  4531. ],
  4532. "responses": {
  4533. "200": {
  4534. "description": "OK",
  4535. "schema": {
  4536. "$ref": "#/definitions/app.Response"
  4537. }
  4538. },
  4539. "500": {
  4540. "description": "Internal Server Error",
  4541. "schema": {
  4542. "$ref": "#/definitions/app.Response"
  4543. }
  4544. }
  4545. }
  4546. }
  4547. },
  4548. "/User/GetUserAccount": {
  4549. "get": {
  4550. "security": [
  4551. {
  4552. "ApiKeyAuth": []
  4553. }
  4554. ],
  4555. "produces": [
  4556. "application/json"
  4557. ],
  4558. "tags": [
  4559. "用户信息"
  4560. ],
  4561. "summary": "获取用户账号信息",
  4562. "parameters": [
  4563. {
  4564. "type": "integer",
  4565. "description": "用户ID",
  4566. "name": "userID",
  4567. "in": "query",
  4568. "required": true
  4569. }
  4570. ],
  4571. "responses": {
  4572. "200": {
  4573. "description": "OK",
  4574. "schema": {
  4575. "$ref": "#/definitions/models.Useraccount"
  4576. }
  4577. },
  4578. "500": {
  4579. "description": "Internal Server Error",
  4580. "schema": {
  4581. "$ref": "#/definitions/app.Response"
  4582. }
  4583. }
  4584. }
  4585. }
  4586. },
  4587. "/User/GetUserAuthStatus": {
  4588. "get": {
  4589. "security": [
  4590. {
  4591. "ApiKeyAuth": []
  4592. }
  4593. ],
  4594. "produces": [
  4595. "application/json"
  4596. ],
  4597. "tags": [
  4598. "用户信息"
  4599. ],
  4600. "summary": "获取用户实名认证状态",
  4601. "parameters": [
  4602. {
  4603. "type": "integer",
  4604. "description": "用户ID",
  4605. "name": "userID",
  4606. "in": "query",
  4607. "required": true
  4608. }
  4609. ],
  4610. "responses": {
  4611. "200": {
  4612. "description": "OK",
  4613. "schema": {
  4614. "$ref": "#/definitions/app.Response"
  4615. }
  4616. },
  4617. "500": {
  4618. "description": "Internal Server Error",
  4619. "schema": {
  4620. "$ref": "#/definitions/app.Response"
  4621. }
  4622. }
  4623. }
  4624. }
  4625. },
  4626. "/User/QueryMessageBoard": {
  4627. "get": {
  4628. "security": [
  4629. {
  4630. "ApiKeyAuth": []
  4631. }
  4632. ],
  4633. "produces": [
  4634. "application/json"
  4635. ],
  4636. "tags": [
  4637. "用户信息"
  4638. ],
  4639. "summary": "获取用户留言板信息",
  4640. "parameters": [
  4641. {
  4642. "type": "integer",
  4643. "description": "用户ID",
  4644. "name": "userID",
  4645. "in": "query",
  4646. "required": true
  4647. }
  4648. ],
  4649. "responses": {
  4650. "200": {
  4651. "description": "OK",
  4652. "schema": {
  4653. "$ref": "#/definitions/models.Messageboard"
  4654. }
  4655. },
  4656. "500": {
  4657. "description": "Internal Server Error",
  4658. "schema": {
  4659. "$ref": "#/definitions/app.Response"
  4660. }
  4661. }
  4662. }
  4663. }
  4664. },
  4665. "/User/QueryUserFavoriteGoodses": {
  4666. "get": {
  4667. "security": [
  4668. {
  4669. "ApiKeyAuth": []
  4670. }
  4671. ],
  4672. "produces": [
  4673. "application/json"
  4674. ],
  4675. "tags": [
  4676. "用户信息"
  4677. ],
  4678. "summary": "获取用户商品收藏信息",
  4679. "parameters": [
  4680. {
  4681. "type": "integer",
  4682. "description": "用户ID",
  4683. "name": "userID",
  4684. "in": "query",
  4685. "required": true
  4686. }
  4687. ],
  4688. "responses": {
  4689. "200": {
  4690. "description": "OK",
  4691. "schema": {
  4692. "$ref": "#/definitions/models.Userfavoritegoods"
  4693. }
  4694. },
  4695. "500": {
  4696. "description": "Internal Server Error",
  4697. "schema": {
  4698. "$ref": "#/definitions/app.Response"
  4699. }
  4700. }
  4701. }
  4702. }
  4703. },
  4704. "/User/QueryUserInfo": {
  4705. "get": {
  4706. "security": [
  4707. {
  4708. "ApiKeyAuth": []
  4709. }
  4710. ],
  4711. "produces": [
  4712. "application/json"
  4713. ],
  4714. "tags": [
  4715. "用户信息"
  4716. ],
  4717. "summary": "获取用户信息",
  4718. "parameters": [
  4719. {
  4720. "type": "integer",
  4721. "description": "用户ID",
  4722. "name": "userID",
  4723. "in": "query",
  4724. "required": true
  4725. }
  4726. ],
  4727. "responses": {
  4728. "200": {
  4729. "description": "OK",
  4730. "schema": {
  4731. "$ref": "#/definitions/models.Userinfo"
  4732. }
  4733. },
  4734. "500": {
  4735. "description": "Internal Server Error",
  4736. "schema": {
  4737. "$ref": "#/definitions/app.Response"
  4738. }
  4739. }
  4740. }
  4741. }
  4742. },
  4743. "/User/QueryUserReferNum": {
  4744. "get": {
  4745. "produces": [
  4746. "application/json"
  4747. ],
  4748. "tags": [
  4749. "用户信息"
  4750. ],
  4751. "summary": "获取用户邀请码",
  4752. "parameters": [
  4753. {
  4754. "type": "integer",
  4755. "description": "用户ID",
  4756. "name": "userID",
  4757. "in": "query",
  4758. "required": true
  4759. }
  4760. ],
  4761. "responses": {
  4762. "200": {
  4763. "description": "OK",
  4764. "schema": {
  4765. "$ref": "#/definitions/app.Response"
  4766. }
  4767. },
  4768. "500": {
  4769. "description": "Internal Server Error",
  4770. "schema": {
  4771. "$ref": "#/definitions/app.Response"
  4772. }
  4773. }
  4774. }
  4775. }
  4776. },
  4777. "/User/RemoveUserFavoriteGoods": {
  4778. "post": {
  4779. "security": [
  4780. {
  4781. "ApiKeyAuth": []
  4782. }
  4783. ],
  4784. "produces": [
  4785. "application/json"
  4786. ],
  4787. "tags": [
  4788. "用户信息"
  4789. ],
  4790. "summary": "移除用户商品收藏信息",
  4791. "parameters": [
  4792. {
  4793. "type": "integer",
  4794. "description": "用户ID",
  4795. "name": "userID",
  4796. "in": "query",
  4797. "required": true
  4798. },
  4799. {
  4800. "type": "integer",
  4801. "description": "商品ID",
  4802. "name": "goodsID",
  4803. "in": "query",
  4804. "required": true
  4805. }
  4806. ],
  4807. "responses": {
  4808. "200": {
  4809. "description": "OK",
  4810. "schema": {
  4811. "$ref": "#/definitions/app.Response"
  4812. }
  4813. },
  4814. "500": {
  4815. "description": "Internal Server Error",
  4816. "schema": {
  4817. "$ref": "#/definitions/app.Response"
  4818. }
  4819. }
  4820. }
  4821. }
  4822. },
  4823. "/WR/GetWRCategoryInfo": {
  4824. "get": {
  4825. "produces": [
  4826. "application/json"
  4827. ],
  4828. "tags": [
  4829. "仓单服务"
  4830. ],
  4831. "summary": "获取现货分类信息",
  4832. "responses": {
  4833. "200": {
  4834. "description": "OK",
  4835. "schema": {
  4836. "$ref": "#/definitions/models.WRCategoryTree"
  4837. }
  4838. },
  4839. "500": {
  4840. "description": "Internal Server Error",
  4841. "schema": {
  4842. "$ref": "#/definitions/app.Response"
  4843. }
  4844. }
  4845. }
  4846. }
  4847. },
  4848. "/WRTrade/GetAllDeliveryGoods": {
  4849. "get": {
  4850. "security": [
  4851. {
  4852. "ApiKeyAuth": []
  4853. },
  4854. {
  4855. "ApiKeyAuth": []
  4856. }
  4857. ],
  4858. "produces": [
  4859. "application/json",
  4860. "application/json"
  4861. ],
  4862. "tags": [
  4863. "仓单贸易",
  4864. "仓单贸易"
  4865. ],
  4866. "summary": "获取带仓单分类的种类信息",
  4867. "responses": {
  4868. "200": {
  4869. "description": "OK",
  4870. "schema": {
  4871. "$ref": "#/definitions/app.Response"
  4872. }
  4873. },
  4874. "500": {
  4875. "description": "Internal Server Error",
  4876. "schema": {
  4877. "$ref": "#/definitions/app.Response"
  4878. }
  4879. }
  4880. }
  4881. }
  4882. }
  4883. },
  4884. "definitions": {
  4885. "app.Response": {
  4886. "type": "object",
  4887. "properties": {
  4888. "code": {
  4889. "type": "integer"
  4890. },
  4891. "data": {
  4892. "type": "object"
  4893. },
  4894. "msg": {
  4895. "type": "string"
  4896. },
  4897. "page": {
  4898. "description": "页码",
  4899. "type": "integer"
  4900. },
  4901. "pagesize": {
  4902. "description": "每页条数",
  4903. "type": "integer"
  4904. },
  4905. "total": {
  4906. "description": "总条数",
  4907. "type": "integer"
  4908. }
  4909. }
  4910. },
  4911. "common.QueryNoticeRsp": {
  4912. "type": "object",
  4913. "required": [
  4914. "autoid"
  4915. ],
  4916. "properties": {
  4917. "auditoruserid": {
  4918. "description": "审核人",
  4919. "type": "integer"
  4920. },
  4921. "auditremark": {
  4922. "description": "审核备注",
  4923. "type": "string"
  4924. },
  4925. "audittime": {
  4926. "description": "审核日期",
  4927. "type": "string"
  4928. },
  4929. "autoid": {
  4930. "description": "自增ID",
  4931. "type": "integer"
  4932. },
  4933. "content": {
  4934. "description": "内容",
  4935. "type": "string"
  4936. },
  4937. "createtime": {
  4938. "description": "创建时间",
  4939. "type": "string"
  4940. },
  4941. "creatorid": {
  4942. "description": "建仓人",
  4943. "type": "integer"
  4944. },
  4945. "endtime": {
  4946. "description": "结束时间",
  4947. "type": "string"
  4948. },
  4949. "istop": {
  4950. "description": "是否置顶 - 0:不置顶 1:置顶",
  4951. "type": "integer"
  4952. },
  4953. "msgiconurl": {
  4954. "description": "消息图标Url",
  4955. "type": "string"
  4956. },
  4957. "msgtype": {
  4958. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4959. "type": "integer"
  4960. },
  4961. "publisher": {
  4962. "description": "消息发布者",
  4963. "type": "string"
  4964. },
  4965. "readed": {
  4966. "description": "是否已读",
  4967. "type": "boolean"
  4968. },
  4969. "scheduletime": {
  4970. "description": "计划发送时间",
  4971. "type": "string"
  4972. },
  4973. "sendtype": {
  4974. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4975. "type": "integer"
  4976. },
  4977. "sentstatus": {
  4978. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4979. "type": "integer"
  4980. },
  4981. "title": {
  4982. "description": "标题",
  4983. "type": "string"
  4984. },
  4985. "userid": {
  4986. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4987. "type": "integer"
  4988. }
  4989. }
  4990. },
  4991. "common.QueryProvincesAndCitiesRsp": {
  4992. "type": "object",
  4993. "properties": {
  4994. "cities": {
  4995. "description": "市",
  4996. "type": "array",
  4997. "items": {
  4998. "$ref": "#/definitions/models.Division"
  4999. }
  5000. },
  5001. "province": {
  5002. "description": "省",
  5003. "type": "object",
  5004. "$ref": "#/definitions/models.Division"
  5005. }
  5006. }
  5007. },
  5008. "common.QueryTableDefineRsp": {
  5009. "type": "object",
  5010. "required": [
  5011. "tablekey"
  5012. ],
  5013. "properties": {
  5014. "columns": {
  5015. "description": "列头信息数组",
  5016. "type": "array",
  5017. "items": {
  5018. "$ref": "#/definitions/models.Tablecolumnconfig"
  5019. }
  5020. },
  5021. "remark": {
  5022. "description": "Remark",
  5023. "type": "string"
  5024. },
  5025. "tabelmenu": {
  5026. "description": "列表菜单",
  5027. "type": "string"
  5028. },
  5029. "tablekey": {
  5030. "description": "列表Key",
  5031. "type": "string"
  5032. },
  5033. "tablename": {
  5034. "description": "列表名称",
  5035. "type": "string"
  5036. },
  5037. "tabletype": {
  5038. "description": "列表类型 - 1:管理端 2:终端",
  5039. "type": "integer"
  5040. }
  5041. }
  5042. },
  5043. "common.QueryTraderMenuRsp": {
  5044. "type": "object",
  5045. "properties": {
  5046. "OperationMenu": {
  5047. "description": "功能菜单",
  5048. "type": "array",
  5049. "items": {
  5050. "$ref": "#/definitions/models.OperationPrimaryMenu"
  5051. }
  5052. },
  5053. "QuoteMenu": {
  5054. "description": "报价牌分类菜单",
  5055. "type": "array",
  5056. "items": {
  5057. "$ref": "#/definitions/models.QuotePrimaryMenu"
  5058. }
  5059. }
  5060. }
  5061. },
  5062. "cptrade.Cptradepositioncancel": {
  5063. "type": "object",
  5064. "required": [
  5065. "cancelid"
  5066. ],
  5067. "properties": {
  5068. "accountid": {
  5069. "description": "申请人账户ID",
  5070. "type": "integer"
  5071. },
  5072. "applystatus": {
  5073. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5074. "type": "integer"
  5075. },
  5076. "applytime": {
  5077. "description": "申请时间",
  5078. "type": "string"
  5079. },
  5080. "cancelid": {
  5081. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  5082. "type": "integer"
  5083. },
  5084. "cancelqty": {
  5085. "description": "注销数量",
  5086. "type": "integer"
  5087. },
  5088. "createtime": {
  5089. "description": "创建时间",
  5090. "type": "string"
  5091. },
  5092. "creatorid": {
  5093. "description": "创建人ID",
  5094. "type": "integer"
  5095. },
  5096. "creatorname": {
  5097. "description": "创建人",
  5098. "type": "string"
  5099. },
  5100. "goodscode": {
  5101. "description": "订单商品代码",
  5102. "type": "string"
  5103. },
  5104. "goodsid": {
  5105. "description": "商品ID",
  5106. "type": "integer"
  5107. },
  5108. "goodsname": {
  5109. "description": "订单商品名称",
  5110. "type": "string"
  5111. },
  5112. "goodunit": {
  5113. "description": "报价单位",
  5114. "type": "string"
  5115. },
  5116. "handlestatus": {
  5117. "description": "处理状态",
  5118. "type": "integer"
  5119. },
  5120. "marketid": {
  5121. "description": "市场ID",
  5122. "type": "integer"
  5123. },
  5124. "marketname": {
  5125. "description": "市场名称",
  5126. "type": "string"
  5127. },
  5128. "tradedate": {
  5129. "description": "交易日(yyyyMMdd)",
  5130. "type": "string"
  5131. },
  5132. "userid": {
  5133. "description": "申请人ID",
  5134. "type": "integer"
  5135. }
  5136. }
  5137. },
  5138. "cptrade.Cptradepresaleapply": {
  5139. "type": "object",
  5140. "required": [
  5141. "applyid"
  5142. ],
  5143. "properties": {
  5144. "accountid": {
  5145. "description": "申请人账户ID",
  5146. "type": "integer"
  5147. },
  5148. "applyid": {
  5149. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  5150. "type": "integer"
  5151. },
  5152. "applyremark": {
  5153. "description": "申请备注",
  5154. "type": "string"
  5155. },
  5156. "applystatus": {
  5157. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5158. "type": "integer"
  5159. },
  5160. "applytime": {
  5161. "description": "申请时间",
  5162. "type": "string"
  5163. },
  5164. "attachmenturl": {
  5165. "description": "附件地址",
  5166. "type": "string"
  5167. },
  5168. "endtime": {
  5169. "description": "预售结束时间",
  5170. "type": "string"
  5171. },
  5172. "goodscode": {
  5173. "description": "商品代码",
  5174. "type": "string"
  5175. },
  5176. "goodsid": {
  5177. "description": "商品ID",
  5178. "type": "integer"
  5179. },
  5180. "goodsname": {
  5181. "description": "商品名称",
  5182. "type": "string"
  5183. },
  5184. "goodunit": {
  5185. "description": "报价单位",
  5186. "type": "string"
  5187. },
  5188. "handlestatus": {
  5189. "description": "处理状态",
  5190. "type": "integer"
  5191. },
  5192. "marketid": {
  5193. "description": "预售市场ID",
  5194. "type": "integer"
  5195. },
  5196. "marketname": {
  5197. "description": "预售市场名称",
  5198. "type": "string"
  5199. },
  5200. "presaleqty": {
  5201. "description": "预售数量",
  5202. "type": "integer"
  5203. },
  5204. "relatedgoodscode": {
  5205. "description": "关联交易合约代码",
  5206. "type": "string"
  5207. },
  5208. "relatedgoodsid": {
  5209. "description": "关联交易合约ID",
  5210. "type": "integer"
  5211. },
  5212. "relatedgoodsname": {
  5213. "description": "关联交易合约名称",
  5214. "type": "string"
  5215. },
  5216. "starttime": {
  5217. "description": "预售开始时间",
  5218. "type": "string"
  5219. },
  5220. "tradedate": {
  5221. "description": "交易日(yyyyMMdd)",
  5222. "type": "string"
  5223. },
  5224. "trademode": {
  5225. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  5226. "type": "integer"
  5227. },
  5228. "userid": {
  5229. "description": "申请人ID",
  5230. "type": "integer"
  5231. }
  5232. }
  5233. },
  5234. "cptrade.Cptradeusergoodsdata": {
  5235. "type": "object",
  5236. "required": [
  5237. "accountid",
  5238. "goodsid"
  5239. ],
  5240. "properties": {
  5241. "EnabledQty": {
  5242. "description": "可用量",
  5243. "type": "integer"
  5244. },
  5245. "GoodsCode": {
  5246. "description": "订单商品代码",
  5247. "type": "string"
  5248. },
  5249. "GoodsName": {
  5250. "description": "订单商品名称",
  5251. "type": "string"
  5252. },
  5253. "WRStandardCode": {
  5254. "description": "仓单标准代码",
  5255. "type": "string"
  5256. },
  5257. "WRStandardName": {
  5258. "description": "仓单标准名称",
  5259. "type": "string"
  5260. },
  5261. "accountid": {
  5262. "description": "账户ID",
  5263. "type": "integer"
  5264. },
  5265. "cancelqty": {
  5266. "description": "注销量",
  5267. "type": "integer"
  5268. },
  5269. "curpresaleqty": {
  5270. "description": "当前预售量",
  5271. "type": "integer"
  5272. },
  5273. "deliveryqty": {
  5274. "description": "交割量",
  5275. "type": "integer"
  5276. },
  5277. "freezeamount": {
  5278. "description": "冻结金额",
  5279. "type": "number"
  5280. },
  5281. "goodsid": {
  5282. "description": "商品ID",
  5283. "type": "integer"
  5284. },
  5285. "goodunit": {
  5286. "description": "报价单位",
  5287. "type": "string"
  5288. },
  5289. "hasspotfreeze": {
  5290. "description": "是否有现货冻结 - 0:否 1:有",
  5291. "type": "integer"
  5292. },
  5293. "inqty": {
  5294. "description": "转入量(总数量)",
  5295. "type": "integer"
  5296. },
  5297. "marketid": {
  5298. "description": "市场ID",
  5299. "type": "integer"
  5300. },
  5301. "presaledamount": {
  5302. "description": "已预售总金额",
  5303. "type": "integer"
  5304. },
  5305. "presaledqty": {
  5306. "description": "已预售量",
  5307. "type": "integer"
  5308. },
  5309. "userid": {
  5310. "description": "用户ID",
  5311. "type": "integer"
  5312. },
  5313. "wrstandardid": {
  5314. "description": "仓单标准ID",
  5315. "type": "integer"
  5316. }
  5317. }
  5318. },
  5319. "cptrade.QueryCPTradeMyBidRsp": {
  5320. "type": "object",
  5321. "required": [
  5322. "accountid",
  5323. "goodsid",
  5324. "marketid",
  5325. "orderid",
  5326. "orderqty",
  5327. "ordertime",
  5328. "tradeprice",
  5329. "tradeqty"
  5330. ],
  5331. "properties": {
  5332. "accountid": {
  5333. "description": "账户ID[报价币种]",
  5334. "type": "integer"
  5335. },
  5336. "goodsid": {
  5337. "description": "商品ID",
  5338. "type": "integer"
  5339. },
  5340. "goodunit": {
  5341. "description": "报价单位",
  5342. "type": "string"
  5343. },
  5344. "marketid": {
  5345. "description": "市场ID",
  5346. "type": "integer"
  5347. },
  5348. "orderid": {
  5349. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5350. "type": "integer"
  5351. },
  5352. "orderprice": {
  5353. "description": "委托价格",
  5354. "type": "number"
  5355. },
  5356. "orderqty": {
  5357. "description": "委托数量",
  5358. "type": "integer"
  5359. },
  5360. "ordertime": {
  5361. "description": "委托时间",
  5362. "type": "string"
  5363. },
  5364. "ordertotalprice": {
  5365. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5366. "type": "number"
  5367. },
  5368. "ordertotalweight": {
  5369. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5370. "type": "integer"
  5371. },
  5372. "totaltotalprice": {
  5373. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5374. "type": "number"
  5375. },
  5376. "tradeprice": {
  5377. "description": "成交价格",
  5378. "type": "number"
  5379. },
  5380. "tradeqty": {
  5381. "description": "成交数量",
  5382. "type": "integer"
  5383. }
  5384. }
  5385. },
  5386. "cptrade.QueryCPTradeOrderDetailRsq": {
  5387. "type": "object",
  5388. "required": [
  5389. "accountid",
  5390. "buildtype",
  5391. "buyorsell",
  5392. "goodsid",
  5393. "marketid",
  5394. "memberuserid",
  5395. "operatetype",
  5396. "orderqty",
  5397. "ordertime",
  5398. "pricemode",
  5399. "strorderid",
  5400. "tradedate",
  5401. "validtype"
  5402. ],
  5403. "properties": {
  5404. "accountid": {
  5405. "description": "账户ID[报价币种]",
  5406. "type": "integer"
  5407. },
  5408. "buildtype": {
  5409. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5410. "type": "integer"
  5411. },
  5412. "buyorsell": {
  5413. "description": "买卖 - 0:买 1:卖",
  5414. "type": "integer"
  5415. },
  5416. "cancelorderid": {
  5417. "description": "撤单单号(撤单时填写)",
  5418. "type": "integer"
  5419. },
  5420. "cancelqty": {
  5421. "description": "撤单数量",
  5422. "type": "integer"
  5423. },
  5424. "clientordertime": {
  5425. "description": "客户端委托时间",
  5426. "type": "string"
  5427. },
  5428. "clientticket": {
  5429. "description": "客户端流水号",
  5430. "type": "string"
  5431. },
  5432. "clienttype": {
  5433. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5434. "type": "integer"
  5435. },
  5436. "closeexchagechargevalue": {
  5437. "description": "平仓交易所手续费设置值",
  5438. "type": "number"
  5439. },
  5440. "closefeealgorithm": {
  5441. "description": "平仓手续费收取方式 1:比率 2:固定",
  5442. "type": "integer"
  5443. },
  5444. "closefreezecharge": {
  5445. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5446. "type": "number"
  5447. },
  5448. "closememberchargevalue": {
  5449. "description": "平仓会员手续费设置值",
  5450. "type": "number"
  5451. },
  5452. "closeqty": {
  5453. "description": "平仓数量(先建后平操作 需要记录)",
  5454. "type": "integer"
  5455. },
  5456. "closetradeqty": {
  5457. "description": "平仓成交数量(先建后平操作,需要记录)",
  5458. "type": "integer"
  5459. },
  5460. "closeunfreezecharge": {
  5461. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5462. "type": "number"
  5463. },
  5464. "delistingtype": {
  5465. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5466. "type": "integer"
  5467. },
  5468. "freezecharge": {
  5469. "description": "冻结手续费",
  5470. "type": "number"
  5471. },
  5472. "freezemargin": {
  5473. "description": "冻结保证金(冻结交易金额)",
  5474. "type": "number"
  5475. },
  5476. "gcaccountid": {
  5477. "description": "账户ID[合约币种]",
  5478. "type": "integer"
  5479. },
  5480. "goodsid": {
  5481. "description": "商品ID",
  5482. "type": "integer"
  5483. },
  5484. "isconfirmexercise": {
  5485. "description": "是否确认行权- 0:否 1:是",
  5486. "type": "integer"
  5487. },
  5488. "ispreexercise": {
  5489. "description": "是否预申报- 0:否 1:是",
  5490. "type": "integer"
  5491. },
  5492. "listingselecttype": {
  5493. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5494. "type": "integer"
  5495. },
  5496. "marginalgorithm": {
  5497. "description": "保证金收取方式 1:比率 2:固定",
  5498. "type": "integer"
  5499. },
  5500. "marginvalue": {
  5501. "description": "即市保证金设置值",
  5502. "type": "number"
  5503. },
  5504. "marketid": {
  5505. "description": "市场ID",
  5506. "type": "integer"
  5507. },
  5508. "marketmaxsub": {
  5509. "description": "市价最大偏移范围",
  5510. "type": "number"
  5511. },
  5512. "memberuserid": {
  5513. "description": "所属会员UserID",
  5514. "type": "integer"
  5515. },
  5516. "openexchagechargevalue": {
  5517. "description": "建仓交易所手续费设置值",
  5518. "type": "number"
  5519. },
  5520. "openfeealgorithm": {
  5521. "description": "建仓手续费收取方式 1:比率 2:固定",
  5522. "type": "integer"
  5523. },
  5524. "openfreezecharge": {
  5525. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5526. "type": "number"
  5527. },
  5528. "openmemberchargevalue": {
  5529. "description": "建仓会员手续费设置值",
  5530. "type": "number"
  5531. },
  5532. "openqty": {
  5533. "description": "开仓数量(先建后平操作,需要记录)",
  5534. "type": "integer"
  5535. },
  5536. "opentradeqty": {
  5537. "description": "开仓成交数量(先建后平操作,需要记录)",
  5538. "type": "integer"
  5539. },
  5540. "openunfreezecharge": {
  5541. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5542. "type": "number"
  5543. },
  5544. "operatetype": {
  5545. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5546. "type": "integer"
  5547. },
  5548. "operatorid": {
  5549. "description": "登录账号(LoginID)",
  5550. "type": "integer"
  5551. },
  5552. "optiontype": {
  5553. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5554. "type": "integer"
  5555. },
  5556. "orderprice": {
  5557. "description": "委托价格",
  5558. "type": "number"
  5559. },
  5560. "orderqty": {
  5561. "description": "委托数量",
  5562. "type": "integer"
  5563. },
  5564. "ordersrc": {
  5565. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5566. "type": "integer"
  5567. },
  5568. "orderstatus": {
  5569. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5570. "type": "integer"
  5571. },
  5572. "ordertime": {
  5573. "description": "委托时间",
  5574. "type": "string"
  5575. },
  5576. "preexerciseprice": {
  5577. "description": "预申报价格",
  5578. "type": "number"
  5579. },
  5580. "premium": {
  5581. "description": "权利金",
  5582. "type": "number"
  5583. },
  5584. "preorderid": {
  5585. "description": "关联预埋单号(止盈止损单时填写)",
  5586. "type": "integer"
  5587. },
  5588. "pricemode": {
  5589. "description": "取价方式 - 1:市价 2: 限价",
  5590. "type": "integer"
  5591. },
  5592. "quoteid": {
  5593. "description": "报价单ID",
  5594. "type": "integer"
  5595. },
  5596. "relatedid": {
  5597. "description": "关联单号(交割单)",
  5598. "type": "integer"
  5599. },
  5600. "retcode": {
  5601. "description": "错误代码",
  5602. "type": "integer"
  5603. },
  5604. "sessionid": {
  5605. "description": "会话ID",
  5606. "type": "integer"
  5607. },
  5608. "strorderid": {
  5609. "description": "委托单号",
  5610. "type": "string"
  5611. },
  5612. "tradedate": {
  5613. "description": "交易日(yyyyMMdd)",
  5614. "type": "string"
  5615. },
  5616. "tradeproperty": {
  5617. "description": "交易属性",
  5618. "type": "integer"
  5619. },
  5620. "tradeqty": {
  5621. "description": "成交数量",
  5622. "type": "integer"
  5623. },
  5624. "unfreezecharge": {
  5625. "description": "解冻手续费",
  5626. "type": "number"
  5627. },
  5628. "unfreezemargin": {
  5629. "description": "解冻保证金",
  5630. "type": "number"
  5631. },
  5632. "updatetime": {
  5633. "description": "更新时间",
  5634. "type": "string"
  5635. },
  5636. "uuid": {
  5637. "description": "发起端唯一id",
  5638. "type": "string"
  5639. },
  5640. "validtime": {
  5641. "description": "有效期限",
  5642. "type": "string"
  5643. },
  5644. "validtype": {
  5645. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5646. "type": "integer"
  5647. },
  5648. "volumetype": {
  5649. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5650. "type": "integer"
  5651. }
  5652. }
  5653. },
  5654. "cptrade.QueryMyCPTradeGoodsRsp": {
  5655. "type": "object",
  5656. "required": [
  5657. "goodscode",
  5658. "goodsid",
  5659. "goodsname",
  5660. "marketid",
  5661. "relatedgoodscode",
  5662. "relatedgoodsname"
  5663. ],
  5664. "properties": {
  5665. "accountid": {
  5666. "description": "卖方账户ID",
  5667. "type": "integer"
  5668. },
  5669. "agreeunit": {
  5670. "description": "合约单位",
  5671. "type": "number"
  5672. },
  5673. "applyid": {
  5674. "description": "关联申请ID",
  5675. "type": "integer"
  5676. },
  5677. "attachmenturl": {
  5678. "description": "附件地址",
  5679. "type": "string"
  5680. },
  5681. "createtime": {
  5682. "description": "创建时间",
  5683. "type": "string"
  5684. },
  5685. "currencyid": {
  5686. "description": "报价货币ID",
  5687. "type": "integer"
  5688. },
  5689. "decimalplace": {
  5690. "description": "报价小数位",
  5691. "type": "integer"
  5692. },
  5693. "endtime": {
  5694. "description": "预售结束时间",
  5695. "type": "string"
  5696. },
  5697. "floorprice": {
  5698. "description": "底价[大宗式竞拍]",
  5699. "type": "number"
  5700. },
  5701. "goodscode": {
  5702. "description": "商品代码(预售)",
  5703. "type": "string"
  5704. },
  5705. "goodsdetail": {
  5706. "description": "详情[大宗]",
  5707. "type": "string"
  5708. },
  5709. "goodsid": {
  5710. "description": "商品ID(自增ID SEQ_GOODS)",
  5711. "type": "integer"
  5712. },
  5713. "goodsname": {
  5714. "description": "商品名称(预售)",
  5715. "type": "string"
  5716. },
  5717. "goodunit": {
  5718. "description": "报价单位",
  5719. "type": "string"
  5720. },
  5721. "goodunitid": {
  5722. "description": "报价单位ID",
  5723. "type": "integer"
  5724. },
  5725. "marketid": {
  5726. "description": "所属市场ID",
  5727. "type": "integer"
  5728. },
  5729. "marketname": {
  5730. "description": "预售市场名称",
  5731. "type": "string"
  5732. },
  5733. "presaledamount": {
  5734. "description": "已预售总金额(预售结束时更新)",
  5735. "type": "number"
  5736. },
  5737. "presaledqty": {
  5738. "description": "已预售量(预售结束时更新)",
  5739. "type": "integer"
  5740. },
  5741. "presalemode": {
  5742. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5743. "type": "integer"
  5744. },
  5745. "presaleqty": {
  5746. "description": "预售数量",
  5747. "type": "integer"
  5748. },
  5749. "refprice": {
  5750. "description": "参考价格[一口价]",
  5751. "type": "number"
  5752. },
  5753. "relatedgoodscode": {
  5754. "description": "商品代码(订单)",
  5755. "type": "string"
  5756. },
  5757. "relatedgoodsid": {
  5758. "description": "关联交易合约ID",
  5759. "type": "integer"
  5760. },
  5761. "relatedgoodsname": {
  5762. "description": "商品名称(订单)",
  5763. "type": "string"
  5764. },
  5765. "relatedmarketid": {
  5766. "description": "关联交易合约市场ID",
  5767. "type": "integer"
  5768. },
  5769. "sellstatus": {
  5770. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5771. "type": "integer"
  5772. },
  5773. "startprice": {
  5774. "description": "起拍价[大宗式竞拍]",
  5775. "type": "number"
  5776. },
  5777. "starttime": {
  5778. "description": "预售开始时间",
  5779. "type": "string"
  5780. },
  5781. "tradedate": {
  5782. "description": "交易日(yyyyMMdd)",
  5783. "type": "string"
  5784. },
  5785. "tradeprice": {
  5786. "description": "成交价[大宗]",
  5787. "type": "number"
  5788. },
  5789. "userid": {
  5790. "description": "卖方用户ID",
  5791. "type": "integer"
  5792. }
  5793. }
  5794. },
  5795. "cptrade.QueryPresaleGoodsExRsp": {
  5796. "type": "object",
  5797. "required": [
  5798. "goodsid"
  5799. ],
  5800. "properties": {
  5801. "attachmenturl": {
  5802. "description": "附件地址",
  5803. "type": "string"
  5804. },
  5805. "createtime": {
  5806. "description": "创建时间",
  5807. "type": "string"
  5808. },
  5809. "endtime": {
  5810. "description": "预售结束时间",
  5811. "type": "string"
  5812. },
  5813. "floorprice": {
  5814. "description": "底价[大宗式竞拍]",
  5815. "type": "number"
  5816. },
  5817. "goodsdetail": {
  5818. "description": "详情[大宗]",
  5819. "type": "string"
  5820. },
  5821. "goodsid": {
  5822. "description": "商品ID(预售)",
  5823. "type": "integer"
  5824. },
  5825. "goodunit": {
  5826. "description": "报价单位",
  5827. "type": "string"
  5828. },
  5829. "marketid": {
  5830. "description": "预售市场ID - 根据预售模式选择市场",
  5831. "type": "integer"
  5832. },
  5833. "presaledamount": {
  5834. "description": "已预售总金额(预售结束时更新)",
  5835. "type": "number"
  5836. },
  5837. "presaledqty": {
  5838. "description": "已预售量(预售结束时更新)",
  5839. "type": "integer"
  5840. },
  5841. "presalemode": {
  5842. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5843. "type": "integer"
  5844. },
  5845. "presaleqty": {
  5846. "description": "预售数量",
  5847. "type": "integer"
  5848. },
  5849. "refprice": {
  5850. "description": "参考价格[一口价]",
  5851. "type": "number"
  5852. },
  5853. "relatedgoodsid": {
  5854. "description": "关联交易合约ID",
  5855. "type": "integer"
  5856. },
  5857. "relatedmarketid": {
  5858. "description": "关联交易合约市场ID",
  5859. "type": "integer"
  5860. },
  5861. "sellstatus": {
  5862. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5863. "type": "integer"
  5864. },
  5865. "startprice": {
  5866. "description": "起拍价[大宗式竞拍]",
  5867. "type": "number"
  5868. },
  5869. "starttime": {
  5870. "description": "预售开始时间",
  5871. "type": "string"
  5872. },
  5873. "tradedate": {
  5874. "description": "交易日(yyyyMMdd)",
  5875. "type": "string"
  5876. },
  5877. "tradeprice": {
  5878. "description": "成交价[大宗]",
  5879. "type": "number"
  5880. }
  5881. }
  5882. },
  5883. "delivery.QueryDeliveryRelationRsp": {
  5884. "type": "object",
  5885. "required": [
  5886. "begindate",
  5887. "enddate",
  5888. "goodsid",
  5889. "mindeliveryqty",
  5890. "xdeliveryratio"
  5891. ],
  5892. "properties": {
  5893. "begindate": {
  5894. "description": "起始日期(yyyyMMdd)",
  5895. "type": "string"
  5896. },
  5897. "buytemplateid": {
  5898. "description": "买履约计划模板ID",
  5899. "type": "integer"
  5900. },
  5901. "deliverygoodscode": {
  5902. "description": "品种代码",
  5903. "type": "string"
  5904. },
  5905. "deliverygoodsid": {
  5906. "description": "交割商品",
  5907. "type": "integer"
  5908. },
  5909. "deliverygoodsname": {
  5910. "description": "品种名称",
  5911. "type": "string"
  5912. },
  5913. "deliverymode": {
  5914. "description": "交割方式 - 1:点选式 2:申报式",
  5915. "type": "integer"
  5916. },
  5917. "deliverypricerule": {
  5918. "description": "交割价规则- 1:行情价 2:建仓价",
  5919. "type": "integer"
  5920. },
  5921. "deliverytype": {
  5922. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5923. "type": "integer"
  5924. },
  5925. "enddate": {
  5926. "description": "结束日期(yyyyMMdd)",
  5927. "type": "string"
  5928. },
  5929. "goodscode": {
  5930. "description": "商品代码",
  5931. "type": "string"
  5932. },
  5933. "goodsid": {
  5934. "description": "交易合约ID",
  5935. "type": "integer"
  5936. },
  5937. "goodsname": {
  5938. "description": "商品名称",
  5939. "type": "string"
  5940. },
  5941. "marketid": {
  5942. "description": "市场ID",
  5943. "type": "integer"
  5944. },
  5945. "mindeliveryqty": {
  5946. "description": "最小交割系数(K)",
  5947. "type": "integer"
  5948. },
  5949. "p2deliveryprice": {
  5950. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5951. "type": "number"
  5952. },
  5953. "p2deliveryratio": {
  5954. "description": "P2合约系数(p)",
  5955. "type": "integer"
  5956. },
  5957. "p2goodsid": {
  5958. "description": "P2合约ID",
  5959. "type": "integer"
  5960. },
  5961. "p2pricemode": {
  5962. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5963. "type": "integer"
  5964. },
  5965. "pdeliveryprice": {
  5966. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5967. "type": "number"
  5968. },
  5969. "pdeliveryratio": {
  5970. "description": "P合约系数(n)",
  5971. "type": "integer"
  5972. },
  5973. "pgoodsid": {
  5974. "description": "P合约ID",
  5975. "type": "integer"
  5976. },
  5977. "ppricemode": {
  5978. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5979. "type": "integer"
  5980. },
  5981. "rratio": {
  5982. "description": "兑换系数(R)",
  5983. "type": "integer"
  5984. },
  5985. "rratio1": {
  5986. "description": "兑换系数(交易合约)(R1)",
  5987. "type": "integer"
  5988. },
  5989. "rratio2": {
  5990. "description": "兑换系数(仓单标准)(R2)",
  5991. "type": "integer"
  5992. },
  5993. "selltemplateid": {
  5994. "description": "卖履约计划模板ID",
  5995. "type": "integer"
  5996. },
  5997. "wrstandardid": {
  5998. "description": "仓单标准ID",
  5999. "type": "integer"
  6000. },
  6001. "xdeliveryratio": {
  6002. "description": "交易合约系数(m)",
  6003. "type": "integer"
  6004. }
  6005. }
  6006. },
  6007. "ermcp.ExposureDetailRsp": {
  6008. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  6009. },
  6010. "ermcp.ExposureSpotDetailRsp": {
  6011. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  6012. },
  6013. "ermcp.ExposureSpotRsp": {
  6014. "$ref": "#/definitions/models.AreaSpotModel"
  6015. },
  6016. "ermcp.HisExposureRsp": {
  6017. "$ref": "#/definitions/models.ErmcpHisExposure"
  6018. },
  6019. "ermcp.QryBusinessDjRsp": {
  6020. "type": "object",
  6021. "properties": {
  6022. "amount": {
  6023. "description": "点价金额=(点价价格+升贴水)*点价数量",
  6024. "type": "number"
  6025. },
  6026. "applyid": {
  6027. "description": "申请人",
  6028. "type": "string"
  6029. },
  6030. "applyname": {
  6031. "description": "申请人名称",
  6032. "type": "string"
  6033. },
  6034. "applystatus": {
  6035. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6036. "type": "integer"
  6037. },
  6038. "applytime": {
  6039. "description": "申请时间",
  6040. "type": "string"
  6041. },
  6042. "auditname": {
  6043. "description": "审核人名称",
  6044. "type": "string"
  6045. },
  6046. "audittime": {
  6047. "description": "审核时间",
  6048. "type": "string"
  6049. },
  6050. "buyusername": {
  6051. "description": "采购方名称",
  6052. "type": "string"
  6053. },
  6054. "contractno": {
  6055. "description": "合同编号",
  6056. "type": "string"
  6057. },
  6058. "contractstatus": {
  6059. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6060. "type": "integer"
  6061. },
  6062. "contracttype": {
  6063. "description": "现货合同类型 - 1:采购 -1:销售",
  6064. "type": "integer"
  6065. },
  6066. "enumdicname": {
  6067. "description": "单位名称",
  6068. "type": "string"
  6069. },
  6070. "goodscode": {
  6071. "description": "点价合约",
  6072. "type": "string"
  6073. },
  6074. "goodsname": {
  6075. "description": "商品名称",
  6076. "type": "string"
  6077. },
  6078. "operateapplyid": {
  6079. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6080. "type": "string"
  6081. },
  6082. "operateapplytype": {
  6083. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6084. "type": "integer"
  6085. },
  6086. "pricedPrice": {
  6087. "description": "点价价格(非必填)",
  6088. "type": "number"
  6089. },
  6090. "pricedQty": {
  6091. "description": "点价数量(非必填)",
  6092. "type": "number"
  6093. },
  6094. "pricemove": {
  6095. "description": "升贴水",
  6096. "type": "number"
  6097. },
  6098. "pricetype": {
  6099. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6100. "type": "integer"
  6101. },
  6102. "relatedid": {
  6103. "description": "现货合同ID",
  6104. "type": "string"
  6105. },
  6106. "sellusername": {
  6107. "description": "销售方名字",
  6108. "type": "string"
  6109. },
  6110. "userid": {
  6111. "description": "用户ID",
  6112. "type": "integer"
  6113. }
  6114. }
  6115. },
  6116. "ermcp.QryBussinessFpRsp": {
  6117. "type": "object",
  6118. "properties": {
  6119. "applyid": {
  6120. "description": "申请人",
  6121. "type": "string"
  6122. },
  6123. "applyname": {
  6124. "description": "申请人名称",
  6125. "type": "string"
  6126. },
  6127. "applystatus": {
  6128. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6129. "type": "integer"
  6130. },
  6131. "applytime": {
  6132. "description": "申请时间",
  6133. "type": "string"
  6134. },
  6135. "auditname": {
  6136. "description": "审核人名称",
  6137. "type": "string"
  6138. },
  6139. "audittime": {
  6140. "description": "审核时间",
  6141. "type": "string"
  6142. },
  6143. "buyusername": {
  6144. "description": "采购方名称",
  6145. "type": "string"
  6146. },
  6147. "contractno": {
  6148. "description": "合同编号",
  6149. "type": "string"
  6150. },
  6151. "contractstatus": {
  6152. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6153. "type": "integer"
  6154. },
  6155. "contracttype": {
  6156. "description": "现货合同类型 - 1:采购 -1:销售",
  6157. "type": "integer"
  6158. },
  6159. "enumdicname": {
  6160. "description": "单位名称",
  6161. "type": "string"
  6162. },
  6163. "goodscode": {
  6164. "description": "点价合约",
  6165. "type": "string"
  6166. },
  6167. "goodsname": {
  6168. "description": "商品名称",
  6169. "type": "string"
  6170. },
  6171. "invoiceAmount": {
  6172. "description": "已开收票金额(销售为开票,采购为收票)",
  6173. "type": "number"
  6174. },
  6175. "operateapplyid": {
  6176. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6177. "type": "string"
  6178. },
  6179. "operateapplytype": {
  6180. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6181. "type": "integer"
  6182. },
  6183. "pricemove": {
  6184. "description": "升贴水",
  6185. "type": "number"
  6186. },
  6187. "pricetype": {
  6188. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6189. "type": "integer"
  6190. },
  6191. "relatedid": {
  6192. "description": "现货合同ID",
  6193. "type": "string"
  6194. },
  6195. "sellusername": {
  6196. "description": "销售方名字",
  6197. "type": "string"
  6198. },
  6199. "userid": {
  6200. "description": "用户ID",
  6201. "type": "integer"
  6202. }
  6203. }
  6204. },
  6205. "ermcp.QryBussinessJsRsp": {
  6206. "type": "object",
  6207. "properties": {
  6208. "addmargin": {
  6209. "description": "追加保证金(非必填)",
  6210. "type": "number"
  6211. },
  6212. "applyid": {
  6213. "description": "申请人",
  6214. "type": "string"
  6215. },
  6216. "applyname": {
  6217. "description": "申请人名称",
  6218. "type": "string"
  6219. },
  6220. "applystatus": {
  6221. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6222. "type": "integer"
  6223. },
  6224. "applytime": {
  6225. "description": "申请时间",
  6226. "type": "string"
  6227. },
  6228. "auditname": {
  6229. "description": "审核人名称",
  6230. "type": "string"
  6231. },
  6232. "audittime": {
  6233. "description": "审核时间",
  6234. "type": "string"
  6235. },
  6236. "buyusername": {
  6237. "description": "采购方名称",
  6238. "type": "string"
  6239. },
  6240. "contractno": {
  6241. "description": "合同编号",
  6242. "type": "string"
  6243. },
  6244. "contractstatus": {
  6245. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6246. "type": "integer"
  6247. },
  6248. "contracttype": {
  6249. "description": "现货合同类型 - 1:采购 -1:销售",
  6250. "type": "integer"
  6251. },
  6252. "decmargin": {
  6253. "description": "减少保证金(非必填)",
  6254. "type": "number"
  6255. },
  6256. "enumdicname": {
  6257. "description": "单位名称",
  6258. "type": "string"
  6259. },
  6260. "goodscode": {
  6261. "description": "点价合约",
  6262. "type": "string"
  6263. },
  6264. "goodsname": {
  6265. "description": "商品名称",
  6266. "type": "string"
  6267. },
  6268. "operateapplyid": {
  6269. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6270. "type": "string"
  6271. },
  6272. "operateapplytype": {
  6273. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6274. "type": "integer"
  6275. },
  6276. "pricemove": {
  6277. "description": "升贴水",
  6278. "type": "number"
  6279. },
  6280. "pricetype": {
  6281. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6282. "type": "integer"
  6283. },
  6284. "reckonadjustamount": {
  6285. "description": "结算调整金额(非必填)",
  6286. "type": "number"
  6287. },
  6288. "reckonosamount": {
  6289. "description": "结算溢短金额(非必填)",
  6290. "type": "number"
  6291. },
  6292. "reckonotheramount": {
  6293. "description": "结算其他费用(非必填)",
  6294. "type": "number"
  6295. },
  6296. "reckonrealqty": {
  6297. "description": "结算实际数量(非必填)",
  6298. "type": "number"
  6299. },
  6300. "relatedid": {
  6301. "description": "现货合同ID",
  6302. "type": "string"
  6303. },
  6304. "sellusername": {
  6305. "description": "销售方名字",
  6306. "type": "string"
  6307. },
  6308. "userid": {
  6309. "description": "用户ID",
  6310. "type": "integer"
  6311. }
  6312. }
  6313. },
  6314. "ermcp.QryBussinessKxRsp": {
  6315. "type": "object",
  6316. "properties": {
  6317. "applyid": {
  6318. "description": "申请人",
  6319. "type": "string"
  6320. },
  6321. "applyname": {
  6322. "description": "申请人名称",
  6323. "type": "string"
  6324. },
  6325. "applystatus": {
  6326. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6327. "type": "integer"
  6328. },
  6329. "applytime": {
  6330. "description": "申请时间",
  6331. "type": "string"
  6332. },
  6333. "auditname": {
  6334. "description": "审核人名称",
  6335. "type": "string"
  6336. },
  6337. "audittime": {
  6338. "description": "审核时间",
  6339. "type": "string"
  6340. },
  6341. "buyusername": {
  6342. "description": "采购方名称",
  6343. "type": "string"
  6344. },
  6345. "contractno": {
  6346. "description": "合同编号",
  6347. "type": "string"
  6348. },
  6349. "contractstatus": {
  6350. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6351. "type": "integer"
  6352. },
  6353. "contracttype": {
  6354. "description": "现货合同类型 - 1:采购 -1:销售",
  6355. "type": "integer"
  6356. },
  6357. "deductamount": {
  6358. "description": "退款(非必填)",
  6359. "type": "number"
  6360. },
  6361. "enumdicname": {
  6362. "description": "单位名称",
  6363. "type": "string"
  6364. },
  6365. "goodscode": {
  6366. "description": "点价合约",
  6367. "type": "string"
  6368. },
  6369. "goodsname": {
  6370. "description": "商品名称",
  6371. "type": "string"
  6372. },
  6373. "kxtype": {
  6374. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  6375. "type": "integer"
  6376. },
  6377. "operateapplyid": {
  6378. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6379. "type": "string"
  6380. },
  6381. "operateapplytype": {
  6382. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6383. "type": "integer"
  6384. },
  6385. "payamount": {
  6386. "description": "收付款(非必填)",
  6387. "type": "number"
  6388. },
  6389. "pricemove": {
  6390. "description": "升贴水",
  6391. "type": "number"
  6392. },
  6393. "pricetype": {
  6394. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6395. "type": "integer"
  6396. },
  6397. "relatedid": {
  6398. "description": "现货合同ID",
  6399. "type": "string"
  6400. },
  6401. "sellusername": {
  6402. "description": "销售方名字",
  6403. "type": "string"
  6404. },
  6405. "userid": {
  6406. "description": "用户ID",
  6407. "type": "integer"
  6408. }
  6409. }
  6410. },
  6411. "ermcp.QryErmcpRsp": {
  6412. "$ref": "#/definitions/models.ErmcpModel"
  6413. },
  6414. "ermcp.QryHedgePlanRsp": {
  6415. "$ref": "#/definitions/models.ErmcpHedgePlan"
  6416. },
  6417. "ermcp.QryMiddleGoodsRsp": {
  6418. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  6419. },
  6420. "ermcp.QryOPLogRsp": {
  6421. "$ref": "#/definitions/models.ErmcpOPLogModel"
  6422. },
  6423. "ermcp.QrySpotContractRsp": {
  6424. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  6425. },
  6426. "ermcp.QryUserInfoRsp": {
  6427. "$ref": "#/definitions/models.ErmcpUserModel"
  6428. },
  6429. "ermcp.QryWrStandardDetailRsp": {
  6430. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  6431. },
  6432. "ermcp.QryWrStandardRsp": {
  6433. "$ref": "#/definitions/models.ErmcpWrstandard"
  6434. },
  6435. "ermcp.RealtimeExposureRsp": {
  6436. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  6437. },
  6438. "erms2.QueryArbitrageStrategyRsp": {
  6439. "type": "object",
  6440. "required": [
  6441. "asapplyid"
  6442. ],
  6443. "properties": {
  6444. "applybasis": {
  6445. "description": "申请基差",
  6446. "type": "number"
  6447. },
  6448. "asapplyid": {
  6449. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  6450. "type": "string"
  6451. },
  6452. "asname": {
  6453. "description": "策略名称",
  6454. "type": "string"
  6455. },
  6456. "asno": {
  6457. "description": "策略编号",
  6458. "type": "string"
  6459. },
  6460. "basischangepl": {
  6461. "description": "基差变动损益[结算更新]",
  6462. "type": "number"
  6463. },
  6464. "biztype": {
  6465. "description": "业务类型 - 1:正向套利 -1:反向套利",
  6466. "type": "integer"
  6467. },
  6468. "closetradedate": {
  6469. "description": "完结交易日(yyyyMMdd)",
  6470. "type": "string"
  6471. },
  6472. "curbasis": {
  6473. "description": "当前基差[结算更新]",
  6474. "type": "number"
  6475. },
  6476. "deliverygoodsid": {
  6477. "description": "现货品种ID",
  6478. "type": "integer"
  6479. },
  6480. "futureavgprice": {
  6481. "description": "期货建仓均价",
  6482. "type": "number"
  6483. },
  6484. "futurecloseamount": {
  6485. "description": "期货平仓金额",
  6486. "type": "number"
  6487. },
  6488. "futurecloseqty": {
  6489. "description": "期货平仓数量",
  6490. "type": "number"
  6491. },
  6492. "futureopenamount": {
  6493. "description": "期货开仓金额",
  6494. "type": "number"
  6495. },
  6496. "futureopenqty": {
  6497. "description": "期货开仓数量",
  6498. "type": "number"
  6499. },
  6500. "futurepl": {
  6501. "description": "期货总盈亏[结算更新]",
  6502. "type": "number"
  6503. },
  6504. "futureqty": {
  6505. "description": "期货持仓数量",
  6506. "type": "number"
  6507. },
  6508. "futurequote": {
  6509. "description": "期货额度",
  6510. "type": "number"
  6511. },
  6512. "goodsgroupid": {
  6513. "description": "期货品种ID",
  6514. "type": "integer"
  6515. },
  6516. "marketid": {
  6517. "description": "市场ID",
  6518. "type": "integer"
  6519. },
  6520. "netexposure": {
  6521. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6522. "type": "number"
  6523. },
  6524. "netexposurepl": {
  6525. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6526. "type": "number"
  6527. },
  6528. "netexposurerate": {
  6529. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6530. "type": "number"
  6531. },
  6532. "openbasis": {
  6533. "description": "建仓基差",
  6534. "type": "number"
  6535. },
  6536. "pricedspotqty": {
  6537. "description": "已定价现货数量",
  6538. "type": "number"
  6539. },
  6540. "pricedspotqtynotax": {
  6541. "description": "已定价现货不含税数量",
  6542. "type": "number"
  6543. },
  6544. "remark": {
  6545. "description": "备注",
  6546. "type": "string"
  6547. },
  6548. "spotavgprice": {
  6549. "description": "现货均价",
  6550. "type": "number"
  6551. },
  6552. "spotbuyamount": {
  6553. "description": "现货采购金额",
  6554. "type": "number"
  6555. },
  6556. "spotbuyqty": {
  6557. "description": "现货采购数量",
  6558. "type": "number"
  6559. },
  6560. "spotpl": {
  6561. "description": "现货总盈亏[结算更新]",
  6562. "type": "number"
  6563. },
  6564. "spotquota": {
  6565. "description": "现货额度",
  6566. "type": "number"
  6567. },
  6568. "spotsellamount": {
  6569. "description": "现货销售金额",
  6570. "type": "number"
  6571. },
  6572. "spotsellqty": {
  6573. "description": "现货销售数量",
  6574. "type": "number"
  6575. },
  6576. "spotusedquota": {
  6577. "description": "现货占用资金",
  6578. "type": "number"
  6579. },
  6580. "strategystatus": {
  6581. "description": "策略状态 - 0:未结束 1:已结束",
  6582. "type": "integer"
  6583. },
  6584. "totalpl": {
  6585. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6586. "type": "number"
  6587. },
  6588. "tradedate": {
  6589. "description": "交易日(yyyyMMdd)",
  6590. "type": "string"
  6591. },
  6592. "updatetime": {
  6593. "description": "更新时间",
  6594. "type": "string"
  6595. },
  6596. "usedquota": {
  6597. "description": "已占用资金",
  6598. "type": "number"
  6599. },
  6600. "userid": {
  6601. "description": "所属机构",
  6602. "type": "integer"
  6603. }
  6604. }
  6605. },
  6606. "erms2.QueryInnerTradeDetailRsp": {
  6607. "type": "object",
  6608. "required": [
  6609. "asapplyid",
  6610. "buyorsell",
  6611. "goodscode",
  6612. "goodsgroupid",
  6613. "goodsgroupname",
  6614. "goodsname",
  6615. "tradeid"
  6616. ],
  6617. "properties": {
  6618. "accountid": {
  6619. "description": "账号ID",
  6620. "type": "integer"
  6621. },
  6622. "agreeunit": {
  6623. "description": "合约单位",
  6624. "type": "number"
  6625. },
  6626. "asapplyid": {
  6627. "description": "策略申请ID",
  6628. "type": "integer"
  6629. },
  6630. "asname": {
  6631. "description": "策略名称",
  6632. "type": "string"
  6633. },
  6634. "asno": {
  6635. "description": "策略编号",
  6636. "type": "string"
  6637. },
  6638. "buyorsell": {
  6639. "description": "方向 - 0:买 1:卖",
  6640. "type": "integer"
  6641. },
  6642. "channelbuildtype": {
  6643. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  6644. "type": "integer"
  6645. },
  6646. "closetype": {
  6647. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  6648. "type": "integer"
  6649. },
  6650. "decimalplace": {
  6651. "description": "报价小数位",
  6652. "type": "integer"
  6653. },
  6654. "detailtype": {
  6655. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  6656. "type": "integer"
  6657. },
  6658. "exexchangecode": {
  6659. "description": "外部交易所代码",
  6660. "type": "string"
  6661. },
  6662. "exexchangename": {
  6663. "description": "外部交易所名称",
  6664. "type": "string"
  6665. },
  6666. "goodscode": {
  6667. "description": "商品代码(合约)",
  6668. "type": "string"
  6669. },
  6670. "goodsgroupid": {
  6671. "description": "商品组ID(品种ID)",
  6672. "type": "integer"
  6673. },
  6674. "goodsgroupname": {
  6675. "description": "商品组名称(品种)",
  6676. "type": "string"
  6677. },
  6678. "goodsid": {
  6679. "description": "商品ID",
  6680. "type": "integer"
  6681. },
  6682. "goodsname": {
  6683. "description": "商品名称(合约)",
  6684. "type": "string"
  6685. },
  6686. "goodunit": {
  6687. "description": "报价单位",
  6688. "type": "string"
  6689. },
  6690. "marketid": {
  6691. "description": "市场ID",
  6692. "type": "integer"
  6693. },
  6694. "orderid": {
  6695. "description": "委托单号",
  6696. "type": "string"
  6697. },
  6698. "outgoodscode": {
  6699. "description": "商品代码(外部)",
  6700. "type": "string"
  6701. },
  6702. "relatedouttradeid": {
  6703. "description": "关联外部成交单ID",
  6704. "type": "string"
  6705. },
  6706. "remark": {
  6707. "description": "备注",
  6708. "type": "string"
  6709. },
  6710. "spotcontractid": {
  6711. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  6712. "type": "integer"
  6713. },
  6714. "spotcontractno": {
  6715. "description": "现货合同编号",
  6716. "type": "string"
  6717. },
  6718. "tradeid": {
  6719. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6720. "type": "string"
  6721. },
  6722. "tradeprice": {
  6723. "description": "成交价格",
  6724. "type": "number"
  6725. },
  6726. "tradeqty": {
  6727. "description": "成交数量",
  6728. "type": "integer"
  6729. },
  6730. "tradetime": {
  6731. "description": "成交时间",
  6732. "type": "string"
  6733. },
  6734. "updatetime": {
  6735. "description": "更新时间",
  6736. "type": "string"
  6737. }
  6738. }
  6739. },
  6740. "erms2.QuerySpotContractRsp": {
  6741. "type": "object",
  6742. "required": [
  6743. "spotcontractid"
  6744. ],
  6745. "properties": {
  6746. "accountid": {
  6747. "description": "资金账户ID",
  6748. "type": "integer"
  6749. },
  6750. "areauserid": {
  6751. "description": "所属机构",
  6752. "type": "integer"
  6753. },
  6754. "closedate": {
  6755. "description": "终止日期",
  6756. "type": "string"
  6757. },
  6758. "closeremark": {
  6759. "description": "结束备注",
  6760. "type": "string"
  6761. },
  6762. "closetradedate": {
  6763. "description": "完结交易日(yyyyMMdd)",
  6764. "type": "string"
  6765. },
  6766. "closetype": {
  6767. "description": "终止类型 - 1:违约 2:提前终止",
  6768. "type": "integer"
  6769. },
  6770. "contractamount": {
  6771. "description": "合同金额",
  6772. "type": "number"
  6773. },
  6774. "contractattachment": {
  6775. "description": "合同附件",
  6776. "type": "string"
  6777. },
  6778. "contractno": {
  6779. "description": "现货合同编号",
  6780. "type": "string"
  6781. },
  6782. "contractqty": {
  6783. "description": "合同数量(数值) (用于计算)",
  6784. "type": "number"
  6785. },
  6786. "contractqtychar": {
  6787. "description": "合同数量\\已订价数量 (用于显示)",
  6788. "type": "string"
  6789. },
  6790. "contractstatus": {
  6791. "description": "合同状态 - 0:未结束 1:已结束",
  6792. "type": "integer"
  6793. },
  6794. "contracttype": {
  6795. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  6796. "type": "integer"
  6797. },
  6798. "customeraccountid": {
  6799. "description": "客户资金账户ID",
  6800. "type": "integer"
  6801. },
  6802. "customeruserid": {
  6803. "description": "客户ID",
  6804. "type": "integer"
  6805. },
  6806. "deliverygoodsdesc": {
  6807. "description": "品种说明",
  6808. "type": "string"
  6809. },
  6810. "deliverygoodsid": {
  6811. "description": "现货品种ID",
  6812. "type": "integer"
  6813. },
  6814. "handlestatus": {
  6815. "description": "处理状态",
  6816. "type": "integer"
  6817. },
  6818. "invoiceatt": {
  6819. "description": "发票附件",
  6820. "type": "string"
  6821. },
  6822. "invoicedatetime": {
  6823. "description": "开收票更新时间",
  6824. "type": "string"
  6825. },
  6826. "invoiceopentime": {
  6827. "description": "开票时间",
  6828. "type": "string"
  6829. },
  6830. "invoiceremark": {
  6831. "description": "发票备注",
  6832. "type": "string"
  6833. },
  6834. "invoicestatus": {
  6835. "description": "开收票状态 - 0:未开票 1:已开票",
  6836. "type": "integer"
  6837. },
  6838. "lastdate": {
  6839. "description": "交货时间",
  6840. "type": "string"
  6841. },
  6842. "marketid": {
  6843. "description": "市场ID",
  6844. "type": "integer"
  6845. },
  6846. "paydatetime": {
  6847. "description": "收付款更新时间",
  6848. "type": "string"
  6849. },
  6850. "payremark": {
  6851. "description": "收付款备注",
  6852. "type": "string"
  6853. },
  6854. "paystatus": {
  6855. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  6856. "type": "integer"
  6857. },
  6858. "positionqty": {
  6859. "description": "头寸数量 - 合同数量去小数部分",
  6860. "type": "integer"
  6861. },
  6862. "producttype": {
  6863. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6864. "type": "integer"
  6865. },
  6866. "relatedqty": {
  6867. "description": "已关联数量",
  6868. "type": "number"
  6869. },
  6870. "relatedstatus": {
  6871. "description": "关联完结状态 - 0:未结束 1:已结束",
  6872. "type": "integer"
  6873. },
  6874. "remark": {
  6875. "description": "备注",
  6876. "type": "string"
  6877. },
  6878. "signdate": {
  6879. "description": "签订日期",
  6880. "type": "string"
  6881. },
  6882. "spotcontractid": {
  6883. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  6884. "type": "string"
  6885. },
  6886. "spotdatetime": {
  6887. "description": "收发货更新时间",
  6888. "type": "string"
  6889. },
  6890. "spotprice": {
  6891. "description": "价格",
  6892. "type": "number"
  6893. },
  6894. "spotremark": {
  6895. "description": "收发货备注",
  6896. "type": "string"
  6897. },
  6898. "spotstatus": {
  6899. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  6900. "type": "integer"
  6901. },
  6902. "tradedate": {
  6903. "description": "交易日(yyyyMMdd)",
  6904. "type": "string"
  6905. },
  6906. "userid": {
  6907. "description": "业务员用户ID",
  6908. "type": "integer"
  6909. },
  6910. "warehouseid": {
  6911. "description": "仓库ID",
  6912. "type": "integer"
  6913. },
  6914. "wrfactortypeid": {
  6915. "description": "仓单要素类型ID",
  6916. "type": "integer"
  6917. },
  6918. "wrstandardid": {
  6919. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6920. "type": "integer"
  6921. }
  6922. }
  6923. },
  6924. "erms3.AddErms2ASApplyReq": {
  6925. "type": "object",
  6926. "required": [
  6927. "asapplyid"
  6928. ],
  6929. "properties": {
  6930. "applybasis": {
  6931. "description": "申请基差",
  6932. "type": "number"
  6933. },
  6934. "applystatus": {
  6935. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6936. "type": "integer"
  6937. },
  6938. "asapplyid": {
  6939. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  6940. "type": "integer"
  6941. },
  6942. "asname": {
  6943. "description": "策略名称",
  6944. "type": "string"
  6945. },
  6946. "asno": {
  6947. "description": "策略编号",
  6948. "type": "string"
  6949. },
  6950. "auditid": {
  6951. "description": "审核人",
  6952. "type": "integer"
  6953. },
  6954. "auditremark": {
  6955. "description": "审核备注",
  6956. "type": "string"
  6957. },
  6958. "audittime": {
  6959. "description": "审核时间",
  6960. "type": "string"
  6961. },
  6962. "biztype": {
  6963. "description": "业务类型 - 1:正向套利 2:反向套利",
  6964. "type": "integer"
  6965. },
  6966. "createtime": {
  6967. "description": "创建时间",
  6968. "type": "string"
  6969. },
  6970. "creatorid": {
  6971. "description": "创建人",
  6972. "type": "integer"
  6973. },
  6974. "deliverygoodsid": {
  6975. "description": "现货品种ID",
  6976. "type": "integer"
  6977. },
  6978. "futurequote": {
  6979. "description": "期货额度",
  6980. "type": "number"
  6981. },
  6982. "goodsgroupid": {
  6983. "description": "期货品种ID",
  6984. "type": "integer"
  6985. },
  6986. "marketid": {
  6987. "description": "市场ID",
  6988. "type": "integer"
  6989. },
  6990. "remark": {
  6991. "description": "备注",
  6992. "type": "string"
  6993. },
  6994. "spotquota": {
  6995. "description": "现货额度",
  6996. "type": "number"
  6997. },
  6998. "tradedate": {
  6999. "description": "交易日(yyyyMMdd)",
  7000. "type": "string"
  7001. },
  7002. "userid": {
  7003. "description": "所属机构",
  7004. "type": "integer"
  7005. }
  7006. }
  7007. },
  7008. "erms3.AddErms2SpotTradeApplyReq": {
  7009. "type": "object",
  7010. "required": [
  7011. "spottradeid"
  7012. ],
  7013. "properties": {
  7014. "applyjsondetail": {
  7015. "description": "申请明细(JSON)",
  7016. "type": "string"
  7017. },
  7018. "applystatus": {
  7019. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7020. "type": "integer"
  7021. },
  7022. "areauserid": {
  7023. "description": "所属机构",
  7024. "type": "integer"
  7025. },
  7026. "auditid": {
  7027. "description": "审核人",
  7028. "type": "integer"
  7029. },
  7030. "auditremark": {
  7031. "description": "审核备注",
  7032. "type": "string"
  7033. },
  7034. "audittime": {
  7035. "description": "审核时间",
  7036. "type": "string"
  7037. },
  7038. "createtime": {
  7039. "description": "创建时间",
  7040. "type": "string"
  7041. },
  7042. "creatorid": {
  7043. "description": "创建人",
  7044. "type": "integer"
  7045. },
  7046. "deliverygoodsid": {
  7047. "description": "现货品种ID",
  7048. "type": "integer"
  7049. },
  7050. "futureaccountid": {
  7051. "description": "期货资金账户",
  7052. "type": "integer"
  7053. },
  7054. "goodsgroupid": {
  7055. "description": "期货品种",
  7056. "type": "integer"
  7057. },
  7058. "marketid": {
  7059. "description": "市场ID",
  7060. "type": "integer"
  7061. },
  7062. "remark": {
  7063. "description": "备注",
  7064. "type": "string"
  7065. },
  7066. "spotaccountid": {
  7067. "description": "现货资金账户",
  7068. "type": "integer"
  7069. },
  7070. "spottradeid": {
  7071. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  7072. "type": "integer"
  7073. },
  7074. "spottradename": {
  7075. "description": "业务名称",
  7076. "type": "string"
  7077. },
  7078. "spottradeno": {
  7079. "description": "业务编号",
  7080. "type": "string"
  7081. },
  7082. "tradedate": {
  7083. "description": "交易日(yyyyMMdd)",
  7084. "type": "string"
  7085. },
  7086. "wrstandardid": {
  7087. "description": "仓单标准ID",
  7088. "type": "integer"
  7089. }
  7090. }
  7091. },
  7092. "erms3.AddSpotContractApplyReq": {
  7093. "type": "object",
  7094. "required": [
  7095. "accountid",
  7096. "areauserid",
  7097. "contractno",
  7098. "contracttype",
  7099. "customeraccountid",
  7100. "customeruserid",
  7101. "details",
  7102. "orimargin",
  7103. "signdate"
  7104. ],
  7105. "properties": {
  7106. "accountid": {
  7107. "description": "资金账户ID",
  7108. "type": "integer"
  7109. },
  7110. "areauserid": {
  7111. "description": "所属机构",
  7112. "type": "integer"
  7113. },
  7114. "contractattachment": {
  7115. "description": "合同附件",
  7116. "type": "string"
  7117. },
  7118. "contractno": {
  7119. "description": "现货合同编号",
  7120. "type": "string"
  7121. },
  7122. "contracttype": {
  7123. "description": "现货合同类型 - 1:采购 -1:销售",
  7124. "type": "integer"
  7125. },
  7126. "creatorid": {
  7127. "description": "申请人",
  7128. "type": "integer"
  7129. },
  7130. "customeraccountid": {
  7131. "description": "客户资金账户ID",
  7132. "type": "integer"
  7133. },
  7134. "customeruserid": {
  7135. "description": "客户ID",
  7136. "type": "integer"
  7137. },
  7138. "details": {
  7139. "description": "明细",
  7140. "type": "array",
  7141. "items": {
  7142. "$ref": "#/definitions/erms3.SoptContractDetail"
  7143. }
  7144. },
  7145. "orimargin": {
  7146. "description": "初始保证金",
  7147. "type": "number"
  7148. },
  7149. "remark": {
  7150. "description": "备注",
  7151. "type": "string"
  7152. },
  7153. "signdate": {
  7154. "description": "签订日期",
  7155. "type": "string"
  7156. }
  7157. }
  7158. },
  7159. "erms3.AddSpotContractApplyRsp": {
  7160. "type": "object",
  7161. "required": [
  7162. "contractno"
  7163. ],
  7164. "properties": {
  7165. "contractno": {
  7166. "description": "现货合同编号",
  7167. "type": "string"
  7168. },
  7169. "spotcontractid": {
  7170. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  7171. "type": "integer"
  7172. }
  7173. }
  7174. },
  7175. "erms3.AddUserInfoApplyReq": {
  7176. "type": "object",
  7177. "required": [
  7178. "userid"
  7179. ],
  7180. "properties": {
  7181. "accountid": {
  7182. "description": "交易系统帐号Id (加密存储)",
  7183. "type": "integer"
  7184. },
  7185. "areacode": {
  7186. "description": "机构代码",
  7187. "type": "string"
  7188. },
  7189. "areaid": {
  7190. "description": "机构Id",
  7191. "type": "integer"
  7192. },
  7193. "attachment1": {
  7194. "description": "附件1",
  7195. "type": "string"
  7196. },
  7197. "attachment2": {
  7198. "description": "附件2",
  7199. "type": "string"
  7200. },
  7201. "attachment3": {
  7202. "description": "附件3",
  7203. "type": "string"
  7204. },
  7205. "attachment4": {
  7206. "description": "附件4",
  7207. "type": "string"
  7208. },
  7209. "attachment5": {
  7210. "description": "附件5",
  7211. "type": "string"
  7212. },
  7213. "auditedby": {
  7214. "description": "审核人",
  7215. "type": "string"
  7216. },
  7217. "auditime": {
  7218. "description": "审核时间",
  7219. "type": "string"
  7220. },
  7221. "bankaccount": {
  7222. "description": "银行帐号 (加密存储)",
  7223. "type": "string"
  7224. },
  7225. "bankaccountname": {
  7226. "description": "收款人名称",
  7227. "type": "string"
  7228. },
  7229. "bankcardbackphotourl": {
  7230. "description": "银行卡背面照地址",
  7231. "type": "string"
  7232. },
  7233. "bankcardfrontphotourl": {
  7234. "description": "银行卡正面照地址",
  7235. "type": "string"
  7236. },
  7237. "bankid": {
  7238. "description": "银行编码",
  7239. "type": "string"
  7240. },
  7241. "bankname": {
  7242. "description": "银行名称",
  7243. "type": "string"
  7244. },
  7245. "bankpictureurl": {
  7246. "description": "银行卡正面地址",
  7247. "type": "string"
  7248. },
  7249. "biznature": {
  7250. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7251. "type": "integer"
  7252. },
  7253. "bizscope": {
  7254. "description": "企业经营范围(企业)",
  7255. "type": "string"
  7256. },
  7257. "biztype": {
  7258. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  7259. "type": "integer"
  7260. },
  7261. "brokerid": {
  7262. "description": "经纪人ID(加密存储)",
  7263. "type": "string"
  7264. },
  7265. "cardaddress": {
  7266. "description": "证件地址 (加密存储)",
  7267. "type": "string"
  7268. },
  7269. "cardbackphotourl": {
  7270. "description": "背面证件照地址",
  7271. "type": "string"
  7272. },
  7273. "cardfrontphotourl": {
  7274. "description": "正面证件照地址",
  7275. "type": "string"
  7276. },
  7277. "cardnum": {
  7278. "description": "证件号码 (加密存储)",
  7279. "type": "string"
  7280. },
  7281. "cardtype": {
  7282. "description": "证件类型",
  7283. "type": "integer"
  7284. },
  7285. "cityid": {
  7286. "description": "市",
  7287. "type": "integer"
  7288. },
  7289. "company": {
  7290. "description": "公司(个人)",
  7291. "type": "string"
  7292. },
  7293. "contactcardbackphotourl": {
  7294. "description": "联系人证件背面图片地址",
  7295. "type": "string"
  7296. },
  7297. "contactcardfrontphotourl": {
  7298. "description": "联系人证件正面图片地址",
  7299. "type": "string"
  7300. },
  7301. "contactname": {
  7302. "description": "联系人",
  7303. "type": "string"
  7304. },
  7305. "countryid": {
  7306. "description": "国家",
  7307. "type": "integer"
  7308. },
  7309. "createtime": {
  7310. "description": "开户申请时间",
  7311. "type": "string"
  7312. },
  7313. "cusbankid": {
  7314. "description": "签约类型",
  7315. "type": "string"
  7316. },
  7317. "cusbankname": {
  7318. "description": "签约类型名称",
  7319. "type": "string"
  7320. },
  7321. "customername": {
  7322. "description": "客户名称(企业名称)",
  7323. "type": "string"
  7324. },
  7325. "districtid": {
  7326. "description": "地区",
  7327. "type": "integer"
  7328. },
  7329. "email": {
  7330. "description": "Email地址(加密存储)",
  7331. "type": "string"
  7332. },
  7333. "halfbodyphotourl": {
  7334. "description": "半身照地址",
  7335. "type": "string"
  7336. },
  7337. "headurl": {
  7338. "description": "头像地址",
  7339. "type": "string"
  7340. },
  7341. "ipaddress": {
  7342. "description": "IP地址",
  7343. "type": "string"
  7344. },
  7345. "isvalidate": {
  7346. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7347. "type": "string"
  7348. },
  7349. "legalcardbackphotourl": {
  7350. "description": "法人身份证背面照地址",
  7351. "type": "string"
  7352. },
  7353. "legalcardfrontphotourl": {
  7354. "description": "法人身份证正面照地址",
  7355. "type": "string"
  7356. },
  7357. "legalpersonname": {
  7358. "description": "法人姓名(企业)",
  7359. "type": "string"
  7360. },
  7361. "logincode": {
  7362. "description": "登录帐号 (加密存储)",
  7363. "type": "string"
  7364. },
  7365. "memberareaid": {
  7366. "description": "所属会员ID",
  7367. "type": "integer"
  7368. },
  7369. "mobile2": {
  7370. "description": "手机号码[明文-尚志]",
  7371. "type": "string"
  7372. },
  7373. "mobilephone": {
  7374. "description": "手机号码 (加密存储)",
  7375. "type": "string"
  7376. },
  7377. "modifiedby": {
  7378. "description": "修改人帐号",
  7379. "type": "integer"
  7380. },
  7381. "modifiedtime": {
  7382. "description": "修改时间",
  7383. "type": "string"
  7384. },
  7385. "nickname": {
  7386. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7387. "type": "string"
  7388. },
  7389. "openmode": {
  7390. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7391. "type": "integer"
  7392. },
  7393. "otherurl": {
  7394. "description": "其它图片地址[使用分号分隔]",
  7395. "type": "string"
  7396. },
  7397. "postalcode": {
  7398. "description": "邮政编码",
  7399. "type": "string"
  7400. },
  7401. "provinceid": {
  7402. "description": "省",
  7403. "type": "integer"
  7404. },
  7405. "proxystatementurl": {
  7406. "description": "授权委托书",
  7407. "type": "string"
  7408. },
  7409. "qq": {
  7410. "description": "QQ(加密存储",
  7411. "type": "string"
  7412. },
  7413. "referral": {
  7414. "description": "推荐人编码",
  7415. "type": "string"
  7416. },
  7417. "remark": {
  7418. "description": "备注",
  7419. "type": "string"
  7420. },
  7421. "removebeforestatus": {
  7422. "description": "REMOVEBEFORESTATUS",
  7423. "type": "integer"
  7424. },
  7425. "sex": {
  7426. "description": "性别 - 0:女 1:男",
  7427. "type": "integer"
  7428. },
  7429. "signedstatus": {
  7430. "description": "账户一号签签约状态",
  7431. "type": "integer"
  7432. },
  7433. "signpdfurl": {
  7434. "description": "签约pdf文件",
  7435. "type": "string"
  7436. },
  7437. "subbranch": {
  7438. "description": "开户支行",
  7439. "type": "string"
  7440. },
  7441. "telphone": {
  7442. "description": "联系电话(加密存储)",
  7443. "type": "string"
  7444. },
  7445. "userid": {
  7446. "description": "用户ID(自增ID)",
  7447. "type": "integer"
  7448. },
  7449. "userinfotype": {
  7450. "description": "用户信息类型 - 1:个人 2:企业",
  7451. "type": "integer"
  7452. },
  7453. "username": {
  7454. "description": "用户姓名",
  7455. "type": "string"
  7456. },
  7457. "userstate": {
  7458. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7459. "type": "integer"
  7460. },
  7461. "usertype": {
  7462. "description": "用户类型 - 1:投资者 2:机构",
  7463. "type": "integer"
  7464. },
  7465. "videourl": {
  7466. "description": "视频地址",
  7467. "type": "string"
  7468. },
  7469. "wechat": {
  7470. "description": "微信号 (加密存储)",
  7471. "type": "string"
  7472. }
  7473. }
  7474. },
  7475. "erms3.CustomerInfo": {
  7476. "type": "object",
  7477. "required": [
  7478. "userid"
  7479. ],
  7480. "properties": {
  7481. "accountids": {
  7482. "description": "资金账户ID列表",
  7483. "type": "array",
  7484. "items": {
  7485. "type": "integer"
  7486. }
  7487. },
  7488. "customername": {
  7489. "description": "名称(企业名称)",
  7490. "type": "string"
  7491. },
  7492. "mobile": {
  7493. "description": "手机号码",
  7494. "type": "string"
  7495. },
  7496. "userid": {
  7497. "description": "用户ID",
  7498. "type": "integer"
  7499. }
  7500. }
  7501. },
  7502. "erms3.QryAuditContractRsp": {
  7503. "type": "object",
  7504. "required": [
  7505. "matchcustomername",
  7506. "spotcontractid"
  7507. ],
  7508. "properties": {
  7509. "accountid": {
  7510. "description": "交易员ID",
  7511. "type": "string"
  7512. },
  7513. "applystatus": {
  7514. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7515. "type": "integer"
  7516. },
  7517. "curdeliveryqty": {
  7518. "description": "未交收量",
  7519. "type": "integer"
  7520. },
  7521. "customername": {
  7522. "description": "采购方ID",
  7523. "type": "string"
  7524. },
  7525. "deliverygoodsid": {
  7526. "description": "品种ID",
  7527. "type": "string"
  7528. },
  7529. "deliveryqty": {
  7530. "description": "交收量",
  7531. "type": "integer"
  7532. },
  7533. "enumdicname": {
  7534. "description": "单位名称",
  7535. "type": "string"
  7536. },
  7537. "matchaccountid": {
  7538. "description": "业务员ID",
  7539. "type": "string"
  7540. },
  7541. "matchcustomername": {
  7542. "description": "销售方ID",
  7543. "type": "string"
  7544. },
  7545. "pricedqty": {
  7546. "description": "定价量",
  7547. "type": "number"
  7548. },
  7549. "signdate": {
  7550. "description": "签订日期",
  7551. "type": "string"
  7552. },
  7553. "spotcontractid": {
  7554. "description": "合同ID",
  7555. "type": "string"
  7556. },
  7557. "totaldqty": {
  7558. "description": "合同量",
  7559. "type": "number"
  7560. },
  7561. "unpricedqty": {
  7562. "description": "未定价量",
  7563. "type": "number"
  7564. },
  7565. "wrstandardname": {
  7566. "description": "商品名称",
  7567. "type": "string"
  7568. }
  7569. }
  7570. },
  7571. "erms3.QryPendingBizRsp": {
  7572. "$ref": "#/definitions/models.PendingAuditBizModel"
  7573. },
  7574. "erms3.QueryBusinessInfoRsp": {
  7575. "type": "object",
  7576. "properties": {
  7577. "businessid": {
  7578. "description": "业务ID.",
  7579. "type": "integer"
  7580. },
  7581. "buyamount": {
  7582. "description": "采购额.",
  7583. "type": "number"
  7584. },
  7585. "buyqty": {
  7586. "description": "采购量.",
  7587. "type": "string"
  7588. },
  7589. "futurepl": {
  7590. "description": "期货盈亏.",
  7591. "type": "number"
  7592. },
  7593. "futureqty": {
  7594. "description": "期货敞口.",
  7595. "type": "string"
  7596. },
  7597. "goodsid": {
  7598. "description": "商品名称/商品代码.",
  7599. "type": "string"
  7600. },
  7601. "hedgingqty": {
  7602. "description": "套保量.",
  7603. "type": "string"
  7604. },
  7605. "sellamount": {
  7606. "description": "销售额.",
  7607. "type": "number"
  7608. },
  7609. "sellqty": {
  7610. "description": "销售量.",
  7611. "type": "string"
  7612. },
  7613. "spotmarketvalue": {
  7614. "description": "现货市值.",
  7615. "type": "number"
  7616. },
  7617. "spotpl": {
  7618. "description": "浮动权益.",
  7619. "type": "number"
  7620. },
  7621. "spotqty": {
  7622. "description": "现货量.",
  7623. "type": "string"
  7624. },
  7625. "statu": {
  7626. "description": "状态,0-未结束 1-已结束.",
  7627. "type": "integer"
  7628. },
  7629. "totalpl": {
  7630. "description": "总盈亏.",
  7631. "type": "number"
  7632. },
  7633. "totalqty": {
  7634. "description": "总敞口.",
  7635. "type": "string"
  7636. },
  7637. "type": {
  7638. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  7639. "type": "integer"
  7640. }
  7641. }
  7642. },
  7643. "erms3.QuerySpotContractAppleFormRsp": {
  7644. "type": "object",
  7645. "properties": {
  7646. "goodses": {
  7647. "description": "合约列表",
  7648. "type": "array",
  7649. "items": {
  7650. "$ref": "#/definitions/models.GoodsIDAndName"
  7651. }
  7652. },
  7653. "oppositeusers": {
  7654. "description": "对方账号列表",
  7655. "type": "array",
  7656. "items": {
  7657. "$ref": "#/definitions/erms3.CustomerInfo"
  7658. }
  7659. },
  7660. "ouruser": {
  7661. "description": "我方账号",
  7662. "type": "object",
  7663. "$ref": "#/definitions/erms3.CustomerInfo"
  7664. },
  7665. "warehouseinfos": {
  7666. "description": "仓库信息列表",
  7667. "type": "array",
  7668. "items": {
  7669. "$ref": "#/definitions/models.Warehouseinfo"
  7670. }
  7671. },
  7672. "wrstandards": {
  7673. "description": "仓单标准列表",
  7674. "type": "array",
  7675. "items": {
  7676. "$ref": "#/definitions/models.WRStandardInfo"
  7677. }
  7678. }
  7679. }
  7680. },
  7681. "erms3.QuerySpotContractInfoRsp": {
  7682. "type": "object",
  7683. "properties": {
  7684. "accountid": {
  7685. "description": "表示交易员ID.",
  7686. "type": "integer"
  7687. },
  7688. "curdeliveryqty": {
  7689. "description": "表示未交收量.",
  7690. "type": "number"
  7691. },
  7692. "customername": {
  7693. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  7694. "type": "string"
  7695. },
  7696. "deliverygoodsid": {
  7697. "description": "表示品种ID.",
  7698. "type": "string"
  7699. },
  7700. "deliveryqty": {
  7701. "description": "表示交收量.",
  7702. "type": "number"
  7703. },
  7704. "matchaccountid": {
  7705. "description": "表示业务员ID.",
  7706. "type": "integer"
  7707. },
  7708. "matchcustomername": {
  7709. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  7710. "type": "string"
  7711. },
  7712. "priceqty": {
  7713. "description": "表示定价量.",
  7714. "type": "number"
  7715. },
  7716. "relatedbizid": {
  7717. "description": "表示业务ID.",
  7718. "type": "string"
  7719. },
  7720. "signdate": {
  7721. "description": "表示签订日期.",
  7722. "type": "string"
  7723. },
  7724. "spotcontractid": {
  7725. "description": "合同ID",
  7726. "type": "string"
  7727. },
  7728. "status": {
  7729. "description": "表示状态,0-履约中 1-已完成.",
  7730. "type": "integer"
  7731. },
  7732. "totalqty": {
  7733. "description": "表示合同量.",
  7734. "type": "number"
  7735. },
  7736. "unpricedqty": {
  7737. "description": "表示未定价量.",
  7738. "type": "number"
  7739. },
  7740. "wrstandardname": {
  7741. "description": "表示商品ID.",
  7742. "type": "string"
  7743. }
  7744. }
  7745. },
  7746. "erms3.QueryUserInfoAppliesRsp": {
  7747. "type": "object",
  7748. "required": [
  7749. "userid"
  7750. ],
  7751. "properties": {
  7752. "biznature": {
  7753. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7754. "type": "integer"
  7755. },
  7756. "contactname": {
  7757. "description": "联系人",
  7758. "type": "string"
  7759. },
  7760. "createtime": {
  7761. "description": "开户申请时间",
  7762. "type": "string"
  7763. },
  7764. "userid": {
  7765. "description": "用户ID(自增ID)",
  7766. "type": "integer"
  7767. },
  7768. "userinfotype": {
  7769. "description": "用户信息类型 - 1:个人 2:企业",
  7770. "type": "integer"
  7771. },
  7772. "username": {
  7773. "description": "用户姓名",
  7774. "type": "string"
  7775. },
  7776. "userstate": {
  7777. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7778. "type": "integer"
  7779. }
  7780. }
  7781. },
  7782. "erms3.QueryUserInfosRsp": {
  7783. "type": "object",
  7784. "required": [
  7785. "userid"
  7786. ],
  7787. "properties": {
  7788. "biznature": {
  7789. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7790. "type": "integer"
  7791. },
  7792. "contactname": {
  7793. "description": "联系人",
  7794. "type": "string"
  7795. },
  7796. "customername": {
  7797. "description": "客户名称(企业名称)",
  7798. "type": "string"
  7799. },
  7800. "userid": {
  7801. "description": "用户ID",
  7802. "type": "integer"
  7803. },
  7804. "userinfotype": {
  7805. "description": "用户信息类型 - 1:个人 2:企业",
  7806. "type": "integer"
  7807. },
  7808. "userstatus": {
  7809. "description": "用户状态 - 1:正常 2:注销",
  7810. "type": "integer"
  7811. }
  7812. }
  7813. },
  7814. "erms3.SoptContractDetail": {
  7815. "type": "object",
  7816. "required": [
  7817. "deliverygoodsid",
  7818. "producttype",
  7819. "unitname",
  7820. "warehouseid",
  7821. "wrstandardid",
  7822. "wrstandardname"
  7823. ],
  7824. "properties": {
  7825. "deliverygoodsdesc": {
  7826. "description": "现货品种说明",
  7827. "type": "string"
  7828. },
  7829. "deliverygoodsid": {
  7830. "description": "现货品种ID",
  7831. "type": "integer"
  7832. },
  7833. "deliverygoodsname": {
  7834. "description": "现货品种名称",
  7835. "type": "string"
  7836. },
  7837. "pointdesc": {
  7838. "description": "点价描述",
  7839. "type": "string"
  7840. },
  7841. "producttype": {
  7842. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  7843. "type": "integer"
  7844. },
  7845. "producttypename": {
  7846. "description": "产品类型名称",
  7847. "type": "string"
  7848. },
  7849. "spotPointOrderVoList": {
  7850. "description": "点价列表",
  7851. "type": "array",
  7852. "items": {
  7853. "$ref": "#/definitions/erms3.SpotPointOrder"
  7854. }
  7855. },
  7856. "spotPriceOrderList": {
  7857. "description": "定价列表",
  7858. "type": "array",
  7859. "items": {
  7860. "$ref": "#/definitions/erms3.SpotPriceOrder"
  7861. }
  7862. },
  7863. "unitname": {
  7864. "description": "单位名称",
  7865. "type": "string"
  7866. },
  7867. "warehouseid": {
  7868. "description": "仓库ID",
  7869. "type": "integer"
  7870. },
  7871. "warehousename": {
  7872. "description": "仓库名称",
  7873. "type": "string"
  7874. },
  7875. "wrstandardid": {
  7876. "description": "交易标的ID",
  7877. "type": "integer"
  7878. },
  7879. "wrstandardname": {
  7880. "description": "交易标的名称",
  7881. "type": "string"
  7882. }
  7883. }
  7884. },
  7885. "erms3.SpotPointOrder": {
  7886. "type": "object",
  7887. "required": [
  7888. "basic",
  7889. "goodsid",
  7890. "qty"
  7891. ],
  7892. "properties": {
  7893. "basic": {
  7894. "description": "基差",
  7895. "type": "number"
  7896. },
  7897. "deliveryenddate": {
  7898. "description": "交收结束日期",
  7899. "type": "string"
  7900. },
  7901. "deliverystartdate": {
  7902. "description": "交收开始日期",
  7903. "type": "string"
  7904. },
  7905. "enddate": {
  7906. "description": "点价结束日期",
  7907. "type": "string"
  7908. },
  7909. "goodsid": {
  7910. "description": "商品ID",
  7911. "type": "integer"
  7912. },
  7913. "goodsname": {
  7914. "description": "商品名称",
  7915. "type": "string"
  7916. },
  7917. "qty": {
  7918. "description": "数量",
  7919. "type": "number"
  7920. },
  7921. "startdate": {
  7922. "description": "点价开始日期",
  7923. "type": "string"
  7924. }
  7925. }
  7926. },
  7927. "erms3.SpotPriceOrder": {
  7928. "type": "object",
  7929. "required": [
  7930. "amount",
  7931. "price",
  7932. "qty"
  7933. ],
  7934. "properties": {
  7935. "amount": {
  7936. "description": "金额",
  7937. "type": "number"
  7938. },
  7939. "deliveryenddate": {
  7940. "description": "交收结束日期",
  7941. "type": "string"
  7942. },
  7943. "deliverystartdate": {
  7944. "description": "交收开始日期",
  7945. "type": "string"
  7946. },
  7947. "price": {
  7948. "description": "价格",
  7949. "type": "number"
  7950. },
  7951. "qty": {
  7952. "description": "数量",
  7953. "type": "number"
  7954. }
  7955. }
  7956. },
  7957. "hsby.GetHsbyMyCountRsp": {
  7958. "type": "object",
  7959. "properties": {
  7960. "myCouponCount": {
  7961. "description": "我的优惠卷数量",
  7962. "type": "integer"
  7963. },
  7964. "myOrderDetailListingCount": {
  7965. "description": "我的订单求购中数量",
  7966. "type": "integer"
  7967. },
  7968. "myOrderDetailPreCount": {
  7969. "description": "我的订单抢购中数量",
  7970. "type": "integer"
  7971. },
  7972. "myPackageUnReceiveCount": {
  7973. "description": "我的包裹待收货数量",
  7974. "type": "integer"
  7975. },
  7976. "myPackageUnSendCount": {
  7977. "description": "我的包裹待发货数量",
  7978. "type": "integer"
  7979. },
  7980. "myPayOrderCount": {
  7981. "description": "我的订单待付款数量",
  7982. "type": "integer"
  7983. }
  7984. }
  7985. },
  7986. "hsby.QueryProvincesAndCitiesRsp": {
  7987. "type": "object",
  7988. "properties": {
  7989. "cities": {
  7990. "description": "市",
  7991. "type": "array",
  7992. "items": {
  7993. "$ref": "#/definitions/models.Division"
  7994. }
  7995. },
  7996. "province": {
  7997. "description": "省",
  7998. "type": "object",
  7999. "$ref": "#/definitions/models.Division"
  8000. }
  8001. }
  8002. },
  8003. "models.AreaSpotModel": {
  8004. "type": "object",
  8005. "properties": {
  8006. "areauserid": {
  8007. "description": "所属机构",
  8008. "type": "integer"
  8009. },
  8010. "decreaseqty": {
  8011. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  8012. "type": "number"
  8013. },
  8014. "increaseqty": {
  8015. "description": "增加数量=销售计划数量+采购已定价数量",
  8016. "type": "number"
  8017. },
  8018. "oritoalspotqty": {
  8019. "description": "昨日数量",
  8020. "type": "number"
  8021. },
  8022. "totalspotqty": {
  8023. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  8024. "type": "number"
  8025. },
  8026. "updatetime": {
  8027. "description": "更新时间",
  8028. "type": "string"
  8029. },
  8030. "wrstandardcode": {
  8031. "description": "现货品种代码",
  8032. "type": "string"
  8033. },
  8034. "wrstandardid": {
  8035. "description": "现货商品ID",
  8036. "type": "integer"
  8037. },
  8038. "wrstandardname": {
  8039. "description": "现货品种",
  8040. "type": "string"
  8041. }
  8042. }
  8043. },
  8044. "models.Clientfixedadconfig": {
  8045. "type": "object",
  8046. "required": [
  8047. "adsort",
  8048. "adtype"
  8049. ],
  8050. "properties": {
  8051. "adsort": {
  8052. "description": "排序",
  8053. "type": "integer"
  8054. },
  8055. "adtype": {
  8056. "description": "广告位类型 - 1:新品抢购(HSBY)",
  8057. "type": "integer"
  8058. },
  8059. "areauserid": {
  8060. "description": "所属机构ID",
  8061. "type": "integer"
  8062. },
  8063. "createdate": {
  8064. "description": "创建时间",
  8065. "type": "string"
  8066. },
  8067. "creatorid": {
  8068. "description": "创建人",
  8069. "type": "integer"
  8070. },
  8071. "imagepath": {
  8072. "description": "图片",
  8073. "type": "string"
  8074. },
  8075. "isshow": {
  8076. "description": "是否展示 - 0:不展示 1:展示",
  8077. "type": "integer"
  8078. },
  8079. "modifierid": {
  8080. "description": "操作人",
  8081. "type": "integer"
  8082. },
  8083. "recsize": {
  8084. "description": "推荐尺寸",
  8085. "type": "string"
  8086. },
  8087. "title": {
  8088. "description": "标题",
  8089. "type": "string"
  8090. },
  8091. "updatedate": {
  8092. "description": "更新时间",
  8093. "type": "string"
  8094. },
  8095. "urlcontent": {
  8096. "description": "链接(地址或商品ID)",
  8097. "type": "string"
  8098. },
  8099. "urltype": {
  8100. "description": "链接类型 - 1:直接地址 2:商品ID",
  8101. "type": "integer"
  8102. }
  8103. }
  8104. },
  8105. "models.Division": {
  8106. "type": "object",
  8107. "required": [
  8108. "autoid",
  8109. "divisioncode"
  8110. ],
  8111. "properties": {
  8112. "autoid": {
  8113. "description": "自增ID",
  8114. "type": "integer"
  8115. },
  8116. "divisioncode": {
  8117. "description": "行政代码",
  8118. "type": "string"
  8119. },
  8120. "divisionlevel": {
  8121. "description": "行政级别",
  8122. "type": "string"
  8123. },
  8124. "divisionname": {
  8125. "description": "行政名称",
  8126. "type": "string"
  8127. },
  8128. "modifierid": {
  8129. "description": "修改人",
  8130. "type": "integer"
  8131. },
  8132. "modifytime": {
  8133. "description": "修改时间",
  8134. "type": "string"
  8135. },
  8136. "parentcode": {
  8137. "description": "上级行政代码",
  8138. "type": "string"
  8139. },
  8140. "pathname": {
  8141. "description": "路径名称",
  8142. "type": "string"
  8143. },
  8144. "postcode": {
  8145. "description": "邮政编码",
  8146. "type": "string"
  8147. },
  8148. "separablename": {
  8149. "description": "可拆分的全称",
  8150. "type": "string"
  8151. },
  8152. "shortcode": {
  8153. "description": "地区简码",
  8154. "type": "string"
  8155. }
  8156. }
  8157. },
  8158. "models.Enumdicitem": {
  8159. "type": "object",
  8160. "required": [
  8161. "autoid",
  8162. "enumdiccode",
  8163. "enumdicid",
  8164. "enumitemname"
  8165. ],
  8166. "properties": {
  8167. "autoid": {
  8168. "description": "自增ID",
  8169. "type": "integer"
  8170. },
  8171. "bankmappedvalue": {
  8172. "description": "银行服务对应值",
  8173. "type": "string"
  8174. },
  8175. "enumdiccode": {
  8176. "description": "所属枚举代码",
  8177. "type": "string"
  8178. },
  8179. "enumdicid": {
  8180. "description": "所属枚举ID",
  8181. "type": "integer"
  8182. },
  8183. "enumdicname": {
  8184. "description": "枚举项名称",
  8185. "type": "string"
  8186. },
  8187. "enumitemname": {
  8188. "description": "枚举项值",
  8189. "type": "integer"
  8190. },
  8191. "enumitemstatus": {
  8192. "description": "枚举项状态 - 1.启用 2.不启用",
  8193. "type": "integer"
  8194. },
  8195. "enumitemvalue": {
  8196. "description": "通用值 - [币种通用简写]",
  8197. "type": "string"
  8198. },
  8199. "param1": {
  8200. "description": "参数1[币种:币种小数位]",
  8201. "type": "string"
  8202. },
  8203. "param2": {
  8204. "description": "参数1[币种:币种显示单位]",
  8205. "type": "string"
  8206. },
  8207. "remark": {
  8208. "description": "备注",
  8209. "type": "string"
  8210. }
  8211. }
  8212. },
  8213. "models.ErmcpAreaSpotDetailModel": {
  8214. "type": "object",
  8215. "properties": {
  8216. "contracttype": {
  8217. "description": "合同类型 1-采购 -1-销售",
  8218. "type": "integer"
  8219. },
  8220. "enumdicname": {
  8221. "description": "现货商品单位名称",
  8222. "type": "string"
  8223. },
  8224. "logtype": {
  8225. "description": "记录类型 1-套保 2-现货合同",
  8226. "type": "integer"
  8227. },
  8228. "qty": {
  8229. "description": "数量",
  8230. "type": "number"
  8231. },
  8232. "recordname": {
  8233. "description": "类型名称",
  8234. "type": "string"
  8235. },
  8236. "relatedid": {
  8237. "description": "套保计划ID/现货合同ID",
  8238. "type": "string"
  8239. },
  8240. "relatedno": {
  8241. "description": "编号",
  8242. "type": "string"
  8243. },
  8244. "strtime": {
  8245. "description": "时间",
  8246. "type": "string"
  8247. },
  8248. "wrstandardcode": {
  8249. "description": "现货商品代码",
  8250. "type": "string"
  8251. },
  8252. "wrstandardname": {
  8253. "description": "现货商品名称",
  8254. "type": "string"
  8255. }
  8256. }
  8257. },
  8258. "models.ErmcpExposureDetailModel": {
  8259. "type": "object",
  8260. "properties": {
  8261. "areauserid": {
  8262. "description": "机构ID",
  8263. "type": "integer"
  8264. },
  8265. "changeQty": {
  8266. "description": "套保变动量",
  8267. "type": "number"
  8268. },
  8269. "contracttype": {
  8270. "description": "现货合同类型 - 1:采购 -1:销售",
  8271. "type": "integer"
  8272. },
  8273. "convertfactor": {
  8274. "description": "标仓系数",
  8275. "type": "number"
  8276. },
  8277. "convertratio": {
  8278. "description": "套保系数",
  8279. "type": "number"
  8280. },
  8281. "createtime": {
  8282. "description": "时间",
  8283. "type": "string"
  8284. },
  8285. "enumdicname": {
  8286. "description": "现货商品单位名称",
  8287. "type": "string"
  8288. },
  8289. "logtype": {
  8290. "description": "类型 - 1:套保计划 2:现货合同",
  8291. "type": "integer"
  8292. },
  8293. "middlegoodsId": {
  8294. "description": "套保商品id",
  8295. "type": "integer"
  8296. },
  8297. "middlegoodscode": {
  8298. "description": "套保商品代码",
  8299. "type": "string"
  8300. },
  8301. "middlegoodsname": {
  8302. "description": "套保商品名称",
  8303. "type": "string"
  8304. },
  8305. "qty": {
  8306. "description": "数量",
  8307. "type": "number"
  8308. },
  8309. "relateNo": {
  8310. "description": "现货合同/套保计划编号",
  8311. "type": "string"
  8312. },
  8313. "wrstandardcode": {
  8314. "description": "现货商品代码",
  8315. "type": "string"
  8316. },
  8317. "wrstandardid": {
  8318. "description": "现货商品ID",
  8319. "type": "integer"
  8320. },
  8321. "wrstandardname": {
  8322. "description": "现货商品名称",
  8323. "type": "string"
  8324. }
  8325. }
  8326. },
  8327. "models.ErmcpHedgePlan": {
  8328. "type": "object",
  8329. "properties": {
  8330. "areauserid": {
  8331. "description": "用户ID",
  8332. "type": "integer"
  8333. },
  8334. "contracttype": {
  8335. "description": "计划类型 - 1:采购 -1:销售",
  8336. "type": "integer"
  8337. },
  8338. "convertfactor": {
  8339. "description": "标仓系数",
  8340. "type": "number"
  8341. },
  8342. "deliverygoodsid": {
  8343. "description": "现货品种ID",
  8344. "type": "integer"
  8345. },
  8346. "deliverygoodsname": {
  8347. "description": "现货品种名称",
  8348. "type": "string"
  8349. },
  8350. "hedgeplanid": {
  8351. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8352. "type": "string"
  8353. },
  8354. "hedgeplanno": {
  8355. "description": "套保计划编号(名称)",
  8356. "type": "string"
  8357. },
  8358. "hedgeplanstatus": {
  8359. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8360. "type": "integer"
  8361. },
  8362. "planqty": {
  8363. "description": "计划数量",
  8364. "type": "number"
  8365. },
  8366. "plantime": {
  8367. "description": "计划时间",
  8368. "type": "string"
  8369. },
  8370. "producttype": {
  8371. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8372. "type": "integer"
  8373. },
  8374. "remark": {
  8375. "description": "备注",
  8376. "type": "string"
  8377. },
  8378. "spotgoodsdesc": {
  8379. "description": "商品型号",
  8380. "type": "string"
  8381. },
  8382. "wrstandardid": {
  8383. "description": "现货商品ID",
  8384. "type": "integer"
  8385. },
  8386. "wrstandardname": {
  8387. "description": "现货商品名称",
  8388. "type": "string"
  8389. }
  8390. }
  8391. },
  8392. "models.ErmcpHisExposure": {
  8393. "type": "object",
  8394. "properties": {
  8395. "areauserid": {
  8396. "description": "所属机构",
  8397. "type": "integer"
  8398. },
  8399. "middlegoodscode": {
  8400. "description": "套保品种代码",
  8401. "type": "string"
  8402. },
  8403. "middlegoodsid": {
  8404. "description": "套保品种ID",
  8405. "type": "integer"
  8406. },
  8407. "middlegoodsname": {
  8408. "description": "套保品种名称",
  8409. "type": "string"
  8410. },
  8411. "needhedgeexposourE": {
  8412. "description": "应套保敞口",
  8413. "type": "number"
  8414. },
  8415. "needhedgeratio": {
  8416. "description": "应套保敞口比例",
  8417. "type": "number"
  8418. },
  8419. "reckondate": {
  8420. "description": "日照时期(yyyyMMdd)",
  8421. "type": "string"
  8422. },
  8423. "totalexposure": {
  8424. "description": "总敞口",
  8425. "type": "number"
  8426. },
  8427. "totalfutureqty": {
  8428. "description": "期货头寸总量",
  8429. "type": "number"
  8430. },
  8431. "totalhedgeratio": {
  8432. "description": "敞口比例",
  8433. "type": "number"
  8434. },
  8435. "totalneedhedgeqty": {
  8436. "description": "应套保总量",
  8437. "type": "number"
  8438. },
  8439. "totalspotqty": {
  8440. "description": "现货头寸总量",
  8441. "type": "number"
  8442. }
  8443. }
  8444. },
  8445. "models.ErmcpMiddleGoodsModel": {
  8446. "type": "object",
  8447. "properties": {
  8448. "areauserid": {
  8449. "description": "机构用户ID",
  8450. "type": "integer"
  8451. },
  8452. "enumdicname": {
  8453. "description": "单位名称",
  8454. "type": "string"
  8455. },
  8456. "evaluateratio": {
  8457. "description": "估价系数",
  8458. "type": "number"
  8459. },
  8460. "goodsgroupid": {
  8461. "description": "关联期货品种ID",
  8462. "type": "integer"
  8463. },
  8464. "isvalid": {
  8465. "description": "状态 0-无效(停用) 1-有效(正常)",
  8466. "type": "integer"
  8467. },
  8468. "middlegoodscode": {
  8469. "description": "套保品种代码",
  8470. "type": "string"
  8471. },
  8472. "middlegoodsid": {
  8473. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8474. "type": "integer"
  8475. },
  8476. "middlegoodsname": {
  8477. "description": "套保品种名称",
  8478. "type": "string"
  8479. },
  8480. "modifytime": {
  8481. "description": "修改时间",
  8482. "type": "string"
  8483. },
  8484. "needhedgeratio": {
  8485. "description": "套保比率",
  8486. "type": "number"
  8487. },
  8488. "qtydecimalplace": {
  8489. "description": "数量小数位",
  8490. "type": "integer"
  8491. },
  8492. "relatedgoodsid": {
  8493. "description": "关联交易商品ID",
  8494. "type": "integer"
  8495. },
  8496. "relatedgoodstype": {
  8497. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8498. "type": "integer"
  8499. }
  8500. }
  8501. },
  8502. "models.ErmcpModel": {
  8503. "type": "object",
  8504. "properties": {
  8505. "accountid": {
  8506. "description": "账户ID",
  8507. "type": "string"
  8508. },
  8509. "accountname": {
  8510. "description": "账户名称",
  8511. "type": "string"
  8512. },
  8513. "contracctstatus": {
  8514. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8515. "type": "integer"
  8516. },
  8517. "contractno": {
  8518. "description": "合同编号",
  8519. "type": "string"
  8520. },
  8521. "contracttype": {
  8522. "description": "合同类型 1-采购, -1-销售",
  8523. "type": "integer"
  8524. },
  8525. "convertfactor": {
  8526. "description": "标仓系数",
  8527. "type": "number"
  8528. },
  8529. "daikaiamount": {
  8530. "description": "待开票额",
  8531. "type": "number"
  8532. },
  8533. "deliveryenddate": {
  8534. "description": "交割结束日",
  8535. "type": "string"
  8536. },
  8537. "deliverygoodscode": {
  8538. "description": "现货商品代码",
  8539. "type": "string"
  8540. },
  8541. "deliverygoodsid": {
  8542. "description": "现货商品ID",
  8543. "type": "integer"
  8544. },
  8545. "deliverygoodsname": {
  8546. "description": "现货商品名称",
  8547. "type": "string"
  8548. },
  8549. "deliverystartdate": {
  8550. "description": "交割开始日",
  8551. "type": "string"
  8552. },
  8553. "enddate": {
  8554. "description": "点价结束日",
  8555. "type": "string"
  8556. },
  8557. "enumdicname": {
  8558. "description": "单位名称",
  8559. "type": "string"
  8560. },
  8561. "goodscode": {
  8562. "description": "点价商品代码",
  8563. "type": "string"
  8564. },
  8565. "goodsid": {
  8566. "description": "点价商品ID",
  8567. "type": "integer"
  8568. },
  8569. "invoiceamount": {
  8570. "description": "已开票额",
  8571. "type": "number"
  8572. },
  8573. "loanamount": {
  8574. "description": "贷款总额=已定价额+调整金额",
  8575. "type": "number"
  8576. },
  8577. "margin": {
  8578. "description": "保证金",
  8579. "type": "number"
  8580. },
  8581. "payamount": {
  8582. "description": "已收付额(收款或付款)",
  8583. "type": "number"
  8584. },
  8585. "price": {
  8586. "description": "价格",
  8587. "type": "number"
  8588. },
  8589. "pricedamount": {
  8590. "description": "已定价额",
  8591. "type": "number"
  8592. },
  8593. "pricedavg": {
  8594. "description": "已点均价",
  8595. "type": "number"
  8596. },
  8597. "pricedqty": {
  8598. "description": "已定价量",
  8599. "type": "number"
  8600. },
  8601. "pricemove": {
  8602. "description": "升贴水",
  8603. "type": "number"
  8604. },
  8605. "pricetype": {
  8606. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8607. "type": "integer"
  8608. },
  8609. "producttype": {
  8610. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8611. "type": "integer"
  8612. },
  8613. "qty": {
  8614. "description": "合同量",
  8615. "type": "number"
  8616. },
  8617. "reckonadjustamount": {
  8618. "description": "调整金额",
  8619. "type": "number"
  8620. },
  8621. "reckonedamount": {
  8622. "description": "已收付额(已确定额)",
  8623. "type": "number"
  8624. },
  8625. "reckonotheramount": {
  8626. "description": "其它费用",
  8627. "type": "number"
  8628. },
  8629. "reckonrealqty": {
  8630. "description": "已确定量",
  8631. "type": "number"
  8632. },
  8633. "remark": {
  8634. "description": "备注",
  8635. "type": "string"
  8636. },
  8637. "spotcontractid": {
  8638. "description": "合同ID",
  8639. "type": "string"
  8640. },
  8641. "spotgoodsdesc": {
  8642. "description": "商品型号(商品规格)",
  8643. "type": "string"
  8644. },
  8645. "startdate": {
  8646. "description": "点价开始日",
  8647. "type": "string"
  8648. },
  8649. "totalamount": {
  8650. "description": "合计总额",
  8651. "type": "number"
  8652. },
  8653. "unpayamount": {
  8654. "description": "待支收额(支付或收款)",
  8655. "type": "number"
  8656. },
  8657. "unpricedqty": {
  8658. "description": "未定价量",
  8659. "type": "number"
  8660. },
  8661. "unsureqty": {
  8662. "description": "未确定量",
  8663. "type": "number"
  8664. },
  8665. "userid": {
  8666. "description": "用户ID",
  8667. "type": "integer"
  8668. }
  8669. }
  8670. },
  8671. "models.ErmcpOPLogModel": {
  8672. "type": "object",
  8673. "properties": {
  8674. "aftervalue": {
  8675. "description": "变更后",
  8676. "type": "number"
  8677. },
  8678. "applyid": {
  8679. "description": "操作人ID",
  8680. "type": "string"
  8681. },
  8682. "applyname": {
  8683. "description": "操作人名称",
  8684. "type": "string"
  8685. },
  8686. "beforevalue": {
  8687. "description": "变更前",
  8688. "type": "number"
  8689. },
  8690. "biztype": {
  8691. "description": "业务类型 - 1:套保计划 2:现货合同",
  8692. "type": "integer"
  8693. },
  8694. "contracttype": {
  8695. "description": "现货合同类型 - 1:采购 -1:销售",
  8696. "type": "integer"
  8697. },
  8698. "logvalue": {
  8699. "description": "数值",
  8700. "type": "number"
  8701. },
  8702. "operatelogtype": {
  8703. "description": "操作流水类型",
  8704. "type": "integer"
  8705. },
  8706. "operatelogtypedesc": {
  8707. "description": "操作流水类型名称",
  8708. "type": "string"
  8709. },
  8710. "relatedid": {
  8711. "description": "现货合同ID\\套保计划",
  8712. "type": "string"
  8713. },
  8714. "updatetime": {
  8715. "description": "更新时间",
  8716. "type": "string"
  8717. }
  8718. }
  8719. },
  8720. "models.ErmcpRealExposureModel": {
  8721. "type": "object",
  8722. "properties": {
  8723. "areaUserID": {
  8724. "description": "所属机构",
  8725. "type": "integer"
  8726. },
  8727. "buyFutureQty": {
  8728. "description": "买入期货数量",
  8729. "type": "number"
  8730. },
  8731. "buyPlanQty": {
  8732. "description": "采购计划数量",
  8733. "type": "number"
  8734. },
  8735. "buyPricedQty": {
  8736. "description": "采购合同已定价数量",
  8737. "type": "number"
  8738. },
  8739. "middleGoodsCode": {
  8740. "description": "套保品种代码",
  8741. "type": "string"
  8742. },
  8743. "middleGoodsHedgeRatio": {
  8744. "description": "应套保比例",
  8745. "type": "number"
  8746. },
  8747. "middleGoodsID": {
  8748. "description": "套保品种",
  8749. "type": "integer"
  8750. },
  8751. "middleGoodsName": {
  8752. "description": "************以下需计算或非redis数据************//",
  8753. "type": "string"
  8754. },
  8755. "needHedgeExposoure": {
  8756. "description": "应套保敞口",
  8757. "type": "number"
  8758. },
  8759. "needHedgeRatio": {
  8760. "description": "应套保敞口比例",
  8761. "type": "number"
  8762. },
  8763. "oriBuyFutureQty": {
  8764. "description": "期初买入期货数量",
  8765. "type": "integer"
  8766. },
  8767. "oriBuyPlanQty": {
  8768. "description": "期初采购计划数量",
  8769. "type": "number"
  8770. },
  8771. "oriBuyPricedQty": {
  8772. "description": "期初采购合同已定价数量",
  8773. "type": "number"
  8774. },
  8775. "oriSellFutureQty": {
  8776. "description": "期初卖出期货数量",
  8777. "type": "integer"
  8778. },
  8779. "oriSellPlanQty": {
  8780. "description": "期初销售计划数量",
  8781. "type": "number"
  8782. },
  8783. "oriSellPricedQty": {
  8784. "description": "期初销售合同已定价数量",
  8785. "type": "number"
  8786. },
  8787. "oriTotalFutuQty": {
  8788. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8789. "type": "integer"
  8790. },
  8791. "oriTotalSpotQty": {
  8792. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8793. "type": "number"
  8794. },
  8795. "sellFutureQty": {
  8796. "description": "卖出期货数量",
  8797. "type": "number"
  8798. },
  8799. "sellPlanQty": {
  8800. "description": "销售计划数量",
  8801. "type": "number"
  8802. },
  8803. "sellPricedQty": {
  8804. "description": "销售合同已定价数量",
  8805. "type": "number"
  8806. },
  8807. "totalExposure": {
  8808. "description": "总敞口",
  8809. "type": "number"
  8810. },
  8811. "totalFutureQty": {
  8812. "description": "期货数量",
  8813. "type": "number"
  8814. },
  8815. "totalHedgeRatio": {
  8816. "description": "敞口比例",
  8817. "type": "number"
  8818. },
  8819. "totalNeedHedgeQty": {
  8820. "description": "期货应套保量",
  8821. "type": "number"
  8822. },
  8823. "totalSpotQty": {
  8824. "description": "现货数量",
  8825. "type": "number"
  8826. }
  8827. }
  8828. },
  8829. "models.ErmcpSpotContractModel": {
  8830. "type": "object",
  8831. "properties": {
  8832. "amount": {
  8833. "description": "金额 [1:一口价、3:暂定价]",
  8834. "type": "number"
  8835. },
  8836. "buyuserid": {
  8837. "description": "采购方ID",
  8838. "type": "integer"
  8839. },
  8840. "buyusername": {
  8841. "description": "采购方名称",
  8842. "type": "string"
  8843. },
  8844. "contracctstatus": {
  8845. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8846. "type": "integer"
  8847. },
  8848. "contractno": {
  8849. "description": "现货合同编号",
  8850. "type": "string"
  8851. },
  8852. "contracttype": {
  8853. "description": "现货合同类型 - 1:采购 -1:销售",
  8854. "type": "integer"
  8855. },
  8856. "convertfactor": {
  8857. "description": "标仓系数",
  8858. "type": "number"
  8859. },
  8860. "deliveryenddate": {
  8861. "description": "交收期(结束)",
  8862. "type": "string"
  8863. },
  8864. "deliverygoodscode": {
  8865. "description": "现货品种代码",
  8866. "type": "string"
  8867. },
  8868. "deliverygoodsid": {
  8869. "description": "现货品种ID",
  8870. "type": "integer"
  8871. },
  8872. "deliverygoodsname": {
  8873. "description": "现货品种名称",
  8874. "type": "string"
  8875. },
  8876. "deliverystartdate": {
  8877. "description": "交收期(开始)",
  8878. "type": "string"
  8879. },
  8880. "enddate": {
  8881. "description": "点价结束日期 [2:点价 3:暂定价]",
  8882. "type": "string"
  8883. },
  8884. "enumdicname": {
  8885. "description": "单位名称",
  8886. "type": "string"
  8887. },
  8888. "goodscode": {
  8889. "description": "点价合约代码",
  8890. "type": "string"
  8891. },
  8892. "goodsid": {
  8893. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  8894. "type": "integer"
  8895. },
  8896. "margin": {
  8897. "description": "当前保证金",
  8898. "type": "number"
  8899. },
  8900. "price": {
  8901. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  8902. "type": "number"
  8903. },
  8904. "pricemove": {
  8905. "description": "升贴水 [2:点价 3:暂定价]",
  8906. "type": "number"
  8907. },
  8908. "pricetype": {
  8909. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8910. "type": "integer"
  8911. },
  8912. "producttype": {
  8913. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8914. "type": "integer"
  8915. },
  8916. "qty": {
  8917. "description": "数量",
  8918. "type": "number"
  8919. },
  8920. "remark": {
  8921. "description": "备注",
  8922. "type": "string"
  8923. },
  8924. "selluserid": {
  8925. "description": "销售方ID",
  8926. "type": "integer"
  8927. },
  8928. "sellusername": {
  8929. "description": "销售方名称",
  8930. "type": "string"
  8931. },
  8932. "spotcontractid": {
  8933. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  8934. "type": "string"
  8935. },
  8936. "spotgoodsdesc": {
  8937. "description": "商品型号",
  8938. "type": "string"
  8939. },
  8940. "startdate": {
  8941. "description": "点价开始日期 [2:点价 3:暂定价]",
  8942. "type": "string"
  8943. },
  8944. "userid": {
  8945. "description": "机构ID",
  8946. "type": "integer"
  8947. }
  8948. }
  8949. },
  8950. "models.ErmcpUserModel": {
  8951. "type": "object",
  8952. "properties": {
  8953. "address": {
  8954. "description": "通讯地址",
  8955. "type": "string"
  8956. },
  8957. "attachment1": {
  8958. "description": "附件1",
  8959. "type": "string"
  8960. },
  8961. "cardfrontphotourl": {
  8962. "description": "证件正面图片地址",
  8963. "type": "string"
  8964. },
  8965. "cardnum": {
  8966. "description": "证件号码",
  8967. "type": "string"
  8968. },
  8969. "cardtype": {
  8970. "description": "证件类型",
  8971. "type": "integer"
  8972. },
  8973. "cardtypename": {
  8974. "description": "证件类型名称",
  8975. "type": "string"
  8976. },
  8977. "cityid": {
  8978. "description": "市",
  8979. "type": "integer"
  8980. },
  8981. "countryid": {
  8982. "description": "国家",
  8983. "type": "integer"
  8984. },
  8985. "customername": {
  8986. "description": "企业名称",
  8987. "type": "string"
  8988. },
  8989. "memberuserid": {
  8990. "description": "所属机构ID",
  8991. "type": "integer"
  8992. },
  8993. "mobile": {
  8994. "description": "手机号码",
  8995. "type": "string"
  8996. },
  8997. "provinceid": {
  8998. "description": "省",
  8999. "type": "integer"
  9000. },
  9001. "remark": {
  9002. "description": "备注",
  9003. "type": "string"
  9004. },
  9005. "status": {
  9006. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9007. "type": "integer"
  9008. },
  9009. "statusdesc": {
  9010. "description": "账户状态中文描述",
  9011. "type": "string"
  9012. },
  9013. "telphone": {
  9014. "description": "联系电话",
  9015. "type": "string"
  9016. },
  9017. "userid": {
  9018. "description": "用户ID",
  9019. "type": "integer"
  9020. },
  9021. "userinfotype": {
  9022. "description": "客户类型",
  9023. "type": "string"
  9024. }
  9025. }
  9026. },
  9027. "models.ErmcpWrstandDetail": {
  9028. "type": "object",
  9029. "properties": {
  9030. "gbList": {
  9031. "description": "品牌列表",
  9032. "type": "array",
  9033. "items": {
  9034. "$ref": "#/definitions/models.GoodsBrand"
  9035. }
  9036. },
  9037. "gtList": {
  9038. "description": "型号列表",
  9039. "type": "array",
  9040. "items": {
  9041. "$ref": "#/definitions/models.GoodsTypeModel"
  9042. }
  9043. },
  9044. "wrd": {
  9045. "description": "基本信息",
  9046. "type": "object",
  9047. "$ref": "#/definitions/models.ErmcpWrstandard"
  9048. },
  9049. "wrsList": {
  9050. "description": "套保信息列表",
  9051. "type": "array",
  9052. "items": {
  9053. "$ref": "#/definitions/models.WRSConverTDetail"
  9054. }
  9055. }
  9056. }
  9057. },
  9058. "models.ErmcpWrstandard": {
  9059. "type": "object",
  9060. "properties": {
  9061. "areauserid": {
  9062. "description": "所属机构",
  9063. "type": "integer"
  9064. },
  9065. "createtime": {
  9066. "description": "创建时间",
  9067. "type": "string"
  9068. },
  9069. "creatorid": {
  9070. "description": "创建人",
  9071. "type": "integer"
  9072. },
  9073. "deliverygoodsid": {
  9074. "description": "品种ID",
  9075. "type": "integer"
  9076. },
  9077. "enumdicname": {
  9078. "description": "单位名称",
  9079. "type": "string"
  9080. },
  9081. "isvalid": {
  9082. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9083. "type": "integer"
  9084. },
  9085. "minivalue": {
  9086. "description": "最小变动值",
  9087. "type": "integer"
  9088. },
  9089. "minivaluedp": {
  9090. "description": "最小变动值小数位",
  9091. "type": "integer"
  9092. },
  9093. "realminivalue": {
  9094. "description": "实际最小变动值",
  9095. "type": "integer"
  9096. },
  9097. "realminivaluedp": {
  9098. "description": "实际最小变动值小数位",
  9099. "type": "integer"
  9100. },
  9101. "remark": {
  9102. "description": "备注",
  9103. "type": "string"
  9104. },
  9105. "unitid": {
  9106. "description": "单位ID",
  9107. "type": "integer"
  9108. },
  9109. "updatetime": {
  9110. "description": "更新时间",
  9111. "type": "string"
  9112. },
  9113. "wrstandardcode": {
  9114. "description": "现货商品代码",
  9115. "type": "string"
  9116. },
  9117. "wrstandardid": {
  9118. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9119. "type": "integer"
  9120. },
  9121. "wrstandardname": {
  9122. "description": "现货商品名称",
  9123. "type": "string"
  9124. }
  9125. }
  9126. },
  9127. "models.GoodsBrand": {
  9128. "type": "object",
  9129. "properties": {
  9130. "brandid": {
  9131. "description": "品牌ID",
  9132. "type": "integer"
  9133. },
  9134. "brandname": {
  9135. "description": "品牌名称",
  9136. "type": "string"
  9137. },
  9138. "isvalid": {
  9139. "description": "是否有效 - 0:无效 1:有效",
  9140. "type": "integer"
  9141. }
  9142. }
  9143. },
  9144. "models.GoodsIDAndName": {
  9145. "type": "object",
  9146. "required": [
  9147. "goodscode",
  9148. "goodsid",
  9149. "goodsname",
  9150. "marketid"
  9151. ],
  9152. "properties": {
  9153. "goodscode": {
  9154. "description": "商品代码(内部)",
  9155. "type": "string"
  9156. },
  9157. "goodsid": {
  9158. "description": "商品ID(自增ID SEQ_GOODS)",
  9159. "type": "integer"
  9160. },
  9161. "goodsname": {
  9162. "description": "商品名称",
  9163. "type": "string"
  9164. },
  9165. "marketid": {
  9166. "description": "所属市场ID",
  9167. "type": "integer"
  9168. }
  9169. }
  9170. },
  9171. "models.GoodsTypeModel": {
  9172. "type": "object",
  9173. "properties": {
  9174. "modelid": {
  9175. "description": "型号ID",
  9176. "type": "integer"
  9177. },
  9178. "modelname": {
  9179. "description": "型号名称",
  9180. "type": "string"
  9181. },
  9182. "updatetime": {
  9183. "description": "更新时间",
  9184. "type": "string"
  9185. }
  9186. }
  9187. },
  9188. "models.HsbyBuyMyPayOrder": {
  9189. "type": "object",
  9190. "required": [
  9191. "goodscode",
  9192. "goodsname",
  9193. "tradeid",
  9194. "trademode"
  9195. ],
  9196. "properties": {
  9197. "agreeunit": {
  9198. "description": "合约单位",
  9199. "type": "number"
  9200. },
  9201. "buyaccountid": {
  9202. "description": "买方账号ID[报价币种]",
  9203. "type": "integer"
  9204. },
  9205. "buyorderid": {
  9206. "description": "买方委托单号",
  9207. "type": "string"
  9208. },
  9209. "createtime": {
  9210. "description": "创建时间",
  9211. "type": "string"
  9212. },
  9213. "currencysign": {
  9214. "description": "货币符号",
  9215. "type": "string"
  9216. },
  9217. "decimalplace": {
  9218. "description": "报价小数位",
  9219. "type": "integer"
  9220. },
  9221. "goodscode": {
  9222. "description": "商品代码(内部)",
  9223. "type": "string"
  9224. },
  9225. "goodsid": {
  9226. "description": "商品ID",
  9227. "type": "integer"
  9228. },
  9229. "goodsname": {
  9230. "description": "商品名称",
  9231. "type": "string"
  9232. },
  9233. "marketid": {
  9234. "description": "市场ID",
  9235. "type": "integer"
  9236. },
  9237. "offamount": {
  9238. "description": "优惠金额",
  9239. "type": "number"
  9240. },
  9241. "payamount": {
  9242. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  9243. "type": "number"
  9244. },
  9245. "payflag": {
  9246. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9247. "type": "integer"
  9248. },
  9249. "paylimitedtime": {
  9250. "description": "支付期限",
  9251. "type": "string"
  9252. },
  9253. "paytime": {
  9254. "description": "付款时间",
  9255. "type": "string"
  9256. },
  9257. "picurls1": {
  9258. "description": "预售商品介绍图片[多张用逗号分隔]",
  9259. "type": "string"
  9260. },
  9261. "picurls2": {
  9262. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9263. "type": "string"
  9264. },
  9265. "sellaccountid": {
  9266. "description": "卖方账号ID[报价币种]",
  9267. "type": "integer"
  9268. },
  9269. "sellorderid": {
  9270. "description": "卖方委托单号",
  9271. "type": "string"
  9272. },
  9273. "tradeamount": {
  9274. "description": "成交金额",
  9275. "type": "number"
  9276. },
  9277. "tradecharge": {
  9278. "description": "成交手续费(买方)",
  9279. "type": "number"
  9280. },
  9281. "tradedate": {
  9282. "description": "交易日(yyyyMMdd)",
  9283. "type": "string"
  9284. },
  9285. "tradeid": {
  9286. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9287. "type": "string"
  9288. },
  9289. "trademode": {
  9290. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9291. "type": "integer"
  9292. },
  9293. "tradeprice": {
  9294. "description": "成交价格",
  9295. "type": "number"
  9296. },
  9297. "tradeqty": {
  9298. "description": "成交数量",
  9299. "type": "integer"
  9300. },
  9301. "vendorname1": {
  9302. "description": "预售商品供应商名称",
  9303. "type": "string"
  9304. },
  9305. "vendorname2": {
  9306. "description": "挂牌商品供应商名称",
  9307. "type": "string"
  9308. }
  9309. }
  9310. },
  9311. "models.HsbyBuyMyTradeDetail": {
  9312. "type": "object",
  9313. "required": [
  9314. "accountid",
  9315. "buyorsell",
  9316. "goodscode",
  9317. "goodsid",
  9318. "goodsname",
  9319. "marketid",
  9320. "orderid",
  9321. "qty",
  9322. "time",
  9323. "trademode"
  9324. ],
  9325. "properties": {
  9326. "accountid": {
  9327. "description": "账户ID[报价币种]",
  9328. "type": "integer"
  9329. },
  9330. "agreeunit": {
  9331. "description": "合约单位",
  9332. "type": "number"
  9333. },
  9334. "amount": {
  9335. "description": "金额 = 价格 * 数量 * 合约单位",
  9336. "type": "number"
  9337. },
  9338. "buyorsell": {
  9339. "description": "买卖 - 0:买 1:卖",
  9340. "type": "integer"
  9341. },
  9342. "currencysign": {
  9343. "description": "货币符号",
  9344. "type": "string"
  9345. },
  9346. "decimalplace": {
  9347. "description": "报价小数位",
  9348. "type": "integer"
  9349. },
  9350. "goodscode": {
  9351. "description": "商品代码(内部)",
  9352. "type": "string"
  9353. },
  9354. "goodsid": {
  9355. "description": "商品ID",
  9356. "type": "integer"
  9357. },
  9358. "goodsname": {
  9359. "description": "商品名称",
  9360. "type": "string"
  9361. },
  9362. "marketid": {
  9363. "description": "市场ID",
  9364. "type": "integer"
  9365. },
  9366. "orderid": {
  9367. "description": "单号(成交单号)",
  9368. "type": "string"
  9369. },
  9370. "picurls1": {
  9371. "description": "预售商品介绍图片[多张用逗号分隔]",
  9372. "type": "string"
  9373. },
  9374. "picurls2": {
  9375. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9376. "type": "string"
  9377. },
  9378. "price": {
  9379. "description": "价格",
  9380. "type": "number"
  9381. },
  9382. "qty": {
  9383. "description": "数量",
  9384. "type": "integer"
  9385. },
  9386. "time": {
  9387. "description": "时间",
  9388. "type": "string"
  9389. },
  9390. "trademode": {
  9391. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9392. "type": "integer"
  9393. },
  9394. "vendorname1": {
  9395. "description": "预售商品供应商名称",
  9396. "type": "string"
  9397. },
  9398. "vendorname2": {
  9399. "description": "挂牌商品供应商名称",
  9400. "type": "string"
  9401. }
  9402. }
  9403. },
  9404. "models.HsbyGoodsOrderDetail": {
  9405. "type": "object",
  9406. "required": [
  9407. "buyorsell",
  9408. "orderid",
  9409. "ordertime"
  9410. ],
  9411. "properties": {
  9412. "buyorsell": {
  9413. "description": "买卖 - 0:买 1:卖",
  9414. "type": "integer"
  9415. },
  9416. "currencysign": {
  9417. "description": "货币符号",
  9418. "type": "string"
  9419. },
  9420. "customername": {
  9421. "description": "客户名称(企业名称),已脱敏",
  9422. "type": "string"
  9423. },
  9424. "enableqty": {
  9425. "description": "可用数量",
  9426. "type": "integer"
  9427. },
  9428. "goodunit": {
  9429. "description": "报价单位",
  9430. "type": "string"
  9431. },
  9432. "orderid": {
  9433. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9434. "type": "string"
  9435. },
  9436. "orderprice": {
  9437. "description": "委托价格",
  9438. "type": "number"
  9439. },
  9440. "ordertime": {
  9441. "description": "委托时间",
  9442. "type": "string"
  9443. }
  9444. }
  9445. },
  9446. "models.HsbyListingGoodsDetail": {
  9447. "type": "object",
  9448. "required": [
  9449. "goodscode",
  9450. "goodsid",
  9451. "goodsname",
  9452. "marketid",
  9453. "trademode"
  9454. ],
  9455. "properties": {
  9456. "agreeunit": {
  9457. "description": "合约单位",
  9458. "type": "number"
  9459. },
  9460. "buymaxqty": {
  9461. "description": "购买上限 [71] - 0为不限",
  9462. "type": "integer"
  9463. },
  9464. "currency": {
  9465. "description": "货币",
  9466. "type": "string"
  9467. },
  9468. "currencysign": {
  9469. "description": "货币符号",
  9470. "type": "string"
  9471. },
  9472. "decimalplace": {
  9473. "description": "报价小数位",
  9474. "type": "integer"
  9475. },
  9476. "desccityid": {
  9477. "description": "目的地(市)ID",
  9478. "type": "integer"
  9479. },
  9480. "descprovinceid": {
  9481. "description": "目的地(省)ID",
  9482. "type": "integer"
  9483. },
  9484. "goodscode": {
  9485. "description": "商品代码(内部)",
  9486. "type": "string"
  9487. },
  9488. "goodsdesc": {
  9489. "description": "商品详情",
  9490. "type": "string"
  9491. },
  9492. "goodsid": {
  9493. "description": "商品ID(自增ID SEQ_GOODS)",
  9494. "type": "integer"
  9495. },
  9496. "goodsname": {
  9497. "description": "商品名称",
  9498. "type": "string"
  9499. },
  9500. "goodsprice": {
  9501. "description": "商品价格",
  9502. "type": "number"
  9503. },
  9504. "hotindex": {
  9505. "description": "景点热度",
  9506. "type": "integer"
  9507. },
  9508. "last": {
  9509. "description": "现价",
  9510. "type": "number"
  9511. },
  9512. "limitdown": {
  9513. "description": "跌停价",
  9514. "type": "number"
  9515. },
  9516. "limitup": {
  9517. "description": "涨停价",
  9518. "type": "number"
  9519. },
  9520. "lotsize": {
  9521. "description": "手数最小变动单位",
  9522. "type": "integer"
  9523. },
  9524. "marketid": {
  9525. "description": "所属市场ID",
  9526. "type": "integer"
  9527. },
  9528. "picurls": {
  9529. "description": "介绍图片[多张用逗号分隔]",
  9530. "type": "string"
  9531. },
  9532. "quoteminunit": {
  9533. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9534. "type": "integer"
  9535. },
  9536. "stepvalue": {
  9537. "description": "价格最小变动单位",
  9538. "type": "number"
  9539. },
  9540. "trademode": {
  9541. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9542. "type": "integer"
  9543. },
  9544. "vendorattr": {
  9545. "description": "供应商附件(多张,逗号分隔)",
  9546. "type": "string"
  9547. },
  9548. "vendorname": {
  9549. "description": "供应商名称",
  9550. "type": "string"
  9551. },
  9552. "vendorphone": {
  9553. "description": "供应商客服电话",
  9554. "type": "string"
  9555. },
  9556. "videourls": {
  9557. "description": "介绍视频[多张用逗号分隔]",
  9558. "type": "string"
  9559. }
  9560. }
  9561. },
  9562. "models.HsbyMarketGoods": {
  9563. "type": "object",
  9564. "required": [
  9565. "accountid",
  9566. "buyorsell",
  9567. "goodscode",
  9568. "goodsid",
  9569. "goodsname",
  9570. "marketid",
  9571. "orderid",
  9572. "trademode"
  9573. ],
  9574. "properties": {
  9575. "accountid": {
  9576. "description": "账户ID[报价币种]",
  9577. "type": "integer"
  9578. },
  9579. "agreeunit": {
  9580. "description": "合约单位",
  9581. "type": "number"
  9582. },
  9583. "buyorsell": {
  9584. "description": "买卖 - 0:买 1:卖",
  9585. "type": "integer"
  9586. },
  9587. "categoryid": {
  9588. "description": "类别ID(WRCATEGORY)",
  9589. "type": "integer"
  9590. },
  9591. "currency": {
  9592. "description": "货币",
  9593. "type": "string"
  9594. },
  9595. "currencysign": {
  9596. "description": "货币符号",
  9597. "type": "string"
  9598. },
  9599. "customername": {
  9600. "description": "卖家名称",
  9601. "type": "string"
  9602. },
  9603. "decimalplace": {
  9604. "description": "报价小数位",
  9605. "type": "integer"
  9606. },
  9607. "goodscode": {
  9608. "description": "商品代码(内部)",
  9609. "type": "string"
  9610. },
  9611. "goodsid": {
  9612. "description": "商品ID",
  9613. "type": "integer"
  9614. },
  9615. "goodsname": {
  9616. "description": "商品名称",
  9617. "type": "string"
  9618. },
  9619. "goodsprice": {
  9620. "description": "商品价格",
  9621. "type": "number"
  9622. },
  9623. "hascoupon": {
  9624. "description": "是否可用优惠卷",
  9625. "type": "boolean"
  9626. },
  9627. "hotindex": {
  9628. "description": "景点热度",
  9629. "type": "integer"
  9630. },
  9631. "marketid": {
  9632. "description": "市场ID",
  9633. "type": "integer"
  9634. },
  9635. "orderid": {
  9636. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9637. "type": "string"
  9638. },
  9639. "orderprice": {
  9640. "description": "委托价格",
  9641. "type": "number"
  9642. },
  9643. "orderstatus": {
  9644. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9645. "type": "integer"
  9646. },
  9647. "picurls": {
  9648. "description": "介绍图片[多张用逗号分隔]",
  9649. "type": "string"
  9650. },
  9651. "quoteminunit": {
  9652. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9653. "type": "integer"
  9654. },
  9655. "sellUserID": {
  9656. "description": "卖方UserID",
  9657. "type": "integer"
  9658. },
  9659. "trademode": {
  9660. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9661. "type": "integer"
  9662. },
  9663. "videourls": {
  9664. "description": "介绍视频[多张用逗号分隔]",
  9665. "type": "string"
  9666. }
  9667. }
  9668. },
  9669. "models.HsbyMarketGoodsDetail": {
  9670. "type": "object",
  9671. "required": [
  9672. "accountid",
  9673. "buyorsell",
  9674. "goodscode",
  9675. "goodsid",
  9676. "goodsname",
  9677. "marketid",
  9678. "orderid",
  9679. "orderqty",
  9680. "trademode"
  9681. ],
  9682. "properties": {
  9683. "accountid": {
  9684. "description": "账户ID[报价币种]",
  9685. "type": "integer"
  9686. },
  9687. "agreeunit": {
  9688. "description": "合约单位",
  9689. "type": "number"
  9690. },
  9691. "buymaxqty": {
  9692. "description": "购买上限 [71] - 0为不限",
  9693. "type": "integer"
  9694. },
  9695. "buyorsell": {
  9696. "description": "买卖 - 0:买 1:卖",
  9697. "type": "integer"
  9698. },
  9699. "cancelqty": {
  9700. "description": "撤单数量",
  9701. "type": "integer"
  9702. },
  9703. "categoryid": {
  9704. "description": "类别ID(WRCATEGORY)",
  9705. "type": "integer"
  9706. },
  9707. "currency": {
  9708. "description": "货币",
  9709. "type": "string"
  9710. },
  9711. "currencysign": {
  9712. "description": "货币符号",
  9713. "type": "string"
  9714. },
  9715. "customername": {
  9716. "description": "卖家名称",
  9717. "type": "string"
  9718. },
  9719. "decimalplace": {
  9720. "description": "报价小数位",
  9721. "type": "integer"
  9722. },
  9723. "goodscode": {
  9724. "description": "商品代码(内部)",
  9725. "type": "string"
  9726. },
  9727. "goodsdesc": {
  9728. "description": "商品详情",
  9729. "type": "string"
  9730. },
  9731. "goodsid": {
  9732. "description": "商品ID",
  9733. "type": "integer"
  9734. },
  9735. "goodsname": {
  9736. "description": "商品名称",
  9737. "type": "string"
  9738. },
  9739. "goodsprice": {
  9740. "description": "商品价格",
  9741. "type": "number"
  9742. },
  9743. "hotindex": {
  9744. "description": "景点热度",
  9745. "type": "integer"
  9746. },
  9747. "lotsize": {
  9748. "description": "手数最小变动单位",
  9749. "type": "integer"
  9750. },
  9751. "marketid": {
  9752. "description": "市场ID",
  9753. "type": "integer"
  9754. },
  9755. "orderid": {
  9756. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9757. "type": "string"
  9758. },
  9759. "orderprice": {
  9760. "description": "委托价格",
  9761. "type": "number"
  9762. },
  9763. "orderqty": {
  9764. "description": "委托数量",
  9765. "type": "integer"
  9766. },
  9767. "orderstatus": {
  9768. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9769. "type": "integer"
  9770. },
  9771. "picurls": {
  9772. "description": "介绍图片[多张用逗号分隔]",
  9773. "type": "string"
  9774. },
  9775. "quoteminunit": {
  9776. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9777. "type": "integer"
  9778. },
  9779. "sellUserID": {
  9780. "description": "卖方UserID",
  9781. "type": "integer"
  9782. },
  9783. "trademode": {
  9784. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9785. "type": "integer"
  9786. },
  9787. "tradeqty": {
  9788. "description": "成交数量",
  9789. "type": "integer"
  9790. },
  9791. "vendorattr": {
  9792. "description": "供应商附件(多张,逗号分隔)",
  9793. "type": "string"
  9794. },
  9795. "vendorname": {
  9796. "description": "供应商名称",
  9797. "type": "string"
  9798. },
  9799. "vendorphone": {
  9800. "description": "供应商客服电话",
  9801. "type": "string"
  9802. },
  9803. "videourls": {
  9804. "description": "介绍视频[多张用逗号分隔]",
  9805. "type": "string"
  9806. }
  9807. }
  9808. },
  9809. "models.HsbyMarketInfo": {
  9810. "type": "object",
  9811. "required": [
  9812. "marketid",
  9813. "marketstatus",
  9814. "trademode"
  9815. ],
  9816. "properties": {
  9817. "marketid": {
  9818. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  9819. "type": "integer"
  9820. },
  9821. "marketname": {
  9822. "description": "市场名称",
  9823. "type": "string"
  9824. },
  9825. "marketstatus": {
  9826. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  9827. "type": "integer"
  9828. },
  9829. "trademode": {
  9830. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9831. "type": "integer"
  9832. }
  9833. }
  9834. },
  9835. "models.HsbyMyGoods": {
  9836. "type": "object",
  9837. "required": [
  9838. "accountid",
  9839. "goodscode",
  9840. "goodsid",
  9841. "goodsname",
  9842. "marketid",
  9843. "trademode"
  9844. ],
  9845. "properties": {
  9846. "accountid": {
  9847. "description": "账号Id",
  9848. "type": "integer"
  9849. },
  9850. "agreeunit": {
  9851. "description": "合约单位",
  9852. "type": "number"
  9853. },
  9854. "buyaverageprice": {
  9855. "description": "持仓均价",
  9856. "type": "number"
  9857. },
  9858. "buycurholderamount": {
  9859. "description": "买当前持仓总金额[商品币种]",
  9860. "type": "number"
  9861. },
  9862. "buycurpositionqty": {
  9863. "description": "买当前持仓总数量",
  9864. "type": "integer"
  9865. },
  9866. "buymaxqty": {
  9867. "description": "购买上限 [71] - 0为不限",
  9868. "type": "integer"
  9869. },
  9870. "currencysign": {
  9871. "description": "货币符号",
  9872. "type": "string"
  9873. },
  9874. "decimalplace": {
  9875. "description": "报价小数位",
  9876. "type": "integer"
  9877. },
  9878. "enableqty": {
  9879. "description": "可用数量",
  9880. "type": "integer"
  9881. },
  9882. "goodscode": {
  9883. "description": "商品代码(内部)",
  9884. "type": "string"
  9885. },
  9886. "goodsid": {
  9887. "description": "商品Id",
  9888. "type": "integer"
  9889. },
  9890. "goodsname": {
  9891. "description": "商品名称",
  9892. "type": "string"
  9893. },
  9894. "goodsprice": {
  9895. "description": "商品价格",
  9896. "type": "number"
  9897. },
  9898. "goodsstatus": {
  9899. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  9900. "type": "integer"
  9901. },
  9902. "last": {
  9903. "description": "现价(仅使用于挂牌点选)",
  9904. "type": "number"
  9905. },
  9906. "limitdown": {
  9907. "description": "跌停价(仅使用于挂牌点选)",
  9908. "type": "number"
  9909. },
  9910. "limitup": {
  9911. "description": "涨停价(仅使用于挂牌点选)",
  9912. "type": "number"
  9913. },
  9914. "lotsize": {
  9915. "description": "手数最小变动单位",
  9916. "type": "integer"
  9917. },
  9918. "marketid": {
  9919. "description": "所属市场ID",
  9920. "type": "integer"
  9921. },
  9922. "picurls": {
  9923. "description": "介绍图片[多张用逗号分隔]",
  9924. "type": "string"
  9925. },
  9926. "quoteminunit": {
  9927. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9928. "type": "integer"
  9929. },
  9930. "stepvalue": {
  9931. "description": "价格最小变动单位",
  9932. "type": "number"
  9933. },
  9934. "trademode": {
  9935. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9936. "type": "integer"
  9937. }
  9938. }
  9939. },
  9940. "models.HsbyMyPackage": {
  9941. "type": "object",
  9942. "required": [
  9943. "goodscode",
  9944. "goodsname",
  9945. "takeorderid"
  9946. ],
  9947. "properties": {
  9948. "accountid": {
  9949. "description": "账户ID",
  9950. "type": "integer"
  9951. },
  9952. "address": {
  9953. "description": "提货人详细地址",
  9954. "type": "string"
  9955. },
  9956. "agreeunit": {
  9957. "description": "合约单位",
  9958. "type": "number"
  9959. },
  9960. "amount": {
  9961. "description": "提货金额",
  9962. "type": "number"
  9963. },
  9964. "auditer": {
  9965. "description": "审核人",
  9966. "type": "integer"
  9967. },
  9968. "audittime": {
  9969. "description": "审核时间",
  9970. "type": "string"
  9971. },
  9972. "averageprice": {
  9973. "description": "均价",
  9974. "type": "number"
  9975. },
  9976. "cardnum": {
  9977. "description": "提货人证件号码",
  9978. "type": "string"
  9979. },
  9980. "cardtypeid": {
  9981. "description": "提货人证件类型",
  9982. "type": "integer"
  9983. },
  9984. "checkremark": {
  9985. "description": "审核备注",
  9986. "type": "string"
  9987. },
  9988. "currencysign": {
  9989. "description": "货币符号",
  9990. "type": "string"
  9991. },
  9992. "decimalplace": {
  9993. "description": "报价小数位",
  9994. "type": "integer"
  9995. },
  9996. "goodscode": {
  9997. "description": "商品代码(内部)",
  9998. "type": "string"
  9999. },
  10000. "goodsid": {
  10001. "description": "商品ID",
  10002. "type": "integer"
  10003. },
  10004. "goodsname": {
  10005. "description": "商品名称",
  10006. "type": "string"
  10007. },
  10008. "handlestatus": {
  10009. "description": "处理状态",
  10010. "type": "integer"
  10011. },
  10012. "marketid": {
  10013. "description": "市场ID",
  10014. "type": "integer"
  10015. },
  10016. "phonenum": {
  10017. "description": "提货人联系方式",
  10018. "type": "string"
  10019. },
  10020. "picurls": {
  10021. "description": "介绍图片[多张用逗号分隔]",
  10022. "type": "string"
  10023. },
  10024. "qty": {
  10025. "description": "提货数量",
  10026. "type": "number"
  10027. },
  10028. "recivername": {
  10029. "description": "提货人姓名",
  10030. "type": "string"
  10031. },
  10032. "reqtime": {
  10033. "description": "更新时间",
  10034. "type": "string"
  10035. },
  10036. "takemode": {
  10037. "description": "提货方式 - 2:自提 3:配送",
  10038. "type": "integer"
  10039. },
  10040. "takeorderid": {
  10041. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  10042. "type": "string"
  10043. },
  10044. "takeorderstatus": {
  10045. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10046. "type": "integer"
  10047. },
  10048. "takeremark": {
  10049. "description": "提货备注",
  10050. "type": "string"
  10051. },
  10052. "tradedate": {
  10053. "description": "交易日(yyyyMMdd)",
  10054. "type": "string"
  10055. },
  10056. "userid": {
  10057. "description": "用户ID",
  10058. "type": "integer"
  10059. },
  10060. "vendorname": {
  10061. "description": "供应商名称",
  10062. "type": "string"
  10063. }
  10064. }
  10065. },
  10066. "models.HsbyPreGoods": {
  10067. "type": "object",
  10068. "required": [
  10069. "goodscode",
  10070. "goodsid",
  10071. "goodsname",
  10072. "marketid",
  10073. "trademode"
  10074. ],
  10075. "properties": {
  10076. "agreeunit": {
  10077. "description": "合约单位",
  10078. "type": "number"
  10079. },
  10080. "currency": {
  10081. "description": "货币",
  10082. "type": "string"
  10083. },
  10084. "currencysign": {
  10085. "description": "货币符号",
  10086. "type": "string"
  10087. },
  10088. "decimalplace": {
  10089. "description": "报价小数位",
  10090. "type": "integer"
  10091. },
  10092. "enableqty": {
  10093. "description": "剩余数量",
  10094. "type": "integer"
  10095. },
  10096. "goodscode": {
  10097. "description": "商品代码(内部)",
  10098. "type": "string"
  10099. },
  10100. "goodsid": {
  10101. "description": "商品ID(自增ID SEQ_GOODS)",
  10102. "type": "integer"
  10103. },
  10104. "goodsname": {
  10105. "description": "商品名称",
  10106. "type": "string"
  10107. },
  10108. "goodsstatus": {
  10109. "description": "商品状态- 2:未上市 3:上市",
  10110. "type": "integer"
  10111. },
  10112. "lasttradedate": {
  10113. "description": "最后交易日期(状态:待退市)",
  10114. "type": "string"
  10115. },
  10116. "listingdate": {
  10117. "description": "交易开始日期",
  10118. "type": "string"
  10119. },
  10120. "marketid": {
  10121. "description": "所属市场ID",
  10122. "type": "integer"
  10123. },
  10124. "picurls": {
  10125. "description": "介绍图片[多张用逗号分隔]",
  10126. "type": "string"
  10127. },
  10128. "presaledqty": {
  10129. "description": "已预售量(预售结束时更新)",
  10130. "type": "integer"
  10131. },
  10132. "presaleqty": {
  10133. "description": "预售数量",
  10134. "type": "integer"
  10135. },
  10136. "quoteminunit": {
  10137. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10138. "type": "integer"
  10139. },
  10140. "refprice": {
  10141. "description": "参考价格[一口价]",
  10142. "type": "number"
  10143. },
  10144. "relatedgoodsid": {
  10145. "description": "关联交易合约ID",
  10146. "type": "integer"
  10147. },
  10148. "trademode": {
  10149. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10150. "type": "integer"
  10151. },
  10152. "videourls": {
  10153. "description": "介绍视频[多张用逗号分隔]",
  10154. "type": "string"
  10155. }
  10156. }
  10157. },
  10158. "models.HsbyPreGoodsDetail": {
  10159. "type": "object",
  10160. "required": [
  10161. "goodscode",
  10162. "goodsid",
  10163. "goodsname",
  10164. "marketid",
  10165. "trademode"
  10166. ],
  10167. "properties": {
  10168. "agreeunit": {
  10169. "description": "合约单位",
  10170. "type": "number"
  10171. },
  10172. "buymaxqty": {
  10173. "description": "购买上限 [71] - 0为不限",
  10174. "type": "integer"
  10175. },
  10176. "currency": {
  10177. "description": "货币",
  10178. "type": "string"
  10179. },
  10180. "currencysign": {
  10181. "description": "货币符号",
  10182. "type": "string"
  10183. },
  10184. "customername": {
  10185. "description": "发行单位",
  10186. "type": "string"
  10187. },
  10188. "decimalplace": {
  10189. "description": "报价小数位",
  10190. "type": "integer"
  10191. },
  10192. "desccityid": {
  10193. "description": "目的地(市)ID",
  10194. "type": "integer"
  10195. },
  10196. "descprovinceid": {
  10197. "description": "目的地(省)ID",
  10198. "type": "integer"
  10199. },
  10200. "enableqty": {
  10201. "description": "剩余数量",
  10202. "type": "integer"
  10203. },
  10204. "goodscode": {
  10205. "description": "商品代码(内部)",
  10206. "type": "string"
  10207. },
  10208. "goodsdesc": {
  10209. "description": "商品详情",
  10210. "type": "string"
  10211. },
  10212. "goodsid": {
  10213. "description": "商品ID(自增ID SEQ_GOODS)",
  10214. "type": "integer"
  10215. },
  10216. "goodsname": {
  10217. "description": "商品名称",
  10218. "type": "string"
  10219. },
  10220. "goodsstatus": {
  10221. "description": "商品状态- 2:未上市 3:上市",
  10222. "type": "integer"
  10223. },
  10224. "goodunit": {
  10225. "description": "报价单位",
  10226. "type": "string"
  10227. },
  10228. "lasttradedate": {
  10229. "description": "最后交易日期(状态:待退市)",
  10230. "type": "string"
  10231. },
  10232. "listingdate": {
  10233. "description": "交易开始日期",
  10234. "type": "string"
  10235. },
  10236. "lotsize": {
  10237. "description": "手数最小变动单位",
  10238. "type": "integer"
  10239. },
  10240. "marketid": {
  10241. "description": "所属市场ID",
  10242. "type": "integer"
  10243. },
  10244. "picurls": {
  10245. "description": "介绍图片[多张用逗号分隔]",
  10246. "type": "string"
  10247. },
  10248. "presaledqty": {
  10249. "description": "已预售量(预售结束时更新)",
  10250. "type": "integer"
  10251. },
  10252. "presaleqty": {
  10253. "description": "预售数量",
  10254. "type": "integer"
  10255. },
  10256. "quoteminunit": {
  10257. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10258. "type": "integer"
  10259. },
  10260. "refprice": {
  10261. "description": "参考价格[一口价]",
  10262. "type": "number"
  10263. },
  10264. "relatedgoodsid": {
  10265. "description": "关联交易合约ID",
  10266. "type": "integer"
  10267. },
  10268. "stepvalue": {
  10269. "description": "价格最小变动单位",
  10270. "type": "number"
  10271. },
  10272. "trademode": {
  10273. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10274. "type": "integer"
  10275. },
  10276. "vendorattr": {
  10277. "description": "供应商附件(多张,逗号分隔)",
  10278. "type": "string"
  10279. },
  10280. "vendorname": {
  10281. "description": "供应商名称",
  10282. "type": "string"
  10283. },
  10284. "vendorphone": {
  10285. "description": "供应商客服电话",
  10286. "type": "string"
  10287. },
  10288. "videourls": {
  10289. "description": "介绍视频[多张用逗号分隔]",
  10290. "type": "string"
  10291. }
  10292. }
  10293. },
  10294. "models.HsbySellCollectionOrder": {
  10295. "type": "object",
  10296. "required": [
  10297. "goodscode",
  10298. "goodsname",
  10299. "tradeid",
  10300. "trademode"
  10301. ],
  10302. "properties": {
  10303. "agreeunit": {
  10304. "description": "合约单位",
  10305. "type": "number"
  10306. },
  10307. "buyaccountid": {
  10308. "description": "买方账号ID[报价币种]",
  10309. "type": "integer"
  10310. },
  10311. "buyorderid": {
  10312. "description": "买方委托单号",
  10313. "type": "string"
  10314. },
  10315. "createtime": {
  10316. "description": "创建时间",
  10317. "type": "string"
  10318. },
  10319. "currencysign": {
  10320. "description": "货币符号",
  10321. "type": "string"
  10322. },
  10323. "decimalplace": {
  10324. "description": "报价小数位",
  10325. "type": "integer"
  10326. },
  10327. "goodscode": {
  10328. "description": "商品代码(内部)",
  10329. "type": "string"
  10330. },
  10331. "goodsid": {
  10332. "description": "商品ID",
  10333. "type": "integer"
  10334. },
  10335. "goodsname": {
  10336. "description": "商品名称",
  10337. "type": "string"
  10338. },
  10339. "marketid": {
  10340. "description": "市场ID",
  10341. "type": "integer"
  10342. },
  10343. "offamount": {
  10344. "description": "优惠金额",
  10345. "type": "number"
  10346. },
  10347. "payamount": {
  10348. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  10349. "type": "number"
  10350. },
  10351. "payflag": {
  10352. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10353. "type": "integer"
  10354. },
  10355. "paylimitedtime": {
  10356. "description": "支付期限",
  10357. "type": "string"
  10358. },
  10359. "paytime": {
  10360. "description": "付款时间",
  10361. "type": "string"
  10362. },
  10363. "picurls": {
  10364. "description": "商品介绍图片[多张用逗号分隔]",
  10365. "type": "string"
  10366. },
  10367. "sellaccountid": {
  10368. "description": "卖方账号ID[报价币种]",
  10369. "type": "integer"
  10370. },
  10371. "sellorderid": {
  10372. "description": "卖方委托单号",
  10373. "type": "string"
  10374. },
  10375. "tradeamount": {
  10376. "description": "成交金额",
  10377. "type": "number"
  10378. },
  10379. "tradecharge": {
  10380. "description": "成交手续费(买方)",
  10381. "type": "number"
  10382. },
  10383. "tradedate": {
  10384. "description": "交易日(yyyyMMdd)",
  10385. "type": "string"
  10386. },
  10387. "tradeid": {
  10388. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10389. "type": "string"
  10390. },
  10391. "trademode": {
  10392. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10393. "type": "integer"
  10394. },
  10395. "tradeprice": {
  10396. "description": "成交价格",
  10397. "type": "number"
  10398. },
  10399. "tradeqty": {
  10400. "description": "成交数量",
  10401. "type": "integer"
  10402. }
  10403. }
  10404. },
  10405. "models.HsbySellMyDetail": {
  10406. "type": "object",
  10407. "required": [
  10408. "accountid",
  10409. "buyorsell",
  10410. "goodscode",
  10411. "goodsid",
  10412. "goodsname",
  10413. "marketid",
  10414. "orderid",
  10415. "time",
  10416. "trademode"
  10417. ],
  10418. "properties": {
  10419. "accountid": {
  10420. "description": "账户ID[报价币种]",
  10421. "type": "integer"
  10422. },
  10423. "agreeunit": {
  10424. "description": "合约单位",
  10425. "type": "number"
  10426. },
  10427. "buyorsell": {
  10428. "description": "买卖 - 0:买 1:卖",
  10429. "type": "integer"
  10430. },
  10431. "currencysign": {
  10432. "description": "货币符号",
  10433. "type": "string"
  10434. },
  10435. "decimalplace": {
  10436. "description": "报价小数位",
  10437. "type": "integer"
  10438. },
  10439. "goodscode": {
  10440. "description": "商品代码(内部)",
  10441. "type": "string"
  10442. },
  10443. "goodsid": {
  10444. "description": "商品ID",
  10445. "type": "integer"
  10446. },
  10447. "goodsname": {
  10448. "description": "商品名称",
  10449. "type": "string"
  10450. },
  10451. "marketid": {
  10452. "description": "市场ID",
  10453. "type": "integer"
  10454. },
  10455. "orderid": {
  10456. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  10457. "type": "string"
  10458. },
  10459. "ordertype": {
  10460. "description": "单据类型:0 - 发布中, 1 - 已完成",
  10461. "type": "integer"
  10462. },
  10463. "picurls": {
  10464. "description": "介绍图片[多张用逗号分隔]",
  10465. "type": "string"
  10466. },
  10467. "price": {
  10468. "description": "价格",
  10469. "type": "number"
  10470. },
  10471. "qty": {
  10472. "description": "数量",
  10473. "type": "integer"
  10474. },
  10475. "time": {
  10476. "description": "时间",
  10477. "type": "string"
  10478. },
  10479. "trademode": {
  10480. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10481. "type": "integer"
  10482. },
  10483. "vendorname": {
  10484. "description": "供应商名称",
  10485. "type": "string"
  10486. }
  10487. }
  10488. },
  10489. "models.HsbyTopGoods": {
  10490. "type": "object",
  10491. "required": [
  10492. "goodscode",
  10493. "goodsid",
  10494. "goodsname",
  10495. "marketid",
  10496. "trademode"
  10497. ],
  10498. "properties": {
  10499. "agreeunit": {
  10500. "description": "合约单位",
  10501. "type": "number"
  10502. },
  10503. "currency": {
  10504. "description": "货币",
  10505. "type": "string"
  10506. },
  10507. "currencysign": {
  10508. "description": "货币符号",
  10509. "type": "string"
  10510. },
  10511. "decimalplace": {
  10512. "description": "报价小数位",
  10513. "type": "integer"
  10514. },
  10515. "goodscode": {
  10516. "description": "商品代码(内部)",
  10517. "type": "string"
  10518. },
  10519. "goodsid": {
  10520. "description": "商品ID(自增ID SEQ_GOODS)",
  10521. "type": "integer"
  10522. },
  10523. "goodsname": {
  10524. "description": "商品名称",
  10525. "type": "string"
  10526. },
  10527. "hotindex": {
  10528. "description": "景点热度",
  10529. "type": "integer"
  10530. },
  10531. "last": {
  10532. "description": "现价",
  10533. "type": "number"
  10534. },
  10535. "marketid": {
  10536. "description": "所属市场ID",
  10537. "type": "integer"
  10538. },
  10539. "picurls": {
  10540. "description": "介绍图片[多张用逗号分隔]",
  10541. "type": "string"
  10542. },
  10543. "quoteminunit": {
  10544. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10545. "type": "integer"
  10546. },
  10547. "trademode": {
  10548. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10549. "type": "integer"
  10550. },
  10551. "videourls": {
  10552. "description": "介绍视频[多张用逗号分隔]",
  10553. "type": "string"
  10554. }
  10555. }
  10556. },
  10557. "models.HybsMyBuyOrderDetail": {
  10558. "type": "object",
  10559. "required": [
  10560. "accountid",
  10561. "buyorsell",
  10562. "goodscode",
  10563. "goodsid",
  10564. "goodsname",
  10565. "marketid",
  10566. "orderid",
  10567. "orderqty",
  10568. "ordertime",
  10569. "trademode"
  10570. ],
  10571. "properties": {
  10572. "accountid": {
  10573. "description": "账户ID[报价币种]",
  10574. "type": "integer"
  10575. },
  10576. "agreeunit": {
  10577. "description": "合约单位",
  10578. "type": "number"
  10579. },
  10580. "buyorsell": {
  10581. "description": "买卖 - 0:买 1:卖",
  10582. "type": "integer"
  10583. },
  10584. "cancelqty": {
  10585. "description": "撤单数量",
  10586. "type": "integer"
  10587. },
  10588. "currencysign": {
  10589. "description": "货币符号",
  10590. "type": "string"
  10591. },
  10592. "decimalplace": {
  10593. "description": "报价小数位",
  10594. "type": "integer"
  10595. },
  10596. "goodscode": {
  10597. "description": "商品代码(内部)",
  10598. "type": "string"
  10599. },
  10600. "goodsid": {
  10601. "description": "商品ID",
  10602. "type": "integer"
  10603. },
  10604. "goodsname": {
  10605. "description": "商品名称",
  10606. "type": "string"
  10607. },
  10608. "listingselecttype": {
  10609. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10610. "type": "integer"
  10611. },
  10612. "marketid": {
  10613. "description": "市场ID",
  10614. "type": "integer"
  10615. },
  10616. "mybuystatus": {
  10617. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  10618. "type": "integer"
  10619. },
  10620. "orderamount": {
  10621. "description": "委托金额",
  10622. "type": "number"
  10623. },
  10624. "orderid": {
  10625. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10626. "type": "string"
  10627. },
  10628. "orderprice": {
  10629. "description": "委托价格",
  10630. "type": "number"
  10631. },
  10632. "orderqty": {
  10633. "description": "委托数量",
  10634. "type": "integer"
  10635. },
  10636. "orderstatus": {
  10637. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10638. "type": "integer"
  10639. },
  10640. "ordertime": {
  10641. "description": "委托时间",
  10642. "type": "string"
  10643. },
  10644. "picurls1": {
  10645. "description": "预售商品介绍图片[多张用逗号分隔]",
  10646. "type": "string"
  10647. },
  10648. "picurls2": {
  10649. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10650. "type": "string"
  10651. },
  10652. "trademode": {
  10653. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10654. "type": "integer"
  10655. },
  10656. "tradeqty": {
  10657. "description": "成交数量",
  10658. "type": "integer"
  10659. },
  10660. "vendorname1": {
  10661. "description": "预售商品供应商名称",
  10662. "type": "string"
  10663. },
  10664. "vendorname2": {
  10665. "description": "挂牌商品供应商名称",
  10666. "type": "string"
  10667. }
  10668. }
  10669. },
  10670. "models.Market": {
  10671. "type": "object",
  10672. "required": [
  10673. "marketid",
  10674. "marketstatus",
  10675. "openmethod",
  10676. "reckonpricealgorithm",
  10677. "trademode",
  10678. "tradeproperty"
  10679. ],
  10680. "properties": {
  10681. "auctionwrtype": {
  10682. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  10683. "type": "integer"
  10684. },
  10685. "canacceptquote": {
  10686. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  10687. "type": "integer"
  10688. },
  10689. "cangoodsexercise": {
  10690. "description": "[期权]是否可现货行权- 0:否 1:是",
  10691. "type": "integer"
  10692. },
  10693. "cangoodsexercisetype": {
  10694. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  10695. "type": "integer"
  10696. },
  10697. "canmanualquotestrike": {
  10698. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  10699. "type": "integer"
  10700. },
  10701. "canmutistage": {
  10702. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  10703. "type": "integer"
  10704. },
  10705. "canpreexercise": {
  10706. "description": "[期权]是否可预申报- 0:否 1:是",
  10707. "type": "integer"
  10708. },
  10709. "clearinterval": {
  10710. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  10711. "type": "integer"
  10712. },
  10713. "contracttmp": {
  10714. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  10715. "type": "string"
  10716. },
  10717. "exchareaid": {
  10718. "description": "所属交易所,可以没有",
  10719. "type": "integer"
  10720. },
  10721. "goodstype": {
  10722. "description": "商品类型 - 1:交易商品 2:仓单商品",
  10723. "type": "integer"
  10724. },
  10725. "hasrebate": {
  10726. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  10727. "type": "integer"
  10728. },
  10729. "hastradecredit": {
  10730. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  10731. "type": "integer"
  10732. },
  10733. "haswr": {
  10734. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  10735. "type": "integer"
  10736. },
  10737. "isdeductmargin": {
  10738. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  10739. "type": "integer"
  10740. },
  10741. "isrecordsource": {
  10742. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  10743. "type": "integer"
  10744. },
  10745. "isreleasemargin": {
  10746. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  10747. "type": "integer"
  10748. },
  10749. "marginformula": {
  10750. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  10751. "type": "integer"
  10752. },
  10753. "marginformula2": {
  10754. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  10755. "type": "integer"
  10756. },
  10757. "marketid": {
  10758. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  10759. "type": "integer"
  10760. },
  10761. "marketname": {
  10762. "description": "市场名称",
  10763. "type": "string"
  10764. },
  10765. "marketserviceid": {
  10766. "description": "市场服务ID",
  10767. "type": "integer"
  10768. },
  10769. "marketstatus": {
  10770. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  10771. "type": "integer"
  10772. },
  10773. "markettype": {
  10774. "description": "市场类型- 1:非交易服务 2:交易服务",
  10775. "type": "integer"
  10776. },
  10777. "matchermode": {
  10778. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  10779. "type": "integer"
  10780. },
  10781. "openmethod": {
  10782. "description": "开盘模式 - 0 自动 1手动",
  10783. "type": "integer"
  10784. },
  10785. "otcuserid": {
  10786. "description": "场外期权做市商[场外期权]",
  10787. "type": "integer"
  10788. },
  10789. "outersynctime": {
  10790. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  10791. "type": "string"
  10792. },
  10793. "pendingflag": {
  10794. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  10795. "type": "integer"
  10796. },
  10797. "pendingtime": {
  10798. "description": "待开市时间[通道交易-对冲](HH:mm)",
  10799. "type": "string"
  10800. },
  10801. "performancetempid": {
  10802. "description": "履约计划模板ID - 作废",
  10803. "type": "integer"
  10804. },
  10805. "premiumquotemode": {
  10806. "description": "权利金报价方式 - 1:自动 2:手动",
  10807. "type": "integer"
  10808. },
  10809. "rebateratio": {
  10810. "description": "返利比率[竞价式]",
  10811. "type": "number"
  10812. },
  10813. "reckonorder": {
  10814. "description": "结算顺序",
  10815. "type": "integer"
  10816. },
  10817. "reckonpricealgorithm": {
  10818. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  10819. "type": "integer"
  10820. },
  10821. "reckonpriceparam": {
  10822. "description": "结算价参数",
  10823. "type": "integer"
  10824. },
  10825. "reckontime": {
  10826. "description": "结算时间[通道交易-对冲](HH:mm)",
  10827. "type": "string"
  10828. },
  10829. "roleprioritytype": {
  10830. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  10831. "type": "integer"
  10832. },
  10833. "selllistingauditflag": {
  10834. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  10835. "type": "integer"
  10836. },
  10837. "trademarkettype": {
  10838. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  10839. "type": "integer"
  10840. },
  10841. "trademode": {
  10842. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10843. "type": "integer"
  10844. },
  10845. "tradeproperty": {
  10846. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  10847. "type": "integer"
  10848. },
  10849. "tradetype": {
  10850. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  10851. "type": "integer"
  10852. }
  10853. }
  10854. },
  10855. "models.Marketrun": {
  10856. "type": "object",
  10857. "required": [
  10858. "marketid",
  10859. "nexttradedate",
  10860. "reckonflag",
  10861. "runstatus",
  10862. "tradedate",
  10863. "tradedate2"
  10864. ],
  10865. "properties": {
  10866. "afternexttradedate": {
  10867. "description": "下下交易日",
  10868. "type": "string"
  10869. },
  10870. "clearquoteflag": {
  10871. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  10872. "type": "integer"
  10873. },
  10874. "lastreckondate": {
  10875. "description": "最新交易日(结算成功)",
  10876. "type": "string"
  10877. },
  10878. "machinedate": {
  10879. "description": "机器时间",
  10880. "type": "string"
  10881. },
  10882. "manualflag": {
  10883. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  10884. "type": "integer"
  10885. },
  10886. "marketid": {
  10887. "description": "市场ID",
  10888. "type": "integer"
  10889. },
  10890. "nexttradedate": {
  10891. "description": "下一交易日",
  10892. "type": "string"
  10893. },
  10894. "pretradedate": {
  10895. "description": "上一交易日",
  10896. "type": "string"
  10897. },
  10898. "reckonflag": {
  10899. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  10900. "type": "integer"
  10901. },
  10902. "runstatus": {
  10903. "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.今日免清算",
  10904. "type": "integer"
  10905. },
  10906. "sectionid": {
  10907. "description": "时间段号[多时段时用]",
  10908. "type": "integer"
  10909. },
  10910. "tradedate": {
  10911. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  10912. "type": "string"
  10913. },
  10914. "tradedate2": {
  10915. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  10916. "type": "string"
  10917. },
  10918. "updatetime": {
  10919. "description": "更新时间",
  10920. "type": "string"
  10921. }
  10922. }
  10923. },
  10924. "models.Messageboard": {
  10925. "type": "object",
  10926. "required": [
  10927. "messageboardid"
  10928. ],
  10929. "properties": {
  10930. "createtime": {
  10931. "description": "创建时间",
  10932. "type": "string"
  10933. },
  10934. "message": {
  10935. "description": "留言信息",
  10936. "type": "string"
  10937. },
  10938. "messageboardid": {
  10939. "description": "留言簿ID(SEQ_MessageBoard)",
  10940. "type": "integer"
  10941. },
  10942. "userid": {
  10943. "description": "用户ID",
  10944. "type": "integer"
  10945. }
  10946. }
  10947. },
  10948. "models.MyCoupon": {
  10949. "type": "object",
  10950. "required": [
  10951. "accountid",
  10952. "coupontypeid"
  10953. ],
  10954. "properties": {
  10955. "accountid": {
  10956. "description": "资金账户ID",
  10957. "type": "integer"
  10958. },
  10959. "areauserid": {
  10960. "description": "所属机构",
  10961. "type": "integer"
  10962. },
  10963. "conditionvalue": {
  10964. "description": "条件阈值(可为0)",
  10965. "type": "number"
  10966. },
  10967. "couponcategroy": {
  10968. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  10969. "type": "integer"
  10970. },
  10971. "couponname": {
  10972. "description": "优惠券名称",
  10973. "type": "string"
  10974. },
  10975. "coupontypeid": {
  10976. "description": "优惠券类型ID",
  10977. "type": "string"
  10978. },
  10979. "couponvalue": {
  10980. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  10981. "type": "number"
  10982. },
  10983. "curfreezeqty": {
  10984. "description": "期末冻结数量",
  10985. "type": "integer"
  10986. },
  10987. "curqty": {
  10988. "description": "期末数量",
  10989. "type": "integer"
  10990. },
  10991. "isgeneral": {
  10992. "description": "是否通用券 - 0:否 1:是",
  10993. "type": "integer"
  10994. },
  10995. "isunusable": {
  10996. "description": "是否不可用",
  10997. "type": "boolean"
  10998. },
  10999. "limitedflag": {
  11000. "description": "是否指定商品 - 0:不限 1:限制",
  11001. "type": "integer"
  11002. },
  11003. "limitedgoodsids": {
  11004. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  11005. "type": "string"
  11006. },
  11007. "orifreezeqty": {
  11008. "description": "期初冻结数量",
  11009. "type": "integer"
  11010. },
  11011. "oriqty": {
  11012. "description": "期初数量",
  11013. "type": "integer"
  11014. },
  11015. "reasontype": {
  11016. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  11017. "type": "integer"
  11018. },
  11019. "todaydecrease": {
  11020. "description": "今日减少",
  11021. "type": "integer"
  11022. },
  11023. "todayincrease": {
  11024. "description": "今日增加",
  11025. "type": "integer"
  11026. },
  11027. "userid": {
  11028. "description": "用户ID",
  11029. "type": "integer"
  11030. },
  11031. "userscope": {
  11032. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  11033. "type": "string"
  11034. }
  11035. }
  11036. },
  11037. "models.MyCouponHold": {
  11038. "type": "object",
  11039. "required": [
  11040. "couponholdid"
  11041. ],
  11042. "properties": {
  11043. "accountid": {
  11044. "description": "资金账户ID",
  11045. "type": "integer"
  11046. },
  11047. "conditionvalue": {
  11048. "description": "条件阈值(可为0)",
  11049. "type": "number"
  11050. },
  11051. "couponcategroy": {
  11052. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  11053. "type": "integer"
  11054. },
  11055. "couponholdid": {
  11056. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  11057. "type": "string"
  11058. },
  11059. "couponname": {
  11060. "description": "优惠券名称",
  11061. "type": "string"
  11062. },
  11063. "coupontypeid": {
  11064. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  11065. "type": "string"
  11066. },
  11067. "couponvalue": {
  11068. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  11069. "type": "number"
  11070. },
  11071. "createtime": {
  11072. "description": "创建时间",
  11073. "type": "string"
  11074. },
  11075. "enddate": {
  11076. "description": "结束日期",
  11077. "type": "string"
  11078. },
  11079. "giveapplyid": {
  11080. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  11081. "type": "integer"
  11082. },
  11083. "holdstatus": {
  11084. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  11085. "type": "integer"
  11086. },
  11087. "isgeneral": {
  11088. "description": "是否通用券 - 0:否 1:是",
  11089. "type": "integer"
  11090. },
  11091. "limitedflag": {
  11092. "description": "是否指定商品 - 0:不限 1:限制",
  11093. "type": "integer"
  11094. },
  11095. "limitedgoodsids": {
  11096. "description": "指定商品IDs[逗号分隔]",
  11097. "type": "string"
  11098. },
  11099. "qty": {
  11100. "description": "数量(按1平铺)",
  11101. "type": "integer"
  11102. },
  11103. "startdate": {
  11104. "description": "开始日期",
  11105. "type": "string"
  11106. },
  11107. "userid": {
  11108. "description": "用户ID",
  11109. "type": "integer"
  11110. },
  11111. "userscope": {
  11112. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  11113. "type": "string"
  11114. }
  11115. }
  11116. },
  11117. "models.MyUsedCoupon": {
  11118. "type": "object",
  11119. "required": [
  11120. "coupontypeid",
  11121. "orderid"
  11122. ],
  11123. "properties": {
  11124. "accountid": {
  11125. "description": "资金账户ID(买方)",
  11126. "type": "integer"
  11127. },
  11128. "conditionvalue": {
  11129. "description": "条件阈值(可为0)",
  11130. "type": "number"
  11131. },
  11132. "couponcategroy": {
  11133. "description": "种类 - 1:现金券 2:折扣券",
  11134. "type": "integer"
  11135. },
  11136. "couponname": {
  11137. "description": "优惠券名称",
  11138. "type": "string"
  11139. },
  11140. "coupontypeid": {
  11141. "description": "优惠券类型ID(买方)",
  11142. "type": "string"
  11143. },
  11144. "couponvalue": {
  11145. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  11146. "type": "number"
  11147. },
  11148. "createtime": {
  11149. "description": "创建时间",
  11150. "type": "string"
  11151. },
  11152. "goodsid": {
  11153. "description": "商品ID",
  11154. "type": "integer"
  11155. },
  11156. "handlestatus": {
  11157. "description": "处理状态",
  11158. "type": "integer"
  11159. },
  11160. "marketid": {
  11161. "description": "市场ID",
  11162. "type": "integer"
  11163. },
  11164. "offamount": {
  11165. "description": "优惠金额",
  11166. "type": "number"
  11167. },
  11168. "orderid": {
  11169. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11170. "type": "string"
  11171. },
  11172. "sellaccountid": {
  11173. "description": "资金账户ID(卖方)",
  11174. "type": "integer"
  11175. },
  11176. "tradeamount": {
  11177. "description": "成交金额",
  11178. "type": "number"
  11179. },
  11180. "tradeid": {
  11181. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11182. "type": "string"
  11183. },
  11184. "usedqty": {
  11185. "description": "使用数量",
  11186. "type": "integer"
  11187. }
  11188. }
  11189. },
  11190. "models.OperationPrimaryMenu": {
  11191. "type": "object",
  11192. "properties": {
  11193. "Children": {
  11194. "description": "二级功能菜单",
  11195. "type": "array",
  11196. "items": {
  11197. "$ref": "#/definitions/models.OperationSecondaryMenu"
  11198. }
  11199. },
  11200. "Key": {
  11201. "description": "菜单KEY",
  11202. "type": "string"
  11203. },
  11204. "Label": {
  11205. "description": "菜单标题",
  11206. "type": "string"
  11207. }
  11208. }
  11209. },
  11210. "models.OperationSecondaryMenu": {
  11211. "type": "object",
  11212. "properties": {
  11213. "Key": {
  11214. "description": "菜单KEY",
  11215. "type": "string"
  11216. },
  11217. "Label": {
  11218. "description": "菜单标题",
  11219. "type": "string"
  11220. },
  11221. "TabList": {
  11222. "description": "三级功能菜单",
  11223. "type": "array",
  11224. "items": {
  11225. "$ref": "#/definitions/models.OperationTabMenu"
  11226. }
  11227. }
  11228. }
  11229. },
  11230. "models.OperationTabMenu": {
  11231. "type": "object",
  11232. "properties": {
  11233. "Key": {
  11234. "description": "菜单KEY",
  11235. "type": "string"
  11236. },
  11237. "Label": {
  11238. "description": "菜单标题",
  11239. "type": "string"
  11240. }
  11241. }
  11242. },
  11243. "models.PendingAuditBizModel": {
  11244. "type": "object",
  11245. "properties": {
  11246. "accountid": {
  11247. "description": "现货账户",
  11248. "type": "string"
  11249. },
  11250. "areaname": {
  11251. "description": "所属部门",
  11252. "type": "string"
  11253. },
  11254. "bizid": {
  11255. "description": "业务ID",
  11256. "type": "string"
  11257. },
  11258. "bizname": {
  11259. "description": "业务名称",
  11260. "type": "string"
  11261. },
  11262. "status": {
  11263. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11264. "type": "integer"
  11265. },
  11266. "type": {
  11267. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11268. "type": "integer"
  11269. }
  11270. }
  11271. },
  11272. "models.QuotePrimaryMenu": {
  11273. "type": "object",
  11274. "properties": {
  11275. "Index": {
  11276. "description": "序号",
  11277. "type": "integer"
  11278. },
  11279. "Key": {
  11280. "description": "键名",
  11281. "type": "string"
  11282. },
  11283. "Name": {
  11284. "description": "菜单名称",
  11285. "type": "string"
  11286. },
  11287. "SubMenus": {
  11288. "description": "子菜单",
  11289. "type": "array",
  11290. "items": {
  11291. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  11292. }
  11293. },
  11294. "SubTitleType": {
  11295. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  11296. "type": "integer"
  11297. },
  11298. "TradeModes": {
  11299. "description": "包含市场交易类型",
  11300. "type": "string"
  11301. }
  11302. }
  11303. },
  11304. "models.QuoteSecondaryMenu": {
  11305. "type": "object",
  11306. "properties": {
  11307. "ExExchangeCode": {
  11308. "description": "外部交易所代码",
  11309. "type": "string"
  11310. },
  11311. "ExExchangeID": {
  11312. "description": "外部交易所ID",
  11313. "type": "integer"
  11314. },
  11315. "GoodsGroupIDs": {
  11316. "description": "商品组ID列表",
  11317. "type": "array",
  11318. "items": {
  11319. "type": "integer"
  11320. }
  11321. },
  11322. "Index": {
  11323. "description": "序号",
  11324. "type": "integer"
  11325. },
  11326. "MarketID": {
  11327. "description": "市场ID",
  11328. "type": "integer"
  11329. },
  11330. "MenuTitle": {
  11331. "description": "菜单标题(市场名称或外部交易所名称)",
  11332. "type": "string"
  11333. },
  11334. "TradeMode": {
  11335. "description": "交易模式",
  11336. "type": "integer"
  11337. }
  11338. }
  11339. },
  11340. "models.SearchGoods": {
  11341. "type": "object",
  11342. "required": [
  11343. "goodscode",
  11344. "goodsid",
  11345. "goodsname",
  11346. "marketid",
  11347. "trademode"
  11348. ],
  11349. "properties": {
  11350. "goodscode": {
  11351. "description": "商品代码(内部)",
  11352. "type": "string"
  11353. },
  11354. "goodsid": {
  11355. "description": "商品ID(自增ID SEQ_GOODS)",
  11356. "type": "integer"
  11357. },
  11358. "goodsname": {
  11359. "description": "商品名称",
  11360. "type": "string"
  11361. },
  11362. "marketid": {
  11363. "description": "所属市场ID",
  11364. "type": "integer"
  11365. },
  11366. "marketname": {
  11367. "description": "市场名称",
  11368. "type": "string"
  11369. },
  11370. "trademode": {
  11371. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11372. "type": "integer"
  11373. }
  11374. }
  11375. },
  11376. "models.Szdz2imageconfig": {
  11377. "type": "object",
  11378. "required": [
  11379. "configid"
  11380. ],
  11381. "properties": {
  11382. "configid": {
  11383. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  11384. "type": "integer"
  11385. },
  11386. "imagepath": {
  11387. "description": "图片",
  11388. "type": "string"
  11389. },
  11390. "imagetype": {
  11391. "description": "类型 - 1:App首页轮播 2:我的",
  11392. "type": "integer"
  11393. },
  11394. "sort": {
  11395. "description": "排序",
  11396. "type": "integer"
  11397. },
  11398. "title": {
  11399. "description": "标题",
  11400. "type": "string"
  11401. },
  11402. "url": {
  11403. "description": "链接",
  11404. "type": "string"
  11405. }
  11406. }
  11407. },
  11408. "models.Szdz3convertconfig": {
  11409. "type": "object",
  11410. "required": [
  11411. "converttype",
  11412. "innergoodsid",
  11413. "outergoodscode"
  11414. ],
  11415. "properties": {
  11416. "canin": {
  11417. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  11418. "type": "integer"
  11419. },
  11420. "canout": {
  11421. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  11422. "type": "integer"
  11423. },
  11424. "converttype": {
  11425. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  11426. "type": "integer"
  11427. },
  11428. "createtime": {
  11429. "description": "创建时间",
  11430. "type": "string"
  11431. },
  11432. "creatorid": {
  11433. "description": "创建人",
  11434. "type": "integer"
  11435. },
  11436. "daymaxvalue": {
  11437. "description": "当日最大转入限制",
  11438. "type": "number"
  11439. },
  11440. "freezedays": {
  11441. "description": "冻结天数 [5:花生米转交易]",
  11442. "type": "integer"
  11443. },
  11444. "innergoodsid": {
  11445. "description": "内部商品ID[交易]",
  11446. "type": "integer"
  11447. },
  11448. "inratio": {
  11449. "description": "目标值",
  11450. "type": "integer"
  11451. },
  11452. "modifierid": {
  11453. "description": "修改人",
  11454. "type": "integer"
  11455. },
  11456. "modifytime": {
  11457. "description": "修改时间",
  11458. "type": "string"
  11459. },
  11460. "outergoodscode": {
  11461. "description": "外部商品代码[JD\\PD]",
  11462. "type": "string"
  11463. },
  11464. "outratio": {
  11465. "description": "源值",
  11466. "type": "integer"
  11467. },
  11468. "pddecimalplace": {
  11469. "description": "PD小数位",
  11470. "type": "integer"
  11471. },
  11472. "timemaxvalue": {
  11473. "description": "单次最大转入限制",
  11474. "type": "number"
  11475. },
  11476. "timeminvalue": {
  11477. "description": "单次最小转入限制",
  11478. "type": "number"
  11479. }
  11480. }
  11481. },
  11482. "models.Szdz3searchwhitelist": {
  11483. "type": "object",
  11484. "required": [
  11485. "userid"
  11486. ],
  11487. "properties": {
  11488. "createtime": {
  11489. "description": "创建时间",
  11490. "type": "string"
  11491. },
  11492. "creatorid": {
  11493. "description": "创建人",
  11494. "type": "integer"
  11495. },
  11496. "modifierid": {
  11497. "description": "修改人",
  11498. "type": "integer"
  11499. },
  11500. "modifytime": {
  11501. "description": "修改时间",
  11502. "type": "string"
  11503. },
  11504. "userid": {
  11505. "description": "用户ID",
  11506. "type": "integer"
  11507. }
  11508. }
  11509. },
  11510. "models.Tablecolumnconfig": {
  11511. "type": "object",
  11512. "required": [
  11513. "autoid"
  11514. ],
  11515. "properties": {
  11516. "aligntype": {
  11517. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  11518. "type": "integer"
  11519. },
  11520. "autoid": {
  11521. "description": "AutoID",
  11522. "type": "integer"
  11523. },
  11524. "columnfield": {
  11525. "description": "列字段",
  11526. "type": "string"
  11527. },
  11528. "columntitle": {
  11529. "description": "列Title",
  11530. "type": "string"
  11531. },
  11532. "columnwidth": {
  11533. "description": "列宽",
  11534. "type": "string"
  11535. },
  11536. "formatterstring": {
  11537. "description": "格式化字符",
  11538. "type": "string"
  11539. },
  11540. "formattertype": {
  11541. "description": "格式化类型",
  11542. "type": "string"
  11543. },
  11544. "groupname": {
  11545. "description": "表头分组名称",
  11546. "type": "string"
  11547. },
  11548. "isshow": {
  11549. "description": "是否显示 - 0:不显示 1:显示",
  11550. "type": "integer"
  11551. },
  11552. "needsummary": {
  11553. "description": "是否需要汇总 - 0:不需要 1:需要",
  11554. "type": "integer"
  11555. },
  11556. "orderindex": {
  11557. "description": "顺序",
  11558. "type": "integer"
  11559. },
  11560. "remark": {
  11561. "description": "备注",
  11562. "type": "string"
  11563. },
  11564. "summarytype": {
  11565. "description": "汇总类型 - 1:加总 2:最后一个",
  11566. "type": "integer"
  11567. },
  11568. "tablekey": {
  11569. "description": "列表Key",
  11570. "type": "string"
  11571. }
  11572. }
  11573. },
  11574. "models.Useraccount": {
  11575. "type": "object",
  11576. "required": [
  11577. "userid"
  11578. ],
  11579. "properties": {
  11580. "accountname": {
  11581. "description": "账户名称(机构名称)",
  11582. "type": "string"
  11583. },
  11584. "accountstatus": {
  11585. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  11586. "type": "integer"
  11587. },
  11588. "auditremark": {
  11589. "description": "审核备注",
  11590. "type": "string"
  11591. },
  11592. "audittime": {
  11593. "description": "审核时间",
  11594. "type": "string"
  11595. },
  11596. "audituserid": {
  11597. "description": "审核人",
  11598. "type": "integer"
  11599. },
  11600. "broker": {
  11601. "description": "所属经纪人ID",
  11602. "type": "integer"
  11603. },
  11604. "canceltime": {
  11605. "description": "销户时间",
  11606. "type": "string"
  11607. },
  11608. "canceluserid": {
  11609. "description": "销户人",
  11610. "type": "integer"
  11611. },
  11612. "createtime": {
  11613. "description": "创建时间",
  11614. "type": "string"
  11615. },
  11616. "creatorid": {
  11617. "description": "创建人",
  11618. "type": "integer"
  11619. },
  11620. "hasauth": {
  11621. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  11622. "type": "integer"
  11623. },
  11624. "isanonymous": {
  11625. "description": "是否匿名下单 - 0:否 1:是",
  11626. "type": "integer"
  11627. },
  11628. "maxinvestornum": {
  11629. "description": "最大用户数(经纪会员下投资者个数)",
  11630. "type": "integer"
  11631. },
  11632. "memberuserid": {
  11633. "description": "所属会员ID",
  11634. "type": "integer"
  11635. },
  11636. "modifierid": {
  11637. "description": "修改人",
  11638. "type": "integer"
  11639. },
  11640. "modifyremark": {
  11641. "description": "变更备注",
  11642. "type": "string"
  11643. },
  11644. "modifystatus": {
  11645. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  11646. "type": "integer"
  11647. },
  11648. "modifytime": {
  11649. "description": "修改时间",
  11650. "type": "string"
  11651. },
  11652. "parentuserid": {
  11653. "description": "所属机构ID",
  11654. "type": "integer"
  11655. },
  11656. "reckonaccountid": {
  11657. "description": "默认结算资金账号ID(机构分润使用) 作废",
  11658. "type": "integer"
  11659. },
  11660. "refercount": {
  11661. "description": "推荐总人数",
  11662. "type": "integer"
  11663. },
  11664. "refereeuserid": {
  11665. "description": "推荐人ID",
  11666. "type": "integer"
  11667. },
  11668. "refernum": {
  11669. "description": "推荐码",
  11670. "type": "string"
  11671. },
  11672. "subarealevelpath": {
  11673. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  11674. "type": "string"
  11675. },
  11676. "userid": {
  11677. "description": "用户ID",
  11678. "type": "integer"
  11679. },
  11680. "usertype": {
  11681. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  11682. "type": "integer"
  11683. }
  11684. }
  11685. },
  11686. "models.Userfavoritegoods": {
  11687. "type": "object",
  11688. "required": [
  11689. "goodsid"
  11690. ],
  11691. "properties": {
  11692. "goodsid": {
  11693. "description": "商品ID",
  11694. "type": "integer"
  11695. }
  11696. }
  11697. },
  11698. "models.Userinfo": {
  11699. "type": "object",
  11700. "required": [
  11701. "userid"
  11702. ],
  11703. "properties": {
  11704. "address": {
  11705. "description": "地址",
  11706. "type": "string"
  11707. },
  11708. "attachment1": {
  11709. "description": "附件1",
  11710. "type": "string"
  11711. },
  11712. "attachment2": {
  11713. "description": "附件2",
  11714. "type": "string"
  11715. },
  11716. "bankaccount": {
  11717. "description": "银行帐号 (加密存储)",
  11718. "type": "string"
  11719. },
  11720. "bankaccountname": {
  11721. "description": "收款人名称",
  11722. "type": "string"
  11723. },
  11724. "bankcardfrontphotourl": {
  11725. "description": "银行卡正面照地址",
  11726. "type": "string"
  11727. },
  11728. "bankid": {
  11729. "description": "银行编码",
  11730. "type": "string"
  11731. },
  11732. "bankname": {
  11733. "description": "银行名称",
  11734. "type": "string"
  11735. },
  11736. "biznature": {
  11737. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11738. "type": "integer"
  11739. },
  11740. "bizscope": {
  11741. "description": "企业经营范围(企业)",
  11742. "type": "string"
  11743. },
  11744. "cardbackphotourl": {
  11745. "description": "证件背面图片地址",
  11746. "type": "string"
  11747. },
  11748. "cardfrontphotourl": {
  11749. "description": "证件正面图片地址",
  11750. "type": "string"
  11751. },
  11752. "cardnum": {
  11753. "description": "证件号码(加密存储)",
  11754. "type": "string"
  11755. },
  11756. "cardtypeid": {
  11757. "description": "证件类型ID",
  11758. "type": "integer"
  11759. },
  11760. "cityid": {
  11761. "description": "市",
  11762. "type": "integer"
  11763. },
  11764. "company": {
  11765. "description": "公司(个人)",
  11766. "type": "string"
  11767. },
  11768. "contactname": {
  11769. "description": "联系人",
  11770. "type": "string"
  11771. },
  11772. "countryid": {
  11773. "description": "国家",
  11774. "type": "integer"
  11775. },
  11776. "createtime": {
  11777. "description": "创建时间",
  11778. "type": "string"
  11779. },
  11780. "creatorid": {
  11781. "description": "创建人",
  11782. "type": "integer"
  11783. },
  11784. "customername": {
  11785. "description": "客户名称(企业名称)",
  11786. "type": "string"
  11787. },
  11788. "districtid": {
  11789. "description": "地区",
  11790. "type": "integer"
  11791. },
  11792. "email": {
  11793. "description": "邮件(加密存储)",
  11794. "type": "string"
  11795. },
  11796. "fax": {
  11797. "description": "传真(加密存储)",
  11798. "type": "string"
  11799. },
  11800. "halfbodyphotourl": {
  11801. "description": "半身照地址",
  11802. "type": "string"
  11803. },
  11804. "hasencrypt": {
  11805. "description": "数据是否已加密 - 0:未加密 1:已加密",
  11806. "type": "integer"
  11807. },
  11808. "headurl": {
  11809. "description": "头像地址",
  11810. "type": "string"
  11811. },
  11812. "legalcardbackphotourl": {
  11813. "description": "法人身份证背面照地址",
  11814. "type": "string"
  11815. },
  11816. "legalcardfrontphotourl": {
  11817. "description": "法人身份证正面照地址",
  11818. "type": "string"
  11819. },
  11820. "legalpersonname": {
  11821. "description": "法人姓名(企业)",
  11822. "type": "string"
  11823. },
  11824. "mobile": {
  11825. "description": "手机号码(加密存储)",
  11826. "type": "string"
  11827. },
  11828. "mobile2": {
  11829. "description": "手机号码[明文-尚志]",
  11830. "type": "string"
  11831. },
  11832. "modifierid": {
  11833. "description": "修改人",
  11834. "type": "integer"
  11835. },
  11836. "modifiertime": {
  11837. "description": "修改时间",
  11838. "type": "string"
  11839. },
  11840. "needinvoice": {
  11841. "description": "是否需要发票 - 0:不需要 1:需要",
  11842. "type": "integer"
  11843. },
  11844. "nickname": {
  11845. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  11846. "type": "string"
  11847. },
  11848. "openmode": {
  11849. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  11850. "type": "integer"
  11851. },
  11852. "otherurl": {
  11853. "description": "其它图片地址[使用分号分隔]",
  11854. "type": "string"
  11855. },
  11856. "postalcode": {
  11857. "description": "邮政编码",
  11858. "type": "string"
  11859. },
  11860. "provinceid": {
  11861. "description": "省",
  11862. "type": "integer"
  11863. },
  11864. "qq": {
  11865. "description": "QQ(加密存储",
  11866. "type": "string"
  11867. },
  11868. "remark": {
  11869. "description": "备注",
  11870. "type": "string"
  11871. },
  11872. "sex": {
  11873. "description": "用户性别 0: 女 1: 男",
  11874. "type": "integer"
  11875. },
  11876. "signpdfurl": {
  11877. "description": "签约pdf文件",
  11878. "type": "string"
  11879. },
  11880. "telphone": {
  11881. "description": "联系电话(加密存储)",
  11882. "type": "string"
  11883. },
  11884. "userid": {
  11885. "description": "用户ID",
  11886. "type": "integer"
  11887. },
  11888. "userinfotype": {
  11889. "description": "用户信息类型 - 1:个人 2:企业",
  11890. "type": "integer"
  11891. },
  11892. "userstatus": {
  11893. "description": "用户状态 - 1:正常 2:注销",
  11894. "type": "integer"
  11895. },
  11896. "usertype": {
  11897. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  11898. "type": "integer"
  11899. },
  11900. "wechat": {
  11901. "description": "微信(加密存储)",
  11902. "type": "string"
  11903. },
  11904. "wskhinfo": {
  11905. "description": "开户申请信息(JSON)",
  11906. "type": "string"
  11907. }
  11908. }
  11909. },
  11910. "models.WRCategoryTree": {
  11911. "type": "object",
  11912. "required": [
  11913. "categoryid"
  11914. ],
  11915. "properties": {
  11916. "areauserid": {
  11917. "description": "所属机构",
  11918. "type": "integer"
  11919. },
  11920. "categorydesc": {
  11921. "description": "类别描述",
  11922. "type": "string"
  11923. },
  11924. "categoryid": {
  11925. "description": "类别ID(SEQ_WRCATEGORY)",
  11926. "type": "integer"
  11927. },
  11928. "categoryname": {
  11929. "description": "类别名称",
  11930. "type": "string"
  11931. },
  11932. "iconurl": {
  11933. "description": "图标地址",
  11934. "type": "string"
  11935. },
  11936. "orderindex": {
  11937. "description": "顺序",
  11938. "type": "integer"
  11939. },
  11940. "parentcategoryid": {
  11941. "description": "父类别ID",
  11942. "type": "integer"
  11943. },
  11944. "subcategory": {
  11945. "description": "子分类",
  11946. "type": "array",
  11947. "items": {
  11948. "$ref": "#/definitions/models.WRCategoryTree"
  11949. }
  11950. }
  11951. }
  11952. },
  11953. "models.WRSConverTDetail": {
  11954. "type": "object",
  11955. "properties": {
  11956. "convertratio": {
  11957. "description": "套保系数",
  11958. "type": "number"
  11959. },
  11960. "deliverygoodsid": {
  11961. "description": "现货品种ID",
  11962. "type": "integer"
  11963. },
  11964. "middlegoodscode": {
  11965. "description": "套保品种代码",
  11966. "type": "string"
  11967. },
  11968. "middlegoodsid": {
  11969. "description": "套保品种ID",
  11970. "type": "integer"
  11971. },
  11972. "middlegoodsname": {
  11973. "description": "套保品种名称",
  11974. "type": "string"
  11975. },
  11976. "modifytime": {
  11977. "description": "修改时间",
  11978. "type": "string"
  11979. },
  11980. "wrstandardid": {
  11981. "description": "现货商品ID",
  11982. "type": "integer"
  11983. }
  11984. }
  11985. },
  11986. "models.WRStandardInfo": {
  11987. "type": "object",
  11988. "required": [
  11989. "wrstandardid"
  11990. ],
  11991. "properties": {
  11992. "createtime": {
  11993. "description": "创建时间",
  11994. "type": "string"
  11995. },
  11996. "creatorid": {
  11997. "description": "创建人",
  11998. "type": "integer"
  11999. },
  12000. "deliverygoodsid": {
  12001. "description": "品种ID",
  12002. "type": "integer"
  12003. },
  12004. "deliverygoodsname": {
  12005. "description": "交割商品名称",
  12006. "type": "string"
  12007. },
  12008. "factoryitemjson": {
  12009. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  12010. "type": "string"
  12011. },
  12012. "isvalid": {
  12013. "description": "是否有效 - 0:无效 1:有效",
  12014. "type": "integer"
  12015. },
  12016. "minivalue": {
  12017. "description": "最小变动值",
  12018. "type": "integer"
  12019. },
  12020. "minivaluedp": {
  12021. "description": "最小变动值小数位",
  12022. "type": "integer"
  12023. },
  12024. "realminivalue": {
  12025. "description": "实际最小变动值",
  12026. "type": "integer"
  12027. },
  12028. "realminivaluedp": {
  12029. "description": "实际最小变动值小数位",
  12030. "type": "integer"
  12031. },
  12032. "unitid": {
  12033. "description": "单位ID",
  12034. "type": "integer"
  12035. },
  12036. "unitname": {
  12037. "description": "单位",
  12038. "type": "string"
  12039. },
  12040. "updatetime": {
  12041. "description": "更新时间",
  12042. "type": "string"
  12043. },
  12044. "updatorid": {
  12045. "description": "更新人",
  12046. "type": "integer"
  12047. },
  12048. "wrsstatus": {
  12049. "description": "状态 - 作废 - 0:未激活 1:正常",
  12050. "type": "integer"
  12051. },
  12052. "wrstandardcode": {
  12053. "description": "仓单标准代码",
  12054. "type": "string"
  12055. },
  12056. "wrstandardid": {
  12057. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12058. "type": "integer"
  12059. },
  12060. "wrstandardname": {
  12061. "description": "仓单标准名称",
  12062. "type": "string"
  12063. }
  12064. }
  12065. },
  12066. "models.Warehouseinfo": {
  12067. "type": "object",
  12068. "required": [
  12069. "autoid",
  12070. "warehousecode"
  12071. ],
  12072. "properties": {
  12073. "address": {
  12074. "description": "详细地址",
  12075. "type": "string"
  12076. },
  12077. "areauserid": {
  12078. "description": "所属机构",
  12079. "type": "integer"
  12080. },
  12081. "autoid": {
  12082. "description": "自增ID",
  12083. "type": "integer"
  12084. },
  12085. "cityid": {
  12086. "description": "市",
  12087. "type": "integer"
  12088. },
  12089. "contactname": {
  12090. "description": "联系人",
  12091. "type": "string"
  12092. },
  12093. "contactnum": {
  12094. "description": "联系电话",
  12095. "type": "string"
  12096. },
  12097. "countryid": {
  12098. "description": "国家",
  12099. "type": "integer"
  12100. },
  12101. "createtime": {
  12102. "description": "创建时间",
  12103. "type": "string"
  12104. },
  12105. "districtid": {
  12106. "description": "区",
  12107. "type": "integer"
  12108. },
  12109. "hasvideo": {
  12110. "description": "是否有视频 - 0:无 1:有",
  12111. "type": "integer"
  12112. },
  12113. "provinceid": {
  12114. "description": "省",
  12115. "type": "integer"
  12116. },
  12117. "remark": {
  12118. "description": "审核备注",
  12119. "type": "string"
  12120. },
  12121. "videourl": {
  12122. "description": "视频地址",
  12123. "type": "string"
  12124. },
  12125. "warehousecode": {
  12126. "description": "仓库代码",
  12127. "type": "string"
  12128. },
  12129. "warehousename": {
  12130. "description": "仓库名称",
  12131. "type": "string"
  12132. },
  12133. "warehousestatus": {
  12134. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  12135. "type": "integer"
  12136. },
  12137. "warehousetype": {
  12138. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12139. "type": "integer"
  12140. }
  12141. }
  12142. },
  12143. "order.QueryHisTradeDetailRsp": {
  12144. "type": "object",
  12145. "required": [
  12146. "accountid",
  12147. "buyorsell",
  12148. "goodsid",
  12149. "histradedate",
  12150. "marketid",
  12151. "memberuserid",
  12152. "orderid",
  12153. "tradeamount",
  12154. "tradedate",
  12155. "tradeid",
  12156. "tradeprice",
  12157. "tradeqty",
  12158. "tradetime"
  12159. ],
  12160. "properties": {
  12161. "accountid": {
  12162. "description": "账户ID[报价币种]",
  12163. "type": "integer"
  12164. },
  12165. "buildtype": {
  12166. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  12167. "type": "integer"
  12168. },
  12169. "buyorsell": {
  12170. "description": "方向 - 0:买 1:卖",
  12171. "type": "integer"
  12172. },
  12173. "charge": {
  12174. "description": "手续费",
  12175. "type": "number"
  12176. },
  12177. "closecharge": {
  12178. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12179. "type": "number"
  12180. },
  12181. "closeexchagechargevalue": {
  12182. "description": "平仓交易所手续费设置值",
  12183. "type": "number"
  12184. },
  12185. "closefeealgorithm": {
  12186. "description": "平仓手续费收取方式 1:比率 2:固定",
  12187. "type": "integer"
  12188. },
  12189. "closememberchargevalue": {
  12190. "description": "平仓会员手续费设置值",
  12191. "type": "number"
  12192. },
  12193. "closepl": {
  12194. "description": "平仓盈亏",
  12195. "type": "number"
  12196. },
  12197. "closepl2": {
  12198. "description": "平仓盈亏[逐笔]",
  12199. "type": "number"
  12200. },
  12201. "closeqty": {
  12202. "description": "平仓数量(先建后平操作 需要记录)",
  12203. "type": "integer"
  12204. },
  12205. "creditamount": {
  12206. "description": "授信金额",
  12207. "type": "number"
  12208. },
  12209. "gcaccountid": {
  12210. "description": "账户ID[合约币种]",
  12211. "type": "integer"
  12212. },
  12213. "goodscode": {
  12214. "description": "商品代码",
  12215. "type": "string"
  12216. },
  12217. "goodsid": {
  12218. "description": "商品ID",
  12219. "type": "integer"
  12220. },
  12221. "goodsname": {
  12222. "description": "商品名称",
  12223. "type": "string"
  12224. },
  12225. "histradedate": {
  12226. "description": "历史交易日",
  12227. "type": "string"
  12228. },
  12229. "intclosepl": {
  12230. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  12231. "type": "integer"
  12232. },
  12233. "isconfirmexercise": {
  12234. "description": "是否确认行权- 0:否 1:是",
  12235. "type": "integer"
  12236. },
  12237. "ismain": {
  12238. "description": "是否主单 - 0:不是 1:是",
  12239. "type": "integer"
  12240. },
  12241. "ispreexercise": {
  12242. "description": "是否预申报- 0:否 1:是",
  12243. "type": "integer"
  12244. },
  12245. "isreckoned": {
  12246. "description": "是否结算 - 0:未结算 1:已结算",
  12247. "type": "integer"
  12248. },
  12249. "isvaliddata": {
  12250. "description": "是否有效 - 0:无效 1:有效",
  12251. "type": "integer"
  12252. },
  12253. "listingselecttype": {
  12254. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12255. "type": "integer"
  12256. },
  12257. "marketid": {
  12258. "description": "市场ID",
  12259. "type": "integer"
  12260. },
  12261. "marketname": {
  12262. "description": "市场名称",
  12263. "type": "string"
  12264. },
  12265. "matchaccountid": {
  12266. "description": "对手账号id",
  12267. "type": "integer"
  12268. },
  12269. "memberuserid": {
  12270. "description": "会员id 个人投资者 需要填写",
  12271. "type": "integer"
  12272. },
  12273. "opencharge": {
  12274. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12275. "type": "number"
  12276. },
  12277. "openexchagechargevalue": {
  12278. "description": "建仓交易所手续费设置值",
  12279. "type": "number"
  12280. },
  12281. "openfeealgorithm": {
  12282. "description": "建仓手续费收取方式 1:比率 2:固定",
  12283. "type": "integer"
  12284. },
  12285. "openmemberchargevalue": {
  12286. "description": "建仓会员手续费设置值",
  12287. "type": "number"
  12288. },
  12289. "openqty": {
  12290. "description": "开仓数量(先建后平操作 需要记录)",
  12291. "type": "integer"
  12292. },
  12293. "optiontype": {
  12294. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12295. "type": "integer"
  12296. },
  12297. "orderid": {
  12298. "description": "委托单号",
  12299. "type": "string"
  12300. },
  12301. "performanceplanid": {
  12302. "description": "履约计划ID[期权]",
  12303. "type": "integer"
  12304. },
  12305. "performancestatus": {
  12306. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  12307. "type": "integer"
  12308. },
  12309. "preexerciseprice": {
  12310. "description": "预申报价格",
  12311. "type": "number"
  12312. },
  12313. "premium": {
  12314. "description": "权利金 - [持仓单的权利金]",
  12315. "type": "number"
  12316. },
  12317. "relatedouttradeid": {
  12318. "description": "关联外部成交单ID",
  12319. "type": "integer"
  12320. },
  12321. "status": {
  12322. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  12323. "type": "integer"
  12324. },
  12325. "tradeamount": {
  12326. "description": "成交金额[账户币种,用于所有权]",
  12327. "type": "number"
  12328. },
  12329. "tradedate": {
  12330. "description": "交易日(yyyyMMdd)",
  12331. "type": "string"
  12332. },
  12333. "tradeid": {
  12334. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12335. "type": "string"
  12336. },
  12337. "trademode": {
  12338. "description": "交易模式",
  12339. "type": "integer"
  12340. },
  12341. "tradeprice": {
  12342. "description": "成交价格",
  12343. "type": "number"
  12344. },
  12345. "tradeproperty": {
  12346. "description": "交易属性",
  12347. "type": "integer"
  12348. },
  12349. "tradeqty": {
  12350. "description": "成交数量",
  12351. "type": "integer"
  12352. },
  12353. "tradetime": {
  12354. "description": "成交时间",
  12355. "type": "string"
  12356. },
  12357. "tradetype": {
  12358. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  12359. "type": "integer"
  12360. }
  12361. }
  12362. },
  12363. "order.QueryHisTradeOrderDetailRsp": {
  12364. "type": "object",
  12365. "required": [
  12366. "accountid",
  12367. "buildtype",
  12368. "buyorsell",
  12369. "goodsid",
  12370. "histradedate",
  12371. "marketid",
  12372. "memberuserid",
  12373. "operatetype",
  12374. "orderid",
  12375. "orderqty",
  12376. "ordertime",
  12377. "pricemode",
  12378. "tradedate",
  12379. "validtype"
  12380. ],
  12381. "properties": {
  12382. "accountid": {
  12383. "description": "账户ID[报价币种]",
  12384. "type": "integer"
  12385. },
  12386. "buildtype": {
  12387. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12388. "type": "integer"
  12389. },
  12390. "buyorsell": {
  12391. "description": "买卖 - 0:买 1:卖",
  12392. "type": "integer"
  12393. },
  12394. "cancelorderid": {
  12395. "description": "撤单单号(撤单时填写)",
  12396. "type": "string"
  12397. },
  12398. "cancelqty": {
  12399. "description": "撤单数量",
  12400. "type": "integer"
  12401. },
  12402. "clientordertime": {
  12403. "description": "客户端委托时间",
  12404. "type": "string"
  12405. },
  12406. "clientticket": {
  12407. "description": "客户端流水号",
  12408. "type": "string"
  12409. },
  12410. "clienttype": {
  12411. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12412. "type": "integer"
  12413. },
  12414. "closeexchagechargevalue": {
  12415. "description": "平仓交易所手续费设置值",
  12416. "type": "number"
  12417. },
  12418. "closefeealgorithm": {
  12419. "description": "平仓手续费收取方式 1:比率 2:固定",
  12420. "type": "integer"
  12421. },
  12422. "closefreezecharge": {
  12423. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12424. "type": "number"
  12425. },
  12426. "closememberchargevalue": {
  12427. "description": "平仓会员手续费设置值",
  12428. "type": "number"
  12429. },
  12430. "closeqty": {
  12431. "description": "平仓数量(先建后平操作 需要记录)",
  12432. "type": "integer"
  12433. },
  12434. "closetradeqty": {
  12435. "description": "平仓成交数量(先建后平操作,需要记录)",
  12436. "type": "integer"
  12437. },
  12438. "closeunfreezecharge": {
  12439. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12440. "type": "number"
  12441. },
  12442. "delistingtype": {
  12443. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12444. "type": "integer"
  12445. },
  12446. "freezecharge": {
  12447. "description": "冻结手续费",
  12448. "type": "number"
  12449. },
  12450. "freezemargin": {
  12451. "description": "冻结保证金(冻结交易金额)",
  12452. "type": "number"
  12453. },
  12454. "gcaccountid": {
  12455. "description": "账户ID[合约币种]",
  12456. "type": "integer"
  12457. },
  12458. "goodscode": {
  12459. "description": "商品代码",
  12460. "type": "string"
  12461. },
  12462. "goodsid": {
  12463. "description": "商品ID",
  12464. "type": "integer"
  12465. },
  12466. "goodsname": {
  12467. "description": "商品名称",
  12468. "type": "string"
  12469. },
  12470. "histradedate": {
  12471. "description": "历史交易日",
  12472. "type": "string"
  12473. },
  12474. "isconfirmexercise": {
  12475. "description": "是否确认行权- 0:否 1:是",
  12476. "type": "integer"
  12477. },
  12478. "ispreexercise": {
  12479. "description": "是否预申报- 0:否 1:是",
  12480. "type": "integer"
  12481. },
  12482. "isvaliddata": {
  12483. "description": "是否有效 - 0:无效 1:有效",
  12484. "type": "integer"
  12485. },
  12486. "listingselecttype": {
  12487. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12488. "type": "integer"
  12489. },
  12490. "marginalgorithm": {
  12491. "description": "保证金收取方式 1:比率 2:固定",
  12492. "type": "integer"
  12493. },
  12494. "marginvalue": {
  12495. "description": "即市保证金设置值",
  12496. "type": "number"
  12497. },
  12498. "marketid": {
  12499. "description": "市场ID",
  12500. "type": "integer"
  12501. },
  12502. "marketmaxsub": {
  12503. "description": "市价最大偏移范围",
  12504. "type": "number"
  12505. },
  12506. "marketname": {
  12507. "description": "市场名称",
  12508. "type": "string"
  12509. },
  12510. "memberuserid": {
  12511. "description": "所属会员UserID",
  12512. "type": "integer"
  12513. },
  12514. "openexchagechargevalue": {
  12515. "description": "建仓交易所手续费设置值",
  12516. "type": "number"
  12517. },
  12518. "openfeealgorithm": {
  12519. "description": "建仓手续费收取方式 1:比率 2:固定",
  12520. "type": "integer"
  12521. },
  12522. "openfreezecharge": {
  12523. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12524. "type": "number"
  12525. },
  12526. "openmemberchargevalue": {
  12527. "description": "建仓会员手续费设置值",
  12528. "type": "number"
  12529. },
  12530. "openqty": {
  12531. "description": "开仓数量(先建后平操作,需要记录)",
  12532. "type": "integer"
  12533. },
  12534. "opentradeqty": {
  12535. "description": "开仓成交数量(先建后平操作,需要记录)",
  12536. "type": "integer"
  12537. },
  12538. "openunfreezecharge": {
  12539. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12540. "type": "number"
  12541. },
  12542. "operatetype": {
  12543. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12544. "type": "integer"
  12545. },
  12546. "operatorid": {
  12547. "description": "登录账号(LoginID)",
  12548. "type": "integer"
  12549. },
  12550. "optiontype": {
  12551. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12552. "type": "integer"
  12553. },
  12554. "orderid": {
  12555. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12556. "type": "string"
  12557. },
  12558. "orderprice": {
  12559. "description": "委托价格",
  12560. "type": "number"
  12561. },
  12562. "orderqty": {
  12563. "description": "委托数量",
  12564. "type": "integer"
  12565. },
  12566. "ordersrc": {
  12567. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12568. "type": "integer"
  12569. },
  12570. "orderstatus": {
  12571. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12572. "type": "integer"
  12573. },
  12574. "ordertime": {
  12575. "description": "委托时间",
  12576. "type": "string"
  12577. },
  12578. "preexerciseprice": {
  12579. "description": "预申报价格",
  12580. "type": "number"
  12581. },
  12582. "premium": {
  12583. "description": "权利金",
  12584. "type": "number"
  12585. },
  12586. "preorderid": {
  12587. "description": "关联预埋单号(止盈止损单时填写)",
  12588. "type": "string"
  12589. },
  12590. "pricemode": {
  12591. "description": "取价方式 - 1:市价 2: 限价",
  12592. "type": "integer"
  12593. },
  12594. "quoteid": {
  12595. "description": "报价单ID",
  12596. "type": "integer"
  12597. },
  12598. "relatedid": {
  12599. "description": "关联单号(交割单)",
  12600. "type": "string"
  12601. },
  12602. "retcode": {
  12603. "description": "错误代码",
  12604. "type": "integer"
  12605. },
  12606. "sessionid": {
  12607. "description": "会话ID",
  12608. "type": "integer"
  12609. },
  12610. "tradedate": {
  12611. "description": "交易日(yyyyMMdd)",
  12612. "type": "string"
  12613. },
  12614. "trademode": {
  12615. "description": "交易模式",
  12616. "type": "integer"
  12617. },
  12618. "tradeproperty": {
  12619. "description": "交易属性",
  12620. "type": "integer"
  12621. },
  12622. "tradeqty": {
  12623. "description": "成交数量",
  12624. "type": "integer"
  12625. },
  12626. "unfreezecharge": {
  12627. "description": "解冻手续费",
  12628. "type": "number"
  12629. },
  12630. "unfreezemargin": {
  12631. "description": "解冻保证金",
  12632. "type": "number"
  12633. },
  12634. "updatetime": {
  12635. "description": "更新时间",
  12636. "type": "string"
  12637. },
  12638. "uuid": {
  12639. "description": "发起端唯一id",
  12640. "type": "string"
  12641. },
  12642. "validtime": {
  12643. "description": "有效期限",
  12644. "type": "string"
  12645. },
  12646. "validtype": {
  12647. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12648. "type": "integer"
  12649. },
  12650. "volumetype": {
  12651. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12652. "type": "integer"
  12653. }
  12654. }
  12655. },
  12656. "order.QueryTradeDetailRsp": {
  12657. "type": "object",
  12658. "required": [
  12659. "accountid",
  12660. "buyorsell",
  12661. "goodsid",
  12662. "marketid",
  12663. "memberuserid",
  12664. "orderid",
  12665. "tradeamount",
  12666. "tradedate",
  12667. "tradeid",
  12668. "tradeprice",
  12669. "tradeqty",
  12670. "tradetime"
  12671. ],
  12672. "properties": {
  12673. "accountid": {
  12674. "description": "账户ID[报价币种]",
  12675. "type": "integer"
  12676. },
  12677. "buildtype": {
  12678. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  12679. "type": "integer"
  12680. },
  12681. "buyorsell": {
  12682. "description": "方向 - 0:买 1:卖",
  12683. "type": "integer"
  12684. },
  12685. "charge": {
  12686. "description": "手续费",
  12687. "type": "number"
  12688. },
  12689. "closecharge": {
  12690. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12691. "type": "number"
  12692. },
  12693. "closeexchagechargevalue": {
  12694. "description": "平仓交易所手续费设置值",
  12695. "type": "number"
  12696. },
  12697. "closefeealgorithm": {
  12698. "description": "平仓手续费收取方式 1:比率 2:固定",
  12699. "type": "integer"
  12700. },
  12701. "closememberchargevalue": {
  12702. "description": "平仓会员手续费设置值",
  12703. "type": "number"
  12704. },
  12705. "closepl": {
  12706. "description": "平仓盈亏",
  12707. "type": "number"
  12708. },
  12709. "closepl2": {
  12710. "description": "平仓盈亏[逐笔]",
  12711. "type": "number"
  12712. },
  12713. "closeqty": {
  12714. "description": "平仓数量(先建后平操作 需要记录)",
  12715. "type": "integer"
  12716. },
  12717. "creditamount": {
  12718. "description": "授信金额",
  12719. "type": "number"
  12720. },
  12721. "gcaccountid": {
  12722. "description": "账户ID[合约币种]",
  12723. "type": "integer"
  12724. },
  12725. "goodscode": {
  12726. "description": "商品代码",
  12727. "type": "string"
  12728. },
  12729. "goodsid": {
  12730. "description": "商品ID",
  12731. "type": "integer"
  12732. },
  12733. "goodsname": {
  12734. "description": "商品名称",
  12735. "type": "string"
  12736. },
  12737. "intclosepl": {
  12738. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  12739. "type": "integer"
  12740. },
  12741. "isconfirmexercise": {
  12742. "description": "是否确认行权- 0:否 1:是",
  12743. "type": "integer"
  12744. },
  12745. "ismain": {
  12746. "description": "是否主单 - 0:不是 1:是",
  12747. "type": "integer"
  12748. },
  12749. "ispreexercise": {
  12750. "description": "是否预申报- 0:否 1:是",
  12751. "type": "integer"
  12752. },
  12753. "isreckoned": {
  12754. "description": "是否结算 - 0:未结算 1:已结算",
  12755. "type": "integer"
  12756. },
  12757. "listingselecttype": {
  12758. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12759. "type": "integer"
  12760. },
  12761. "marketid": {
  12762. "description": "市场ID",
  12763. "type": "integer"
  12764. },
  12765. "marketname": {
  12766. "description": "市场名称",
  12767. "type": "string"
  12768. },
  12769. "matchaccountid": {
  12770. "description": "对手账号id",
  12771. "type": "integer"
  12772. },
  12773. "memberuserid": {
  12774. "description": "会员id 个人投资者 需要填写",
  12775. "type": "integer"
  12776. },
  12777. "opencharge": {
  12778. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12779. "type": "number"
  12780. },
  12781. "openexchagechargevalue": {
  12782. "description": "建仓交易所手续费设置值",
  12783. "type": "number"
  12784. },
  12785. "openfeealgorithm": {
  12786. "description": "建仓手续费收取方式 1:比率 2:固定",
  12787. "type": "integer"
  12788. },
  12789. "openmemberchargevalue": {
  12790. "description": "建仓会员手续费设置值",
  12791. "type": "number"
  12792. },
  12793. "openqty": {
  12794. "description": "开仓数量(先建后平操作 需要记录)",
  12795. "type": "integer"
  12796. },
  12797. "optiontype": {
  12798. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12799. "type": "integer"
  12800. },
  12801. "orderid": {
  12802. "description": "委托单号",
  12803. "type": "string"
  12804. },
  12805. "performanceplanid": {
  12806. "description": "履约计划ID[期权]",
  12807. "type": "integer"
  12808. },
  12809. "performancestatus": {
  12810. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  12811. "type": "integer"
  12812. },
  12813. "preexerciseprice": {
  12814. "description": "预申报价格",
  12815. "type": "number"
  12816. },
  12817. "premium": {
  12818. "description": "权利金 - [持仓单的权利金]",
  12819. "type": "number"
  12820. },
  12821. "relatedouttradeid": {
  12822. "description": "关联外部成交单ID",
  12823. "type": "integer"
  12824. },
  12825. "status": {
  12826. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  12827. "type": "integer"
  12828. },
  12829. "tradeamount": {
  12830. "description": "成交金额[账户币种,用于所有权]",
  12831. "type": "number"
  12832. },
  12833. "tradedate": {
  12834. "description": "交易日(yyyyMMdd)",
  12835. "type": "string"
  12836. },
  12837. "tradeid": {
  12838. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12839. "type": "string"
  12840. },
  12841. "trademode": {
  12842. "description": "交易模式",
  12843. "type": "integer"
  12844. },
  12845. "tradeprice": {
  12846. "description": "成交价格",
  12847. "type": "number"
  12848. },
  12849. "tradeproperty": {
  12850. "description": "交易属性",
  12851. "type": "integer"
  12852. },
  12853. "tradeqty": {
  12854. "description": "成交数量",
  12855. "type": "integer"
  12856. },
  12857. "tradetime": {
  12858. "description": "成交时间",
  12859. "type": "string"
  12860. },
  12861. "tradetype": {
  12862. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  12863. "type": "integer"
  12864. }
  12865. }
  12866. },
  12867. "order.QueryTradeOrderDetailRsp": {
  12868. "type": "object",
  12869. "required": [
  12870. "accountid",
  12871. "buildtype",
  12872. "buyorsell",
  12873. "goodsid",
  12874. "marketid",
  12875. "operatetype",
  12876. "orderqty",
  12877. "ordertime",
  12878. "pricemode",
  12879. "tradedate",
  12880. "validtype"
  12881. ],
  12882. "properties": {
  12883. "accountid": {
  12884. "description": "账户ID[报价币种]",
  12885. "type": "integer"
  12886. },
  12887. "buildtype": {
  12888. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12889. "type": "integer"
  12890. },
  12891. "buyorsell": {
  12892. "description": "买卖 - 0:买 1:卖",
  12893. "type": "integer"
  12894. },
  12895. "cancelorderid": {
  12896. "description": "撤单单号(撤单时填写)",
  12897. "type": "string"
  12898. },
  12899. "cancelqty": {
  12900. "description": "撤单数量",
  12901. "type": "integer"
  12902. },
  12903. "clienttype": {
  12904. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12905. "type": "integer"
  12906. },
  12907. "closefreezecharge": {
  12908. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12909. "type": "number"
  12910. },
  12911. "closeqty": {
  12912. "description": "平仓数量(先建后平操作 需要记录)",
  12913. "type": "integer"
  12914. },
  12915. "closetradeqty": {
  12916. "description": "平仓成交数量(先建后平操作,需要记录)",
  12917. "type": "integer"
  12918. },
  12919. "closeunfreezecharge": {
  12920. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12921. "type": "number"
  12922. },
  12923. "delistingtype": {
  12924. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12925. "type": "integer"
  12926. },
  12927. "enableqty": {
  12928. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  12929. "type": "integer"
  12930. },
  12931. "freezecharge": {
  12932. "description": "冻结手续费",
  12933. "type": "number"
  12934. },
  12935. "freezemargin": {
  12936. "description": "冻结保证金(冻结交易金额)",
  12937. "type": "number"
  12938. },
  12939. "goodscode": {
  12940. "description": "商品代码",
  12941. "type": "string"
  12942. },
  12943. "goodsid": {
  12944. "description": "商品ID",
  12945. "type": "integer"
  12946. },
  12947. "goodsname": {
  12948. "description": "商品名称",
  12949. "type": "string"
  12950. },
  12951. "listingselecttype": {
  12952. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12953. "type": "integer"
  12954. },
  12955. "marketid": {
  12956. "description": "市场ID",
  12957. "type": "integer"
  12958. },
  12959. "marketname": {
  12960. "description": "市场名称",
  12961. "type": "string"
  12962. },
  12963. "openfreezecharge": {
  12964. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12965. "type": "number"
  12966. },
  12967. "openqty": {
  12968. "description": "开仓数量(先建后平操作,需要记录)",
  12969. "type": "integer"
  12970. },
  12971. "opentradeqty": {
  12972. "description": "开仓成交数量(先建后平操作,需要记录)",
  12973. "type": "integer"
  12974. },
  12975. "openunfreezecharge": {
  12976. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12977. "type": "number"
  12978. },
  12979. "operatetype": {
  12980. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12981. "type": "integer"
  12982. },
  12983. "operatorid": {
  12984. "description": "登录账号(LoginID)",
  12985. "type": "integer"
  12986. },
  12987. "orderid": {
  12988. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12989. "type": "string"
  12990. },
  12991. "orderprice": {
  12992. "description": "委托价格",
  12993. "type": "number"
  12994. },
  12995. "orderqty": {
  12996. "description": "委托数量",
  12997. "type": "integer"
  12998. },
  12999. "ordersrc": {
  13000. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13001. "type": "integer"
  13002. },
  13003. "orderstatus": {
  13004. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13005. "type": "integer"
  13006. },
  13007. "ordertime": {
  13008. "description": "委托时间",
  13009. "type": "string"
  13010. },
  13011. "preorderid": {
  13012. "description": "关联预埋单号(止盈止损单时填写)",
  13013. "type": "string"
  13014. },
  13015. "pricemode": {
  13016. "description": "取价方式 - 1:市价 2: 限价",
  13017. "type": "integer"
  13018. },
  13019. "relatedid": {
  13020. "description": "关联单号(交割单)",
  13021. "type": "string"
  13022. },
  13023. "tradedate": {
  13024. "description": "交易日(yyyyMMdd)",
  13025. "type": "string"
  13026. },
  13027. "trademode": {
  13028. "description": "交易模式",
  13029. "type": "integer"
  13030. },
  13031. "tradeqty": {
  13032. "description": "成交数量",
  13033. "type": "integer"
  13034. },
  13035. "unfreezecharge": {
  13036. "description": "解冻手续费",
  13037. "type": "number"
  13038. },
  13039. "unfreezemargin": {
  13040. "description": "解冻保证金",
  13041. "type": "number"
  13042. },
  13043. "validtime": {
  13044. "description": "有效期限",
  13045. "type": "string"
  13046. },
  13047. "validtype": {
  13048. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13049. "type": "integer"
  13050. },
  13051. "volumetype": {
  13052. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13053. "type": "integer"
  13054. }
  13055. }
  13056. },
  13057. "order.QueryTradePositionRsp": {
  13058. "type": "object",
  13059. "required": [
  13060. "goodsid"
  13061. ],
  13062. "properties": {
  13063. "accountid": {
  13064. "description": "资金账户",
  13065. "type": "integer"
  13066. },
  13067. "agreeunit": {
  13068. "description": "合约单位",
  13069. "type": "number"
  13070. },
  13071. "averageprice": {
  13072. "description": "持仓均价",
  13073. "type": "number"
  13074. },
  13075. "buyorsell": {
  13076. "description": "方向 - 0:买 1:卖",
  13077. "type": "integer"
  13078. },
  13079. "closetotalqty": {
  13080. "description": "平仓总数量",
  13081. "type": "integer"
  13082. },
  13083. "curholderamount": {
  13084. "description": "当前持仓总金额[商品币种]",
  13085. "type": "number"
  13086. },
  13087. "curpositionqty": {
  13088. "description": "当前持仓总数量",
  13089. "type": "integer"
  13090. },
  13091. "currencyid": {
  13092. "description": "报价货币ID",
  13093. "type": "integer"
  13094. },
  13095. "curtdposition": {
  13096. "description": "期末今日头寸",
  13097. "type": "integer"
  13098. },
  13099. "decimalplace": {
  13100. "description": "报价小数位",
  13101. "type": "integer"
  13102. },
  13103. "enableqty": {
  13104. "description": "可用量",
  13105. "type": "integer"
  13106. },
  13107. "fretdposition": {
  13108. "description": "冻结今日头寸",
  13109. "type": "integer"
  13110. },
  13111. "frozenqty": {
  13112. "description": "持仓冻结数量",
  13113. "type": "integer"
  13114. },
  13115. "goodscode": {
  13116. "description": "商品代码",
  13117. "type": "string"
  13118. },
  13119. "goodsid": {
  13120. "description": "商品Id",
  13121. "type": "integer"
  13122. },
  13123. "goodsname": {
  13124. "description": "商品名称",
  13125. "type": "string"
  13126. },
  13127. "goodunit": {
  13128. "description": "报价单位",
  13129. "type": "string"
  13130. },
  13131. "goodunitid": {
  13132. "description": "报价单位ID",
  13133. "type": "integer"
  13134. },
  13135. "holderamount": {
  13136. "description": "期初持仓总金额[商品币种]",
  13137. "type": "number"
  13138. },
  13139. "marketid": {
  13140. "description": "所属市场ID",
  13141. "type": "integer"
  13142. },
  13143. "openreqqty": {
  13144. "description": "开仓申请数量(用于比较最大持仓数量)",
  13145. "type": "integer"
  13146. },
  13147. "opentotalqty": {
  13148. "description": "开仓总数量",
  13149. "type": "integer"
  13150. },
  13151. "otherfrozenqty": {
  13152. "description": "持仓其他冻结数量(交割冻结)",
  13153. "type": "integer"
  13154. },
  13155. "positionqty": {
  13156. "description": "期初持仓数量",
  13157. "type": "integer"
  13158. },
  13159. "tnqty": {
  13160. "description": "T+N冻结总量",
  13161. "type": "integer"
  13162. },
  13163. "tnusedqty": {
  13164. "description": "T+N使用量(可以使用T+N的冻结数量)",
  13165. "type": "integer"
  13166. },
  13167. "trademode": {
  13168. "description": "交易模式",
  13169. "type": "integer"
  13170. },
  13171. "usedmargin": {
  13172. "description": "占用保证金[商品币种]",
  13173. "type": "number"
  13174. }
  13175. }
  13176. },
  13177. "quote.HistoryData": {
  13178. "type": "object",
  13179. "properties": {
  13180. "c": {
  13181. "description": "收盘价",
  13182. "type": "number"
  13183. },
  13184. "h": {
  13185. "description": "最高价",
  13186. "type": "number"
  13187. },
  13188. "hv": {
  13189. "description": "持仓量",
  13190. "type": "integer"
  13191. },
  13192. "l": {
  13193. "description": "最低价",
  13194. "type": "number"
  13195. },
  13196. "o": {
  13197. "description": "开盘价",
  13198. "type": "number"
  13199. },
  13200. "s": {
  13201. "description": "结算价,日线周期(包括)以上才有",
  13202. "type": "number"
  13203. },
  13204. "ts": {
  13205. "description": "时间",
  13206. "type": "string"
  13207. },
  13208. "tt": {
  13209. "description": "总金额",
  13210. "type": "number"
  13211. },
  13212. "tv": {
  13213. "description": "总量",
  13214. "type": "integer"
  13215. }
  13216. }
  13217. },
  13218. "quote.QueryTSDataRsp": {
  13219. "type": "object",
  13220. "properties": {
  13221. "decimalPlace": {
  13222. "description": "小数位",
  13223. "type": "integer"
  13224. },
  13225. "endTime": {
  13226. "description": "结束时间",
  13227. "type": "string"
  13228. },
  13229. "goodsCode": {
  13230. "description": "商品代码",
  13231. "type": "string"
  13232. },
  13233. "historyDatas": {
  13234. "description": "历史数据",
  13235. "type": "array",
  13236. "items": {
  13237. "$ref": "#/definitions/quote.HistoryData"
  13238. }
  13239. },
  13240. "preSettle": {
  13241. "description": "昨结",
  13242. "type": "number"
  13243. },
  13244. "startTime": {
  13245. "description": "开始时间",
  13246. "type": "string"
  13247. },
  13248. "tradeDate": {
  13249. "description": "交易日",
  13250. "type": "string"
  13251. }
  13252. }
  13253. },
  13254. "szdz.QueryConvertLogRsp": {
  13255. "type": "object",
  13256. "required": [
  13257. "logid"
  13258. ],
  13259. "properties": {
  13260. "accountid": {
  13261. "description": "资金账户ID",
  13262. "type": "integer"
  13263. },
  13264. "clientticket": {
  13265. "description": "客户端流水号",
  13266. "type": "string"
  13267. },
  13268. "converttype": {
  13269. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  13270. "type": "integer"
  13271. },
  13272. "createtime": {
  13273. "description": "记账时间",
  13274. "type": "string"
  13275. },
  13276. "daymaxvalue": {
  13277. "description": "配置当日最大转入限制",
  13278. "type": "number"
  13279. },
  13280. "daymaxvalue2": {
  13281. "description": "配置当日最大转入限制(转入)",
  13282. "type": "number"
  13283. },
  13284. "goodscode": {
  13285. "description": "商品代码",
  13286. "type": "string"
  13287. },
  13288. "goodsname": {
  13289. "description": "商品名称",
  13290. "type": "string"
  13291. },
  13292. "handlestatus": {
  13293. "description": "处理状态",
  13294. "type": "integer"
  13295. },
  13296. "innergoodsid": {
  13297. "description": "内部商品ID",
  13298. "type": "integer"
  13299. },
  13300. "inratio": {
  13301. "description": "配置转入比值",
  13302. "type": "integer"
  13303. },
  13304. "invalue": {
  13305. "description": "目标值",
  13306. "type": "number"
  13307. },
  13308. "logid": {
  13309. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13310. "type": "integer"
  13311. },
  13312. "mobile": {
  13313. "description": "手机号码(加密存储)",
  13314. "type": "string"
  13315. },
  13316. "outergoodscode": {
  13317. "description": "外部商品代码[JD\\PD]",
  13318. "type": "string"
  13319. },
  13320. "outratio": {
  13321. "description": "配置转出比值",
  13322. "type": "integer"
  13323. },
  13324. "outvalue": {
  13325. "description": "源值",
  13326. "type": "number"
  13327. },
  13328. "pddecimalplace": {
  13329. "description": "PD小数位",
  13330. "type": "integer"
  13331. },
  13332. "qty": {
  13333. "description": "数量",
  13334. "type": "string"
  13335. },
  13336. "remark": {
  13337. "description": "备注",
  13338. "type": "string"
  13339. },
  13340. "sessionid": {
  13341. "description": "会话ID",
  13342. "type": "integer"
  13343. },
  13344. "timemaxvalue": {
  13345. "description": "配置单次最大转入限制",
  13346. "type": "number"
  13347. },
  13348. "timemaxvalue2": {
  13349. "description": "配置单次最大转入限制(转入)",
  13350. "type": "number"
  13351. },
  13352. "timeminvalue": {
  13353. "description": "配置单次最小数量限制",
  13354. "type": "number"
  13355. },
  13356. "timeminvalue2": {
  13357. "description": "配置单次最小数量限制(转入)",
  13358. "type": "number"
  13359. },
  13360. "tradedate": {
  13361. "description": "交易日(yyyyMMdd)",
  13362. "type": "string"
  13363. },
  13364. "userid": {
  13365. "description": "用户ID",
  13366. "type": "integer"
  13367. }
  13368. }
  13369. },
  13370. "szdz.QueryGoodsPickupRsp": {
  13371. "type": "object",
  13372. "required": [
  13373. "takeorderid"
  13374. ],
  13375. "properties": {
  13376. "accountid": {
  13377. "description": "账户ID",
  13378. "type": "integer"
  13379. },
  13380. "address": {
  13381. "description": "提货人详细地址",
  13382. "type": "string"
  13383. },
  13384. "auditer": {
  13385. "description": "审核人",
  13386. "type": "integer"
  13387. },
  13388. "audittime": {
  13389. "description": "审核时间",
  13390. "type": "string"
  13391. },
  13392. "cardnum": {
  13393. "description": "提货人证件号码",
  13394. "type": "string"
  13395. },
  13396. "cardtypeid": {
  13397. "description": "提货人证件类型",
  13398. "type": "integer"
  13399. },
  13400. "checkremark": {
  13401. "description": "审核备注",
  13402. "type": "string"
  13403. },
  13404. "goodscode": {
  13405. "description": "商品代码",
  13406. "type": "string"
  13407. },
  13408. "goodsid": {
  13409. "description": "商品ID",
  13410. "type": "integer"
  13411. },
  13412. "goodsname": {
  13413. "description": "商品名称",
  13414. "type": "string"
  13415. },
  13416. "handlestatus": {
  13417. "description": "处理状态",
  13418. "type": "integer"
  13419. },
  13420. "marketid": {
  13421. "description": "市场ID",
  13422. "type": "integer"
  13423. },
  13424. "phonenum": {
  13425. "description": "提货人联系方式",
  13426. "type": "string"
  13427. },
  13428. "qty": {
  13429. "description": "提货数量",
  13430. "type": "number"
  13431. },
  13432. "recivername": {
  13433. "description": "提货人姓名",
  13434. "type": "string"
  13435. },
  13436. "reqtime": {
  13437. "description": "更新时间",
  13438. "type": "string"
  13439. },
  13440. "takemode": {
  13441. "description": "提货方式 - 2:自提 3:配送",
  13442. "type": "integer"
  13443. },
  13444. "takeorderid": {
  13445. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13446. "type": "string"
  13447. },
  13448. "takeorderstatus": {
  13449. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13450. "type": "integer"
  13451. },
  13452. "takeremark": {
  13453. "description": "提货备注",
  13454. "type": "string"
  13455. },
  13456. "tradedate": {
  13457. "description": "交易日(yyyyMMdd)",
  13458. "type": "string"
  13459. },
  13460. "userid": {
  13461. "description": "用户ID",
  13462. "type": "integer"
  13463. }
  13464. }
  13465. },
  13466. "szdz.QueryRecieptOrderRsp": {
  13467. "type": "object",
  13468. "required": [
  13469. "ordertime"
  13470. ],
  13471. "properties": {
  13472. "accountName": {
  13473. "description": "所属账号名称(已脱敏)",
  13474. "type": "string"
  13475. },
  13476. "accountid": {
  13477. "description": "资金账号",
  13478. "type": "integer"
  13479. },
  13480. "buyorsell": {
  13481. "description": "方向 - 0:买 1:卖",
  13482. "type": "integer"
  13483. },
  13484. "enableqty": {
  13485. "description": "可摘数量",
  13486. "type": "integer"
  13487. },
  13488. "goodscode": {
  13489. "description": "商品代码",
  13490. "type": "string"
  13491. },
  13492. "goodsid": {
  13493. "description": "商品ID",
  13494. "type": "integer"
  13495. },
  13496. "goodsname": {
  13497. "description": "商品名称",
  13498. "type": "string"
  13499. },
  13500. "orderid": {
  13501. "description": "委托单号",
  13502. "type": "string"
  13503. },
  13504. "orderprice": {
  13505. "description": "委托价格",
  13506. "type": "number"
  13507. },
  13508. "ordertime": {
  13509. "description": "委托时间",
  13510. "type": "string"
  13511. },
  13512. "tradedate": {
  13513. "description": "交易日(yyyyMMdd)",
  13514. "type": "string"
  13515. }
  13516. }
  13517. },
  13518. "szdz.QuerySZDZTradePositionRsp": {
  13519. "type": "object",
  13520. "properties": {
  13521. "accountid": {
  13522. "description": "账号Id",
  13523. "type": "integer"
  13524. },
  13525. "agreeunit": {
  13526. "description": "合约单位",
  13527. "type": "number"
  13528. },
  13529. "averageprice": {
  13530. "description": "持仓均价",
  13531. "type": "number"
  13532. },
  13533. "buyorsell": {
  13534. "description": "方向 - 0:买 1:卖",
  13535. "type": "integer"
  13536. },
  13537. "closetotalqty": {
  13538. "description": "平仓总数量",
  13539. "type": "integer"
  13540. },
  13541. "curholderamount": {
  13542. "description": "当前持仓总金额",
  13543. "type": "number"
  13544. },
  13545. "curpositionqty": {
  13546. "description": "当前持仓总数量",
  13547. "type": "integer"
  13548. },
  13549. "currencyid": {
  13550. "description": "报价货币ID",
  13551. "type": "integer"
  13552. },
  13553. "curtdposition": {
  13554. "description": "期末今日头寸",
  13555. "type": "integer"
  13556. },
  13557. "decimalplace": {
  13558. "description": "报价小数位",
  13559. "type": "integer"
  13560. },
  13561. "enableqty": {
  13562. "description": "可用量",
  13563. "type": "integer"
  13564. },
  13565. "fretdposition": {
  13566. "description": "冻结今日头寸",
  13567. "type": "integer"
  13568. },
  13569. "frozenqty": {
  13570. "description": "持仓冻结数量",
  13571. "type": "integer"
  13572. },
  13573. "goodscode": {
  13574. "description": "商品代码(内部)",
  13575. "type": "string"
  13576. },
  13577. "goodsid": {
  13578. "description": "商品Id",
  13579. "type": "integer"
  13580. },
  13581. "goodsname": {
  13582. "description": "商品名称",
  13583. "type": "string"
  13584. },
  13585. "goodunit": {
  13586. "description": "报价单位",
  13587. "type": "string"
  13588. },
  13589. "goodunitid": {
  13590. "description": "报价单位ID",
  13591. "type": "integer"
  13592. },
  13593. "holderamount": {
  13594. "description": "期初持仓总金额",
  13595. "type": "number"
  13596. },
  13597. "marketid": {
  13598. "description": "市场ID",
  13599. "type": "integer"
  13600. },
  13601. "openreqqty": {
  13602. "description": "开仓申请数量",
  13603. "type": "integer"
  13604. },
  13605. "opentotalqty": {
  13606. "description": "开仓总数量",
  13607. "type": "integer"
  13608. },
  13609. "otherfrozenqty": {
  13610. "description": "持仓其他冻结数量(交割冻结)",
  13611. "type": "integer"
  13612. },
  13613. "positionqty": {
  13614. "description": "期初持仓数量",
  13615. "type": "integer"
  13616. },
  13617. "szdz3freezqty": {
  13618. "description": "尚志大宗转换冻结总数量",
  13619. "type": "integer"
  13620. },
  13621. "tnqty": {
  13622. "description": "T+N冻结总量",
  13623. "type": "integer"
  13624. },
  13625. "tnusedqty": {
  13626. "description": "T+N使用量",
  13627. "type": "integer"
  13628. },
  13629. "trademode": {
  13630. "description": "交易模式",
  13631. "type": "integer"
  13632. },
  13633. "usedmargin": {
  13634. "description": "占用保证金",
  13635. "type": "number"
  13636. }
  13637. }
  13638. },
  13639. "taaccount.QueryAmountLogRsp": {
  13640. "type": "object",
  13641. "required": [
  13642. "accountid",
  13643. "amount",
  13644. "amountadjusttype",
  13645. "autoid",
  13646. "balance",
  13647. "createtime",
  13648. "currentbalance",
  13649. "operatetype"
  13650. ],
  13651. "properties": {
  13652. "OPERATETYPENAME": {
  13653. "description": "资金操作类型名称",
  13654. "type": "string"
  13655. },
  13656. "accountid": {
  13657. "description": "资金账户ID",
  13658. "type": "integer"
  13659. },
  13660. "agoodscode": {
  13661. "description": "竞拍商品代码",
  13662. "type": "string"
  13663. },
  13664. "agoodsname": {
  13665. "description": "竞拍商品名称",
  13666. "type": "string"
  13667. },
  13668. "amount": {
  13669. "description": "资金金额",
  13670. "type": "number"
  13671. },
  13672. "amountadjusttype": {
  13673. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  13674. "type": "integer"
  13675. },
  13676. "autoid": {
  13677. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  13678. "type": "integer"
  13679. },
  13680. "balance": {
  13681. "description": "期初余额",
  13682. "type": "number"
  13683. },
  13684. "businesscode": {
  13685. "description": "业务编号",
  13686. "type": "integer"
  13687. },
  13688. "createtime": {
  13689. "description": "发生时间",
  13690. "type": "string"
  13691. },
  13692. "currencyid": {
  13693. "description": "币种ID",
  13694. "type": "integer"
  13695. },
  13696. "currentbalance": {
  13697. "description": "期末余额(变动后金额)",
  13698. "type": "number"
  13699. },
  13700. "dgoodscode": {
  13701. "description": "交割商品代码",
  13702. "type": "string"
  13703. },
  13704. "dgoodsname": {
  13705. "description": "交割商品名称",
  13706. "type": "string"
  13707. },
  13708. "goodscode": {
  13709. "description": "商品代码",
  13710. "type": "string"
  13711. },
  13712. "goodsid": {
  13713. "description": "商品ID",
  13714. "type": "integer"
  13715. },
  13716. "goodsname": {
  13717. "description": "商品名称",
  13718. "type": "string"
  13719. },
  13720. "marketid": {
  13721. "description": "市场ID",
  13722. "type": "integer"
  13723. },
  13724. "marketname": {
  13725. "description": "市场名称",
  13726. "type": "string"
  13727. },
  13728. "moneyticket": {
  13729. "description": "资金流水号:银行端流水号",
  13730. "type": "integer"
  13731. },
  13732. "operatetype": {
  13733. "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:营销收款",
  13734. "type": "integer"
  13735. },
  13736. "relationorderid": {
  13737. "description": "关联单号",
  13738. "type": "string"
  13739. },
  13740. "remark": {
  13741. "description": "备注",
  13742. "type": "string"
  13743. },
  13744. "trademode": {
  13745. "description": "交易模式",
  13746. "type": "integer"
  13747. }
  13748. }
  13749. },
  13750. "taaccount.QueryHisAmountLogRsp": {
  13751. "type": "object",
  13752. "required": [
  13753. "accountid",
  13754. "amount",
  13755. "amountadjusttype",
  13756. "autoid",
  13757. "balance",
  13758. "createtime",
  13759. "currentbalance",
  13760. "histradedate",
  13761. "operatetype"
  13762. ],
  13763. "properties": {
  13764. "OPERATETYPENAME": {
  13765. "description": "资金操作类型名称",
  13766. "type": "string"
  13767. },
  13768. "accountid": {
  13769. "description": "资金账户ID",
  13770. "type": "integer"
  13771. },
  13772. "agoodscode": {
  13773. "description": "竞拍商品代码",
  13774. "type": "string"
  13775. },
  13776. "agoodsname": {
  13777. "description": "竞拍商品名称",
  13778. "type": "string"
  13779. },
  13780. "amount": {
  13781. "description": "资金金额",
  13782. "type": "number"
  13783. },
  13784. "amountadjusttype": {
  13785. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  13786. "type": "integer"
  13787. },
  13788. "autoid": {
  13789. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  13790. "type": "integer"
  13791. },
  13792. "balance": {
  13793. "description": "期初余额",
  13794. "type": "number"
  13795. },
  13796. "businesscode": {
  13797. "description": "业务编号",
  13798. "type": "integer"
  13799. },
  13800. "createtime": {
  13801. "description": "发生时间",
  13802. "type": "string"
  13803. },
  13804. "currencyid": {
  13805. "description": "币种ID",
  13806. "type": "integer"
  13807. },
  13808. "currentbalance": {
  13809. "description": "期末余额(变动后金额)",
  13810. "type": "number"
  13811. },
  13812. "dgoodscode": {
  13813. "description": "交割商品代码",
  13814. "type": "string"
  13815. },
  13816. "dgoodsname": {
  13817. "description": "交割商品名称",
  13818. "type": "string"
  13819. },
  13820. "goodscode": {
  13821. "description": "商品代码",
  13822. "type": "string"
  13823. },
  13824. "goodsid": {
  13825. "description": "商品ID",
  13826. "type": "integer"
  13827. },
  13828. "goodsname": {
  13829. "description": "商品名称",
  13830. "type": "string"
  13831. },
  13832. "histradedate": {
  13833. "description": "历史交易日",
  13834. "type": "string"
  13835. },
  13836. "isvaliddata": {
  13837. "description": "是否有效 - 0:无效 1:有效",
  13838. "type": "integer"
  13839. },
  13840. "marketid": {
  13841. "description": "市场ID",
  13842. "type": "integer"
  13843. },
  13844. "marketname": {
  13845. "description": "市场名称",
  13846. "type": "string"
  13847. },
  13848. "moneyticket": {
  13849. "description": "资金流水号:银行端流水号",
  13850. "type": "integer"
  13851. },
  13852. "operatetype": {
  13853. "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:营销收款",
  13854. "type": "integer"
  13855. },
  13856. "relationorderid": {
  13857. "description": "关联单号",
  13858. "type": "string"
  13859. },
  13860. "remark": {
  13861. "description": "备注",
  13862. "type": "string"
  13863. },
  13864. "trademode": {
  13865. "description": "交易模式",
  13866. "type": "integer"
  13867. }
  13868. }
  13869. },
  13870. "trade.QueryRecieptOrderRsp": {
  13871. "type": "object",
  13872. "required": [
  13873. "ordertime"
  13874. ],
  13875. "properties": {
  13876. "accountName": {
  13877. "description": "所属账号名称(已脱敏)",
  13878. "type": "string"
  13879. },
  13880. "accountid": {
  13881. "description": "资金账号",
  13882. "type": "integer"
  13883. },
  13884. "buyorsell": {
  13885. "description": "方向 - 0:买 1:卖",
  13886. "type": "integer"
  13887. },
  13888. "enableqty": {
  13889. "description": "可摘数量",
  13890. "type": "integer"
  13891. },
  13892. "goodscode": {
  13893. "description": "商品代码",
  13894. "type": "string"
  13895. },
  13896. "goodsid": {
  13897. "description": "商品ID",
  13898. "type": "integer"
  13899. },
  13900. "goodsname": {
  13901. "description": "商品名称",
  13902. "type": "string"
  13903. },
  13904. "orderid": {
  13905. "description": "委托单号",
  13906. "type": "string"
  13907. },
  13908. "orderprice": {
  13909. "description": "委托价格",
  13910. "type": "number"
  13911. },
  13912. "ordertime": {
  13913. "description": "委托时间",
  13914. "type": "string"
  13915. },
  13916. "tradedate": {
  13917. "description": "交易日(yyyyMMdd)",
  13918. "type": "string"
  13919. }
  13920. }
  13921. }
  13922. },
  13923. "securityDefinitions": {
  13924. "ApiKeyAuth": {
  13925. "type": "apiKey",
  13926. "name": "Authorization",
  13927. "in": "header"
  13928. }
  13929. }
  13930. }`
  13931. type swaggerInfo struct {
  13932. Version string
  13933. Host string
  13934. BasePath string
  13935. Schemes []string
  13936. Title string
  13937. Description string
  13938. }
  13939. // SwaggerInfo holds exported Swagger Info so clients can modify it
  13940. var SwaggerInfo = swaggerInfo{
  13941. Version: "1.0",
  13942. Host: "",
  13943. BasePath: "/api",
  13944. Schemes: []string{},
  13945. Title: "MTP2.0 查询服务 API",
  13946. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  13947. }
  13948. type s struct{}
  13949. func (s *s) ReadDoc() string {
  13950. sInfo := SwaggerInfo
  13951. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  13952. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  13953. "marshal": func(v interface{}) string {
  13954. a, _ := json.Marshal(v)
  13955. return string(a)
  13956. },
  13957. }).Parse(doc)
  13958. if err != nil {
  13959. return doc
  13960. }
  13961. var tpl bytes.Buffer
  13962. if err := t.Execute(&tpl, sInfo); err != nil {
  13963. return doc
  13964. }
  13965. return tpl.String()
  13966. }
  13967. func init() {
  13968. swag.Register(swag.Name, &s{})
  13969. }