docs.go 437 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166
  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. "responses": {
  731. "200": {
  732. "description": "OK",
  733. "schema": {
  734. "type": "array",
  735. "items": {
  736. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  737. }
  738. }
  739. },
  740. "500": {
  741. "description": "Internal Server Error",
  742. "schema": {
  743. "$ref": "#/definitions/app.Response"
  744. }
  745. }
  746. }
  747. }
  748. },
  749. "/Ermcp/QueryBusinessFp": {
  750. "get": {
  751. "security": [
  752. {
  753. "ApiKeyAuth": []
  754. }
  755. ],
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "企业风险管理(app)"
  761. ],
  762. "summary": "查询业务管理(发票)(对应菜单:业务管理/发票)",
  763. "responses": {
  764. "200": {
  765. "description": "OK",
  766. "schema": {
  767. "type": "array",
  768. "items": {
  769. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  770. }
  771. }
  772. },
  773. "500": {
  774. "description": "Internal Server Error",
  775. "schema": {
  776. "$ref": "#/definitions/app.Response"
  777. }
  778. }
  779. }
  780. }
  781. },
  782. "/Ermcp/QueryBusinessJs": {
  783. "get": {
  784. "security": [
  785. {
  786. "ApiKeyAuth": []
  787. }
  788. ],
  789. "produces": [
  790. "application/json"
  791. ],
  792. "tags": [
  793. "企业风险管理(app)"
  794. ],
  795. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  796. "responses": {
  797. "200": {
  798. "description": "OK",
  799. "schema": {
  800. "type": "array",
  801. "items": {
  802. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  803. }
  804. }
  805. },
  806. "500": {
  807. "description": "Internal Server Error",
  808. "schema": {
  809. "$ref": "#/definitions/app.Response"
  810. }
  811. }
  812. }
  813. }
  814. },
  815. "/Ermcp/QueryBusinessKx": {
  816. "get": {
  817. "security": [
  818. {
  819. "ApiKeyAuth": []
  820. }
  821. ],
  822. "produces": [
  823. "application/json"
  824. ],
  825. "tags": [
  826. "企业风险管理(app)"
  827. ],
  828. "summary": "查询业务管理(款项)(对应菜单:业务管理/款项)",
  829. "responses": {
  830. "200": {
  831. "description": "OK",
  832. "schema": {
  833. "type": "array",
  834. "items": {
  835. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  836. }
  837. }
  838. },
  839. "500": {
  840. "description": "Internal Server Error",
  841. "schema": {
  842. "$ref": "#/definitions/app.Response"
  843. }
  844. }
  845. }
  846. }
  847. },
  848. "/Ermcp/QueryContract": {
  849. "get": {
  850. "security": [
  851. {
  852. "ApiKeyAuth": []
  853. }
  854. ],
  855. "produces": [
  856. "application/json"
  857. ],
  858. "tags": [
  859. "企业风险管理(app)"
  860. ],
  861. "summary": "查询合同(采购和销售)",
  862. "parameters": [
  863. {
  864. "type": "integer",
  865. "description": "合同类型 1-采购, -1-销售",
  866. "name": "contracttype",
  867. "in": "query",
  868. "required": true
  869. },
  870. {
  871. "type": "integer",
  872. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  873. "name": "QueryType",
  874. "in": "query",
  875. "required": true
  876. }
  877. ],
  878. "responses": {
  879. "200": {
  880. "description": "OK",
  881. "schema": {
  882. "type": "array",
  883. "items": {
  884. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  885. }
  886. }
  887. },
  888. "500": {
  889. "description": "Internal Server Error",
  890. "schema": {
  891. "$ref": "#/definitions/app.Response"
  892. }
  893. }
  894. }
  895. }
  896. },
  897. "/Ermcp/QueryHedgePlan": {
  898. "get": {
  899. "security": [
  900. {
  901. "ApiKeyAuth": []
  902. }
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "企业风险管理(app)"
  909. ],
  910. "summary": "查询套保计划",
  911. "parameters": [
  912. {
  913. "type": "integer",
  914. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  915. "name": "HedgePlanStatus",
  916. "in": "query",
  917. "required": true
  918. }
  919. ],
  920. "responses": {
  921. "200": {
  922. "description": "OK",
  923. "schema": {
  924. "type": "array",
  925. "items": {
  926. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  927. }
  928. }
  929. },
  930. "500": {
  931. "description": "Internal Server Error",
  932. "schema": {
  933. "$ref": "#/definitions/app.Response"
  934. }
  935. }
  936. }
  937. }
  938. },
  939. "/Ermcp/QuerySpotContract": {
  940. "get": {
  941. "security": [
  942. {
  943. "ApiKeyAuth": []
  944. }
  945. ],
  946. "produces": [
  947. "application/json"
  948. ],
  949. "tags": [
  950. "企业风险管理(app)"
  951. ],
  952. "summary": "查询现货合同(对应现货合同菜单)",
  953. "parameters": [
  954. {
  955. "type": "integer",
  956. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  957. "name": "QueryType",
  958. "in": "query",
  959. "required": true
  960. }
  961. ],
  962. "responses": {
  963. "200": {
  964. "description": "OK",
  965. "schema": {
  966. "type": "array",
  967. "items": {
  968. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  969. }
  970. }
  971. },
  972. "500": {
  973. "description": "Internal Server Error",
  974. "schema": {
  975. "$ref": "#/definitions/app.Response"
  976. }
  977. }
  978. }
  979. }
  980. },
  981. "/Ermcp/QueryUserInfo": {
  982. "get": {
  983. "security": [
  984. {
  985. "ApiKeyAuth": []
  986. }
  987. ],
  988. "produces": [
  989. "application/json"
  990. ],
  991. "tags": [
  992. "企业风险管理(app)"
  993. ],
  994. "summary": "查询客户资料",
  995. "parameters": [
  996. {
  997. "type": "string",
  998. "description": "账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  999. "name": "AccountStatus",
  1000. "in": "query",
  1001. "required": true
  1002. }
  1003. ],
  1004. "responses": {
  1005. "200": {
  1006. "description": "OK",
  1007. "schema": {
  1008. "type": "array",
  1009. "items": {
  1010. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1011. }
  1012. }
  1013. },
  1014. "500": {
  1015. "description": "Internal Server Error",
  1016. "schema": {
  1017. "$ref": "#/definitions/app.Response"
  1018. }
  1019. }
  1020. }
  1021. }
  1022. },
  1023. "/Erms2/QueryArbitrageStrategy": {
  1024. "get": {
  1025. "security": [
  1026. {
  1027. "ApiKeyAuth": []
  1028. }
  1029. ],
  1030. "produces": [
  1031. "application/json"
  1032. ],
  1033. "tags": [
  1034. "风险管理"
  1035. ],
  1036. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1037. "parameters": [
  1038. {
  1039. "type": "integer",
  1040. "description": "账户ID",
  1041. "name": "userid",
  1042. "in": "query",
  1043. "required": true
  1044. },
  1045. {
  1046. "type": "string",
  1047. "description": "商品组ID(品种ID)",
  1048. "name": "goodsgroupid",
  1049. "in": "query"
  1050. }
  1051. ],
  1052. "responses": {
  1053. "200": {
  1054. "description": "OK",
  1055. "schema": {
  1056. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1057. }
  1058. },
  1059. "500": {
  1060. "description": "Internal Server Error",
  1061. "schema": {
  1062. "$ref": "#/definitions/app.Response"
  1063. }
  1064. }
  1065. }
  1066. }
  1067. },
  1068. "/Erms2/QueryInnerTradeDetail": {
  1069. "get": {
  1070. "security": [
  1071. {
  1072. "ApiKeyAuth": []
  1073. }
  1074. ],
  1075. "produces": [
  1076. "application/json"
  1077. ],
  1078. "tags": [
  1079. "风险管理"
  1080. ],
  1081. "summary": "查询内部成交单信息",
  1082. "parameters": [
  1083. {
  1084. "type": "integer",
  1085. "description": "资金账户",
  1086. "name": "accountid",
  1087. "in": "query",
  1088. "required": true
  1089. }
  1090. ],
  1091. "responses": {
  1092. "200": {
  1093. "description": "OK",
  1094. "schema": {
  1095. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1096. }
  1097. },
  1098. "500": {
  1099. "description": "Internal Server Error",
  1100. "schema": {
  1101. "$ref": "#/definitions/app.Response"
  1102. }
  1103. }
  1104. }
  1105. }
  1106. },
  1107. "/Erms2/QuerySpotContract": {
  1108. "get": {
  1109. "security": [
  1110. {
  1111. "ApiKeyAuth": []
  1112. }
  1113. ],
  1114. "produces": [
  1115. "application/json"
  1116. ],
  1117. "tags": [
  1118. "风险管理"
  1119. ],
  1120. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1121. "parameters": [
  1122. {
  1123. "type": "integer",
  1124. "description": "策略申请ID",
  1125. "name": "asapplyid",
  1126. "in": "query",
  1127. "required": true
  1128. },
  1129. {
  1130. "type": "integer",
  1131. "description": "现货合同ID",
  1132. "name": "spotcontractid",
  1133. "in": "query"
  1134. }
  1135. ],
  1136. "responses": {
  1137. "200": {
  1138. "description": "OK",
  1139. "schema": {
  1140. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1141. }
  1142. },
  1143. "500": {
  1144. "description": "Internal Server Error",
  1145. "schema": {
  1146. "$ref": "#/definitions/app.Response"
  1147. }
  1148. }
  1149. }
  1150. }
  1151. },
  1152. "/Erms3/AddErms2ASApply": {
  1153. "post": {
  1154. "security": [
  1155. {
  1156. "ApiKeyAuth": []
  1157. }
  1158. ],
  1159. "produces": [
  1160. "application/json"
  1161. ],
  1162. "tags": [
  1163. "风险管理v3"
  1164. ],
  1165. "summary": "新增期现套利业务申请",
  1166. "parameters": [
  1167. {
  1168. "description": "申请参数",
  1169. "name": "jsonBody",
  1170. "in": "body",
  1171. "required": true,
  1172. "schema": {
  1173. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1174. }
  1175. }
  1176. ],
  1177. "responses": {
  1178. "200": {
  1179. "description": "OK",
  1180. "schema": {
  1181. "$ref": "#/definitions/app.Response"
  1182. }
  1183. },
  1184. "500": {
  1185. "description": "Internal Server Error",
  1186. "schema": {
  1187. "$ref": "#/definitions/app.Response"
  1188. }
  1189. }
  1190. }
  1191. }
  1192. },
  1193. "/Erms3/AddErms2SpotTradeApply": {
  1194. "post": {
  1195. "security": [
  1196. {
  1197. "ApiKeyAuth": []
  1198. }
  1199. ],
  1200. "produces": [
  1201. "application/json"
  1202. ],
  1203. "tags": [
  1204. "风险管理v3"
  1205. ],
  1206. "summary": "新增现货贸易业务申请",
  1207. "parameters": [
  1208. {
  1209. "description": "申请参数",
  1210. "name": "jsonBody",
  1211. "in": "body",
  1212. "required": true,
  1213. "schema": {
  1214. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1215. }
  1216. }
  1217. ],
  1218. "responses": {
  1219. "200": {
  1220. "description": "OK",
  1221. "schema": {
  1222. "$ref": "#/definitions/app.Response"
  1223. }
  1224. },
  1225. "500": {
  1226. "description": "Internal Server Error",
  1227. "schema": {
  1228. "$ref": "#/definitions/app.Response"
  1229. }
  1230. }
  1231. }
  1232. }
  1233. },
  1234. "/Erms3/AddSpotContractApply": {
  1235. "post": {
  1236. "security": [
  1237. {
  1238. "ApiKeyAuth": []
  1239. }
  1240. ],
  1241. "produces": [
  1242. "application/json"
  1243. ],
  1244. "tags": [
  1245. "风险管理v3"
  1246. ],
  1247. "summary": "新增现货合同申请",
  1248. "parameters": [
  1249. {
  1250. "description": "申请参数",
  1251. "name": "jsonBody",
  1252. "in": "body",
  1253. "required": true,
  1254. "schema": {
  1255. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1256. }
  1257. }
  1258. ],
  1259. "responses": {
  1260. "200": {
  1261. "description": "OK",
  1262. "schema": {
  1263. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1264. }
  1265. },
  1266. "500": {
  1267. "description": "Internal Server Error",
  1268. "schema": {
  1269. "$ref": "#/definitions/app.Response"
  1270. }
  1271. }
  1272. }
  1273. }
  1274. },
  1275. "/Erms3/AddUserInfoApply": {
  1276. "post": {
  1277. "security": [
  1278. {
  1279. "ApiKeyAuth": []
  1280. }
  1281. ],
  1282. "produces": [
  1283. "application/json"
  1284. ],
  1285. "tags": [
  1286. "风险管理v3"
  1287. ],
  1288. "summary": "新增客户申请",
  1289. "parameters": [
  1290. {
  1291. "description": "申请参数",
  1292. "name": "jsonBody",
  1293. "in": "body",
  1294. "required": true,
  1295. "schema": {
  1296. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1297. }
  1298. }
  1299. ],
  1300. "responses": {
  1301. "200": {
  1302. "description": "OK",
  1303. "schema": {
  1304. "$ref": "#/definitions/app.Response"
  1305. }
  1306. },
  1307. "500": {
  1308. "description": "Internal Server Error",
  1309. "schema": {
  1310. "$ref": "#/definitions/app.Response"
  1311. }
  1312. }
  1313. }
  1314. }
  1315. },
  1316. "/Erms3/QueryBusinessInfo": {
  1317. "get": {
  1318. "security": [
  1319. {
  1320. "ApiKeyAuth": []
  1321. }
  1322. ],
  1323. "produces": [
  1324. "application/json"
  1325. ],
  1326. "tags": [
  1327. "风险管理v3"
  1328. ],
  1329. "summary": "查询业务表单数据",
  1330. "parameters": [
  1331. {
  1332. "type": "string",
  1333. "description": "资金账号ID列表,用逗号分隔",
  1334. "name": "accountids",
  1335. "in": "query",
  1336. "required": true
  1337. },
  1338. {
  1339. "type": "integer",
  1340. "description": "状态,0为未结束 1为已结束",
  1341. "name": "status",
  1342. "in": "query",
  1343. "required": true
  1344. }
  1345. ],
  1346. "responses": {
  1347. "200": {
  1348. "description": "OK",
  1349. "schema": {
  1350. "type": "array",
  1351. "items": {
  1352. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1353. }
  1354. }
  1355. },
  1356. "500": {
  1357. "description": "Internal Server Error",
  1358. "schema": {
  1359. "$ref": "#/definitions/app.Response"
  1360. }
  1361. }
  1362. }
  1363. }
  1364. },
  1365. "/Erms3/QueryPendingAuditContract": {
  1366. "get": {
  1367. "security": [
  1368. {
  1369. "ApiKeyAuth": []
  1370. }
  1371. ],
  1372. "produces": [
  1373. "application/json"
  1374. ],
  1375. "tags": [
  1376. "风险管理v3"
  1377. ],
  1378. "summary": "查询待审核合同",
  1379. "parameters": [
  1380. {
  1381. "type": "string",
  1382. "description": "资金账号ID列表,逗号隔开",
  1383. "name": "accountids",
  1384. "in": "query",
  1385. "required": true
  1386. },
  1387. {
  1388. "type": "integer",
  1389. "description": "合同类型 1-采购 -1-销售",
  1390. "name": "contracttype",
  1391. "in": "query",
  1392. "required": true
  1393. },
  1394. {
  1395. "type": "integer",
  1396. "description": "合同模式 1-普通 2-回购",
  1397. "name": "contractmode",
  1398. "in": "query",
  1399. "required": true
  1400. }
  1401. ],
  1402. "responses": {
  1403. "200": {
  1404. "description": "OK",
  1405. "schema": {
  1406. "type": "array",
  1407. "items": {
  1408. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1409. }
  1410. }
  1411. },
  1412. "500": {
  1413. "description": "Internal Server Error",
  1414. "schema": {
  1415. "$ref": "#/definitions/app.Response"
  1416. }
  1417. }
  1418. }
  1419. }
  1420. },
  1421. "/Erms3/QueryPendingBusiness": {
  1422. "get": {
  1423. "security": [
  1424. {
  1425. "ApiKeyAuth": []
  1426. }
  1427. ],
  1428. "produces": [
  1429. "application/json"
  1430. ],
  1431. "tags": [
  1432. "风险管理v3"
  1433. ],
  1434. "summary": "查询待审核基差贸易业务",
  1435. "parameters": [
  1436. {
  1437. "type": "string",
  1438. "description": "资金账号ID列表,逗号隔开",
  1439. "name": "accountids",
  1440. "in": "query",
  1441. "required": true
  1442. }
  1443. ],
  1444. "responses": {
  1445. "200": {
  1446. "description": "OK",
  1447. "schema": {
  1448. "type": "array",
  1449. "items": {
  1450. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1451. }
  1452. }
  1453. },
  1454. "500": {
  1455. "description": "Internal Server Error",
  1456. "schema": {
  1457. "$ref": "#/definitions/app.Response"
  1458. }
  1459. }
  1460. }
  1461. }
  1462. },
  1463. "/Erms3/QuerySpotContractAppleForm": {
  1464. "get": {
  1465. "security": [
  1466. {
  1467. "ApiKeyAuth": []
  1468. }
  1469. ],
  1470. "produces": [
  1471. "application/json"
  1472. ],
  1473. "tags": [
  1474. "风险管理v3"
  1475. ],
  1476. "summary": "查询合同申请表单数据",
  1477. "parameters": [
  1478. {
  1479. "type": "integer",
  1480. "description": "登录账号",
  1481. "name": "loginID",
  1482. "in": "query",
  1483. "required": true
  1484. }
  1485. ],
  1486. "responses": {
  1487. "200": {
  1488. "description": "OK",
  1489. "schema": {
  1490. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1491. }
  1492. },
  1493. "500": {
  1494. "description": "Internal Server Error",
  1495. "schema": {
  1496. "$ref": "#/definitions/app.Response"
  1497. }
  1498. }
  1499. }
  1500. }
  1501. },
  1502. "/Erms3/QuerySpotContractDetail": {
  1503. "get": {
  1504. "security": [
  1505. {
  1506. "ApiKeyAuth": []
  1507. }
  1508. ],
  1509. "produces": [
  1510. "application/json"
  1511. ],
  1512. "tags": [
  1513. "风险管理v3"
  1514. ],
  1515. "summary": "查询合同详细信息",
  1516. "parameters": [
  1517. {
  1518. "type": "string",
  1519. "description": "资金账号ID列表,用逗号分隔",
  1520. "name": "accountids",
  1521. "in": "query",
  1522. "required": true
  1523. },
  1524. {
  1525. "type": "integer",
  1526. "description": "合同类型,1为采购合同 -1为销售合同",
  1527. "name": "contracttype",
  1528. "in": "query",
  1529. "required": true
  1530. },
  1531. {
  1532. "type": "integer",
  1533. "description": "合同模式,1为普通合同 2为回购销售合同",
  1534. "name": "contractmode",
  1535. "in": "query",
  1536. "required": true
  1537. },
  1538. {
  1539. "type": "integer",
  1540. "description": "状态,0为履约中 1为已完成",
  1541. "name": "status",
  1542. "in": "query",
  1543. "required": true
  1544. }
  1545. ],
  1546. "responses": {
  1547. "200": {
  1548. "description": "OK",
  1549. "schema": {
  1550. "type": "array",
  1551. "items": {
  1552. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1553. }
  1554. }
  1555. },
  1556. "500": {
  1557. "description": "Internal Server Error",
  1558. "schema": {
  1559. "$ref": "#/definitions/app.Response"
  1560. }
  1561. }
  1562. }
  1563. }
  1564. },
  1565. "/Erms3/QueryUserInfoApplies": {
  1566. "get": {
  1567. "security": [
  1568. {
  1569. "ApiKeyAuth": []
  1570. }
  1571. ],
  1572. "produces": [
  1573. "application/json"
  1574. ],
  1575. "tags": [
  1576. "风险管理v3"
  1577. ],
  1578. "summary": "客户申请信息查询",
  1579. "parameters": [
  1580. {
  1581. "type": "integer",
  1582. "description": "页码",
  1583. "name": "page",
  1584. "in": "query"
  1585. },
  1586. {
  1587. "type": "integer",
  1588. "description": "每页条数",
  1589. "name": "pagesize",
  1590. "in": "query"
  1591. },
  1592. {
  1593. "type": "string",
  1594. "description": "客户名称,支持模糊查询",
  1595. "name": "userName",
  1596. "in": "query"
  1597. }
  1598. ],
  1599. "responses": {
  1600. "200": {
  1601. "description": "OK",
  1602. "schema": {
  1603. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1604. }
  1605. },
  1606. "500": {
  1607. "description": "Internal Server Error",
  1608. "schema": {
  1609. "$ref": "#/definitions/app.Response"
  1610. }
  1611. }
  1612. }
  1613. }
  1614. },
  1615. "/Erms3/QueryUserInfos": {
  1616. "get": {
  1617. "security": [
  1618. {
  1619. "ApiKeyAuth": []
  1620. }
  1621. ],
  1622. "produces": [
  1623. "application/json"
  1624. ],
  1625. "tags": [
  1626. "风险管理v3"
  1627. ],
  1628. "summary": "客户信息查询",
  1629. "parameters": [
  1630. {
  1631. "type": "integer",
  1632. "description": "页码",
  1633. "name": "page",
  1634. "in": "query"
  1635. },
  1636. {
  1637. "type": "integer",
  1638. "description": "每页条数",
  1639. "name": "pagesize",
  1640. "in": "query"
  1641. },
  1642. {
  1643. "type": "string",
  1644. "description": "客户名称,支持模糊查询",
  1645. "name": "userName",
  1646. "in": "query"
  1647. }
  1648. ],
  1649. "responses": {
  1650. "200": {
  1651. "description": "OK",
  1652. "schema": {
  1653. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1654. }
  1655. },
  1656. "500": {
  1657. "description": "Internal Server Error",
  1658. "schema": {
  1659. "$ref": "#/definitions/app.Response"
  1660. }
  1661. }
  1662. }
  1663. }
  1664. },
  1665. "/HSBY/GetHsbyMyCount": {
  1666. "get": {
  1667. "security": [
  1668. {
  1669. "ApiKeyAuth": []
  1670. }
  1671. ],
  1672. "description": "说明: 不包括已完成的数量。",
  1673. "produces": [
  1674. "application/json"
  1675. ],
  1676. "tags": [
  1677. "定制【海商报业】"
  1678. ],
  1679. "summary": "获取我的订单与包裹数量",
  1680. "parameters": [
  1681. {
  1682. "type": "string",
  1683. "description": "资金账户列表,格式:1,2,3",
  1684. "name": "accountIDs",
  1685. "in": "query",
  1686. "required": true
  1687. }
  1688. ],
  1689. "responses": {
  1690. "200": {
  1691. "description": "OK",
  1692. "schema": {
  1693. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1694. }
  1695. },
  1696. "500": {
  1697. "description": "Internal Server Error",
  1698. "schema": {
  1699. "$ref": "#/definitions/app.Response"
  1700. }
  1701. }
  1702. }
  1703. }
  1704. },
  1705. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1706. "get": {
  1707. "security": [
  1708. {
  1709. "ApiKeyAuth": []
  1710. }
  1711. ],
  1712. "produces": [
  1713. "application/json"
  1714. ],
  1715. "tags": [
  1716. "定制【海商报业】"
  1717. ],
  1718. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1719. "parameters": [
  1720. {
  1721. "type": "integer",
  1722. "description": "页码",
  1723. "name": "page",
  1724. "in": "query"
  1725. },
  1726. {
  1727. "type": "integer",
  1728. "description": "每页条数",
  1729. "name": "pagesize",
  1730. "in": "query"
  1731. },
  1732. {
  1733. "type": "string",
  1734. "description": "资金账户列表,格式:1,2,3",
  1735. "name": "accountIDs",
  1736. "in": "query",
  1737. "required": true
  1738. }
  1739. ],
  1740. "responses": {
  1741. "200": {
  1742. "description": "OK",
  1743. "schema": {
  1744. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1745. }
  1746. },
  1747. "500": {
  1748. "description": "Internal Server Error",
  1749. "schema": {
  1750. "$ref": "#/definitions/app.Response"
  1751. }
  1752. }
  1753. }
  1754. }
  1755. },
  1756. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1757. "get": {
  1758. "security": [
  1759. {
  1760. "ApiKeyAuth": []
  1761. }
  1762. ],
  1763. "description": "说明:查询结果已按委托价格和委托时间排序",
  1764. "produces": [
  1765. "application/json"
  1766. ],
  1767. "tags": [
  1768. "定制【海商报业】"
  1769. ],
  1770. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1771. "parameters": [
  1772. {
  1773. "type": "integer",
  1774. "description": "商品ID",
  1775. "name": "goodsID",
  1776. "in": "query",
  1777. "required": true
  1778. },
  1779. {
  1780. "type": "string",
  1781. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1782. "name": "accountIDs",
  1783. "in": "query"
  1784. },
  1785. {
  1786. "type": "integer",
  1787. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1788. "name": "buyOrSell",
  1789. "in": "query"
  1790. },
  1791. {
  1792. "type": "number",
  1793. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1794. "name": "price",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "档位,不传则默认为3档",
  1800. "name": "speed",
  1801. "in": "query"
  1802. }
  1803. ],
  1804. "responses": {
  1805. "200": {
  1806. "description": "OK",
  1807. "schema": {
  1808. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1809. }
  1810. },
  1811. "500": {
  1812. "description": "Internal Server Error",
  1813. "schema": {
  1814. "$ref": "#/definitions/app.Response"
  1815. }
  1816. }
  1817. }
  1818. }
  1819. },
  1820. "/HSBY/QueryHsbyListingGoodsDetail": {
  1821. "get": {
  1822. "security": [
  1823. {
  1824. "ApiKeyAuth": []
  1825. }
  1826. ],
  1827. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  1828. "produces": [
  1829. "application/json"
  1830. ],
  1831. "tags": [
  1832. "定制【海商报业】"
  1833. ],
  1834. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1835. "parameters": [
  1836. {
  1837. "type": "integer",
  1838. "description": "商品ID",
  1839. "name": "goodsID",
  1840. "in": "query",
  1841. "required": true
  1842. },
  1843. {
  1844. "type": "integer",
  1845. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1846. "name": "AccountID",
  1847. "in": "query"
  1848. }
  1849. ],
  1850. "responses": {
  1851. "200": {
  1852. "description": "OK",
  1853. "schema": {
  1854. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1855. }
  1856. },
  1857. "500": {
  1858. "description": "Internal Server Error",
  1859. "schema": {
  1860. "$ref": "#/definitions/app.Response"
  1861. }
  1862. }
  1863. }
  1864. }
  1865. },
  1866. "/HSBY/QueryHsbyMarketGoodsDetail": {
  1867. "get": {
  1868. "security": [
  1869. {
  1870. "ApiKeyAuth": []
  1871. }
  1872. ],
  1873. "produces": [
  1874. "application/json"
  1875. ],
  1876. "tags": [
  1877. "定制【海商报业】"
  1878. ],
  1879. "summary": "查询三级市场(商城)商品信息详情",
  1880. "parameters": [
  1881. {
  1882. "type": "integer",
  1883. "description": "委托单号",
  1884. "name": "orderID",
  1885. "in": "query",
  1886. "required": true
  1887. }
  1888. ],
  1889. "responses": {
  1890. "200": {
  1891. "description": "OK",
  1892. "schema": {
  1893. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  1894. }
  1895. },
  1896. "500": {
  1897. "description": "Internal Server Error",
  1898. "schema": {
  1899. "$ref": "#/definitions/app.Response"
  1900. }
  1901. }
  1902. }
  1903. }
  1904. },
  1905. "/HSBY/QueryHsbyMarketGoodses": {
  1906. "get": {
  1907. "security": [
  1908. {
  1909. "ApiKeyAuth": []
  1910. }
  1911. ],
  1912. "produces": [
  1913. "application/json"
  1914. ],
  1915. "tags": [
  1916. "定制【海商报业】"
  1917. ],
  1918. "summary": "查询特卖商品列表(三级商城)",
  1919. "parameters": [
  1920. {
  1921. "type": "integer",
  1922. "description": "页码",
  1923. "name": "page",
  1924. "in": "query"
  1925. },
  1926. {
  1927. "type": "integer",
  1928. "description": "每页条数",
  1929. "name": "pagesize",
  1930. "in": "query"
  1931. },
  1932. {
  1933. "type": "string",
  1934. "description": "市场ID列表,格式:1,2,3",
  1935. "name": "marketIDs",
  1936. "in": "query",
  1937. "required": true
  1938. },
  1939. {
  1940. "type": "integer",
  1941. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  1942. "name": "accountID",
  1943. "in": "query"
  1944. },
  1945. {
  1946. "type": "integer",
  1947. "description": "类别ID",
  1948. "name": "categoryID",
  1949. "in": "query"
  1950. },
  1951. {
  1952. "type": "string",
  1953. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  1954. "name": "goodsIDs",
  1955. "in": "query"
  1956. },
  1957. {
  1958. "type": "integer",
  1959. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  1960. "name": "couponTypeID",
  1961. "in": "query"
  1962. }
  1963. ],
  1964. "responses": {
  1965. "200": {
  1966. "description": "OK",
  1967. "schema": {
  1968. "$ref": "#/definitions/models.HsbyMarketGoods"
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/HSBY/QueryHsbyMarkets": {
  1981. "get": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "定制【海商报业】"
  1992. ],
  1993. "summary": "查询海商报业相关市场信息",
  1994. "responses": {
  1995. "200": {
  1996. "description": "OK",
  1997. "schema": {
  1998. "$ref": "#/definitions/models.HsbyMarketInfo"
  1999. }
  2000. },
  2001. "500": {
  2002. "description": "Internal Server Error",
  2003. "schema": {
  2004. "$ref": "#/definitions/app.Response"
  2005. }
  2006. }
  2007. }
  2008. }
  2009. },
  2010. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2011. "get": {
  2012. "security": [
  2013. {
  2014. "ApiKeyAuth": []
  2015. }
  2016. ],
  2017. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2018. "produces": [
  2019. "application/json"
  2020. ],
  2021. "tags": [
  2022. "定制【海商报业】"
  2023. ],
  2024. "summary": "查询“我的订单”信息",
  2025. "parameters": [
  2026. {
  2027. "type": "string",
  2028. "description": "资金账户列表,格式:1,2,3",
  2029. "name": "accountIDs",
  2030. "in": "query",
  2031. "required": true
  2032. },
  2033. {
  2034. "type": "integer",
  2035. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2036. "name": "myBuyStatus",
  2037. "in": "query"
  2038. }
  2039. ],
  2040. "responses": {
  2041. "200": {
  2042. "description": "OK",
  2043. "schema": {
  2044. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2045. }
  2046. },
  2047. "500": {
  2048. "description": "Internal Server Error",
  2049. "schema": {
  2050. "$ref": "#/definitions/app.Response"
  2051. }
  2052. }
  2053. }
  2054. }
  2055. },
  2056. "/HSBY/QueryHsbyMyGoods": {
  2057. "get": {
  2058. "security": [
  2059. {
  2060. "ApiKeyAuth": []
  2061. }
  2062. ],
  2063. "produces": [
  2064. "application/json"
  2065. ],
  2066. "tags": [
  2067. "定制【海商报业】"
  2068. ],
  2069. "summary": "查询“我的商品”信息",
  2070. "parameters": [
  2071. {
  2072. "type": "string",
  2073. "description": "资金账户列表,格式:1,2,3",
  2074. "name": "accountIDs",
  2075. "in": "query",
  2076. "required": true
  2077. }
  2078. ],
  2079. "responses": {
  2080. "200": {
  2081. "description": "OK",
  2082. "schema": {
  2083. "$ref": "#/definitions/models.HsbyMyGoods"
  2084. }
  2085. },
  2086. "500": {
  2087. "description": "Internal Server Error",
  2088. "schema": {
  2089. "$ref": "#/definitions/app.Response"
  2090. }
  2091. }
  2092. }
  2093. }
  2094. },
  2095. "/HSBY/QueryHsbyMyPackages": {
  2096. "get": {
  2097. "security": [
  2098. {
  2099. "ApiKeyAuth": []
  2100. }
  2101. ],
  2102. "produces": [
  2103. "application/json"
  2104. ],
  2105. "tags": [
  2106. "定制【海商报业】"
  2107. ],
  2108. "summary": "查询我的包裹信息",
  2109. "parameters": [
  2110. {
  2111. "type": "string",
  2112. "description": "资金账户列表,格式:1,2,3",
  2113. "name": "accountIDs",
  2114. "in": "query",
  2115. "required": true
  2116. },
  2117. {
  2118. "type": "integer",
  2119. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2120. "name": "takeOrderStatus",
  2121. "in": "query"
  2122. }
  2123. ],
  2124. "responses": {
  2125. "200": {
  2126. "description": "OK",
  2127. "schema": {
  2128. "$ref": "#/definitions/models.HsbyMyPackage"
  2129. }
  2130. },
  2131. "500": {
  2132. "description": "Internal Server Error",
  2133. "schema": {
  2134. "$ref": "#/definitions/app.Response"
  2135. }
  2136. }
  2137. }
  2138. }
  2139. },
  2140. "/HSBY/QueryHsbyPreGoodsDetail": {
  2141. "get": {
  2142. "security": [
  2143. {
  2144. "ApiKeyAuth": []
  2145. }
  2146. ],
  2147. "produces": [
  2148. "application/json"
  2149. ],
  2150. "tags": [
  2151. "定制【海商报业】"
  2152. ],
  2153. "summary": "查询一级市场(预售)商品信息详情",
  2154. "parameters": [
  2155. {
  2156. "type": "integer",
  2157. "description": "商品ID",
  2158. "name": "goodsID",
  2159. "in": "query",
  2160. "required": true
  2161. },
  2162. {
  2163. "type": "integer",
  2164. "description": "资金账户,主要用于获取预售商品购买上限",
  2165. "name": "accountID",
  2166. "in": "query"
  2167. }
  2168. ],
  2169. "responses": {
  2170. "200": {
  2171. "description": "OK",
  2172. "schema": {
  2173. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2174. }
  2175. },
  2176. "500": {
  2177. "description": "Internal Server Error",
  2178. "schema": {
  2179. "$ref": "#/definitions/app.Response"
  2180. }
  2181. }
  2182. }
  2183. }
  2184. },
  2185. "/HSBY/QueryHsbyPreGoodses": {
  2186. "get": {
  2187. "security": [
  2188. {
  2189. "ApiKeyAuth": []
  2190. }
  2191. ],
  2192. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2193. "produces": [
  2194. "application/json"
  2195. ],
  2196. "tags": [
  2197. "定制【海商报业】"
  2198. ],
  2199. "summary": "查询新品上市商品列表(一级市场预售)",
  2200. "parameters": [
  2201. {
  2202. "type": "integer",
  2203. "description": "页码",
  2204. "name": "page",
  2205. "in": "query"
  2206. },
  2207. {
  2208. "type": "integer",
  2209. "description": "每页条数",
  2210. "name": "pagesize",
  2211. "in": "query"
  2212. },
  2213. {
  2214. "type": "string",
  2215. "description": "市场ID列表,格式:1,2,3",
  2216. "name": "marketIDs",
  2217. "in": "query",
  2218. "required": true
  2219. },
  2220. {
  2221. "type": "integer",
  2222. "description": "目的地(省)ID",
  2223. "name": "descProvinceID",
  2224. "in": "query"
  2225. },
  2226. {
  2227. "type": "integer",
  2228. "description": "目的地(市)ID",
  2229. "name": "descCityID",
  2230. "in": "query"
  2231. }
  2232. ],
  2233. "responses": {
  2234. "200": {
  2235. "description": "OK",
  2236. "schema": {
  2237. "$ref": "#/definitions/models.HsbyPreGoods"
  2238. }
  2239. },
  2240. "500": {
  2241. "description": "Internal Server Error",
  2242. "schema": {
  2243. "$ref": "#/definitions/app.Response"
  2244. }
  2245. }
  2246. }
  2247. }
  2248. },
  2249. "/HSBY/QueryHsbySellMyDetails": {
  2250. "get": {
  2251. "security": [
  2252. {
  2253. "ApiKeyAuth": []
  2254. }
  2255. ],
  2256. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2257. "produces": [
  2258. "application/json"
  2259. ],
  2260. "tags": [
  2261. "定制【海商报业】"
  2262. ],
  2263. "summary": "查询\"我的闲置\"单据信息",
  2264. "parameters": [
  2265. {
  2266. "type": "integer",
  2267. "description": "页码",
  2268. "name": "page",
  2269. "in": "query"
  2270. },
  2271. {
  2272. "type": "integer",
  2273. "description": "每页条数",
  2274. "name": "pagesize",
  2275. "in": "query"
  2276. },
  2277. {
  2278. "type": "string",
  2279. "description": "资金账户列表,格式:1,2,3",
  2280. "name": "accountIDs",
  2281. "in": "query",
  2282. "required": true
  2283. },
  2284. {
  2285. "type": "integer",
  2286. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2287. "name": "orderType",
  2288. "in": "query"
  2289. }
  2290. ],
  2291. "responses": {
  2292. "200": {
  2293. "description": "OK",
  2294. "schema": {
  2295. "$ref": "#/definitions/models.HsbySellMyDetail"
  2296. }
  2297. },
  2298. "500": {
  2299. "description": "Internal Server Error",
  2300. "schema": {
  2301. "$ref": "#/definitions/app.Response"
  2302. }
  2303. }
  2304. }
  2305. }
  2306. },
  2307. "/HSBY/QueryHsbyTopGoodses": {
  2308. "get": {
  2309. "security": [
  2310. {
  2311. "ApiKeyAuth": []
  2312. }
  2313. ],
  2314. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2315. "produces": [
  2316. "application/json"
  2317. ],
  2318. "tags": [
  2319. "定制【海商报业】"
  2320. ],
  2321. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2322. "parameters": [
  2323. {
  2324. "type": "integer",
  2325. "description": "页码",
  2326. "name": "page",
  2327. "in": "query"
  2328. },
  2329. {
  2330. "type": "integer",
  2331. "description": "每页条数",
  2332. "name": "pagesize",
  2333. "in": "query"
  2334. },
  2335. {
  2336. "type": "string",
  2337. "description": "市场ID列表,格式:1,2,3",
  2338. "name": "marketIDs",
  2339. "in": "query",
  2340. "required": true
  2341. },
  2342. {
  2343. "type": "integer",
  2344. "description": "目的地(省)ID",
  2345. "name": "descProvinceID",
  2346. "in": "query"
  2347. },
  2348. {
  2349. "type": "integer",
  2350. "description": "目的地(市)ID",
  2351. "name": "descCityID",
  2352. "in": "query"
  2353. }
  2354. ],
  2355. "responses": {
  2356. "200": {
  2357. "description": "OK",
  2358. "schema": {
  2359. "$ref": "#/definitions/models.HsbyTopGoods"
  2360. }
  2361. },
  2362. "500": {
  2363. "description": "Internal Server Error",
  2364. "schema": {
  2365. "$ref": "#/definitions/app.Response"
  2366. }
  2367. }
  2368. }
  2369. }
  2370. },
  2371. "/HSBY/QueryMyCollectionOrders": {
  2372. "get": {
  2373. "security": [
  2374. {
  2375. "ApiKeyAuth": []
  2376. }
  2377. ],
  2378. "produces": [
  2379. "application/json"
  2380. ],
  2381. "tags": [
  2382. "定制【海商报业】"
  2383. ],
  2384. "summary": "我的闲置中收款信息查询",
  2385. "parameters": [
  2386. {
  2387. "type": "integer",
  2388. "description": "页码",
  2389. "name": "page",
  2390. "in": "query"
  2391. },
  2392. {
  2393. "type": "integer",
  2394. "description": "每页条数",
  2395. "name": "pagesize",
  2396. "in": "query"
  2397. },
  2398. {
  2399. "type": "string",
  2400. "description": "资金账户,格式:1,2,3",
  2401. "name": "accountIDs",
  2402. "in": "query",
  2403. "required": true
  2404. }
  2405. ],
  2406. "responses": {
  2407. "200": {
  2408. "description": "OK",
  2409. "schema": {
  2410. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2411. }
  2412. },
  2413. "500": {
  2414. "description": "Internal Server Error",
  2415. "schema": {
  2416. "$ref": "#/definitions/app.Response"
  2417. }
  2418. }
  2419. }
  2420. }
  2421. },
  2422. "/HSBY/QueryMyCouponHolds": {
  2423. "get": {
  2424. "security": [
  2425. {
  2426. "ApiKeyAuth": []
  2427. }
  2428. ],
  2429. "produces": [
  2430. "application/json"
  2431. ],
  2432. "tags": [
  2433. "定制【海商报业】"
  2434. ],
  2435. "summary": "我的优惠卷持仓查询",
  2436. "parameters": [
  2437. {
  2438. "type": "string",
  2439. "description": "资金账户列表,格式:1,2,3",
  2440. "name": "accountIDs",
  2441. "in": "query",
  2442. "required": true
  2443. },
  2444. {
  2445. "type": "string",
  2446. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2447. "name": "holdStatus",
  2448. "in": "query"
  2449. }
  2450. ],
  2451. "responses": {
  2452. "200": {
  2453. "description": "OK",
  2454. "schema": {
  2455. "$ref": "#/definitions/models.MyCouponHold"
  2456. }
  2457. },
  2458. "500": {
  2459. "description": "Internal Server Error",
  2460. "schema": {
  2461. "$ref": "#/definitions/app.Response"
  2462. }
  2463. }
  2464. }
  2465. }
  2466. },
  2467. "/HSBY/QueryMyCoupons": {
  2468. "get": {
  2469. "security": [
  2470. {
  2471. "ApiKeyAuth": []
  2472. }
  2473. ],
  2474. "produces": [
  2475. "application/json"
  2476. ],
  2477. "tags": [
  2478. "定制【海商报业】"
  2479. ],
  2480. "summary": "我的优惠卷查询",
  2481. "parameters": [
  2482. {
  2483. "type": "string",
  2484. "description": "资金账户列表,格式:1,2,3",
  2485. "name": "accountIDs",
  2486. "in": "query",
  2487. "required": true
  2488. },
  2489. {
  2490. "type": "integer",
  2491. "description": "商品ID, 一般与sellUserID配套传入",
  2492. "name": "goodsID",
  2493. "in": "query"
  2494. },
  2495. {
  2496. "type": "integer",
  2497. "description": "卖方UserID",
  2498. "name": "sellUserID",
  2499. "in": "query"
  2500. }
  2501. ],
  2502. "responses": {
  2503. "200": {
  2504. "description": "OK",
  2505. "schema": {
  2506. "$ref": "#/definitions/models.MyCoupon"
  2507. }
  2508. },
  2509. "500": {
  2510. "description": "Internal Server Error",
  2511. "schema": {
  2512. "$ref": "#/definitions/app.Response"
  2513. }
  2514. }
  2515. }
  2516. }
  2517. },
  2518. "/HSBY/QueryMyPayOrders": {
  2519. "get": {
  2520. "security": [
  2521. {
  2522. "ApiKeyAuth": []
  2523. }
  2524. ],
  2525. "produces": [
  2526. "application/json"
  2527. ],
  2528. "tags": [
  2529. "定制【海商报业】"
  2530. ],
  2531. "summary": "获取我的订单中待付款信息",
  2532. "parameters": [
  2533. {
  2534. "type": "integer",
  2535. "description": "页码",
  2536. "name": "page",
  2537. "in": "query"
  2538. },
  2539. {
  2540. "type": "integer",
  2541. "description": "每页条数",
  2542. "name": "pagesize",
  2543. "in": "query"
  2544. },
  2545. {
  2546. "type": "string",
  2547. "description": "资金账户列表,格式:1,2,3",
  2548. "name": "accountIDs",
  2549. "in": "query",
  2550. "required": true
  2551. },
  2552. {
  2553. "type": "integer",
  2554. "description": "买方委托单号",
  2555. "name": "buyOrderID",
  2556. "in": "query"
  2557. },
  2558. {
  2559. "type": "integer",
  2560. "description": "卖方委托单号",
  2561. "name": "sellOrderID",
  2562. "in": "query"
  2563. }
  2564. ],
  2565. "responses": {
  2566. "200": {
  2567. "description": "OK",
  2568. "schema": {
  2569. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2570. }
  2571. },
  2572. "500": {
  2573. "description": "Internal Server Error",
  2574. "schema": {
  2575. "$ref": "#/definitions/app.Response"
  2576. }
  2577. }
  2578. }
  2579. }
  2580. },
  2581. "/HSBY/QueryMyUsedCoupon": {
  2582. "get": {
  2583. "security": [
  2584. {
  2585. "ApiKeyAuth": []
  2586. }
  2587. ],
  2588. "produces": [
  2589. "application/json"
  2590. ],
  2591. "tags": [
  2592. "定制【海商报业】"
  2593. ],
  2594. "summary": "已使用优惠卷查询",
  2595. "parameters": [
  2596. {
  2597. "type": "string",
  2598. "description": "资金账户列表,格式:1,2,3",
  2599. "name": "accountIDs",
  2600. "in": "query",
  2601. "required": true
  2602. }
  2603. ],
  2604. "responses": {
  2605. "200": {
  2606. "description": "OK",
  2607. "schema": {
  2608. "$ref": "#/definitions/models.MyUsedCoupon"
  2609. }
  2610. },
  2611. "500": {
  2612. "description": "Internal Server Error",
  2613. "schema": {
  2614. "$ref": "#/definitions/app.Response"
  2615. }
  2616. }
  2617. }
  2618. }
  2619. },
  2620. "/HSBY/QueryProvincesAndCities": {
  2621. "get": {
  2622. "security": [
  2623. {
  2624. "ApiKeyAuth": []
  2625. }
  2626. ],
  2627. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2628. "produces": [
  2629. "application/json"
  2630. ],
  2631. "tags": [
  2632. "定制【海商报业】"
  2633. ],
  2634. "summary": "查询省市信息(不包括区)",
  2635. "parameters": [
  2636. {
  2637. "type": "integer",
  2638. "description": "省ID",
  2639. "name": "provinceID",
  2640. "in": "query"
  2641. }
  2642. ],
  2643. "responses": {
  2644. "200": {
  2645. "description": "OK",
  2646. "schema": {
  2647. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2648. }
  2649. },
  2650. "500": {
  2651. "description": "Internal Server Error",
  2652. "schema": {
  2653. "$ref": "#/definitions/app.Response"
  2654. }
  2655. }
  2656. }
  2657. }
  2658. },
  2659. "/HSBY/SetHsbyMyPackagesStatus": {
  2660. "post": {
  2661. "security": [
  2662. {
  2663. "ApiKeyAuth": []
  2664. }
  2665. ],
  2666. "produces": [
  2667. "application/json"
  2668. ],
  2669. "tags": [
  2670. "定制【海商报业】"
  2671. ],
  2672. "summary": "设置我的包裹已收货状态",
  2673. "parameters": [
  2674. {
  2675. "type": "string",
  2676. "description": "提货单号",
  2677. "name": "takeOrderID",
  2678. "in": "query",
  2679. "required": true
  2680. },
  2681. {
  2682. "type": "integer",
  2683. "description": "资金账号",
  2684. "name": "accountID",
  2685. "in": "query",
  2686. "required": true
  2687. }
  2688. ],
  2689. "responses": {
  2690. "200": {
  2691. "description": "OK",
  2692. "schema": {
  2693. "$ref": "#/definitions/app.Response"
  2694. }
  2695. },
  2696. "500": {
  2697. "description": "Internal Server Error",
  2698. "schema": {
  2699. "$ref": "#/definitions/app.Response"
  2700. }
  2701. }
  2702. }
  2703. }
  2704. },
  2705. "/Market/QueryMarketRun": {
  2706. "get": {
  2707. "security": [
  2708. {
  2709. "ApiKeyAuth": []
  2710. }
  2711. ],
  2712. "produces": [
  2713. "application/json"
  2714. ],
  2715. "tags": [
  2716. "通用市场"
  2717. ],
  2718. "summary": "查询市场运行信息",
  2719. "parameters": [
  2720. {
  2721. "type": "integer",
  2722. "description": "市场ID,不传返回所有",
  2723. "name": "marketID",
  2724. "in": "query"
  2725. }
  2726. ],
  2727. "responses": {
  2728. "200": {
  2729. "description": "OK",
  2730. "schema": {
  2731. "$ref": "#/definitions/models.Marketrun"
  2732. }
  2733. },
  2734. "500": {
  2735. "description": "Internal Server Error",
  2736. "schema": {
  2737. "$ref": "#/definitions/app.Response"
  2738. }
  2739. }
  2740. }
  2741. }
  2742. },
  2743. "/Order/QueryHisTradeDetail": {
  2744. "get": {
  2745. "security": [
  2746. {
  2747. "ApiKeyAuth": []
  2748. }
  2749. ],
  2750. "produces": [
  2751. "application/json"
  2752. ],
  2753. "tags": [
  2754. "通用单据"
  2755. ],
  2756. "summary": "历史成交单查询(合约市场)",
  2757. "parameters": [
  2758. {
  2759. "type": "string",
  2760. "description": "资金账户 - 格式:1,2,3",
  2761. "name": "accountID",
  2762. "in": "query",
  2763. "required": true
  2764. },
  2765. {
  2766. "type": "integer",
  2767. "description": "成交单号",
  2768. "name": "tradeID",
  2769. "in": "query"
  2770. },
  2771. {
  2772. "type": "integer",
  2773. "description": "委托单号",
  2774. "name": "orderID",
  2775. "in": "query"
  2776. },
  2777. {
  2778. "type": "string",
  2779. "description": "交易模式 - 格式:1,2,3",
  2780. "name": "tradeMode",
  2781. "in": "query"
  2782. },
  2783. {
  2784. "type": "integer",
  2785. "description": "委托单据类型",
  2786. "name": "buildType",
  2787. "in": "query"
  2788. },
  2789. {
  2790. "type": "string",
  2791. "description": "成交类别 - 格式:1,2,3",
  2792. "name": "tradeType",
  2793. "in": "query"
  2794. },
  2795. {
  2796. "type": "string",
  2797. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2798. "name": "startDate",
  2799. "in": "query"
  2800. },
  2801. {
  2802. "type": "string",
  2803. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2804. "name": "endDate",
  2805. "in": "query"
  2806. }
  2807. ],
  2808. "responses": {
  2809. "200": {
  2810. "description": "OK",
  2811. "schema": {
  2812. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2813. }
  2814. },
  2815. "500": {
  2816. "description": "Internal Server Error",
  2817. "schema": {
  2818. "$ref": "#/definitions/app.Response"
  2819. }
  2820. }
  2821. }
  2822. }
  2823. },
  2824. "/Order/QueryHisTradeOrderDetail": {
  2825. "get": {
  2826. "security": [
  2827. {
  2828. "ApiKeyAuth": []
  2829. }
  2830. ],
  2831. "produces": [
  2832. "application/json"
  2833. ],
  2834. "tags": [
  2835. "通用单据"
  2836. ],
  2837. "summary": "历史委托单查询请求(合约市场)",
  2838. "parameters": [
  2839. {
  2840. "type": "string",
  2841. "description": "资金账户 - 格式:1,2,3",
  2842. "name": "accountID",
  2843. "in": "query",
  2844. "required": true
  2845. },
  2846. {
  2847. "type": "string",
  2848. "description": "交易模式 - 格式:1,2,3",
  2849. "name": "tradeMode",
  2850. "in": "query"
  2851. },
  2852. {
  2853. "type": "string",
  2854. "description": "委托状态 - 格式:1,2,3",
  2855. "name": "orderStatus",
  2856. "in": "query"
  2857. },
  2858. {
  2859. "type": "integer",
  2860. "description": "委托单号",
  2861. "name": "orderID",
  2862. "in": "query"
  2863. },
  2864. {
  2865. "type": "string",
  2866. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2867. "name": "startDate",
  2868. "in": "query"
  2869. },
  2870. {
  2871. "type": "string",
  2872. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2873. "name": "endDate",
  2874. "in": "query"
  2875. }
  2876. ],
  2877. "responses": {
  2878. "200": {
  2879. "description": "OK",
  2880. "schema": {
  2881. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2882. }
  2883. },
  2884. "500": {
  2885. "description": "Internal Server Error",
  2886. "schema": {
  2887. "$ref": "#/definitions/app.Response"
  2888. }
  2889. }
  2890. }
  2891. }
  2892. },
  2893. "/Order/QueryTradeDetail": {
  2894. "get": {
  2895. "security": [
  2896. {
  2897. "ApiKeyAuth": []
  2898. }
  2899. ],
  2900. "produces": [
  2901. "application/json"
  2902. ],
  2903. "tags": [
  2904. "通用单据"
  2905. ],
  2906. "summary": "成交单查询(合约市场)",
  2907. "parameters": [
  2908. {
  2909. "type": "string",
  2910. "description": "资金账户 - 格式:1,2,3",
  2911. "name": "accountID",
  2912. "in": "query",
  2913. "required": true
  2914. },
  2915. {
  2916. "type": "integer",
  2917. "description": "成交单号",
  2918. "name": "tradeID",
  2919. "in": "query"
  2920. },
  2921. {
  2922. "type": "integer",
  2923. "description": "委托单号",
  2924. "name": "orderID",
  2925. "in": "query"
  2926. },
  2927. {
  2928. "type": "string",
  2929. "description": "交易模式 - 格式:1,2,3",
  2930. "name": "tradeMode",
  2931. "in": "query"
  2932. },
  2933. {
  2934. "type": "integer",
  2935. "description": "委托单据类型",
  2936. "name": "buildType",
  2937. "in": "query"
  2938. },
  2939. {
  2940. "type": "string",
  2941. "description": "成交类别 - 格式:1,2,3",
  2942. "name": "tradeType",
  2943. "in": "query"
  2944. }
  2945. ],
  2946. "responses": {
  2947. "200": {
  2948. "description": "OK",
  2949. "schema": {
  2950. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2951. }
  2952. },
  2953. "500": {
  2954. "description": "Internal Server Error",
  2955. "schema": {
  2956. "$ref": "#/definitions/app.Response"
  2957. }
  2958. }
  2959. }
  2960. }
  2961. },
  2962. "/Order/QueryTradeOrderDetail": {
  2963. "get": {
  2964. "security": [
  2965. {
  2966. "ApiKeyAuth": []
  2967. }
  2968. ],
  2969. "produces": [
  2970. "application/json"
  2971. ],
  2972. "tags": [
  2973. "通用单据"
  2974. ],
  2975. "summary": "委托单查询请求(合约市场)",
  2976. "parameters": [
  2977. {
  2978. "type": "string",
  2979. "description": "资金账户 - 格式:1,2,3",
  2980. "name": "accountID",
  2981. "in": "query",
  2982. "required": true
  2983. },
  2984. {
  2985. "type": "string",
  2986. "description": "交易模式 - 格式:1,2,3",
  2987. "name": "tradeMode",
  2988. "in": "query"
  2989. },
  2990. {
  2991. "type": "string",
  2992. "description": "委托状态 - 格式:1,2,3",
  2993. "name": "orderStatus",
  2994. "in": "query"
  2995. },
  2996. {
  2997. "type": "integer",
  2998. "description": "委托单号",
  2999. "name": "orderID",
  3000. "in": "query"
  3001. }
  3002. ],
  3003. "responses": {
  3004. "200": {
  3005. "description": "OK",
  3006. "schema": {
  3007. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3008. }
  3009. },
  3010. "500": {
  3011. "description": "Internal Server Error",
  3012. "schema": {
  3013. "$ref": "#/definitions/app.Response"
  3014. }
  3015. }
  3016. }
  3017. }
  3018. },
  3019. "/Order/QueryTradePosition": {
  3020. "get": {
  3021. "security": [
  3022. {
  3023. "ApiKeyAuth": []
  3024. }
  3025. ],
  3026. "produces": [
  3027. "application/json"
  3028. ],
  3029. "tags": [
  3030. "通用单据"
  3031. ],
  3032. "summary": "持仓汇总查询(合约市场)",
  3033. "parameters": [
  3034. {
  3035. "type": "string",
  3036. "description": "资金账户 - 格式:1,2,3",
  3037. "name": "accountID",
  3038. "in": "query",
  3039. "required": true
  3040. },
  3041. {
  3042. "type": "string",
  3043. "description": "交易模式 - 格式:1,2,3",
  3044. "name": "tradeMode",
  3045. "in": "query"
  3046. }
  3047. ],
  3048. "responses": {
  3049. "200": {
  3050. "description": "OK",
  3051. "schema": {
  3052. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3053. }
  3054. },
  3055. "500": {
  3056. "description": "Internal Server Error",
  3057. "schema": {
  3058. "$ref": "#/definitions/app.Response"
  3059. }
  3060. }
  3061. }
  3062. }
  3063. },
  3064. "/Quote/QueryHistoryDatas": {
  3065. "get": {
  3066. "security": [
  3067. {
  3068. "ApiKeyAuth": []
  3069. }
  3070. ],
  3071. "produces": [
  3072. "application/json"
  3073. ],
  3074. "tags": [
  3075. "行情服务"
  3076. ],
  3077. "summary": "查询行情历史数据",
  3078. "parameters": [
  3079. {
  3080. "type": "integer",
  3081. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3082. "name": "cycleType",
  3083. "in": "query",
  3084. "required": true
  3085. },
  3086. {
  3087. "type": "string",
  3088. "description": "商品代码",
  3089. "name": "goodsCode",
  3090. "in": "query",
  3091. "required": true
  3092. },
  3093. {
  3094. "type": "string",
  3095. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3096. "name": "startTime",
  3097. "in": "query"
  3098. },
  3099. {
  3100. "type": "string",
  3101. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3102. "name": "endTime",
  3103. "in": "query"
  3104. },
  3105. {
  3106. "type": "integer",
  3107. "description": "条数",
  3108. "name": "count",
  3109. "in": "query"
  3110. },
  3111. {
  3112. "type": "boolean",
  3113. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3114. "name": "isAsc",
  3115. "in": "query"
  3116. }
  3117. ],
  3118. "responses": {
  3119. "200": {
  3120. "description": "OK",
  3121. "schema": {
  3122. "$ref": "#/definitions/quote.HistoryData"
  3123. }
  3124. },
  3125. "500": {
  3126. "description": "Internal Server Error",
  3127. "schema": {
  3128. "$ref": "#/definitions/app.Response"
  3129. }
  3130. }
  3131. }
  3132. }
  3133. },
  3134. "/Quote/QueryTSData": {
  3135. "get": {
  3136. "produces": [
  3137. "application/json"
  3138. ],
  3139. "tags": [
  3140. "行情服务"
  3141. ],
  3142. "summary": "分时图数据查询",
  3143. "parameters": [
  3144. {
  3145. "type": "string",
  3146. "description": "商品代码",
  3147. "name": "GoodsCode",
  3148. "in": "query",
  3149. "required": true
  3150. }
  3151. ],
  3152. "responses": {
  3153. "200": {
  3154. "description": "OK",
  3155. "schema": {
  3156. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3157. }
  3158. },
  3159. "500": {
  3160. "description": "Internal Server Error",
  3161. "schema": {
  3162. "$ref": "#/definitions/app.Response"
  3163. }
  3164. }
  3165. }
  3166. }
  3167. },
  3168. "/SZDZ/QueryConvertConfig": {
  3169. "get": {
  3170. "security": [
  3171. {
  3172. "ApiKeyAuth": []
  3173. }
  3174. ],
  3175. "produces": [
  3176. "application/json"
  3177. ],
  3178. "tags": [
  3179. "定制【尚志大宗】"
  3180. ],
  3181. "summary": "查询交易系统转换设置",
  3182. "parameters": [
  3183. {
  3184. "type": "integer",
  3185. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3186. "name": "convertType",
  3187. "in": "query"
  3188. },
  3189. {
  3190. "type": "string",
  3191. "description": "外部商品代码[JD\\PD]",
  3192. "name": "outerGoodsCode",
  3193. "in": "query"
  3194. },
  3195. {
  3196. "type": "string",
  3197. "description": "内部商品ID列表[交易],格式:1,2,3",
  3198. "name": "innerGoodsIDs",
  3199. "in": "query"
  3200. }
  3201. ],
  3202. "responses": {
  3203. "200": {
  3204. "description": "OK",
  3205. "schema": {
  3206. "$ref": "#/definitions/models.Szdz3convertconfig"
  3207. }
  3208. },
  3209. "500": {
  3210. "description": "Internal Server Error",
  3211. "schema": {
  3212. "$ref": "#/definitions/app.Response"
  3213. }
  3214. }
  3215. }
  3216. }
  3217. },
  3218. "/SZDZ/QueryConvertLog": {
  3219. "get": {
  3220. "security": [
  3221. {
  3222. "ApiKeyAuth": []
  3223. }
  3224. ],
  3225. "produces": [
  3226. "application/json"
  3227. ],
  3228. "tags": [
  3229. "定制【尚志大宗】"
  3230. ],
  3231. "summary": "交易系统转换流水查询",
  3232. "parameters": [
  3233. {
  3234. "type": "string",
  3235. "description": "资金账户 - 格式:1,2,3",
  3236. "name": "accountID",
  3237. "in": "query",
  3238. "required": true
  3239. },
  3240. {
  3241. "type": "string",
  3242. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3243. "name": "startDate",
  3244. "in": "query"
  3245. },
  3246. {
  3247. "type": "string",
  3248. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3249. "name": "endDate",
  3250. "in": "query"
  3251. }
  3252. ],
  3253. "responses": {
  3254. "200": {
  3255. "description": "OK",
  3256. "schema": {
  3257. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3258. }
  3259. },
  3260. "500": {
  3261. "description": "Internal Server Error",
  3262. "schema": {
  3263. "$ref": "#/definitions/app.Response"
  3264. }
  3265. }
  3266. }
  3267. }
  3268. },
  3269. "/SZDZ/QueryGoodsPickup": {
  3270. "get": {
  3271. "security": [
  3272. {
  3273. "ApiKeyAuth": []
  3274. }
  3275. ],
  3276. "produces": [
  3277. "application/json"
  3278. ],
  3279. "tags": [
  3280. "定制【尚志大宗】"
  3281. ],
  3282. "summary": "商品提货单查询",
  3283. "parameters": [
  3284. {
  3285. "type": "string",
  3286. "description": "资金账户 - 格式:1,2,3",
  3287. "name": "accountID",
  3288. "in": "query",
  3289. "required": true
  3290. },
  3291. {
  3292. "type": "integer",
  3293. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3294. "name": "takeOrderStatus",
  3295. "in": "query"
  3296. }
  3297. ],
  3298. "responses": {
  3299. "200": {
  3300. "description": "OK",
  3301. "schema": {
  3302. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3303. }
  3304. },
  3305. "500": {
  3306. "description": "Internal Server Error",
  3307. "schema": {
  3308. "$ref": "#/definitions/app.Response"
  3309. }
  3310. }
  3311. }
  3312. }
  3313. },
  3314. "/SZDZ/QueryRecieptOrder": {
  3315. "get": {
  3316. "security": [
  3317. {
  3318. "ApiKeyAuth": []
  3319. }
  3320. ],
  3321. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3322. "produces": [
  3323. "application/json"
  3324. ],
  3325. "tags": [
  3326. "定制【尚志大宗】"
  3327. ],
  3328. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3329. "parameters": [
  3330. {
  3331. "type": "integer",
  3332. "description": "页码",
  3333. "name": "page",
  3334. "in": "query"
  3335. },
  3336. {
  3337. "type": "integer",
  3338. "description": "每页条数",
  3339. "name": "pagesize",
  3340. "in": "query"
  3341. },
  3342. {
  3343. "type": "integer",
  3344. "description": "商品ID",
  3345. "name": "goodsID",
  3346. "in": "query",
  3347. "required": true
  3348. },
  3349. {
  3350. "type": "string",
  3351. "description": "所属账户名称",
  3352. "name": "accountName",
  3353. "in": "query"
  3354. },
  3355. {
  3356. "type": "integer",
  3357. "description": "市场ID",
  3358. "name": "marketID",
  3359. "in": "query"
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": "方向 - 0:买 1:卖",
  3364. "name": "buyorsell",
  3365. "in": "query",
  3366. "required": true
  3367. }
  3368. ],
  3369. "responses": {
  3370. "200": {
  3371. "description": "OK",
  3372. "schema": {
  3373. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3374. }
  3375. },
  3376. "500": {
  3377. "description": "Internal Server Error",
  3378. "schema": {
  3379. "$ref": "#/definitions/app.Response"
  3380. }
  3381. }
  3382. }
  3383. }
  3384. },
  3385. "/SZDZ/QuerySZDZTradePosition": {
  3386. "get": {
  3387. "security": [
  3388. {
  3389. "ApiKeyAuth": []
  3390. }
  3391. ],
  3392. "produces": [
  3393. "application/json"
  3394. ],
  3395. "tags": [
  3396. "定制【尚志大宗】"
  3397. ],
  3398. "summary": "持仓汇总查询(尚志大宗)",
  3399. "parameters": [
  3400. {
  3401. "type": "integer",
  3402. "description": "资金账户",
  3403. "name": "accountID",
  3404. "in": "query",
  3405. "required": true
  3406. }
  3407. ],
  3408. "responses": {
  3409. "200": {
  3410. "description": "OK",
  3411. "schema": {
  3412. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3413. }
  3414. },
  3415. "500": {
  3416. "description": "Internal Server Error",
  3417. "schema": {
  3418. "$ref": "#/definitions/app.Response"
  3419. }
  3420. }
  3421. }
  3422. }
  3423. },
  3424. "/SZDZ/SearchWhite": {
  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": "用户ID",
  3442. "name": "userID",
  3443. "in": "query",
  3444. "required": true
  3445. }
  3446. ],
  3447. "responses": {
  3448. "200": {
  3449. "description": "OK",
  3450. "schema": {
  3451. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3452. }
  3453. },
  3454. "500": {
  3455. "description": "Internal Server Error",
  3456. "schema": {
  3457. "$ref": "#/definitions/app.Response"
  3458. }
  3459. }
  3460. }
  3461. }
  3462. },
  3463. "/Search/SearchGoodses": {
  3464. "get": {
  3465. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3466. "produces": [
  3467. "application/json"
  3468. ],
  3469. "tags": [
  3470. "检索服务"
  3471. ],
  3472. "summary": "检索商品信息",
  3473. "parameters": [
  3474. {
  3475. "type": "string",
  3476. "description": "检索内容",
  3477. "name": "content",
  3478. "in": "query",
  3479. "required": true
  3480. },
  3481. {
  3482. "type": "string",
  3483. "description": "交易模式,格式:1,2,3",
  3484. "name": "tradeModes",
  3485. "in": "query"
  3486. }
  3487. ],
  3488. "responses": {
  3489. "200": {
  3490. "description": "OK",
  3491. "schema": {
  3492. "$ref": "#/definitions/models.SearchGoods"
  3493. }
  3494. },
  3495. "500": {
  3496. "description": "Internal Server Error",
  3497. "schema": {
  3498. "$ref": "#/definitions/app.Response"
  3499. }
  3500. }
  3501. }
  3502. }
  3503. },
  3504. "/TaAccount/QueryAmountLog": {
  3505. "get": {
  3506. "security": [
  3507. {
  3508. "ApiKeyAuth": []
  3509. }
  3510. ],
  3511. "produces": [
  3512. "application/json"
  3513. ],
  3514. "tags": [
  3515. "资金账户"
  3516. ],
  3517. "summary": "资金流水查询(当前)",
  3518. "parameters": [
  3519. {
  3520. "type": "integer",
  3521. "description": "页码",
  3522. "name": "page",
  3523. "in": "query"
  3524. },
  3525. {
  3526. "type": "integer",
  3527. "description": "每页条数",
  3528. "name": "pagesize",
  3529. "in": "query"
  3530. },
  3531. {
  3532. "type": "string",
  3533. "description": "资金账户 - 格式:1,2,3",
  3534. "name": "accountID",
  3535. "in": "query",
  3536. "required": true
  3537. },
  3538. {
  3539. "type": "string",
  3540. "description": "资金操作类型 - 格式:1,2,3",
  3541. "name": "OperateType",
  3542. "in": "query"
  3543. }
  3544. ],
  3545. "responses": {
  3546. "200": {
  3547. "description": "OK",
  3548. "schema": {
  3549. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3550. }
  3551. },
  3552. "500": {
  3553. "description": "Internal Server Error",
  3554. "schema": {
  3555. "$ref": "#/definitions/app.Response"
  3556. }
  3557. }
  3558. }
  3559. }
  3560. },
  3561. "/TaAccount/QueryHisAmountLog": {
  3562. "get": {
  3563. "security": [
  3564. {
  3565. "ApiKeyAuth": []
  3566. }
  3567. ],
  3568. "produces": [
  3569. "application/json"
  3570. ],
  3571. "tags": [
  3572. "资金账户"
  3573. ],
  3574. "summary": "资金流水查询(历史)",
  3575. "parameters": [
  3576. {
  3577. "type": "integer",
  3578. "description": "页码",
  3579. "name": "page",
  3580. "in": "query"
  3581. },
  3582. {
  3583. "type": "integer",
  3584. "description": "每页条数",
  3585. "name": "pagesize",
  3586. "in": "query"
  3587. },
  3588. {
  3589. "type": "string",
  3590. "description": "资金账户 - 格式:1,2,3",
  3591. "name": "accountID",
  3592. "in": "query",
  3593. "required": true
  3594. },
  3595. {
  3596. "type": "string",
  3597. "description": "资金操作类型 - 格式:1,2,3",
  3598. "name": "OperateType",
  3599. "in": "query"
  3600. },
  3601. {
  3602. "type": "string",
  3603. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3604. "name": "startDate",
  3605. "in": "query"
  3606. },
  3607. {
  3608. "type": "string",
  3609. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3610. "name": "endDate",
  3611. "in": "query"
  3612. }
  3613. ],
  3614. "responses": {
  3615. "200": {
  3616. "description": "OK",
  3617. "schema": {
  3618. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3619. }
  3620. },
  3621. "500": {
  3622. "description": "Internal Server Error",
  3623. "schema": {
  3624. "$ref": "#/definitions/app.Response"
  3625. }
  3626. }
  3627. }
  3628. }
  3629. },
  3630. "/Trade/QueryRecieptOrder": {
  3631. "get": {
  3632. "security": [
  3633. {
  3634. "ApiKeyAuth": []
  3635. }
  3636. ],
  3637. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3638. "produces": [
  3639. "application/json"
  3640. ],
  3641. "tags": [
  3642. "通用交易"
  3643. ],
  3644. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3645. "parameters": [
  3646. {
  3647. "type": "integer",
  3648. "description": "页码",
  3649. "name": "page",
  3650. "in": "query"
  3651. },
  3652. {
  3653. "type": "integer",
  3654. "description": "每页条数",
  3655. "name": "pagesize",
  3656. "in": "query"
  3657. },
  3658. {
  3659. "type": "integer",
  3660. "description": "商品ID",
  3661. "name": "goodsID",
  3662. "in": "query",
  3663. "required": true
  3664. },
  3665. {
  3666. "type": "string",
  3667. "description": "所属账户名称",
  3668. "name": "accountName",
  3669. "in": "query"
  3670. },
  3671. {
  3672. "type": "integer",
  3673. "description": "市场ID",
  3674. "name": "marketID",
  3675. "in": "query"
  3676. },
  3677. {
  3678. "type": "integer",
  3679. "description": "方向 - 0:买 1:卖",
  3680. "name": "buyorsell",
  3681. "in": "query",
  3682. "required": true
  3683. }
  3684. ],
  3685. "responses": {
  3686. "200": {
  3687. "description": "OK",
  3688. "schema": {
  3689. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3690. }
  3691. },
  3692. "500": {
  3693. "description": "Internal Server Error",
  3694. "schema": {
  3695. "$ref": "#/definitions/app.Response"
  3696. }
  3697. }
  3698. }
  3699. }
  3700. },
  3701. "/User/AddMessageBoard": {
  3702. "post": {
  3703. "security": [
  3704. {
  3705. "ApiKeyAuth": []
  3706. }
  3707. ],
  3708. "produces": [
  3709. "application/json"
  3710. ],
  3711. "tags": [
  3712. "用户信息"
  3713. ],
  3714. "summary": "添加用户留言板信息",
  3715. "parameters": [
  3716. {
  3717. "type": "integer",
  3718. "description": "用户ID",
  3719. "name": "userID",
  3720. "in": "query",
  3721. "required": true
  3722. },
  3723. {
  3724. "type": "string",
  3725. "description": "留言信息",
  3726. "name": "message",
  3727. "in": "query",
  3728. "required": true
  3729. }
  3730. ],
  3731. "responses": {
  3732. "200": {
  3733. "description": "OK",
  3734. "schema": {
  3735. "$ref": "#/definitions/app.Response"
  3736. }
  3737. },
  3738. "500": {
  3739. "description": "Internal Server Error",
  3740. "schema": {
  3741. "$ref": "#/definitions/app.Response"
  3742. }
  3743. }
  3744. }
  3745. }
  3746. },
  3747. "/User/AddUserFavoriteGoods": {
  3748. "post": {
  3749. "security": [
  3750. {
  3751. "ApiKeyAuth": []
  3752. }
  3753. ],
  3754. "produces": [
  3755. "application/json"
  3756. ],
  3757. "tags": [
  3758. "用户信息"
  3759. ],
  3760. "summary": "添加用户商品收藏信息",
  3761. "parameters": [
  3762. {
  3763. "type": "integer",
  3764. "description": "用户ID",
  3765. "name": "userID",
  3766. "in": "query",
  3767. "required": true
  3768. },
  3769. {
  3770. "type": "integer",
  3771. "description": "商品ID",
  3772. "name": "goodsID",
  3773. "in": "query",
  3774. "required": true
  3775. }
  3776. ],
  3777. "responses": {
  3778. "200": {
  3779. "description": "OK",
  3780. "schema": {
  3781. "$ref": "#/definitions/app.Response"
  3782. }
  3783. },
  3784. "500": {
  3785. "description": "Internal Server Error",
  3786. "schema": {
  3787. "$ref": "#/definitions/app.Response"
  3788. }
  3789. }
  3790. }
  3791. }
  3792. },
  3793. "/User/GetLoginID": {
  3794. "get": {
  3795. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3796. "produces": [
  3797. "application/json"
  3798. ],
  3799. "tags": [
  3800. "用户信息"
  3801. ],
  3802. "summary": "获取登录ID",
  3803. "parameters": [
  3804. {
  3805. "type": "string",
  3806. "description": "登录代码",
  3807. "name": "username",
  3808. "in": "query",
  3809. "required": true
  3810. }
  3811. ],
  3812. "responses": {
  3813. "200": {
  3814. "description": "OK",
  3815. "schema": {
  3816. "$ref": "#/definitions/app.Response"
  3817. }
  3818. },
  3819. "500": {
  3820. "description": "Internal Server Error",
  3821. "schema": {
  3822. "$ref": "#/definitions/app.Response"
  3823. }
  3824. }
  3825. }
  3826. }
  3827. },
  3828. "/User/GetUserAccount": {
  3829. "get": {
  3830. "security": [
  3831. {
  3832. "ApiKeyAuth": []
  3833. }
  3834. ],
  3835. "produces": [
  3836. "application/json"
  3837. ],
  3838. "tags": [
  3839. "用户信息"
  3840. ],
  3841. "summary": "获取用户账号信息",
  3842. "parameters": [
  3843. {
  3844. "type": "integer",
  3845. "description": "用户ID",
  3846. "name": "userID",
  3847. "in": "query",
  3848. "required": true
  3849. }
  3850. ],
  3851. "responses": {
  3852. "200": {
  3853. "description": "OK",
  3854. "schema": {
  3855. "$ref": "#/definitions/models.Useraccount"
  3856. }
  3857. },
  3858. "500": {
  3859. "description": "Internal Server Error",
  3860. "schema": {
  3861. "$ref": "#/definitions/app.Response"
  3862. }
  3863. }
  3864. }
  3865. }
  3866. },
  3867. "/User/GetUserAuthStatus": {
  3868. "get": {
  3869. "security": [
  3870. {
  3871. "ApiKeyAuth": []
  3872. }
  3873. ],
  3874. "produces": [
  3875. "application/json"
  3876. ],
  3877. "tags": [
  3878. "用户信息"
  3879. ],
  3880. "summary": "获取用户实名认证状态",
  3881. "parameters": [
  3882. {
  3883. "type": "integer",
  3884. "description": "用户ID",
  3885. "name": "userID",
  3886. "in": "query",
  3887. "required": true
  3888. }
  3889. ],
  3890. "responses": {
  3891. "200": {
  3892. "description": "OK",
  3893. "schema": {
  3894. "$ref": "#/definitions/app.Response"
  3895. }
  3896. },
  3897. "500": {
  3898. "description": "Internal Server Error",
  3899. "schema": {
  3900. "$ref": "#/definitions/app.Response"
  3901. }
  3902. }
  3903. }
  3904. }
  3905. },
  3906. "/User/QueryMessageBoard": {
  3907. "get": {
  3908. "security": [
  3909. {
  3910. "ApiKeyAuth": []
  3911. }
  3912. ],
  3913. "produces": [
  3914. "application/json"
  3915. ],
  3916. "tags": [
  3917. "用户信息"
  3918. ],
  3919. "summary": "获取用户留言板信息",
  3920. "parameters": [
  3921. {
  3922. "type": "integer",
  3923. "description": "用户ID",
  3924. "name": "userID",
  3925. "in": "query",
  3926. "required": true
  3927. }
  3928. ],
  3929. "responses": {
  3930. "200": {
  3931. "description": "OK",
  3932. "schema": {
  3933. "$ref": "#/definitions/models.Messageboard"
  3934. }
  3935. },
  3936. "500": {
  3937. "description": "Internal Server Error",
  3938. "schema": {
  3939. "$ref": "#/definitions/app.Response"
  3940. }
  3941. }
  3942. }
  3943. }
  3944. },
  3945. "/User/QueryUserFavoriteGoodses": {
  3946. "get": {
  3947. "security": [
  3948. {
  3949. "ApiKeyAuth": []
  3950. }
  3951. ],
  3952. "produces": [
  3953. "application/json"
  3954. ],
  3955. "tags": [
  3956. "用户信息"
  3957. ],
  3958. "summary": "获取用户商品收藏信息",
  3959. "parameters": [
  3960. {
  3961. "type": "integer",
  3962. "description": "用户ID",
  3963. "name": "userID",
  3964. "in": "query",
  3965. "required": true
  3966. }
  3967. ],
  3968. "responses": {
  3969. "200": {
  3970. "description": "OK",
  3971. "schema": {
  3972. "$ref": "#/definitions/models.Userfavoritegoods"
  3973. }
  3974. },
  3975. "500": {
  3976. "description": "Internal Server Error",
  3977. "schema": {
  3978. "$ref": "#/definitions/app.Response"
  3979. }
  3980. }
  3981. }
  3982. }
  3983. },
  3984. "/User/QueryUserInfo": {
  3985. "get": {
  3986. "security": [
  3987. {
  3988. "ApiKeyAuth": []
  3989. }
  3990. ],
  3991. "produces": [
  3992. "application/json"
  3993. ],
  3994. "tags": [
  3995. "用户信息"
  3996. ],
  3997. "summary": "获取用户信息",
  3998. "parameters": [
  3999. {
  4000. "type": "integer",
  4001. "description": "用户ID",
  4002. "name": "userID",
  4003. "in": "query",
  4004. "required": true
  4005. }
  4006. ],
  4007. "responses": {
  4008. "200": {
  4009. "description": "OK",
  4010. "schema": {
  4011. "$ref": "#/definitions/models.Userinfo"
  4012. }
  4013. },
  4014. "500": {
  4015. "description": "Internal Server Error",
  4016. "schema": {
  4017. "$ref": "#/definitions/app.Response"
  4018. }
  4019. }
  4020. }
  4021. }
  4022. },
  4023. "/User/QueryUserReferNum": {
  4024. "get": {
  4025. "produces": [
  4026. "application/json"
  4027. ],
  4028. "tags": [
  4029. "用户信息"
  4030. ],
  4031. "summary": "获取用户邀请码",
  4032. "parameters": [
  4033. {
  4034. "type": "integer",
  4035. "description": "用户ID",
  4036. "name": "userID",
  4037. "in": "query",
  4038. "required": true
  4039. }
  4040. ],
  4041. "responses": {
  4042. "200": {
  4043. "description": "OK",
  4044. "schema": {
  4045. "$ref": "#/definitions/app.Response"
  4046. }
  4047. },
  4048. "500": {
  4049. "description": "Internal Server Error",
  4050. "schema": {
  4051. "$ref": "#/definitions/app.Response"
  4052. }
  4053. }
  4054. }
  4055. }
  4056. },
  4057. "/User/RemoveUserFavoriteGoods": {
  4058. "post": {
  4059. "security": [
  4060. {
  4061. "ApiKeyAuth": []
  4062. }
  4063. ],
  4064. "produces": [
  4065. "application/json"
  4066. ],
  4067. "tags": [
  4068. "用户信息"
  4069. ],
  4070. "summary": "移除用户商品收藏信息",
  4071. "parameters": [
  4072. {
  4073. "type": "integer",
  4074. "description": "用户ID",
  4075. "name": "userID",
  4076. "in": "query",
  4077. "required": true
  4078. },
  4079. {
  4080. "type": "integer",
  4081. "description": "商品ID",
  4082. "name": "goodsID",
  4083. "in": "query",
  4084. "required": true
  4085. }
  4086. ],
  4087. "responses": {
  4088. "200": {
  4089. "description": "OK",
  4090. "schema": {
  4091. "$ref": "#/definitions/app.Response"
  4092. }
  4093. },
  4094. "500": {
  4095. "description": "Internal Server Error",
  4096. "schema": {
  4097. "$ref": "#/definitions/app.Response"
  4098. }
  4099. }
  4100. }
  4101. }
  4102. },
  4103. "/WR/GetWRCategoryInfo": {
  4104. "get": {
  4105. "produces": [
  4106. "application/json"
  4107. ],
  4108. "tags": [
  4109. "仓单服务"
  4110. ],
  4111. "summary": "获取现货分类信息",
  4112. "responses": {
  4113. "200": {
  4114. "description": "OK",
  4115. "schema": {
  4116. "$ref": "#/definitions/models.WRCategoryTree"
  4117. }
  4118. },
  4119. "500": {
  4120. "description": "Internal Server Error",
  4121. "schema": {
  4122. "$ref": "#/definitions/app.Response"
  4123. }
  4124. }
  4125. }
  4126. }
  4127. },
  4128. "/WRTrade/GetAllDeliveryGoods": {
  4129. "get": {
  4130. "security": [
  4131. {
  4132. "ApiKeyAuth": []
  4133. },
  4134. {
  4135. "ApiKeyAuth": []
  4136. }
  4137. ],
  4138. "produces": [
  4139. "application/json",
  4140. "application/json"
  4141. ],
  4142. "tags": [
  4143. "仓单贸易",
  4144. "仓单贸易"
  4145. ],
  4146. "summary": "获取带仓单分类的种类信息",
  4147. "responses": {
  4148. "200": {
  4149. "description": "OK",
  4150. "schema": {
  4151. "$ref": "#/definitions/app.Response"
  4152. }
  4153. },
  4154. "500": {
  4155. "description": "Internal Server Error",
  4156. "schema": {
  4157. "$ref": "#/definitions/app.Response"
  4158. }
  4159. }
  4160. }
  4161. }
  4162. }
  4163. },
  4164. "definitions": {
  4165. "app.Response": {
  4166. "type": "object",
  4167. "properties": {
  4168. "code": {
  4169. "type": "integer"
  4170. },
  4171. "data": {
  4172. "type": "object"
  4173. },
  4174. "msg": {
  4175. "type": "string"
  4176. },
  4177. "page": {
  4178. "description": "页码",
  4179. "type": "integer"
  4180. },
  4181. "pagesize": {
  4182. "description": "每页条数",
  4183. "type": "integer"
  4184. },
  4185. "total": {
  4186. "description": "总条数",
  4187. "type": "integer"
  4188. }
  4189. }
  4190. },
  4191. "common.QueryNoticeRsp": {
  4192. "type": "object",
  4193. "required": [
  4194. "autoid"
  4195. ],
  4196. "properties": {
  4197. "auditoruserid": {
  4198. "description": "审核人",
  4199. "type": "integer"
  4200. },
  4201. "auditremark": {
  4202. "description": "审核备注",
  4203. "type": "string"
  4204. },
  4205. "audittime": {
  4206. "description": "审核日期",
  4207. "type": "string"
  4208. },
  4209. "autoid": {
  4210. "description": "自增ID",
  4211. "type": "integer"
  4212. },
  4213. "content": {
  4214. "description": "内容",
  4215. "type": "string"
  4216. },
  4217. "createtime": {
  4218. "description": "创建时间",
  4219. "type": "string"
  4220. },
  4221. "creatorid": {
  4222. "description": "建仓人",
  4223. "type": "integer"
  4224. },
  4225. "endtime": {
  4226. "description": "结束时间",
  4227. "type": "string"
  4228. },
  4229. "istop": {
  4230. "description": "是否置顶 - 0:不置顶 1:置顶",
  4231. "type": "integer"
  4232. },
  4233. "msgiconurl": {
  4234. "description": "消息图标Url",
  4235. "type": "string"
  4236. },
  4237. "msgtype": {
  4238. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4239. "type": "integer"
  4240. },
  4241. "publisher": {
  4242. "description": "消息发布者",
  4243. "type": "string"
  4244. },
  4245. "readed": {
  4246. "description": "是否已读",
  4247. "type": "boolean"
  4248. },
  4249. "scheduletime": {
  4250. "description": "计划发送时间",
  4251. "type": "string"
  4252. },
  4253. "sendtype": {
  4254. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4255. "type": "integer"
  4256. },
  4257. "sentstatus": {
  4258. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4259. "type": "integer"
  4260. },
  4261. "title": {
  4262. "description": "标题",
  4263. "type": "string"
  4264. },
  4265. "userid": {
  4266. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4267. "type": "integer"
  4268. }
  4269. }
  4270. },
  4271. "common.QueryProvincesAndCitiesRsp": {
  4272. "type": "object",
  4273. "properties": {
  4274. "cities": {
  4275. "description": "市",
  4276. "type": "array",
  4277. "items": {
  4278. "$ref": "#/definitions/models.Division"
  4279. }
  4280. },
  4281. "province": {
  4282. "description": "省",
  4283. "type": "object",
  4284. "$ref": "#/definitions/models.Division"
  4285. }
  4286. }
  4287. },
  4288. "common.QueryTableDefineRsp": {
  4289. "type": "object",
  4290. "required": [
  4291. "tablekey"
  4292. ],
  4293. "properties": {
  4294. "columns": {
  4295. "description": "列头信息数组",
  4296. "type": "array",
  4297. "items": {
  4298. "$ref": "#/definitions/models.Tablecolumnconfig"
  4299. }
  4300. },
  4301. "remark": {
  4302. "description": "Remark",
  4303. "type": "string"
  4304. },
  4305. "tabelmenu": {
  4306. "description": "列表菜单",
  4307. "type": "string"
  4308. },
  4309. "tablekey": {
  4310. "description": "列表Key",
  4311. "type": "string"
  4312. },
  4313. "tablename": {
  4314. "description": "列表名称",
  4315. "type": "string"
  4316. },
  4317. "tabletype": {
  4318. "description": "列表类型 - 1:管理端 2:终端",
  4319. "type": "integer"
  4320. }
  4321. }
  4322. },
  4323. "common.QueryTraderMenuRsp": {
  4324. "type": "object",
  4325. "properties": {
  4326. "OperationMenu": {
  4327. "description": "功能菜单",
  4328. "type": "array",
  4329. "items": {
  4330. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4331. }
  4332. },
  4333. "QuoteMenu": {
  4334. "description": "报价牌分类菜单",
  4335. "type": "array",
  4336. "items": {
  4337. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4338. }
  4339. }
  4340. }
  4341. },
  4342. "cptrade.Cptradepositioncancel": {
  4343. "type": "object",
  4344. "required": [
  4345. "cancelid"
  4346. ],
  4347. "properties": {
  4348. "accountid": {
  4349. "description": "申请人账户ID",
  4350. "type": "integer"
  4351. },
  4352. "applystatus": {
  4353. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4354. "type": "integer"
  4355. },
  4356. "applytime": {
  4357. "description": "申请时间",
  4358. "type": "string"
  4359. },
  4360. "cancelid": {
  4361. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4362. "type": "integer"
  4363. },
  4364. "cancelqty": {
  4365. "description": "注销数量",
  4366. "type": "integer"
  4367. },
  4368. "createtime": {
  4369. "description": "创建时间",
  4370. "type": "string"
  4371. },
  4372. "creatorid": {
  4373. "description": "创建人ID",
  4374. "type": "integer"
  4375. },
  4376. "creatorname": {
  4377. "description": "创建人",
  4378. "type": "string"
  4379. },
  4380. "goodscode": {
  4381. "description": "订单商品代码",
  4382. "type": "string"
  4383. },
  4384. "goodsid": {
  4385. "description": "商品ID",
  4386. "type": "integer"
  4387. },
  4388. "goodsname": {
  4389. "description": "订单商品名称",
  4390. "type": "string"
  4391. },
  4392. "goodunit": {
  4393. "description": "报价单位",
  4394. "type": "string"
  4395. },
  4396. "handlestatus": {
  4397. "description": "处理状态",
  4398. "type": "integer"
  4399. },
  4400. "marketid": {
  4401. "description": "市场ID",
  4402. "type": "integer"
  4403. },
  4404. "marketname": {
  4405. "description": "市场名称",
  4406. "type": "string"
  4407. },
  4408. "tradedate": {
  4409. "description": "交易日(yyyyMMdd)",
  4410. "type": "string"
  4411. },
  4412. "userid": {
  4413. "description": "申请人ID",
  4414. "type": "integer"
  4415. }
  4416. }
  4417. },
  4418. "cptrade.Cptradepresaleapply": {
  4419. "type": "object",
  4420. "required": [
  4421. "applyid"
  4422. ],
  4423. "properties": {
  4424. "accountid": {
  4425. "description": "申请人账户ID",
  4426. "type": "integer"
  4427. },
  4428. "applyid": {
  4429. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4430. "type": "integer"
  4431. },
  4432. "applyremark": {
  4433. "description": "申请备注",
  4434. "type": "string"
  4435. },
  4436. "applystatus": {
  4437. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4438. "type": "integer"
  4439. },
  4440. "applytime": {
  4441. "description": "申请时间",
  4442. "type": "string"
  4443. },
  4444. "attachmenturl": {
  4445. "description": "附件地址",
  4446. "type": "string"
  4447. },
  4448. "endtime": {
  4449. "description": "预售结束时间",
  4450. "type": "string"
  4451. },
  4452. "goodscode": {
  4453. "description": "商品代码",
  4454. "type": "string"
  4455. },
  4456. "goodsid": {
  4457. "description": "商品ID",
  4458. "type": "integer"
  4459. },
  4460. "goodsname": {
  4461. "description": "商品名称",
  4462. "type": "string"
  4463. },
  4464. "goodunit": {
  4465. "description": "报价单位",
  4466. "type": "string"
  4467. },
  4468. "handlestatus": {
  4469. "description": "处理状态",
  4470. "type": "integer"
  4471. },
  4472. "marketid": {
  4473. "description": "预售市场ID",
  4474. "type": "integer"
  4475. },
  4476. "marketname": {
  4477. "description": "预售市场名称",
  4478. "type": "string"
  4479. },
  4480. "presaleqty": {
  4481. "description": "预售数量",
  4482. "type": "integer"
  4483. },
  4484. "relatedgoodscode": {
  4485. "description": "关联交易合约代码",
  4486. "type": "string"
  4487. },
  4488. "relatedgoodsid": {
  4489. "description": "关联交易合约ID",
  4490. "type": "integer"
  4491. },
  4492. "relatedgoodsname": {
  4493. "description": "关联交易合约名称",
  4494. "type": "string"
  4495. },
  4496. "starttime": {
  4497. "description": "预售开始时间",
  4498. "type": "string"
  4499. },
  4500. "tradedate": {
  4501. "description": "交易日(yyyyMMdd)",
  4502. "type": "string"
  4503. },
  4504. "trademode": {
  4505. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4506. "type": "integer"
  4507. },
  4508. "userid": {
  4509. "description": "申请人ID",
  4510. "type": "integer"
  4511. }
  4512. }
  4513. },
  4514. "cptrade.Cptradeusergoodsdata": {
  4515. "type": "object",
  4516. "required": [
  4517. "accountid",
  4518. "goodsid"
  4519. ],
  4520. "properties": {
  4521. "EnabledQty": {
  4522. "description": "可用量",
  4523. "type": "integer"
  4524. },
  4525. "GoodsCode": {
  4526. "description": "订单商品代码",
  4527. "type": "string"
  4528. },
  4529. "GoodsName": {
  4530. "description": "订单商品名称",
  4531. "type": "string"
  4532. },
  4533. "WRStandardCode": {
  4534. "description": "仓单标准代码",
  4535. "type": "string"
  4536. },
  4537. "WRStandardName": {
  4538. "description": "仓单标准名称",
  4539. "type": "string"
  4540. },
  4541. "accountid": {
  4542. "description": "账户ID",
  4543. "type": "integer"
  4544. },
  4545. "cancelqty": {
  4546. "description": "注销量",
  4547. "type": "integer"
  4548. },
  4549. "curpresaleqty": {
  4550. "description": "当前预售量",
  4551. "type": "integer"
  4552. },
  4553. "deliveryqty": {
  4554. "description": "交割量",
  4555. "type": "integer"
  4556. },
  4557. "freezeamount": {
  4558. "description": "冻结金额",
  4559. "type": "number"
  4560. },
  4561. "goodsid": {
  4562. "description": "商品ID",
  4563. "type": "integer"
  4564. },
  4565. "goodunit": {
  4566. "description": "报价单位",
  4567. "type": "string"
  4568. },
  4569. "hasspotfreeze": {
  4570. "description": "是否有现货冻结 - 0:否 1:有",
  4571. "type": "integer"
  4572. },
  4573. "inqty": {
  4574. "description": "转入量(总数量)",
  4575. "type": "integer"
  4576. },
  4577. "marketid": {
  4578. "description": "市场ID",
  4579. "type": "integer"
  4580. },
  4581. "presaledamount": {
  4582. "description": "已预售总金额",
  4583. "type": "integer"
  4584. },
  4585. "presaledqty": {
  4586. "description": "已预售量",
  4587. "type": "integer"
  4588. },
  4589. "userid": {
  4590. "description": "用户ID",
  4591. "type": "integer"
  4592. },
  4593. "wrstandardid": {
  4594. "description": "仓单标准ID",
  4595. "type": "integer"
  4596. }
  4597. }
  4598. },
  4599. "cptrade.QueryCPTradeMyBidRsp": {
  4600. "type": "object",
  4601. "required": [
  4602. "accountid",
  4603. "goodsid",
  4604. "marketid",
  4605. "orderid",
  4606. "orderqty",
  4607. "ordertime",
  4608. "tradeprice",
  4609. "tradeqty"
  4610. ],
  4611. "properties": {
  4612. "accountid": {
  4613. "description": "账户ID[报价币种]",
  4614. "type": "integer"
  4615. },
  4616. "goodsid": {
  4617. "description": "商品ID",
  4618. "type": "integer"
  4619. },
  4620. "goodunit": {
  4621. "description": "报价单位",
  4622. "type": "string"
  4623. },
  4624. "marketid": {
  4625. "description": "市场ID",
  4626. "type": "integer"
  4627. },
  4628. "orderid": {
  4629. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4630. "type": "integer"
  4631. },
  4632. "orderprice": {
  4633. "description": "委托价格",
  4634. "type": "number"
  4635. },
  4636. "orderqty": {
  4637. "description": "委托数量",
  4638. "type": "integer"
  4639. },
  4640. "ordertime": {
  4641. "description": "委托时间",
  4642. "type": "string"
  4643. },
  4644. "ordertotalprice": {
  4645. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4646. "type": "number"
  4647. },
  4648. "ordertotalweight": {
  4649. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4650. "type": "integer"
  4651. },
  4652. "totaltotalprice": {
  4653. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4654. "type": "number"
  4655. },
  4656. "tradeprice": {
  4657. "description": "成交价格",
  4658. "type": "number"
  4659. },
  4660. "tradeqty": {
  4661. "description": "成交数量",
  4662. "type": "integer"
  4663. }
  4664. }
  4665. },
  4666. "cptrade.QueryCPTradeOrderDetailRsq": {
  4667. "type": "object",
  4668. "required": [
  4669. "accountid",
  4670. "buildtype",
  4671. "buyorsell",
  4672. "goodsid",
  4673. "marketid",
  4674. "memberuserid",
  4675. "operatetype",
  4676. "orderqty",
  4677. "ordertime",
  4678. "pricemode",
  4679. "strorderid",
  4680. "tradedate",
  4681. "validtype"
  4682. ],
  4683. "properties": {
  4684. "accountid": {
  4685. "description": "账户ID[报价币种]",
  4686. "type": "integer"
  4687. },
  4688. "buildtype": {
  4689. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4690. "type": "integer"
  4691. },
  4692. "buyorsell": {
  4693. "description": "买卖 - 0:买 1:卖",
  4694. "type": "integer"
  4695. },
  4696. "cancelorderid": {
  4697. "description": "撤单单号(撤单时填写)",
  4698. "type": "integer"
  4699. },
  4700. "cancelqty": {
  4701. "description": "撤单数量",
  4702. "type": "integer"
  4703. },
  4704. "clientordertime": {
  4705. "description": "客户端委托时间",
  4706. "type": "string"
  4707. },
  4708. "clientticket": {
  4709. "description": "客户端流水号",
  4710. "type": "string"
  4711. },
  4712. "clienttype": {
  4713. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4714. "type": "integer"
  4715. },
  4716. "closeexchagechargevalue": {
  4717. "description": "平仓交易所手续费设置值",
  4718. "type": "number"
  4719. },
  4720. "closefeealgorithm": {
  4721. "description": "平仓手续费收取方式 1:比率 2:固定",
  4722. "type": "integer"
  4723. },
  4724. "closefreezecharge": {
  4725. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4726. "type": "number"
  4727. },
  4728. "closememberchargevalue": {
  4729. "description": "平仓会员手续费设置值",
  4730. "type": "number"
  4731. },
  4732. "closeqty": {
  4733. "description": "平仓数量(先建后平操作 需要记录)",
  4734. "type": "integer"
  4735. },
  4736. "closetradeqty": {
  4737. "description": "平仓成交数量(先建后平操作,需要记录)",
  4738. "type": "integer"
  4739. },
  4740. "closeunfreezecharge": {
  4741. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4742. "type": "number"
  4743. },
  4744. "delistingtype": {
  4745. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4746. "type": "integer"
  4747. },
  4748. "freezecharge": {
  4749. "description": "冻结手续费",
  4750. "type": "number"
  4751. },
  4752. "freezemargin": {
  4753. "description": "冻结保证金(冻结交易金额)",
  4754. "type": "number"
  4755. },
  4756. "gcaccountid": {
  4757. "description": "账户ID[合约币种]",
  4758. "type": "integer"
  4759. },
  4760. "goodsid": {
  4761. "description": "商品ID",
  4762. "type": "integer"
  4763. },
  4764. "isconfirmexercise": {
  4765. "description": "是否确认行权- 0:否 1:是",
  4766. "type": "integer"
  4767. },
  4768. "ispreexercise": {
  4769. "description": "是否预申报- 0:否 1:是",
  4770. "type": "integer"
  4771. },
  4772. "listingselecttype": {
  4773. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4774. "type": "integer"
  4775. },
  4776. "marginalgorithm": {
  4777. "description": "保证金收取方式 1:比率 2:固定",
  4778. "type": "integer"
  4779. },
  4780. "marginvalue": {
  4781. "description": "即市保证金设置值",
  4782. "type": "number"
  4783. },
  4784. "marketid": {
  4785. "description": "市场ID",
  4786. "type": "integer"
  4787. },
  4788. "marketmaxsub": {
  4789. "description": "市价最大偏移范围",
  4790. "type": "number"
  4791. },
  4792. "memberuserid": {
  4793. "description": "所属会员UserID",
  4794. "type": "integer"
  4795. },
  4796. "openexchagechargevalue": {
  4797. "description": "建仓交易所手续费设置值",
  4798. "type": "number"
  4799. },
  4800. "openfeealgorithm": {
  4801. "description": "建仓手续费收取方式 1:比率 2:固定",
  4802. "type": "integer"
  4803. },
  4804. "openfreezecharge": {
  4805. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4806. "type": "number"
  4807. },
  4808. "openmemberchargevalue": {
  4809. "description": "建仓会员手续费设置值",
  4810. "type": "number"
  4811. },
  4812. "openqty": {
  4813. "description": "开仓数量(先建后平操作,需要记录)",
  4814. "type": "integer"
  4815. },
  4816. "opentradeqty": {
  4817. "description": "开仓成交数量(先建后平操作,需要记录)",
  4818. "type": "integer"
  4819. },
  4820. "openunfreezecharge": {
  4821. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4822. "type": "number"
  4823. },
  4824. "operatetype": {
  4825. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4826. "type": "integer"
  4827. },
  4828. "operatorid": {
  4829. "description": "登录账号(LoginID)",
  4830. "type": "integer"
  4831. },
  4832. "optiontype": {
  4833. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4834. "type": "integer"
  4835. },
  4836. "orderprice": {
  4837. "description": "委托价格",
  4838. "type": "number"
  4839. },
  4840. "orderqty": {
  4841. "description": "委托数量",
  4842. "type": "integer"
  4843. },
  4844. "ordersrc": {
  4845. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4846. "type": "integer"
  4847. },
  4848. "orderstatus": {
  4849. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4850. "type": "integer"
  4851. },
  4852. "ordertime": {
  4853. "description": "委托时间",
  4854. "type": "string"
  4855. },
  4856. "preexerciseprice": {
  4857. "description": "预申报价格",
  4858. "type": "number"
  4859. },
  4860. "premium": {
  4861. "description": "权利金",
  4862. "type": "number"
  4863. },
  4864. "preorderid": {
  4865. "description": "关联预埋单号(止盈止损单时填写)",
  4866. "type": "integer"
  4867. },
  4868. "pricemode": {
  4869. "description": "取价方式 - 1:市价 2: 限价",
  4870. "type": "integer"
  4871. },
  4872. "quoteid": {
  4873. "description": "报价单ID",
  4874. "type": "integer"
  4875. },
  4876. "relatedid": {
  4877. "description": "关联单号(交割单)",
  4878. "type": "integer"
  4879. },
  4880. "retcode": {
  4881. "description": "错误代码",
  4882. "type": "integer"
  4883. },
  4884. "sessionid": {
  4885. "description": "会话ID",
  4886. "type": "integer"
  4887. },
  4888. "strorderid": {
  4889. "description": "委托单号",
  4890. "type": "string"
  4891. },
  4892. "tradedate": {
  4893. "description": "交易日(yyyyMMdd)",
  4894. "type": "string"
  4895. },
  4896. "tradeproperty": {
  4897. "description": "交易属性",
  4898. "type": "integer"
  4899. },
  4900. "tradeqty": {
  4901. "description": "成交数量",
  4902. "type": "integer"
  4903. },
  4904. "unfreezecharge": {
  4905. "description": "解冻手续费",
  4906. "type": "number"
  4907. },
  4908. "unfreezemargin": {
  4909. "description": "解冻保证金",
  4910. "type": "number"
  4911. },
  4912. "updatetime": {
  4913. "description": "更新时间",
  4914. "type": "string"
  4915. },
  4916. "uuid": {
  4917. "description": "发起端唯一id",
  4918. "type": "string"
  4919. },
  4920. "validtime": {
  4921. "description": "有效期限",
  4922. "type": "string"
  4923. },
  4924. "validtype": {
  4925. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4926. "type": "integer"
  4927. },
  4928. "volumetype": {
  4929. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4930. "type": "integer"
  4931. }
  4932. }
  4933. },
  4934. "cptrade.QueryMyCPTradeGoodsRsp": {
  4935. "type": "object",
  4936. "required": [
  4937. "goodscode",
  4938. "goodsid",
  4939. "goodsname",
  4940. "marketid",
  4941. "relatedgoodscode",
  4942. "relatedgoodsname"
  4943. ],
  4944. "properties": {
  4945. "accountid": {
  4946. "description": "卖方账户ID",
  4947. "type": "integer"
  4948. },
  4949. "agreeunit": {
  4950. "description": "合约单位",
  4951. "type": "number"
  4952. },
  4953. "applyid": {
  4954. "description": "关联申请ID",
  4955. "type": "integer"
  4956. },
  4957. "attachmenturl": {
  4958. "description": "附件地址",
  4959. "type": "string"
  4960. },
  4961. "createtime": {
  4962. "description": "创建时间",
  4963. "type": "string"
  4964. },
  4965. "currencyid": {
  4966. "description": "报价货币ID",
  4967. "type": "integer"
  4968. },
  4969. "decimalplace": {
  4970. "description": "报价小数位",
  4971. "type": "integer"
  4972. },
  4973. "endtime": {
  4974. "description": "预售结束时间",
  4975. "type": "string"
  4976. },
  4977. "floorprice": {
  4978. "description": "底价[大宗式竞拍]",
  4979. "type": "number"
  4980. },
  4981. "goodscode": {
  4982. "description": "商品代码(预售)",
  4983. "type": "string"
  4984. },
  4985. "goodsdetail": {
  4986. "description": "详情[大宗]",
  4987. "type": "string"
  4988. },
  4989. "goodsid": {
  4990. "description": "商品ID(自增ID SEQ_GOODS)",
  4991. "type": "integer"
  4992. },
  4993. "goodsname": {
  4994. "description": "商品名称(预售)",
  4995. "type": "string"
  4996. },
  4997. "goodunit": {
  4998. "description": "报价单位",
  4999. "type": "string"
  5000. },
  5001. "goodunitid": {
  5002. "description": "报价单位ID",
  5003. "type": "integer"
  5004. },
  5005. "marketid": {
  5006. "description": "所属市场ID",
  5007. "type": "integer"
  5008. },
  5009. "marketname": {
  5010. "description": "预售市场名称",
  5011. "type": "string"
  5012. },
  5013. "presaledamount": {
  5014. "description": "已预售总金额(预售结束时更新)",
  5015. "type": "number"
  5016. },
  5017. "presaledqty": {
  5018. "description": "已预售量(预售结束时更新)",
  5019. "type": "integer"
  5020. },
  5021. "presalemode": {
  5022. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5023. "type": "integer"
  5024. },
  5025. "presaleqty": {
  5026. "description": "预售数量",
  5027. "type": "integer"
  5028. },
  5029. "refprice": {
  5030. "description": "参考价格[一口价]",
  5031. "type": "number"
  5032. },
  5033. "relatedgoodscode": {
  5034. "description": "商品代码(订单)",
  5035. "type": "string"
  5036. },
  5037. "relatedgoodsid": {
  5038. "description": "关联交易合约ID",
  5039. "type": "integer"
  5040. },
  5041. "relatedgoodsname": {
  5042. "description": "商品名称(订单)",
  5043. "type": "string"
  5044. },
  5045. "relatedmarketid": {
  5046. "description": "关联交易合约市场ID",
  5047. "type": "integer"
  5048. },
  5049. "sellstatus": {
  5050. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5051. "type": "integer"
  5052. },
  5053. "startprice": {
  5054. "description": "起拍价[大宗式竞拍]",
  5055. "type": "number"
  5056. },
  5057. "starttime": {
  5058. "description": "预售开始时间",
  5059. "type": "string"
  5060. },
  5061. "tradedate": {
  5062. "description": "交易日(yyyyMMdd)",
  5063. "type": "string"
  5064. },
  5065. "tradeprice": {
  5066. "description": "成交价[大宗]",
  5067. "type": "number"
  5068. },
  5069. "userid": {
  5070. "description": "卖方用户ID",
  5071. "type": "integer"
  5072. }
  5073. }
  5074. },
  5075. "cptrade.QueryPresaleGoodsExRsp": {
  5076. "type": "object",
  5077. "required": [
  5078. "goodsid"
  5079. ],
  5080. "properties": {
  5081. "attachmenturl": {
  5082. "description": "附件地址",
  5083. "type": "string"
  5084. },
  5085. "createtime": {
  5086. "description": "创建时间",
  5087. "type": "string"
  5088. },
  5089. "endtime": {
  5090. "description": "预售结束时间",
  5091. "type": "string"
  5092. },
  5093. "floorprice": {
  5094. "description": "底价[大宗式竞拍]",
  5095. "type": "number"
  5096. },
  5097. "goodsdetail": {
  5098. "description": "详情[大宗]",
  5099. "type": "string"
  5100. },
  5101. "goodsid": {
  5102. "description": "商品ID(预售)",
  5103. "type": "integer"
  5104. },
  5105. "goodunit": {
  5106. "description": "报价单位",
  5107. "type": "string"
  5108. },
  5109. "marketid": {
  5110. "description": "预售市场ID - 根据预售模式选择市场",
  5111. "type": "integer"
  5112. },
  5113. "presaledamount": {
  5114. "description": "已预售总金额(预售结束时更新)",
  5115. "type": "number"
  5116. },
  5117. "presaledqty": {
  5118. "description": "已预售量(预售结束时更新)",
  5119. "type": "integer"
  5120. },
  5121. "presalemode": {
  5122. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5123. "type": "integer"
  5124. },
  5125. "presaleqty": {
  5126. "description": "预售数量",
  5127. "type": "integer"
  5128. },
  5129. "refprice": {
  5130. "description": "参考价格[一口价]",
  5131. "type": "number"
  5132. },
  5133. "relatedgoodsid": {
  5134. "description": "关联交易合约ID",
  5135. "type": "integer"
  5136. },
  5137. "relatedmarketid": {
  5138. "description": "关联交易合约市场ID",
  5139. "type": "integer"
  5140. },
  5141. "sellstatus": {
  5142. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5143. "type": "integer"
  5144. },
  5145. "startprice": {
  5146. "description": "起拍价[大宗式竞拍]",
  5147. "type": "number"
  5148. },
  5149. "starttime": {
  5150. "description": "预售开始时间",
  5151. "type": "string"
  5152. },
  5153. "tradedate": {
  5154. "description": "交易日(yyyyMMdd)",
  5155. "type": "string"
  5156. },
  5157. "tradeprice": {
  5158. "description": "成交价[大宗]",
  5159. "type": "number"
  5160. }
  5161. }
  5162. },
  5163. "delivery.QueryDeliveryRelationRsp": {
  5164. "type": "object",
  5165. "required": [
  5166. "begindate",
  5167. "enddate",
  5168. "goodsid",
  5169. "mindeliveryqty",
  5170. "xdeliveryratio"
  5171. ],
  5172. "properties": {
  5173. "begindate": {
  5174. "description": "起始日期(yyyyMMdd)",
  5175. "type": "string"
  5176. },
  5177. "buytemplateid": {
  5178. "description": "买履约计划模板ID",
  5179. "type": "integer"
  5180. },
  5181. "deliverygoodscode": {
  5182. "description": "品种代码",
  5183. "type": "string"
  5184. },
  5185. "deliverygoodsid": {
  5186. "description": "交割商品",
  5187. "type": "integer"
  5188. },
  5189. "deliverygoodsname": {
  5190. "description": "品种名称",
  5191. "type": "string"
  5192. },
  5193. "deliverymode": {
  5194. "description": "交割方式 - 1:点选式 2:申报式",
  5195. "type": "integer"
  5196. },
  5197. "deliverypricerule": {
  5198. "description": "交割价规则- 1:行情价 2:建仓价",
  5199. "type": "integer"
  5200. },
  5201. "deliverytype": {
  5202. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5203. "type": "integer"
  5204. },
  5205. "enddate": {
  5206. "description": "结束日期(yyyyMMdd)",
  5207. "type": "string"
  5208. },
  5209. "goodscode": {
  5210. "description": "商品代码",
  5211. "type": "string"
  5212. },
  5213. "goodsid": {
  5214. "description": "交易合约ID",
  5215. "type": "integer"
  5216. },
  5217. "goodsname": {
  5218. "description": "商品名称",
  5219. "type": "string"
  5220. },
  5221. "marketid": {
  5222. "description": "市场ID",
  5223. "type": "integer"
  5224. },
  5225. "mindeliveryqty": {
  5226. "description": "最小交割系数(K)",
  5227. "type": "integer"
  5228. },
  5229. "p2deliveryprice": {
  5230. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5231. "type": "number"
  5232. },
  5233. "p2deliveryratio": {
  5234. "description": "P2合约系数(p)",
  5235. "type": "integer"
  5236. },
  5237. "p2goodsid": {
  5238. "description": "P2合约ID",
  5239. "type": "integer"
  5240. },
  5241. "p2pricemode": {
  5242. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5243. "type": "integer"
  5244. },
  5245. "pdeliveryprice": {
  5246. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5247. "type": "number"
  5248. },
  5249. "pdeliveryratio": {
  5250. "description": "P合约系数(n)",
  5251. "type": "integer"
  5252. },
  5253. "pgoodsid": {
  5254. "description": "P合约ID",
  5255. "type": "integer"
  5256. },
  5257. "ppricemode": {
  5258. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5259. "type": "integer"
  5260. },
  5261. "rratio": {
  5262. "description": "兑换系数(R)",
  5263. "type": "integer"
  5264. },
  5265. "rratio1": {
  5266. "description": "兑换系数(交易合约)(R1)",
  5267. "type": "integer"
  5268. },
  5269. "rratio2": {
  5270. "description": "兑换系数(仓单标准)(R2)",
  5271. "type": "integer"
  5272. },
  5273. "selltemplateid": {
  5274. "description": "卖履约计划模板ID",
  5275. "type": "integer"
  5276. },
  5277. "wrstandardid": {
  5278. "description": "仓单标准ID",
  5279. "type": "integer"
  5280. },
  5281. "xdeliveryratio": {
  5282. "description": "交易合约系数(m)",
  5283. "type": "integer"
  5284. }
  5285. }
  5286. },
  5287. "ermcp.QryBusinessDjRsp": {
  5288. "type": "object",
  5289. "properties": {
  5290. "APPLYID": {
  5291. "description": "申请人",
  5292. "type": "string"
  5293. },
  5294. "APPLYNAME": {
  5295. "description": "申请人名称",
  5296. "type": "string"
  5297. },
  5298. "APPLYSTATUS": {
  5299. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5300. "type": "integer"
  5301. },
  5302. "APPLYTIME": {
  5303. "description": "申请时间",
  5304. "type": "string"
  5305. },
  5306. "AUDITTIME": {
  5307. "description": "审核时间",
  5308. "type": "string"
  5309. },
  5310. "BUYUSERNAME": {
  5311. "description": "采购方名称",
  5312. "type": "string"
  5313. },
  5314. "CONTRACTNO": {
  5315. "description": "合同编号",
  5316. "type": "string"
  5317. },
  5318. "CONTRACTTYPE": {
  5319. "description": "现货合同类型 - 1:采购 -1:销售",
  5320. "type": "integer"
  5321. },
  5322. "EnumdicName": {
  5323. "description": "单位名称",
  5324. "type": "string"
  5325. },
  5326. "GOODSCODE": {
  5327. "description": "点价合约",
  5328. "type": "string"
  5329. },
  5330. "GOODSNAME": {
  5331. "description": "商品名称",
  5332. "type": "string"
  5333. },
  5334. "OPERATEAPPLYID": {
  5335. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5336. "type": "string"
  5337. },
  5338. "OPERATEAPPLYTYPE": {
  5339. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5340. "type": "integer"
  5341. },
  5342. "PRICETYPE": {
  5343. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5344. "type": "integer"
  5345. },
  5346. "RELATEDID": {
  5347. "description": "现货合同ID",
  5348. "type": "string"
  5349. },
  5350. "SELLUSERNAME": {
  5351. "description": "销售方名字",
  5352. "type": "string"
  5353. },
  5354. "pricedPrice": {
  5355. "description": "点价价格(非必填)",
  5356. "type": "number"
  5357. },
  5358. "pricedQty": {
  5359. "description": "点价数量(非必填)",
  5360. "type": "number"
  5361. }
  5362. }
  5363. },
  5364. "ermcp.QryBussinessFpRsp": {
  5365. "type": "object",
  5366. "properties": {
  5367. "APPLYID": {
  5368. "description": "申请人",
  5369. "type": "string"
  5370. },
  5371. "APPLYNAME": {
  5372. "description": "申请人名称",
  5373. "type": "string"
  5374. },
  5375. "APPLYSTATUS": {
  5376. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5377. "type": "integer"
  5378. },
  5379. "APPLYTIME": {
  5380. "description": "申请时间",
  5381. "type": "string"
  5382. },
  5383. "AUDITTIME": {
  5384. "description": "审核时间",
  5385. "type": "string"
  5386. },
  5387. "BUYUSERNAME": {
  5388. "description": "采购方名称",
  5389. "type": "string"
  5390. },
  5391. "CONTRACTNO": {
  5392. "description": "合同编号",
  5393. "type": "string"
  5394. },
  5395. "CONTRACTTYPE": {
  5396. "description": "现货合同类型 - 1:采购 -1:销售",
  5397. "type": "integer"
  5398. },
  5399. "EnumdicName": {
  5400. "description": "单位名称",
  5401. "type": "string"
  5402. },
  5403. "GOODSCODE": {
  5404. "description": "点价合约",
  5405. "type": "string"
  5406. },
  5407. "GOODSNAME": {
  5408. "description": "商品名称",
  5409. "type": "string"
  5410. },
  5411. "OPERATEAPPLYID": {
  5412. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5413. "type": "string"
  5414. },
  5415. "OPERATEAPPLYTYPE": {
  5416. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5417. "type": "integer"
  5418. },
  5419. "PRICETYPE": {
  5420. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5421. "type": "integer"
  5422. },
  5423. "RELATEDID": {
  5424. "description": "现货合同ID",
  5425. "type": "string"
  5426. },
  5427. "SELLUSERNAME": {
  5428. "description": "销售方名字",
  5429. "type": "string"
  5430. },
  5431. "invoiceAmount": {
  5432. "description": "已开收票金额(销售为开票,采购为收票)",
  5433. "type": "number"
  5434. }
  5435. }
  5436. },
  5437. "ermcp.QryBussinessJsRsp": {
  5438. "type": "object",
  5439. "properties": {
  5440. "APPLYID": {
  5441. "description": "申请人",
  5442. "type": "string"
  5443. },
  5444. "APPLYNAME": {
  5445. "description": "申请人名称",
  5446. "type": "string"
  5447. },
  5448. "APPLYSTATUS": {
  5449. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5450. "type": "integer"
  5451. },
  5452. "APPLYTIME": {
  5453. "description": "申请时间",
  5454. "type": "string"
  5455. },
  5456. "AUDITTIME": {
  5457. "description": "审核时间",
  5458. "type": "string"
  5459. },
  5460. "BUYUSERNAME": {
  5461. "description": "采购方名称",
  5462. "type": "string"
  5463. },
  5464. "CONTRACTNO": {
  5465. "description": "合同编号",
  5466. "type": "string"
  5467. },
  5468. "CONTRACTTYPE": {
  5469. "description": "现货合同类型 - 1:采购 -1:销售",
  5470. "type": "integer"
  5471. },
  5472. "EnumdicName": {
  5473. "description": "单位名称",
  5474. "type": "string"
  5475. },
  5476. "GOODSCODE": {
  5477. "description": "点价合约",
  5478. "type": "string"
  5479. },
  5480. "GOODSNAME": {
  5481. "description": "商品名称",
  5482. "type": "string"
  5483. },
  5484. "OPERATEAPPLYID": {
  5485. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5486. "type": "string"
  5487. },
  5488. "OPERATEAPPLYTYPE": {
  5489. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5490. "type": "integer"
  5491. },
  5492. "PRICETYPE": {
  5493. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5494. "type": "integer"
  5495. },
  5496. "RELATEDID": {
  5497. "description": "现货合同ID",
  5498. "type": "string"
  5499. },
  5500. "SELLUSERNAME": {
  5501. "description": "销售方名字",
  5502. "type": "string"
  5503. },
  5504. "addMargin": {
  5505. "description": "追加保证金(非必填)",
  5506. "type": "number"
  5507. },
  5508. "decMargin": {
  5509. "description": "减少保证金(非必填)",
  5510. "type": "number"
  5511. },
  5512. "reckonAdjustAmount": {
  5513. "description": "结算调整金额(非必填)",
  5514. "type": "number"
  5515. },
  5516. "reckonOsAmount": {
  5517. "description": "结算溢短金额(非必填)",
  5518. "type": "number"
  5519. },
  5520. "reckonOtherAmount": {
  5521. "description": "结算其他费用(非必填)",
  5522. "type": "number"
  5523. },
  5524. "reckonRealQty": {
  5525. "description": "结算实际数量(非必填)",
  5526. "type": "number"
  5527. }
  5528. }
  5529. },
  5530. "ermcp.QryBussinessKxRsp": {
  5531. "type": "object",
  5532. "properties": {
  5533. "APPLYID": {
  5534. "description": "申请人",
  5535. "type": "string"
  5536. },
  5537. "APPLYNAME": {
  5538. "description": "申请人名称",
  5539. "type": "string"
  5540. },
  5541. "APPLYSTATUS": {
  5542. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5543. "type": "integer"
  5544. },
  5545. "APPLYTIME": {
  5546. "description": "申请时间",
  5547. "type": "string"
  5548. },
  5549. "AUDITTIME": {
  5550. "description": "审核时间",
  5551. "type": "string"
  5552. },
  5553. "BUYUSERNAME": {
  5554. "description": "采购方名称",
  5555. "type": "string"
  5556. },
  5557. "CONTRACTNO": {
  5558. "description": "合同编号",
  5559. "type": "string"
  5560. },
  5561. "CONTRACTTYPE": {
  5562. "description": "现货合同类型 - 1:采购 -1:销售",
  5563. "type": "integer"
  5564. },
  5565. "EnumdicName": {
  5566. "description": "单位名称",
  5567. "type": "string"
  5568. },
  5569. "GOODSCODE": {
  5570. "description": "点价合约",
  5571. "type": "string"
  5572. },
  5573. "GOODSNAME": {
  5574. "description": "商品名称",
  5575. "type": "string"
  5576. },
  5577. "OPERATEAPPLYID": {
  5578. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5579. "type": "string"
  5580. },
  5581. "OPERATEAPPLYTYPE": {
  5582. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5583. "type": "integer"
  5584. },
  5585. "PRICETYPE": {
  5586. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5587. "type": "integer"
  5588. },
  5589. "RELATEDID": {
  5590. "description": "现货合同ID",
  5591. "type": "string"
  5592. },
  5593. "SELLUSERNAME": {
  5594. "description": "销售方名字",
  5595. "type": "string"
  5596. },
  5597. "deductAmount": {
  5598. "description": "退款(非必填)",
  5599. "type": "number"
  5600. },
  5601. "payAmount": {
  5602. "description": "收付款(非必填)",
  5603. "type": "number"
  5604. }
  5605. }
  5606. },
  5607. "ermcp.QryErmcpRsp": {
  5608. "$ref": "#/definitions/models.ErmcpModel"
  5609. },
  5610. "ermcp.QryHedgePlanRsp": {
  5611. "$ref": "#/definitions/models.ErmcpHedgePlan"
  5612. },
  5613. "ermcp.QrySpotContractRsp": {
  5614. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  5615. },
  5616. "ermcp.QryUserInfoRsp": {
  5617. "$ref": "#/definitions/models.ErmcpUserModel"
  5618. },
  5619. "erms2.QueryArbitrageStrategyRsp": {
  5620. "type": "object",
  5621. "required": [
  5622. "asapplyid"
  5623. ],
  5624. "properties": {
  5625. "applybasis": {
  5626. "description": "申请基差",
  5627. "type": "number"
  5628. },
  5629. "asapplyid": {
  5630. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  5631. "type": "string"
  5632. },
  5633. "asname": {
  5634. "description": "策略名称",
  5635. "type": "string"
  5636. },
  5637. "asno": {
  5638. "description": "策略编号",
  5639. "type": "string"
  5640. },
  5641. "basischangepl": {
  5642. "description": "基差变动损益[结算更新]",
  5643. "type": "number"
  5644. },
  5645. "biztype": {
  5646. "description": "业务类型 - 1:正向套利 -1:反向套利",
  5647. "type": "integer"
  5648. },
  5649. "closetradedate": {
  5650. "description": "完结交易日(yyyyMMdd)",
  5651. "type": "string"
  5652. },
  5653. "curbasis": {
  5654. "description": "当前基差[结算更新]",
  5655. "type": "number"
  5656. },
  5657. "deliverygoodsid": {
  5658. "description": "现货品种ID",
  5659. "type": "integer"
  5660. },
  5661. "futureavgprice": {
  5662. "description": "期货建仓均价",
  5663. "type": "number"
  5664. },
  5665. "futurecloseamount": {
  5666. "description": "期货平仓金额",
  5667. "type": "number"
  5668. },
  5669. "futurecloseqty": {
  5670. "description": "期货平仓数量",
  5671. "type": "number"
  5672. },
  5673. "futureopenamount": {
  5674. "description": "期货开仓金额",
  5675. "type": "number"
  5676. },
  5677. "futureopenqty": {
  5678. "description": "期货开仓数量",
  5679. "type": "number"
  5680. },
  5681. "futurepl": {
  5682. "description": "期货总盈亏[结算更新]",
  5683. "type": "number"
  5684. },
  5685. "futureqty": {
  5686. "description": "期货持仓数量",
  5687. "type": "number"
  5688. },
  5689. "futurequote": {
  5690. "description": "期货额度",
  5691. "type": "number"
  5692. },
  5693. "goodsgroupid": {
  5694. "description": "期货品种ID",
  5695. "type": "integer"
  5696. },
  5697. "marketid": {
  5698. "description": "市场ID",
  5699. "type": "integer"
  5700. },
  5701. "netexposure": {
  5702. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  5703. "type": "number"
  5704. },
  5705. "netexposurepl": {
  5706. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  5707. "type": "number"
  5708. },
  5709. "netexposurerate": {
  5710. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  5711. "type": "number"
  5712. },
  5713. "openbasis": {
  5714. "description": "建仓基差",
  5715. "type": "number"
  5716. },
  5717. "pricedspotqty": {
  5718. "description": "已定价现货数量",
  5719. "type": "number"
  5720. },
  5721. "pricedspotqtynotax": {
  5722. "description": "已定价现货不含税数量",
  5723. "type": "number"
  5724. },
  5725. "remark": {
  5726. "description": "备注",
  5727. "type": "string"
  5728. },
  5729. "spotavgprice": {
  5730. "description": "现货均价",
  5731. "type": "number"
  5732. },
  5733. "spotbuyamount": {
  5734. "description": "现货采购金额",
  5735. "type": "number"
  5736. },
  5737. "spotbuyqty": {
  5738. "description": "现货采购数量",
  5739. "type": "number"
  5740. },
  5741. "spotpl": {
  5742. "description": "现货总盈亏[结算更新]",
  5743. "type": "number"
  5744. },
  5745. "spotquota": {
  5746. "description": "现货额度",
  5747. "type": "number"
  5748. },
  5749. "spotsellamount": {
  5750. "description": "现货销售金额",
  5751. "type": "number"
  5752. },
  5753. "spotsellqty": {
  5754. "description": "现货销售数量",
  5755. "type": "number"
  5756. },
  5757. "spotusedquota": {
  5758. "description": "现货占用资金",
  5759. "type": "number"
  5760. },
  5761. "strategystatus": {
  5762. "description": "策略状态 - 0:未结束 1:已结束",
  5763. "type": "integer"
  5764. },
  5765. "totalpl": {
  5766. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  5767. "type": "number"
  5768. },
  5769. "tradedate": {
  5770. "description": "交易日(yyyyMMdd)",
  5771. "type": "string"
  5772. },
  5773. "updatetime": {
  5774. "description": "更新时间",
  5775. "type": "string"
  5776. },
  5777. "usedquota": {
  5778. "description": "已占用资金",
  5779. "type": "number"
  5780. },
  5781. "userid": {
  5782. "description": "所属机构",
  5783. "type": "integer"
  5784. }
  5785. }
  5786. },
  5787. "erms2.QueryInnerTradeDetailRsp": {
  5788. "type": "object",
  5789. "required": [
  5790. "asapplyid",
  5791. "buyorsell",
  5792. "goodscode",
  5793. "goodsgroupid",
  5794. "goodsgroupname",
  5795. "goodsname",
  5796. "tradeid"
  5797. ],
  5798. "properties": {
  5799. "accountid": {
  5800. "description": "账号ID",
  5801. "type": "integer"
  5802. },
  5803. "agreeunit": {
  5804. "description": "合约单位",
  5805. "type": "number"
  5806. },
  5807. "asapplyid": {
  5808. "description": "策略申请ID",
  5809. "type": "integer"
  5810. },
  5811. "asname": {
  5812. "description": "策略名称",
  5813. "type": "string"
  5814. },
  5815. "asno": {
  5816. "description": "策略编号",
  5817. "type": "string"
  5818. },
  5819. "buyorsell": {
  5820. "description": "方向 - 0:买 1:卖",
  5821. "type": "integer"
  5822. },
  5823. "channelbuildtype": {
  5824. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  5825. "type": "integer"
  5826. },
  5827. "closetype": {
  5828. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  5829. "type": "integer"
  5830. },
  5831. "decimalplace": {
  5832. "description": "报价小数位",
  5833. "type": "integer"
  5834. },
  5835. "detailtype": {
  5836. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  5837. "type": "integer"
  5838. },
  5839. "exexchangecode": {
  5840. "description": "外部交易所代码",
  5841. "type": "string"
  5842. },
  5843. "exexchangename": {
  5844. "description": "外部交易所名称",
  5845. "type": "string"
  5846. },
  5847. "goodscode": {
  5848. "description": "商品代码(合约)",
  5849. "type": "string"
  5850. },
  5851. "goodsgroupid": {
  5852. "description": "商品组ID(品种ID)",
  5853. "type": "integer"
  5854. },
  5855. "goodsgroupname": {
  5856. "description": "商品组名称(品种)",
  5857. "type": "string"
  5858. },
  5859. "goodsid": {
  5860. "description": "商品ID",
  5861. "type": "integer"
  5862. },
  5863. "goodsname": {
  5864. "description": "商品名称(合约)",
  5865. "type": "string"
  5866. },
  5867. "goodunit": {
  5868. "description": "报价单位",
  5869. "type": "string"
  5870. },
  5871. "marketid": {
  5872. "description": "市场ID",
  5873. "type": "integer"
  5874. },
  5875. "orderid": {
  5876. "description": "委托单号",
  5877. "type": "string"
  5878. },
  5879. "outgoodscode": {
  5880. "description": "商品代码(外部)",
  5881. "type": "string"
  5882. },
  5883. "relatedouttradeid": {
  5884. "description": "关联外部成交单ID",
  5885. "type": "string"
  5886. },
  5887. "remark": {
  5888. "description": "备注",
  5889. "type": "string"
  5890. },
  5891. "spotcontractid": {
  5892. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  5893. "type": "integer"
  5894. },
  5895. "spotcontractno": {
  5896. "description": "现货合同编号",
  5897. "type": "string"
  5898. },
  5899. "tradeid": {
  5900. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5901. "type": "string"
  5902. },
  5903. "tradeprice": {
  5904. "description": "成交价格",
  5905. "type": "number"
  5906. },
  5907. "tradeqty": {
  5908. "description": "成交数量",
  5909. "type": "integer"
  5910. },
  5911. "tradetime": {
  5912. "description": "成交时间",
  5913. "type": "string"
  5914. },
  5915. "updatetime": {
  5916. "description": "更新时间",
  5917. "type": "string"
  5918. }
  5919. }
  5920. },
  5921. "erms2.QuerySpotContractRsp": {
  5922. "type": "object",
  5923. "required": [
  5924. "spotcontractid"
  5925. ],
  5926. "properties": {
  5927. "accountid": {
  5928. "description": "资金账户ID",
  5929. "type": "integer"
  5930. },
  5931. "areauserid": {
  5932. "description": "所属机构",
  5933. "type": "integer"
  5934. },
  5935. "closedate": {
  5936. "description": "终止日期",
  5937. "type": "string"
  5938. },
  5939. "closeremark": {
  5940. "description": "结束备注",
  5941. "type": "string"
  5942. },
  5943. "closetradedate": {
  5944. "description": "完结交易日(yyyyMMdd)",
  5945. "type": "string"
  5946. },
  5947. "closetype": {
  5948. "description": "终止类型 - 1:违约 2:提前终止",
  5949. "type": "integer"
  5950. },
  5951. "contractamount": {
  5952. "description": "合同金额",
  5953. "type": "number"
  5954. },
  5955. "contractattachment": {
  5956. "description": "合同附件",
  5957. "type": "string"
  5958. },
  5959. "contractno": {
  5960. "description": "现货合同编号",
  5961. "type": "string"
  5962. },
  5963. "contractqty": {
  5964. "description": "合同数量(数值) (用于计算)",
  5965. "type": "number"
  5966. },
  5967. "contractqtychar": {
  5968. "description": "合同数量\\已订价数量 (用于显示)",
  5969. "type": "string"
  5970. },
  5971. "contractstatus": {
  5972. "description": "合同状态 - 0:未结束 1:已结束",
  5973. "type": "integer"
  5974. },
  5975. "contracttype": {
  5976. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  5977. "type": "integer"
  5978. },
  5979. "customeraccountid": {
  5980. "description": "客户资金账户ID",
  5981. "type": "integer"
  5982. },
  5983. "customeruserid": {
  5984. "description": "客户ID",
  5985. "type": "integer"
  5986. },
  5987. "deliverygoodsdesc": {
  5988. "description": "品种说明",
  5989. "type": "string"
  5990. },
  5991. "deliverygoodsid": {
  5992. "description": "现货品种ID",
  5993. "type": "integer"
  5994. },
  5995. "handlestatus": {
  5996. "description": "处理状态",
  5997. "type": "integer"
  5998. },
  5999. "invoiceatt": {
  6000. "description": "发票附件",
  6001. "type": "string"
  6002. },
  6003. "invoicedatetime": {
  6004. "description": "开收票更新时间",
  6005. "type": "string"
  6006. },
  6007. "invoiceopentime": {
  6008. "description": "开票时间",
  6009. "type": "string"
  6010. },
  6011. "invoiceremark": {
  6012. "description": "发票备注",
  6013. "type": "string"
  6014. },
  6015. "invoicestatus": {
  6016. "description": "开收票状态 - 0:未开票 1:已开票",
  6017. "type": "integer"
  6018. },
  6019. "lastdate": {
  6020. "description": "交货时间",
  6021. "type": "string"
  6022. },
  6023. "marketid": {
  6024. "description": "市场ID",
  6025. "type": "integer"
  6026. },
  6027. "paydatetime": {
  6028. "description": "收付款更新时间",
  6029. "type": "string"
  6030. },
  6031. "payremark": {
  6032. "description": "收付款备注",
  6033. "type": "string"
  6034. },
  6035. "paystatus": {
  6036. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  6037. "type": "integer"
  6038. },
  6039. "positionqty": {
  6040. "description": "头寸数量 - 合同数量去小数部分",
  6041. "type": "integer"
  6042. },
  6043. "producttype": {
  6044. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6045. "type": "integer"
  6046. },
  6047. "relatedqty": {
  6048. "description": "已关联数量",
  6049. "type": "number"
  6050. },
  6051. "relatedstatus": {
  6052. "description": "关联完结状态 - 0:未结束 1:已结束",
  6053. "type": "integer"
  6054. },
  6055. "remark": {
  6056. "description": "备注",
  6057. "type": "string"
  6058. },
  6059. "signdate": {
  6060. "description": "签订日期",
  6061. "type": "string"
  6062. },
  6063. "spotcontractid": {
  6064. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  6065. "type": "string"
  6066. },
  6067. "spotdatetime": {
  6068. "description": "收发货更新时间",
  6069. "type": "string"
  6070. },
  6071. "spotprice": {
  6072. "description": "价格",
  6073. "type": "number"
  6074. },
  6075. "spotremark": {
  6076. "description": "收发货备注",
  6077. "type": "string"
  6078. },
  6079. "spotstatus": {
  6080. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  6081. "type": "integer"
  6082. },
  6083. "tradedate": {
  6084. "description": "交易日(yyyyMMdd)",
  6085. "type": "string"
  6086. },
  6087. "userid": {
  6088. "description": "业务员用户ID",
  6089. "type": "integer"
  6090. },
  6091. "warehouseid": {
  6092. "description": "仓库ID",
  6093. "type": "integer"
  6094. },
  6095. "wrfactortypeid": {
  6096. "description": "仓单要素类型ID",
  6097. "type": "integer"
  6098. },
  6099. "wrstandardid": {
  6100. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6101. "type": "integer"
  6102. }
  6103. }
  6104. },
  6105. "erms3.AddErms2ASApplyReq": {
  6106. "type": "object",
  6107. "required": [
  6108. "asapplyid"
  6109. ],
  6110. "properties": {
  6111. "applybasis": {
  6112. "description": "申请基差",
  6113. "type": "number"
  6114. },
  6115. "applystatus": {
  6116. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6117. "type": "integer"
  6118. },
  6119. "asapplyid": {
  6120. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  6121. "type": "integer"
  6122. },
  6123. "asname": {
  6124. "description": "策略名称",
  6125. "type": "string"
  6126. },
  6127. "asno": {
  6128. "description": "策略编号",
  6129. "type": "string"
  6130. },
  6131. "auditid": {
  6132. "description": "审核人",
  6133. "type": "integer"
  6134. },
  6135. "auditremark": {
  6136. "description": "审核备注",
  6137. "type": "string"
  6138. },
  6139. "audittime": {
  6140. "description": "审核时间",
  6141. "type": "string"
  6142. },
  6143. "biztype": {
  6144. "description": "业务类型 - 1:正向套利 2:反向套利",
  6145. "type": "integer"
  6146. },
  6147. "createtime": {
  6148. "description": "创建时间",
  6149. "type": "string"
  6150. },
  6151. "creatorid": {
  6152. "description": "创建人",
  6153. "type": "integer"
  6154. },
  6155. "deliverygoodsid": {
  6156. "description": "现货品种ID",
  6157. "type": "integer"
  6158. },
  6159. "futurequote": {
  6160. "description": "期货额度",
  6161. "type": "number"
  6162. },
  6163. "goodsgroupid": {
  6164. "description": "期货品种ID",
  6165. "type": "integer"
  6166. },
  6167. "marketid": {
  6168. "description": "市场ID",
  6169. "type": "integer"
  6170. },
  6171. "remark": {
  6172. "description": "备注",
  6173. "type": "string"
  6174. },
  6175. "spotquota": {
  6176. "description": "现货额度",
  6177. "type": "number"
  6178. },
  6179. "tradedate": {
  6180. "description": "交易日(yyyyMMdd)",
  6181. "type": "string"
  6182. },
  6183. "userid": {
  6184. "description": "所属机构",
  6185. "type": "integer"
  6186. }
  6187. }
  6188. },
  6189. "erms3.AddErms2SpotTradeApplyReq": {
  6190. "type": "object",
  6191. "required": [
  6192. "spottradeid"
  6193. ],
  6194. "properties": {
  6195. "applyjsondetail": {
  6196. "description": "申请明细(JSON)",
  6197. "type": "string"
  6198. },
  6199. "applystatus": {
  6200. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6201. "type": "integer"
  6202. },
  6203. "areauserid": {
  6204. "description": "所属机构",
  6205. "type": "integer"
  6206. },
  6207. "auditid": {
  6208. "description": "审核人",
  6209. "type": "integer"
  6210. },
  6211. "auditremark": {
  6212. "description": "审核备注",
  6213. "type": "string"
  6214. },
  6215. "audittime": {
  6216. "description": "审核时间",
  6217. "type": "string"
  6218. },
  6219. "createtime": {
  6220. "description": "创建时间",
  6221. "type": "string"
  6222. },
  6223. "creatorid": {
  6224. "description": "创建人",
  6225. "type": "integer"
  6226. },
  6227. "deliverygoodsid": {
  6228. "description": "现货品种ID",
  6229. "type": "integer"
  6230. },
  6231. "futureaccountid": {
  6232. "description": "期货资金账户",
  6233. "type": "integer"
  6234. },
  6235. "goodsgroupid": {
  6236. "description": "期货品种",
  6237. "type": "integer"
  6238. },
  6239. "marketid": {
  6240. "description": "市场ID",
  6241. "type": "integer"
  6242. },
  6243. "remark": {
  6244. "description": "备注",
  6245. "type": "string"
  6246. },
  6247. "spotaccountid": {
  6248. "description": "现货资金账户",
  6249. "type": "integer"
  6250. },
  6251. "spottradeid": {
  6252. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  6253. "type": "integer"
  6254. },
  6255. "spottradename": {
  6256. "description": "业务名称",
  6257. "type": "string"
  6258. },
  6259. "spottradeno": {
  6260. "description": "业务编号",
  6261. "type": "string"
  6262. },
  6263. "tradedate": {
  6264. "description": "交易日(yyyyMMdd)",
  6265. "type": "string"
  6266. },
  6267. "wrstandardid": {
  6268. "description": "仓单标准ID",
  6269. "type": "integer"
  6270. }
  6271. }
  6272. },
  6273. "erms3.AddSpotContractApplyReq": {
  6274. "type": "object",
  6275. "required": [
  6276. "accountid",
  6277. "areauserid",
  6278. "contractno",
  6279. "contracttype",
  6280. "customeraccountid",
  6281. "customeruserid",
  6282. "details",
  6283. "orimargin",
  6284. "signdate"
  6285. ],
  6286. "properties": {
  6287. "accountid": {
  6288. "description": "资金账户ID",
  6289. "type": "integer"
  6290. },
  6291. "areauserid": {
  6292. "description": "所属机构",
  6293. "type": "integer"
  6294. },
  6295. "contractattachment": {
  6296. "description": "合同附件",
  6297. "type": "string"
  6298. },
  6299. "contractno": {
  6300. "description": "现货合同编号",
  6301. "type": "string"
  6302. },
  6303. "contracttype": {
  6304. "description": "现货合同类型 - 1:采购 -1:销售",
  6305. "type": "integer"
  6306. },
  6307. "creatorid": {
  6308. "description": "申请人",
  6309. "type": "integer"
  6310. },
  6311. "customeraccountid": {
  6312. "description": "客户资金账户ID",
  6313. "type": "integer"
  6314. },
  6315. "customeruserid": {
  6316. "description": "客户ID",
  6317. "type": "integer"
  6318. },
  6319. "details": {
  6320. "description": "明细",
  6321. "type": "array",
  6322. "items": {
  6323. "$ref": "#/definitions/erms3.SoptContractDetail"
  6324. }
  6325. },
  6326. "orimargin": {
  6327. "description": "初始保证金",
  6328. "type": "number"
  6329. },
  6330. "remark": {
  6331. "description": "备注",
  6332. "type": "string"
  6333. },
  6334. "signdate": {
  6335. "description": "签订日期",
  6336. "type": "string"
  6337. }
  6338. }
  6339. },
  6340. "erms3.AddSpotContractApplyRsp": {
  6341. "type": "object",
  6342. "required": [
  6343. "contractno"
  6344. ],
  6345. "properties": {
  6346. "contractno": {
  6347. "description": "现货合同编号",
  6348. "type": "string"
  6349. },
  6350. "spotcontractid": {
  6351. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  6352. "type": "integer"
  6353. }
  6354. }
  6355. },
  6356. "erms3.AddUserInfoApplyReq": {
  6357. "type": "object",
  6358. "required": [
  6359. "userid"
  6360. ],
  6361. "properties": {
  6362. "accountid": {
  6363. "description": "交易系统帐号Id (加密存储)",
  6364. "type": "integer"
  6365. },
  6366. "areacode": {
  6367. "description": "机构代码",
  6368. "type": "string"
  6369. },
  6370. "areaid": {
  6371. "description": "机构Id",
  6372. "type": "integer"
  6373. },
  6374. "attachment1": {
  6375. "description": "附件1",
  6376. "type": "string"
  6377. },
  6378. "attachment2": {
  6379. "description": "附件2",
  6380. "type": "string"
  6381. },
  6382. "attachment3": {
  6383. "description": "附件3",
  6384. "type": "string"
  6385. },
  6386. "attachment4": {
  6387. "description": "附件4",
  6388. "type": "string"
  6389. },
  6390. "attachment5": {
  6391. "description": "附件5",
  6392. "type": "string"
  6393. },
  6394. "auditedby": {
  6395. "description": "审核人",
  6396. "type": "string"
  6397. },
  6398. "auditime": {
  6399. "description": "审核时间",
  6400. "type": "string"
  6401. },
  6402. "bankaccount": {
  6403. "description": "银行帐号 (加密存储)",
  6404. "type": "string"
  6405. },
  6406. "bankaccountname": {
  6407. "description": "收款人名称",
  6408. "type": "string"
  6409. },
  6410. "bankcardbackphotourl": {
  6411. "description": "银行卡背面照地址",
  6412. "type": "string"
  6413. },
  6414. "bankcardfrontphotourl": {
  6415. "description": "银行卡正面照地址",
  6416. "type": "string"
  6417. },
  6418. "bankid": {
  6419. "description": "银行编码",
  6420. "type": "string"
  6421. },
  6422. "bankname": {
  6423. "description": "银行名称",
  6424. "type": "string"
  6425. },
  6426. "bankpictureurl": {
  6427. "description": "银行卡正面地址",
  6428. "type": "string"
  6429. },
  6430. "biznature": {
  6431. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6432. "type": "integer"
  6433. },
  6434. "bizscope": {
  6435. "description": "企业经营范围(企业)",
  6436. "type": "string"
  6437. },
  6438. "biztype": {
  6439. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  6440. "type": "integer"
  6441. },
  6442. "brokerid": {
  6443. "description": "经纪人ID(加密存储)",
  6444. "type": "string"
  6445. },
  6446. "cardaddress": {
  6447. "description": "证件地址 (加密存储)",
  6448. "type": "string"
  6449. },
  6450. "cardbackphotourl": {
  6451. "description": "背面证件照地址",
  6452. "type": "string"
  6453. },
  6454. "cardfrontphotourl": {
  6455. "description": "正面证件照地址",
  6456. "type": "string"
  6457. },
  6458. "cardnum": {
  6459. "description": "证件号码 (加密存储)",
  6460. "type": "string"
  6461. },
  6462. "cardtype": {
  6463. "description": "证件类型",
  6464. "type": "integer"
  6465. },
  6466. "cityid": {
  6467. "description": "市",
  6468. "type": "integer"
  6469. },
  6470. "company": {
  6471. "description": "公司(个人)",
  6472. "type": "string"
  6473. },
  6474. "contactcardbackphotourl": {
  6475. "description": "联系人证件背面图片地址",
  6476. "type": "string"
  6477. },
  6478. "contactcardfrontphotourl": {
  6479. "description": "联系人证件正面图片地址",
  6480. "type": "string"
  6481. },
  6482. "contactname": {
  6483. "description": "联系人",
  6484. "type": "string"
  6485. },
  6486. "countryid": {
  6487. "description": "国家",
  6488. "type": "integer"
  6489. },
  6490. "createtime": {
  6491. "description": "开户申请时间",
  6492. "type": "string"
  6493. },
  6494. "cusbankid": {
  6495. "description": "签约类型",
  6496. "type": "string"
  6497. },
  6498. "cusbankname": {
  6499. "description": "签约类型名称",
  6500. "type": "string"
  6501. },
  6502. "customername": {
  6503. "description": "客户名称(企业名称)",
  6504. "type": "string"
  6505. },
  6506. "districtid": {
  6507. "description": "地区",
  6508. "type": "integer"
  6509. },
  6510. "email": {
  6511. "description": "Email地址(加密存储)",
  6512. "type": "string"
  6513. },
  6514. "halfbodyphotourl": {
  6515. "description": "半身照地址",
  6516. "type": "string"
  6517. },
  6518. "headurl": {
  6519. "description": "头像地址",
  6520. "type": "string"
  6521. },
  6522. "ipaddress": {
  6523. "description": "IP地址",
  6524. "type": "string"
  6525. },
  6526. "isvalidate": {
  6527. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  6528. "type": "string"
  6529. },
  6530. "legalcardbackphotourl": {
  6531. "description": "法人身份证背面照地址",
  6532. "type": "string"
  6533. },
  6534. "legalcardfrontphotourl": {
  6535. "description": "法人身份证正面照地址",
  6536. "type": "string"
  6537. },
  6538. "legalpersonname": {
  6539. "description": "法人姓名(企业)",
  6540. "type": "string"
  6541. },
  6542. "logincode": {
  6543. "description": "登录帐号 (加密存储)",
  6544. "type": "string"
  6545. },
  6546. "memberareaid": {
  6547. "description": "所属会员ID",
  6548. "type": "integer"
  6549. },
  6550. "mobile2": {
  6551. "description": "手机号码[明文-尚志]",
  6552. "type": "string"
  6553. },
  6554. "mobilephone": {
  6555. "description": "手机号码 (加密存储)",
  6556. "type": "string"
  6557. },
  6558. "modifiedby": {
  6559. "description": "修改人帐号",
  6560. "type": "integer"
  6561. },
  6562. "modifiedtime": {
  6563. "description": "修改时间",
  6564. "type": "string"
  6565. },
  6566. "nickname": {
  6567. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  6568. "type": "string"
  6569. },
  6570. "openmode": {
  6571. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  6572. "type": "integer"
  6573. },
  6574. "otherurl": {
  6575. "description": "其它图片地址[使用分号分隔]",
  6576. "type": "string"
  6577. },
  6578. "postalcode": {
  6579. "description": "邮政编码",
  6580. "type": "string"
  6581. },
  6582. "provinceid": {
  6583. "description": "省",
  6584. "type": "integer"
  6585. },
  6586. "proxystatementurl": {
  6587. "description": "授权委托书",
  6588. "type": "string"
  6589. },
  6590. "qq": {
  6591. "description": "QQ(加密存储",
  6592. "type": "string"
  6593. },
  6594. "referral": {
  6595. "description": "推荐人编码",
  6596. "type": "string"
  6597. },
  6598. "remark": {
  6599. "description": "备注",
  6600. "type": "string"
  6601. },
  6602. "removebeforestatus": {
  6603. "description": "REMOVEBEFORESTATUS",
  6604. "type": "integer"
  6605. },
  6606. "sex": {
  6607. "description": "性别 - 0:女 1:男",
  6608. "type": "integer"
  6609. },
  6610. "signedstatus": {
  6611. "description": "账户一号签签约状态",
  6612. "type": "integer"
  6613. },
  6614. "signpdfurl": {
  6615. "description": "签约pdf文件",
  6616. "type": "string"
  6617. },
  6618. "subbranch": {
  6619. "description": "开户支行",
  6620. "type": "string"
  6621. },
  6622. "telphone": {
  6623. "description": "联系电话(加密存储)",
  6624. "type": "string"
  6625. },
  6626. "userid": {
  6627. "description": "用户ID(自增ID)",
  6628. "type": "integer"
  6629. },
  6630. "userinfotype": {
  6631. "description": "用户信息类型 - 1:个人 2:企业",
  6632. "type": "integer"
  6633. },
  6634. "username": {
  6635. "description": "用户姓名",
  6636. "type": "string"
  6637. },
  6638. "userstate": {
  6639. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6640. "type": "integer"
  6641. },
  6642. "usertype": {
  6643. "description": "用户类型 - 1:投资者 2:机构",
  6644. "type": "integer"
  6645. },
  6646. "videourl": {
  6647. "description": "视频地址",
  6648. "type": "string"
  6649. },
  6650. "wechat": {
  6651. "description": "微信号 (加密存储)",
  6652. "type": "string"
  6653. }
  6654. }
  6655. },
  6656. "erms3.CustomerInfo": {
  6657. "type": "object",
  6658. "required": [
  6659. "userid"
  6660. ],
  6661. "properties": {
  6662. "accountids": {
  6663. "description": "资金账户ID列表",
  6664. "type": "array",
  6665. "items": {
  6666. "type": "integer"
  6667. }
  6668. },
  6669. "customername": {
  6670. "description": "名称(企业名称)",
  6671. "type": "string"
  6672. },
  6673. "mobile": {
  6674. "description": "手机号码",
  6675. "type": "string"
  6676. },
  6677. "userid": {
  6678. "description": "用户ID",
  6679. "type": "integer"
  6680. }
  6681. }
  6682. },
  6683. "erms3.QryAuditContractRsp": {
  6684. "type": "object",
  6685. "required": [
  6686. "matchcustomername",
  6687. "spotcontractid"
  6688. ],
  6689. "properties": {
  6690. "accountid": {
  6691. "description": "交易员ID",
  6692. "type": "string"
  6693. },
  6694. "applystatus": {
  6695. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6696. "type": "integer"
  6697. },
  6698. "curdeliveryqty": {
  6699. "description": "未交收量",
  6700. "type": "integer"
  6701. },
  6702. "customername": {
  6703. "description": "采购方ID",
  6704. "type": "string"
  6705. },
  6706. "deliverygoodsid": {
  6707. "description": "品种ID",
  6708. "type": "string"
  6709. },
  6710. "deliveryqty": {
  6711. "description": "交收量",
  6712. "type": "integer"
  6713. },
  6714. "enumdicname": {
  6715. "description": "单位名称",
  6716. "type": "string"
  6717. },
  6718. "matchaccountid": {
  6719. "description": "业务员ID",
  6720. "type": "string"
  6721. },
  6722. "matchcustomername": {
  6723. "description": "销售方ID",
  6724. "type": "string"
  6725. },
  6726. "pricedqty": {
  6727. "description": "定价量",
  6728. "type": "number"
  6729. },
  6730. "signdate": {
  6731. "description": "签订日期",
  6732. "type": "string"
  6733. },
  6734. "spotcontractid": {
  6735. "description": "合同ID",
  6736. "type": "string"
  6737. },
  6738. "totaldqty": {
  6739. "description": "合同量",
  6740. "type": "number"
  6741. },
  6742. "unpricedqty": {
  6743. "description": "未定价量",
  6744. "type": "number"
  6745. },
  6746. "wrstandardname": {
  6747. "description": "商品名称",
  6748. "type": "string"
  6749. }
  6750. }
  6751. },
  6752. "erms3.QryPendingBizRsp": {
  6753. "$ref": "#/definitions/models.PendingAuditBizModel"
  6754. },
  6755. "erms3.QueryBusinessInfoRsp": {
  6756. "type": "object",
  6757. "properties": {
  6758. "businessid": {
  6759. "description": "业务ID.",
  6760. "type": "integer"
  6761. },
  6762. "buyamount": {
  6763. "description": "采购额.",
  6764. "type": "number"
  6765. },
  6766. "buyqty": {
  6767. "description": "采购量.",
  6768. "type": "string"
  6769. },
  6770. "futurepl": {
  6771. "description": "期货盈亏.",
  6772. "type": "number"
  6773. },
  6774. "futureqty": {
  6775. "description": "期货敞口.",
  6776. "type": "string"
  6777. },
  6778. "goodsid": {
  6779. "description": "商品名称/商品代码.",
  6780. "type": "string"
  6781. },
  6782. "hedgingqty": {
  6783. "description": "套保量.",
  6784. "type": "string"
  6785. },
  6786. "sellamount": {
  6787. "description": "销售额.",
  6788. "type": "number"
  6789. },
  6790. "sellqty": {
  6791. "description": "销售量.",
  6792. "type": "string"
  6793. },
  6794. "spotmarketvalue": {
  6795. "description": "现货市值.",
  6796. "type": "number"
  6797. },
  6798. "spotpl": {
  6799. "description": "浮动权益.",
  6800. "type": "number"
  6801. },
  6802. "spotqty": {
  6803. "description": "现货量.",
  6804. "type": "string"
  6805. },
  6806. "statu": {
  6807. "description": "状态,0-未结束 1-已结束.",
  6808. "type": "integer"
  6809. },
  6810. "totalpl": {
  6811. "description": "总盈亏.",
  6812. "type": "number"
  6813. },
  6814. "totalqty": {
  6815. "description": "总敞口.",
  6816. "type": "string"
  6817. },
  6818. "type": {
  6819. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  6820. "type": "integer"
  6821. }
  6822. }
  6823. },
  6824. "erms3.QuerySpotContractAppleFormRsp": {
  6825. "type": "object",
  6826. "properties": {
  6827. "goodses": {
  6828. "description": "合约列表",
  6829. "type": "array",
  6830. "items": {
  6831. "$ref": "#/definitions/models.GoodsIDAndName"
  6832. }
  6833. },
  6834. "oppositeusers": {
  6835. "description": "对方账号列表",
  6836. "type": "array",
  6837. "items": {
  6838. "$ref": "#/definitions/erms3.CustomerInfo"
  6839. }
  6840. },
  6841. "ouruser": {
  6842. "description": "我方账号",
  6843. "type": "object",
  6844. "$ref": "#/definitions/erms3.CustomerInfo"
  6845. },
  6846. "warehouseinfos": {
  6847. "description": "仓库信息列表",
  6848. "type": "array",
  6849. "items": {
  6850. "$ref": "#/definitions/models.Warehouseinfo"
  6851. }
  6852. },
  6853. "wrstandards": {
  6854. "description": "仓单标准列表",
  6855. "type": "array",
  6856. "items": {
  6857. "$ref": "#/definitions/models.WRStandardInfo"
  6858. }
  6859. }
  6860. }
  6861. },
  6862. "erms3.QuerySpotContractInfoRsp": {
  6863. "type": "object",
  6864. "properties": {
  6865. "accountid": {
  6866. "description": "表示交易员ID.",
  6867. "type": "integer"
  6868. },
  6869. "curdeliveryqty": {
  6870. "description": "表示未交收量.",
  6871. "type": "number"
  6872. },
  6873. "customername": {
  6874. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  6875. "type": "string"
  6876. },
  6877. "deliverygoodsid": {
  6878. "description": "表示品种ID.",
  6879. "type": "string"
  6880. },
  6881. "deliveryqty": {
  6882. "description": "表示交收量.",
  6883. "type": "number"
  6884. },
  6885. "matchaccountid": {
  6886. "description": "表示业务员ID.",
  6887. "type": "integer"
  6888. },
  6889. "matchcustomername": {
  6890. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  6891. "type": "string"
  6892. },
  6893. "priceqty": {
  6894. "description": "表示定价量.",
  6895. "type": "number"
  6896. },
  6897. "relatedbizid": {
  6898. "description": "表示业务ID.",
  6899. "type": "string"
  6900. },
  6901. "signdate": {
  6902. "description": "表示签订日期.",
  6903. "type": "string"
  6904. },
  6905. "spotcontractid": {
  6906. "description": "合同ID",
  6907. "type": "string"
  6908. },
  6909. "status": {
  6910. "description": "表示状态,0-履约中 1-已完成.",
  6911. "type": "integer"
  6912. },
  6913. "totalqty": {
  6914. "description": "表示合同量.",
  6915. "type": "number"
  6916. },
  6917. "unpricedqty": {
  6918. "description": "表示未定价量.",
  6919. "type": "number"
  6920. },
  6921. "wrstandardname": {
  6922. "description": "表示商品ID.",
  6923. "type": "string"
  6924. }
  6925. }
  6926. },
  6927. "erms3.QueryUserInfoAppliesRsp": {
  6928. "type": "object",
  6929. "required": [
  6930. "userid"
  6931. ],
  6932. "properties": {
  6933. "biznature": {
  6934. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6935. "type": "integer"
  6936. },
  6937. "contactname": {
  6938. "description": "联系人",
  6939. "type": "string"
  6940. },
  6941. "createtime": {
  6942. "description": "开户申请时间",
  6943. "type": "string"
  6944. },
  6945. "userid": {
  6946. "description": "用户ID(自增ID)",
  6947. "type": "integer"
  6948. },
  6949. "userinfotype": {
  6950. "description": "用户信息类型 - 1:个人 2:企业",
  6951. "type": "integer"
  6952. },
  6953. "username": {
  6954. "description": "用户姓名",
  6955. "type": "string"
  6956. },
  6957. "userstate": {
  6958. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6959. "type": "integer"
  6960. }
  6961. }
  6962. },
  6963. "erms3.QueryUserInfosRsp": {
  6964. "type": "object",
  6965. "required": [
  6966. "userid"
  6967. ],
  6968. "properties": {
  6969. "biznature": {
  6970. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6971. "type": "integer"
  6972. },
  6973. "contactname": {
  6974. "description": "联系人",
  6975. "type": "string"
  6976. },
  6977. "customername": {
  6978. "description": "客户名称(企业名称)",
  6979. "type": "string"
  6980. },
  6981. "userid": {
  6982. "description": "用户ID",
  6983. "type": "integer"
  6984. },
  6985. "userinfotype": {
  6986. "description": "用户信息类型 - 1:个人 2:企业",
  6987. "type": "integer"
  6988. },
  6989. "userstatus": {
  6990. "description": "用户状态 - 1:正常 2:注销",
  6991. "type": "integer"
  6992. }
  6993. }
  6994. },
  6995. "erms3.SoptContractDetail": {
  6996. "type": "object",
  6997. "required": [
  6998. "deliverygoodsid",
  6999. "producttype",
  7000. "unitname",
  7001. "warehouseid",
  7002. "wrstandardid",
  7003. "wrstandardname"
  7004. ],
  7005. "properties": {
  7006. "deliverygoodsdesc": {
  7007. "description": "现货品种说明",
  7008. "type": "string"
  7009. },
  7010. "deliverygoodsid": {
  7011. "description": "现货品种ID",
  7012. "type": "integer"
  7013. },
  7014. "deliverygoodsname": {
  7015. "description": "现货品种名称",
  7016. "type": "string"
  7017. },
  7018. "pointdesc": {
  7019. "description": "点价描述",
  7020. "type": "string"
  7021. },
  7022. "producttype": {
  7023. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  7024. "type": "integer"
  7025. },
  7026. "producttypename": {
  7027. "description": "产品类型名称",
  7028. "type": "string"
  7029. },
  7030. "spotPointOrderVoList": {
  7031. "description": "点价列表",
  7032. "type": "array",
  7033. "items": {
  7034. "$ref": "#/definitions/erms3.SpotPointOrder"
  7035. }
  7036. },
  7037. "spotPriceOrderList": {
  7038. "description": "定价列表",
  7039. "type": "array",
  7040. "items": {
  7041. "$ref": "#/definitions/erms3.SpotPriceOrder"
  7042. }
  7043. },
  7044. "unitname": {
  7045. "description": "单位名称",
  7046. "type": "string"
  7047. },
  7048. "warehouseid": {
  7049. "description": "仓库ID",
  7050. "type": "integer"
  7051. },
  7052. "warehousename": {
  7053. "description": "仓库名称",
  7054. "type": "string"
  7055. },
  7056. "wrstandardid": {
  7057. "description": "交易标的ID",
  7058. "type": "integer"
  7059. },
  7060. "wrstandardname": {
  7061. "description": "交易标的名称",
  7062. "type": "string"
  7063. }
  7064. }
  7065. },
  7066. "erms3.SpotPointOrder": {
  7067. "type": "object",
  7068. "required": [
  7069. "basic",
  7070. "goodsid",
  7071. "qty"
  7072. ],
  7073. "properties": {
  7074. "basic": {
  7075. "description": "基差",
  7076. "type": "number"
  7077. },
  7078. "deliveryenddate": {
  7079. "description": "交收结束日期",
  7080. "type": "string"
  7081. },
  7082. "deliverystartdate": {
  7083. "description": "交收开始日期",
  7084. "type": "string"
  7085. },
  7086. "enddate": {
  7087. "description": "点价结束日期",
  7088. "type": "string"
  7089. },
  7090. "goodsid": {
  7091. "description": "商品ID",
  7092. "type": "integer"
  7093. },
  7094. "goodsname": {
  7095. "description": "商品名称",
  7096. "type": "string"
  7097. },
  7098. "qty": {
  7099. "description": "数量",
  7100. "type": "number"
  7101. },
  7102. "startdate": {
  7103. "description": "点价开始日期",
  7104. "type": "string"
  7105. }
  7106. }
  7107. },
  7108. "erms3.SpotPriceOrder": {
  7109. "type": "object",
  7110. "required": [
  7111. "amount",
  7112. "price",
  7113. "qty"
  7114. ],
  7115. "properties": {
  7116. "amount": {
  7117. "description": "金额",
  7118. "type": "number"
  7119. },
  7120. "deliveryenddate": {
  7121. "description": "交收结束日期",
  7122. "type": "string"
  7123. },
  7124. "deliverystartdate": {
  7125. "description": "交收开始日期",
  7126. "type": "string"
  7127. },
  7128. "price": {
  7129. "description": "价格",
  7130. "type": "number"
  7131. },
  7132. "qty": {
  7133. "description": "数量",
  7134. "type": "number"
  7135. }
  7136. }
  7137. },
  7138. "hsby.GetHsbyMyCountRsp": {
  7139. "type": "object",
  7140. "properties": {
  7141. "myCouponCount": {
  7142. "description": "我的优惠卷数量",
  7143. "type": "integer"
  7144. },
  7145. "myOrderDetailListingCount": {
  7146. "description": "我的订单求购中数量",
  7147. "type": "integer"
  7148. },
  7149. "myOrderDetailPreCount": {
  7150. "description": "我的订单抢购中数量",
  7151. "type": "integer"
  7152. },
  7153. "myPackageUnReceiveCount": {
  7154. "description": "我的包裹待收货数量",
  7155. "type": "integer"
  7156. },
  7157. "myPackageUnSendCount": {
  7158. "description": "我的包裹待发货数量",
  7159. "type": "integer"
  7160. },
  7161. "myPayOrderCount": {
  7162. "description": "我的订单待付款数量",
  7163. "type": "integer"
  7164. }
  7165. }
  7166. },
  7167. "hsby.QueryProvincesAndCitiesRsp": {
  7168. "type": "object",
  7169. "properties": {
  7170. "cities": {
  7171. "description": "市",
  7172. "type": "array",
  7173. "items": {
  7174. "$ref": "#/definitions/models.Division"
  7175. }
  7176. },
  7177. "province": {
  7178. "description": "省",
  7179. "type": "object",
  7180. "$ref": "#/definitions/models.Division"
  7181. }
  7182. }
  7183. },
  7184. "models.Division": {
  7185. "type": "object",
  7186. "required": [
  7187. "autoid",
  7188. "divisioncode"
  7189. ],
  7190. "properties": {
  7191. "autoid": {
  7192. "description": "自增ID",
  7193. "type": "integer"
  7194. },
  7195. "divisioncode": {
  7196. "description": "行政代码",
  7197. "type": "string"
  7198. },
  7199. "divisionlevel": {
  7200. "description": "行政级别",
  7201. "type": "string"
  7202. },
  7203. "divisionname": {
  7204. "description": "行政名称",
  7205. "type": "string"
  7206. },
  7207. "modifierid": {
  7208. "description": "修改人",
  7209. "type": "integer"
  7210. },
  7211. "modifytime": {
  7212. "description": "修改时间",
  7213. "type": "string"
  7214. },
  7215. "parentcode": {
  7216. "description": "上级行政代码",
  7217. "type": "string"
  7218. },
  7219. "pathname": {
  7220. "description": "路径名称",
  7221. "type": "string"
  7222. },
  7223. "postcode": {
  7224. "description": "邮政编码",
  7225. "type": "string"
  7226. },
  7227. "separablename": {
  7228. "description": "可拆分的全称",
  7229. "type": "string"
  7230. },
  7231. "shortcode": {
  7232. "description": "地区简码",
  7233. "type": "string"
  7234. }
  7235. }
  7236. },
  7237. "models.Enumdicitem": {
  7238. "type": "object",
  7239. "required": [
  7240. "autoid",
  7241. "enumdiccode",
  7242. "enumdicid",
  7243. "enumitemname"
  7244. ],
  7245. "properties": {
  7246. "autoid": {
  7247. "description": "自增ID",
  7248. "type": "integer"
  7249. },
  7250. "bankmappedvalue": {
  7251. "description": "银行服务对应值",
  7252. "type": "string"
  7253. },
  7254. "enumdiccode": {
  7255. "description": "所属枚举代码",
  7256. "type": "string"
  7257. },
  7258. "enumdicid": {
  7259. "description": "所属枚举ID",
  7260. "type": "integer"
  7261. },
  7262. "enumdicname": {
  7263. "description": "枚举项名称",
  7264. "type": "string"
  7265. },
  7266. "enumitemname": {
  7267. "description": "枚举项值",
  7268. "type": "integer"
  7269. },
  7270. "enumitemstatus": {
  7271. "description": "枚举项状态 - 1.启用 2.不启用",
  7272. "type": "integer"
  7273. },
  7274. "enumitemvalue": {
  7275. "description": "通用值 - [币种通用简写]",
  7276. "type": "string"
  7277. },
  7278. "param1": {
  7279. "description": "参数1[币种:币种小数位]",
  7280. "type": "string"
  7281. },
  7282. "param2": {
  7283. "description": "参数1[币种:币种显示单位]",
  7284. "type": "string"
  7285. },
  7286. "remark": {
  7287. "description": "备注",
  7288. "type": "string"
  7289. }
  7290. }
  7291. },
  7292. "models.ErmcpHedgePlan": {
  7293. "type": "object",
  7294. "properties": {
  7295. "contracttype": {
  7296. "description": "计划类型 - 1:采购 -1:销售",
  7297. "type": "integer"
  7298. },
  7299. "convertfactor": {
  7300. "description": "标仓系数",
  7301. "type": "number"
  7302. },
  7303. "deliverygoodsid": {
  7304. "description": "现货品种ID",
  7305. "type": "integer"
  7306. },
  7307. "deliverygoodsname": {
  7308. "description": "现货品种名称",
  7309. "type": "string"
  7310. },
  7311. "hedgeplanid": {
  7312. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  7313. "type": "string"
  7314. },
  7315. "hedgeplanno": {
  7316. "description": "套保计划编号",
  7317. "type": "string"
  7318. },
  7319. "hedgeplanstatus": {
  7320. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7321. "type": "integer"
  7322. },
  7323. "planqty": {
  7324. "description": "计划数量",
  7325. "type": "number"
  7326. },
  7327. "plantime": {
  7328. "description": "计划时间",
  7329. "type": "string"
  7330. },
  7331. "producttype": {
  7332. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7333. "type": "integer"
  7334. },
  7335. "remark": {
  7336. "description": "备注",
  7337. "type": "string"
  7338. },
  7339. "spotgoodsdesc": {
  7340. "description": "商品型号",
  7341. "type": "string"
  7342. },
  7343. "wrstandardid": {
  7344. "description": "现货商品ID",
  7345. "type": "integer"
  7346. },
  7347. "wrstandardname": {
  7348. "description": "现货商品名称",
  7349. "type": "string"
  7350. }
  7351. }
  7352. },
  7353. "models.ErmcpModel": {
  7354. "type": "object",
  7355. "properties": {
  7356. "accountid": {
  7357. "description": "账户ID",
  7358. "type": "string"
  7359. },
  7360. "accountname": {
  7361. "description": "账户名称",
  7362. "type": "string"
  7363. },
  7364. "contracctstatus": {
  7365. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7366. "type": "integer"
  7367. },
  7368. "convertfactor": {
  7369. "description": "标仓系数",
  7370. "type": "number"
  7371. },
  7372. "daikaiAmount": {
  7373. "description": "待开票额",
  7374. "type": "number"
  7375. },
  7376. "deliveryenddate": {
  7377. "description": "交割结束日",
  7378. "type": "string"
  7379. },
  7380. "deliverygoodscode": {
  7381. "description": "现货商品代码",
  7382. "type": "string"
  7383. },
  7384. "deliverygoodsid": {
  7385. "description": "现货商品ID",
  7386. "type": "integer"
  7387. },
  7388. "deliverygoodsname": {
  7389. "description": "现货商品名称",
  7390. "type": "string"
  7391. },
  7392. "deliverystartdate": {
  7393. "description": "交割开始日",
  7394. "type": "string"
  7395. },
  7396. "enddate": {
  7397. "description": "点价结束日",
  7398. "type": "string"
  7399. },
  7400. "enumdicname": {
  7401. "description": "单位名称",
  7402. "type": "string"
  7403. },
  7404. "goodscode": {
  7405. "description": "点价商品代码",
  7406. "type": "string"
  7407. },
  7408. "goodsid": {
  7409. "description": "点价商品ID",
  7410. "type": "integer"
  7411. },
  7412. "invoiceamount": {
  7413. "description": "已开票额",
  7414. "type": "number"
  7415. },
  7416. "payamount": {
  7417. "description": "已收付额(收款或付款)",
  7418. "type": "number"
  7419. },
  7420. "pricedqty": {
  7421. "description": "已定价量",
  7422. "type": "number"
  7423. },
  7424. "pricemove": {
  7425. "description": "升贴水",
  7426. "type": "number"
  7427. },
  7428. "pricetype": {
  7429. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7430. "type": "integer"
  7431. },
  7432. "producttype": {
  7433. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7434. "type": "integer"
  7435. },
  7436. "qty": {
  7437. "description": "合同量",
  7438. "type": "number"
  7439. },
  7440. "spotcontractid": {
  7441. "description": "合同ID",
  7442. "type": "string"
  7443. },
  7444. "spotgoodsdesc": {
  7445. "description": "商品型号(商品规格)",
  7446. "type": "string"
  7447. },
  7448. "startdate": {
  7449. "description": "点价开始日",
  7450. "type": "string"
  7451. },
  7452. "unpayAmount": {
  7453. "description": "待支收额(支付或收款)",
  7454. "type": "number"
  7455. },
  7456. "unpricedqty": {
  7457. "description": "未定价量",
  7458. "type": "number"
  7459. },
  7460. "unsureqty": {
  7461. "description": "未确定量",
  7462. "type": "number"
  7463. }
  7464. }
  7465. },
  7466. "models.ErmcpSpotContractModel": {
  7467. "type": "object",
  7468. "properties": {
  7469. "AMOUNT": {
  7470. "description": "金额 [1:一口价、3:暂定价]",
  7471. "type": "number"
  7472. },
  7473. "BUYUSERID": {
  7474. "description": "采购方ID",
  7475. "type": "integer"
  7476. },
  7477. "BUYUSERName": {
  7478. "description": "采购方名称",
  7479. "type": "string"
  7480. },
  7481. "CONTRACCTSTATUS": {
  7482. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7483. "type": "integer"
  7484. },
  7485. "CONTRACTNO": {
  7486. "description": "现货合同编号",
  7487. "type": "string"
  7488. },
  7489. "CONTRACTTYPE": {
  7490. "description": "现货合同类型 - 1:采购 -1:销售",
  7491. "type": "integer"
  7492. },
  7493. "CONVERTFACTOR": {
  7494. "description": "标仓系数",
  7495. "type": "number"
  7496. },
  7497. "DELIVERYENDDATE": {
  7498. "description": "交收期(结束)",
  7499. "type": "string"
  7500. },
  7501. "DELIVERYGOODSCODE": {
  7502. "description": "现货品种代码",
  7503. "type": "string"
  7504. },
  7505. "DELIVERYGOODSID": {
  7506. "description": "现货品种ID",
  7507. "type": "integer"
  7508. },
  7509. "DELIVERYGOODSNAME": {
  7510. "description": "现货品种名称",
  7511. "type": "string"
  7512. },
  7513. "DELIVERYSTARTDATE": {
  7514. "description": "交收期(开始)",
  7515. "type": "string"
  7516. },
  7517. "ENDDATE": {
  7518. "description": "点价结束日期 [2:点价 3:暂定价]",
  7519. "type": "string"
  7520. },
  7521. "EnumdicName": {
  7522. "description": "单位名称",
  7523. "type": "string"
  7524. },
  7525. "GOODSCODE": {
  7526. "description": "点价合约代码",
  7527. "type": "string"
  7528. },
  7529. "GOODSID": {
  7530. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  7531. "type": "integer"
  7532. },
  7533. "MARGIN": {
  7534. "description": "当前保证金",
  7535. "type": "number"
  7536. },
  7537. "PRICE": {
  7538. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  7539. "type": "number"
  7540. },
  7541. "PRICEMOVE": {
  7542. "description": "升贴水 [2:点价 3:暂定价]",
  7543. "type": "number"
  7544. },
  7545. "PRICETYPE": {
  7546. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7547. "type": "integer"
  7548. },
  7549. "PRODUCTTYPE": {
  7550. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7551. "type": "integer"
  7552. },
  7553. "QTY": {
  7554. "description": "数量",
  7555. "type": "number"
  7556. },
  7557. "SELLUSERID": {
  7558. "description": "销售方ID",
  7559. "type": "integer"
  7560. },
  7561. "SELLUSERNAME": {
  7562. "description": "销售方名称",
  7563. "type": "string"
  7564. },
  7565. "SPOTCONTRACTID": {
  7566. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  7567. "type": "string"
  7568. },
  7569. "SPOTGOODSDESC": {
  7570. "description": "商品型号",
  7571. "type": "string"
  7572. },
  7573. "STARTDATE": {
  7574. "description": "点价开始日期 [2:点价 3:暂定价]",
  7575. "type": "string"
  7576. }
  7577. }
  7578. },
  7579. "models.ErmcpUserModel": {
  7580. "type": "object",
  7581. "properties": {
  7582. "address": {
  7583. "description": "通讯地址",
  7584. "type": "string"
  7585. },
  7586. "cardnum": {
  7587. "description": "证件号码",
  7588. "type": "string"
  7589. },
  7590. "cardtype": {
  7591. "description": "证件类型",
  7592. "type": "string"
  7593. },
  7594. "customername": {
  7595. "description": "企业名称",
  7596. "type": "string"
  7597. },
  7598. "mobile": {
  7599. "description": "手机号码",
  7600. "type": "string"
  7601. },
  7602. "remark": {
  7603. "description": "备注",
  7604. "type": "string"
  7605. },
  7606. "status": {
  7607. "description": "账户状态",
  7608. "type": "string"
  7609. },
  7610. "telphone": {
  7611. "description": "联系电话",
  7612. "type": "string"
  7613. },
  7614. "userinfotype": {
  7615. "description": "客户类型",
  7616. "type": "string"
  7617. }
  7618. }
  7619. },
  7620. "models.GoodsIDAndName": {
  7621. "type": "object",
  7622. "required": [
  7623. "goodscode",
  7624. "goodsid",
  7625. "goodsname",
  7626. "marketid"
  7627. ],
  7628. "properties": {
  7629. "goodscode": {
  7630. "description": "商品代码(内部)",
  7631. "type": "string"
  7632. },
  7633. "goodsid": {
  7634. "description": "商品ID(自增ID SEQ_GOODS)",
  7635. "type": "integer"
  7636. },
  7637. "goodsname": {
  7638. "description": "商品名称",
  7639. "type": "string"
  7640. },
  7641. "marketid": {
  7642. "description": "所属市场ID",
  7643. "type": "integer"
  7644. }
  7645. }
  7646. },
  7647. "models.HsbyBuyMyPayOrder": {
  7648. "type": "object",
  7649. "required": [
  7650. "goodscode",
  7651. "goodsname",
  7652. "tradeid",
  7653. "trademode"
  7654. ],
  7655. "properties": {
  7656. "agreeunit": {
  7657. "description": "合约单位",
  7658. "type": "number"
  7659. },
  7660. "buyaccountid": {
  7661. "description": "买方账号ID[报价币种]",
  7662. "type": "integer"
  7663. },
  7664. "buyorderid": {
  7665. "description": "买方委托单号",
  7666. "type": "string"
  7667. },
  7668. "createtime": {
  7669. "description": "创建时间",
  7670. "type": "string"
  7671. },
  7672. "currencysign": {
  7673. "description": "货币符号",
  7674. "type": "string"
  7675. },
  7676. "decimalplace": {
  7677. "description": "报价小数位",
  7678. "type": "integer"
  7679. },
  7680. "goodscode": {
  7681. "description": "商品代码(内部)",
  7682. "type": "string"
  7683. },
  7684. "goodsid": {
  7685. "description": "商品ID",
  7686. "type": "integer"
  7687. },
  7688. "goodsname": {
  7689. "description": "商品名称",
  7690. "type": "string"
  7691. },
  7692. "marketid": {
  7693. "description": "市场ID",
  7694. "type": "integer"
  7695. },
  7696. "offamount": {
  7697. "description": "优惠金额",
  7698. "type": "number"
  7699. },
  7700. "payamount": {
  7701. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7702. "type": "number"
  7703. },
  7704. "payflag": {
  7705. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7706. "type": "integer"
  7707. },
  7708. "paylimitedtime": {
  7709. "description": "支付期限",
  7710. "type": "string"
  7711. },
  7712. "paytime": {
  7713. "description": "付款时间",
  7714. "type": "string"
  7715. },
  7716. "picurls1": {
  7717. "description": "预售商品介绍图片[多张用逗号分隔]",
  7718. "type": "string"
  7719. },
  7720. "picurls2": {
  7721. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7722. "type": "string"
  7723. },
  7724. "sellaccountid": {
  7725. "description": "卖方账号ID[报价币种]",
  7726. "type": "integer"
  7727. },
  7728. "sellorderid": {
  7729. "description": "卖方委托单号",
  7730. "type": "string"
  7731. },
  7732. "tradeamount": {
  7733. "description": "成交金额",
  7734. "type": "number"
  7735. },
  7736. "tradecharge": {
  7737. "description": "成交手续费(买方)",
  7738. "type": "number"
  7739. },
  7740. "tradedate": {
  7741. "description": "交易日(yyyyMMdd)",
  7742. "type": "string"
  7743. },
  7744. "tradeid": {
  7745. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7746. "type": "string"
  7747. },
  7748. "trademode": {
  7749. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7750. "type": "integer"
  7751. },
  7752. "tradeprice": {
  7753. "description": "成交价格",
  7754. "type": "number"
  7755. },
  7756. "tradeqty": {
  7757. "description": "成交数量",
  7758. "type": "integer"
  7759. },
  7760. "vendorname1": {
  7761. "description": "预售商品供应商名称",
  7762. "type": "string"
  7763. },
  7764. "vendorname2": {
  7765. "description": "挂牌商品供应商名称",
  7766. "type": "string"
  7767. }
  7768. }
  7769. },
  7770. "models.HsbyBuyMyTradeDetail": {
  7771. "type": "object",
  7772. "required": [
  7773. "accountid",
  7774. "buyorsell",
  7775. "goodscode",
  7776. "goodsid",
  7777. "goodsname",
  7778. "marketid",
  7779. "orderid",
  7780. "qty",
  7781. "time",
  7782. "trademode"
  7783. ],
  7784. "properties": {
  7785. "accountid": {
  7786. "description": "账户ID[报价币种]",
  7787. "type": "integer"
  7788. },
  7789. "agreeunit": {
  7790. "description": "合约单位",
  7791. "type": "number"
  7792. },
  7793. "amount": {
  7794. "description": "金额 = 价格 * 数量 * 合约单位",
  7795. "type": "number"
  7796. },
  7797. "buyorsell": {
  7798. "description": "买卖 - 0:买 1:卖",
  7799. "type": "integer"
  7800. },
  7801. "currencysign": {
  7802. "description": "货币符号",
  7803. "type": "string"
  7804. },
  7805. "decimalplace": {
  7806. "description": "报价小数位",
  7807. "type": "integer"
  7808. },
  7809. "goodscode": {
  7810. "description": "商品代码(内部)",
  7811. "type": "string"
  7812. },
  7813. "goodsid": {
  7814. "description": "商品ID",
  7815. "type": "integer"
  7816. },
  7817. "goodsname": {
  7818. "description": "商品名称",
  7819. "type": "string"
  7820. },
  7821. "marketid": {
  7822. "description": "市场ID",
  7823. "type": "integer"
  7824. },
  7825. "orderid": {
  7826. "description": "单号(成交单号)",
  7827. "type": "string"
  7828. },
  7829. "picurls1": {
  7830. "description": "预售商品介绍图片[多张用逗号分隔]",
  7831. "type": "string"
  7832. },
  7833. "picurls2": {
  7834. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7835. "type": "string"
  7836. },
  7837. "price": {
  7838. "description": "价格",
  7839. "type": "number"
  7840. },
  7841. "qty": {
  7842. "description": "数量",
  7843. "type": "integer"
  7844. },
  7845. "time": {
  7846. "description": "时间",
  7847. "type": "string"
  7848. },
  7849. "trademode": {
  7850. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7851. "type": "integer"
  7852. },
  7853. "vendorname1": {
  7854. "description": "预售商品供应商名称",
  7855. "type": "string"
  7856. },
  7857. "vendorname2": {
  7858. "description": "挂牌商品供应商名称",
  7859. "type": "string"
  7860. }
  7861. }
  7862. },
  7863. "models.HsbyGoodsOrderDetail": {
  7864. "type": "object",
  7865. "required": [
  7866. "buyorsell",
  7867. "orderid",
  7868. "ordertime"
  7869. ],
  7870. "properties": {
  7871. "buyorsell": {
  7872. "description": "买卖 - 0:买 1:卖",
  7873. "type": "integer"
  7874. },
  7875. "currencysign": {
  7876. "description": "货币符号",
  7877. "type": "string"
  7878. },
  7879. "customername": {
  7880. "description": "客户名称(企业名称),已脱敏",
  7881. "type": "string"
  7882. },
  7883. "enableqty": {
  7884. "description": "可用数量",
  7885. "type": "integer"
  7886. },
  7887. "goodunit": {
  7888. "description": "报价单位",
  7889. "type": "string"
  7890. },
  7891. "orderid": {
  7892. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7893. "type": "string"
  7894. },
  7895. "orderprice": {
  7896. "description": "委托价格",
  7897. "type": "number"
  7898. },
  7899. "ordertime": {
  7900. "description": "委托时间",
  7901. "type": "string"
  7902. }
  7903. }
  7904. },
  7905. "models.HsbyListingGoodsDetail": {
  7906. "type": "object",
  7907. "required": [
  7908. "goodscode",
  7909. "goodsid",
  7910. "goodsname",
  7911. "marketid",
  7912. "trademode"
  7913. ],
  7914. "properties": {
  7915. "agreeunit": {
  7916. "description": "合约单位",
  7917. "type": "number"
  7918. },
  7919. "currency": {
  7920. "description": "货币",
  7921. "type": "string"
  7922. },
  7923. "currencysign": {
  7924. "description": "货币符号",
  7925. "type": "string"
  7926. },
  7927. "decimalplace": {
  7928. "description": "报价小数位",
  7929. "type": "integer"
  7930. },
  7931. "desccityid": {
  7932. "description": "目的地(市)ID",
  7933. "type": "integer"
  7934. },
  7935. "descprovinceid": {
  7936. "description": "目的地(省)ID",
  7937. "type": "integer"
  7938. },
  7939. "goodscode": {
  7940. "description": "商品代码(内部)",
  7941. "type": "string"
  7942. },
  7943. "goodsdesc": {
  7944. "description": "商品详情",
  7945. "type": "string"
  7946. },
  7947. "goodsid": {
  7948. "description": "商品ID(自增ID SEQ_GOODS)",
  7949. "type": "integer"
  7950. },
  7951. "goodsname": {
  7952. "description": "商品名称",
  7953. "type": "string"
  7954. },
  7955. "goodsprice": {
  7956. "description": "商品价格",
  7957. "type": "number"
  7958. },
  7959. "hotindex": {
  7960. "description": "景点热度",
  7961. "type": "integer"
  7962. },
  7963. "last": {
  7964. "description": "现价",
  7965. "type": "number"
  7966. },
  7967. "limitdown": {
  7968. "description": "跌停价",
  7969. "type": "number"
  7970. },
  7971. "limitup": {
  7972. "description": "涨停价",
  7973. "type": "number"
  7974. },
  7975. "lotsize": {
  7976. "description": "手数最小变动单位",
  7977. "type": "integer"
  7978. },
  7979. "marketid": {
  7980. "description": "所属市场ID",
  7981. "type": "integer"
  7982. },
  7983. "picurls": {
  7984. "description": "介绍图片[多张用逗号分隔]",
  7985. "type": "string"
  7986. },
  7987. "quoteminunit": {
  7988. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7989. "type": "integer"
  7990. },
  7991. "stepvalue": {
  7992. "description": "价格最小变动单位",
  7993. "type": "number"
  7994. },
  7995. "trademode": {
  7996. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7997. "type": "integer"
  7998. },
  7999. "vendorattr": {
  8000. "description": "供应商附件(多张,逗号分隔)",
  8001. "type": "string"
  8002. },
  8003. "vendorname": {
  8004. "description": "供应商名称",
  8005. "type": "string"
  8006. },
  8007. "vendorphone": {
  8008. "description": "供应商客服电话",
  8009. "type": "string"
  8010. },
  8011. "videourls": {
  8012. "description": "介绍视频[多张用逗号分隔]",
  8013. "type": "string"
  8014. }
  8015. }
  8016. },
  8017. "models.HsbyMarketGoods": {
  8018. "type": "object",
  8019. "required": [
  8020. "accountid",
  8021. "buyorsell",
  8022. "goodscode",
  8023. "goodsid",
  8024. "goodsname",
  8025. "marketid",
  8026. "orderid",
  8027. "trademode"
  8028. ],
  8029. "properties": {
  8030. "accountid": {
  8031. "description": "账户ID[报价币种]",
  8032. "type": "integer"
  8033. },
  8034. "agreeunit": {
  8035. "description": "合约单位",
  8036. "type": "number"
  8037. },
  8038. "buyorsell": {
  8039. "description": "买卖 - 0:买 1:卖",
  8040. "type": "integer"
  8041. },
  8042. "categoryid": {
  8043. "description": "类别ID(WRCATEGORY)",
  8044. "type": "integer"
  8045. },
  8046. "currency": {
  8047. "description": "货币",
  8048. "type": "string"
  8049. },
  8050. "currencysign": {
  8051. "description": "货币符号",
  8052. "type": "string"
  8053. },
  8054. "customername": {
  8055. "description": "卖家名称",
  8056. "type": "string"
  8057. },
  8058. "decimalplace": {
  8059. "description": "报价小数位",
  8060. "type": "integer"
  8061. },
  8062. "goodscode": {
  8063. "description": "商品代码(内部)",
  8064. "type": "string"
  8065. },
  8066. "goodsid": {
  8067. "description": "商品ID",
  8068. "type": "integer"
  8069. },
  8070. "goodsname": {
  8071. "description": "商品名称",
  8072. "type": "string"
  8073. },
  8074. "hascoupon": {
  8075. "description": "是否可用优惠卷",
  8076. "type": "boolean"
  8077. },
  8078. "hotindex": {
  8079. "description": "景点热度",
  8080. "type": "integer"
  8081. },
  8082. "marketid": {
  8083. "description": "市场ID",
  8084. "type": "integer"
  8085. },
  8086. "orderid": {
  8087. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8088. "type": "string"
  8089. },
  8090. "orderprice": {
  8091. "description": "委托价格",
  8092. "type": "number"
  8093. },
  8094. "orderstatus": {
  8095. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8096. "type": "integer"
  8097. },
  8098. "picurls": {
  8099. "description": "介绍图片[多张用逗号分隔]",
  8100. "type": "string"
  8101. },
  8102. "quoteminunit": {
  8103. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8104. "type": "integer"
  8105. },
  8106. "sellUserID": {
  8107. "description": "卖方UserID",
  8108. "type": "integer"
  8109. },
  8110. "trademode": {
  8111. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8112. "type": "integer"
  8113. },
  8114. "videourls": {
  8115. "description": "介绍视频[多张用逗号分隔]",
  8116. "type": "string"
  8117. }
  8118. }
  8119. },
  8120. "models.HsbyMarketGoodsDetail": {
  8121. "type": "object",
  8122. "required": [
  8123. "accountid",
  8124. "buyorsell",
  8125. "goodscode",
  8126. "goodsid",
  8127. "goodsname",
  8128. "marketid",
  8129. "orderid",
  8130. "orderqty",
  8131. "trademode"
  8132. ],
  8133. "properties": {
  8134. "accountid": {
  8135. "description": "账户ID[报价币种]",
  8136. "type": "integer"
  8137. },
  8138. "agreeunit": {
  8139. "description": "合约单位",
  8140. "type": "number"
  8141. },
  8142. "buyorsell": {
  8143. "description": "买卖 - 0:买 1:卖",
  8144. "type": "integer"
  8145. },
  8146. "cancelqty": {
  8147. "description": "撤单数量",
  8148. "type": "integer"
  8149. },
  8150. "categoryid": {
  8151. "description": "类别ID(WRCATEGORY)",
  8152. "type": "integer"
  8153. },
  8154. "currency": {
  8155. "description": "货币",
  8156. "type": "string"
  8157. },
  8158. "currencysign": {
  8159. "description": "货币符号",
  8160. "type": "string"
  8161. },
  8162. "customername": {
  8163. "description": "卖家名称",
  8164. "type": "string"
  8165. },
  8166. "decimalplace": {
  8167. "description": "报价小数位",
  8168. "type": "integer"
  8169. },
  8170. "goodscode": {
  8171. "description": "商品代码(内部)",
  8172. "type": "string"
  8173. },
  8174. "goodsdesc": {
  8175. "description": "商品详情",
  8176. "type": "string"
  8177. },
  8178. "goodsid": {
  8179. "description": "商品ID",
  8180. "type": "integer"
  8181. },
  8182. "goodsname": {
  8183. "description": "商品名称",
  8184. "type": "string"
  8185. },
  8186. "hotindex": {
  8187. "description": "景点热度",
  8188. "type": "integer"
  8189. },
  8190. "marketid": {
  8191. "description": "市场ID",
  8192. "type": "integer"
  8193. },
  8194. "orderid": {
  8195. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8196. "type": "string"
  8197. },
  8198. "orderprice": {
  8199. "description": "委托价格",
  8200. "type": "number"
  8201. },
  8202. "orderqty": {
  8203. "description": "委托数量",
  8204. "type": "integer"
  8205. },
  8206. "orderstatus": {
  8207. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8208. "type": "integer"
  8209. },
  8210. "picurls": {
  8211. "description": "介绍图片[多张用逗号分隔]",
  8212. "type": "string"
  8213. },
  8214. "quoteminunit": {
  8215. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8216. "type": "integer"
  8217. },
  8218. "sellUserID": {
  8219. "description": "卖方UserID",
  8220. "type": "integer"
  8221. },
  8222. "trademode": {
  8223. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8224. "type": "integer"
  8225. },
  8226. "tradeqty": {
  8227. "description": "成交数量",
  8228. "type": "integer"
  8229. },
  8230. "vendorname": {
  8231. "description": "供应商名称",
  8232. "type": "string"
  8233. },
  8234. "videourls": {
  8235. "description": "介绍视频[多张用逗号分隔]",
  8236. "type": "string"
  8237. }
  8238. }
  8239. },
  8240. "models.HsbyMarketInfo": {
  8241. "type": "object",
  8242. "required": [
  8243. "marketid",
  8244. "marketstatus",
  8245. "trademode"
  8246. ],
  8247. "properties": {
  8248. "marketid": {
  8249. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  8250. "type": "integer"
  8251. },
  8252. "marketname": {
  8253. "description": "市场名称",
  8254. "type": "string"
  8255. },
  8256. "marketstatus": {
  8257. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  8258. "type": "integer"
  8259. },
  8260. "trademode": {
  8261. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8262. "type": "integer"
  8263. }
  8264. }
  8265. },
  8266. "models.HsbyMyGoods": {
  8267. "type": "object",
  8268. "required": [
  8269. "accountid",
  8270. "goodscode",
  8271. "goodsid",
  8272. "goodsname",
  8273. "marketid",
  8274. "trademode"
  8275. ],
  8276. "properties": {
  8277. "accountid": {
  8278. "description": "账号Id",
  8279. "type": "integer"
  8280. },
  8281. "agreeunit": {
  8282. "description": "合约单位",
  8283. "type": "number"
  8284. },
  8285. "buyaverageprice": {
  8286. "description": "持仓均价",
  8287. "type": "number"
  8288. },
  8289. "buycurholderamount": {
  8290. "description": "买当前持仓总金额[商品币种]",
  8291. "type": "number"
  8292. },
  8293. "buycurpositionqty": {
  8294. "description": "买当前持仓总数量",
  8295. "type": "integer"
  8296. },
  8297. "currencysign": {
  8298. "description": "货币符号",
  8299. "type": "string"
  8300. },
  8301. "decimalplace": {
  8302. "description": "报价小数位",
  8303. "type": "integer"
  8304. },
  8305. "enableqty": {
  8306. "description": "可用数量",
  8307. "type": "integer"
  8308. },
  8309. "goodscode": {
  8310. "description": "商品代码(内部)",
  8311. "type": "string"
  8312. },
  8313. "goodsid": {
  8314. "description": "商品Id",
  8315. "type": "integer"
  8316. },
  8317. "goodsname": {
  8318. "description": "商品名称",
  8319. "type": "string"
  8320. },
  8321. "goodsprice": {
  8322. "description": "商品价格",
  8323. "type": "number"
  8324. },
  8325. "goodsstatus": {
  8326. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  8327. "type": "integer"
  8328. },
  8329. "marketid": {
  8330. "description": "所属市场ID",
  8331. "type": "integer"
  8332. },
  8333. "picurls": {
  8334. "description": "介绍图片[多张用逗号分隔]",
  8335. "type": "string"
  8336. },
  8337. "trademode": {
  8338. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8339. "type": "integer"
  8340. }
  8341. }
  8342. },
  8343. "models.HsbyMyPackage": {
  8344. "type": "object",
  8345. "required": [
  8346. "goodscode",
  8347. "goodsname",
  8348. "takeorderid"
  8349. ],
  8350. "properties": {
  8351. "accountid": {
  8352. "description": "账户ID",
  8353. "type": "integer"
  8354. },
  8355. "address": {
  8356. "description": "提货人详细地址",
  8357. "type": "string"
  8358. },
  8359. "agreeunit": {
  8360. "description": "合约单位",
  8361. "type": "number"
  8362. },
  8363. "amount": {
  8364. "description": "提货金额",
  8365. "type": "number"
  8366. },
  8367. "auditer": {
  8368. "description": "审核人",
  8369. "type": "integer"
  8370. },
  8371. "audittime": {
  8372. "description": "审核时间",
  8373. "type": "string"
  8374. },
  8375. "averageprice": {
  8376. "description": "均价",
  8377. "type": "number"
  8378. },
  8379. "cardnum": {
  8380. "description": "提货人证件号码",
  8381. "type": "string"
  8382. },
  8383. "cardtypeid": {
  8384. "description": "提货人证件类型",
  8385. "type": "integer"
  8386. },
  8387. "checkremark": {
  8388. "description": "审核备注",
  8389. "type": "string"
  8390. },
  8391. "currencysign": {
  8392. "description": "货币符号",
  8393. "type": "string"
  8394. },
  8395. "decimalplace": {
  8396. "description": "报价小数位",
  8397. "type": "integer"
  8398. },
  8399. "goodscode": {
  8400. "description": "商品代码(内部)",
  8401. "type": "string"
  8402. },
  8403. "goodsid": {
  8404. "description": "商品ID",
  8405. "type": "integer"
  8406. },
  8407. "goodsname": {
  8408. "description": "商品名称",
  8409. "type": "string"
  8410. },
  8411. "handlestatus": {
  8412. "description": "处理状态",
  8413. "type": "integer"
  8414. },
  8415. "marketid": {
  8416. "description": "市场ID",
  8417. "type": "integer"
  8418. },
  8419. "phonenum": {
  8420. "description": "提货人联系方式",
  8421. "type": "string"
  8422. },
  8423. "picurls": {
  8424. "description": "介绍图片[多张用逗号分隔]",
  8425. "type": "string"
  8426. },
  8427. "qty": {
  8428. "description": "提货数量",
  8429. "type": "number"
  8430. },
  8431. "recivername": {
  8432. "description": "提货人姓名",
  8433. "type": "string"
  8434. },
  8435. "reqtime": {
  8436. "description": "更新时间",
  8437. "type": "string"
  8438. },
  8439. "takemode": {
  8440. "description": "提货方式 - 2:自提 3:配送",
  8441. "type": "integer"
  8442. },
  8443. "takeorderid": {
  8444. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  8445. "type": "string"
  8446. },
  8447. "takeorderstatus": {
  8448. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8449. "type": "integer"
  8450. },
  8451. "takeremark": {
  8452. "description": "提货备注",
  8453. "type": "string"
  8454. },
  8455. "tradedate": {
  8456. "description": "交易日(yyyyMMdd)",
  8457. "type": "string"
  8458. },
  8459. "userid": {
  8460. "description": "用户ID",
  8461. "type": "integer"
  8462. },
  8463. "vendorname": {
  8464. "description": "供应商名称",
  8465. "type": "string"
  8466. }
  8467. }
  8468. },
  8469. "models.HsbyPreGoods": {
  8470. "type": "object",
  8471. "required": [
  8472. "goodscode",
  8473. "goodsid",
  8474. "goodsname",
  8475. "marketid",
  8476. "trademode"
  8477. ],
  8478. "properties": {
  8479. "agreeunit": {
  8480. "description": "合约单位",
  8481. "type": "number"
  8482. },
  8483. "currency": {
  8484. "description": "货币",
  8485. "type": "string"
  8486. },
  8487. "currencysign": {
  8488. "description": "货币符号",
  8489. "type": "string"
  8490. },
  8491. "decimalplace": {
  8492. "description": "报价小数位",
  8493. "type": "integer"
  8494. },
  8495. "enableqty": {
  8496. "description": "剩余数量",
  8497. "type": "integer"
  8498. },
  8499. "goodscode": {
  8500. "description": "商品代码(内部)",
  8501. "type": "string"
  8502. },
  8503. "goodsid": {
  8504. "description": "商品ID(自增ID SEQ_GOODS)",
  8505. "type": "integer"
  8506. },
  8507. "goodsname": {
  8508. "description": "商品名称",
  8509. "type": "string"
  8510. },
  8511. "goodsstatus": {
  8512. "description": "商品状态- 2:未上市 3:上市",
  8513. "type": "integer"
  8514. },
  8515. "lasttradedate": {
  8516. "description": "最后交易日期(状态:待退市)",
  8517. "type": "string"
  8518. },
  8519. "listingdate": {
  8520. "description": "交易开始日期",
  8521. "type": "string"
  8522. },
  8523. "marketid": {
  8524. "description": "所属市场ID",
  8525. "type": "integer"
  8526. },
  8527. "picurls": {
  8528. "description": "介绍图片[多张用逗号分隔]",
  8529. "type": "string"
  8530. },
  8531. "presaledqty": {
  8532. "description": "已预售量(预售结束时更新)",
  8533. "type": "integer"
  8534. },
  8535. "presaleqty": {
  8536. "description": "预售数量",
  8537. "type": "integer"
  8538. },
  8539. "quoteminunit": {
  8540. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8541. "type": "integer"
  8542. },
  8543. "refprice": {
  8544. "description": "参考价格[一口价]",
  8545. "type": "number"
  8546. },
  8547. "relatedgoodsid": {
  8548. "description": "关联交易合约ID",
  8549. "type": "integer"
  8550. },
  8551. "trademode": {
  8552. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8553. "type": "integer"
  8554. },
  8555. "videourls": {
  8556. "description": "介绍视频[多张用逗号分隔]",
  8557. "type": "string"
  8558. }
  8559. }
  8560. },
  8561. "models.HsbyPreGoodsDetail": {
  8562. "type": "object",
  8563. "required": [
  8564. "goodscode",
  8565. "goodsid",
  8566. "goodsname",
  8567. "marketid",
  8568. "trademode"
  8569. ],
  8570. "properties": {
  8571. "agreeunit": {
  8572. "description": "合约单位",
  8573. "type": "number"
  8574. },
  8575. "buymaxqty": {
  8576. "description": "购买上限 [71] - 0为不限",
  8577. "type": "integer"
  8578. },
  8579. "currency": {
  8580. "description": "货币",
  8581. "type": "string"
  8582. },
  8583. "currencysign": {
  8584. "description": "货币符号",
  8585. "type": "string"
  8586. },
  8587. "customername": {
  8588. "description": "发行单位",
  8589. "type": "string"
  8590. },
  8591. "decimalplace": {
  8592. "description": "报价小数位",
  8593. "type": "integer"
  8594. },
  8595. "desccityid": {
  8596. "description": "目的地(市)ID",
  8597. "type": "integer"
  8598. },
  8599. "descprovinceid": {
  8600. "description": "目的地(省)ID",
  8601. "type": "integer"
  8602. },
  8603. "enableqty": {
  8604. "description": "剩余数量",
  8605. "type": "integer"
  8606. },
  8607. "goodscode": {
  8608. "description": "商品代码(内部)",
  8609. "type": "string"
  8610. },
  8611. "goodsdesc": {
  8612. "description": "商品详情",
  8613. "type": "string"
  8614. },
  8615. "goodsid": {
  8616. "description": "商品ID(自增ID SEQ_GOODS)",
  8617. "type": "integer"
  8618. },
  8619. "goodsname": {
  8620. "description": "商品名称",
  8621. "type": "string"
  8622. },
  8623. "goodsstatus": {
  8624. "description": "商品状态- 2:未上市 3:上市",
  8625. "type": "integer"
  8626. },
  8627. "goodunit": {
  8628. "description": "报价单位",
  8629. "type": "string"
  8630. },
  8631. "lasttradedate": {
  8632. "description": "最后交易日期(状态:待退市)",
  8633. "type": "string"
  8634. },
  8635. "listingdate": {
  8636. "description": "交易开始日期",
  8637. "type": "string"
  8638. },
  8639. "lotsize": {
  8640. "description": "手数最小变动单位",
  8641. "type": "integer"
  8642. },
  8643. "marketid": {
  8644. "description": "所属市场ID",
  8645. "type": "integer"
  8646. },
  8647. "picurls": {
  8648. "description": "介绍图片[多张用逗号分隔]",
  8649. "type": "string"
  8650. },
  8651. "presaledqty": {
  8652. "description": "已预售量(预售结束时更新)",
  8653. "type": "integer"
  8654. },
  8655. "presaleqty": {
  8656. "description": "预售数量",
  8657. "type": "integer"
  8658. },
  8659. "quoteminunit": {
  8660. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8661. "type": "integer"
  8662. },
  8663. "refprice": {
  8664. "description": "参考价格[一口价]",
  8665. "type": "number"
  8666. },
  8667. "relatedgoodsid": {
  8668. "description": "关联交易合约ID",
  8669. "type": "integer"
  8670. },
  8671. "stepvalue": {
  8672. "description": "价格最小变动单位",
  8673. "type": "number"
  8674. },
  8675. "trademode": {
  8676. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8677. "type": "integer"
  8678. },
  8679. "vendorattr": {
  8680. "description": "供应商附件(多张,逗号分隔)",
  8681. "type": "string"
  8682. },
  8683. "vendorname": {
  8684. "description": "供应商名称",
  8685. "type": "string"
  8686. },
  8687. "vendorphone": {
  8688. "description": "供应商客服电话",
  8689. "type": "string"
  8690. },
  8691. "videourls": {
  8692. "description": "介绍视频[多张用逗号分隔]",
  8693. "type": "string"
  8694. }
  8695. }
  8696. },
  8697. "models.HsbySellCollectionOrder": {
  8698. "type": "object",
  8699. "required": [
  8700. "goodscode",
  8701. "goodsname",
  8702. "tradeid",
  8703. "trademode"
  8704. ],
  8705. "properties": {
  8706. "agreeunit": {
  8707. "description": "合约单位",
  8708. "type": "number"
  8709. },
  8710. "buyaccountid": {
  8711. "description": "买方账号ID[报价币种]",
  8712. "type": "integer"
  8713. },
  8714. "buyorderid": {
  8715. "description": "买方委托单号",
  8716. "type": "string"
  8717. },
  8718. "createtime": {
  8719. "description": "创建时间",
  8720. "type": "string"
  8721. },
  8722. "currencysign": {
  8723. "description": "货币符号",
  8724. "type": "string"
  8725. },
  8726. "decimalplace": {
  8727. "description": "报价小数位",
  8728. "type": "integer"
  8729. },
  8730. "goodscode": {
  8731. "description": "商品代码(内部)",
  8732. "type": "string"
  8733. },
  8734. "goodsid": {
  8735. "description": "商品ID",
  8736. "type": "integer"
  8737. },
  8738. "goodsname": {
  8739. "description": "商品名称",
  8740. "type": "string"
  8741. },
  8742. "marketid": {
  8743. "description": "市场ID",
  8744. "type": "integer"
  8745. },
  8746. "offamount": {
  8747. "description": "优惠金额",
  8748. "type": "number"
  8749. },
  8750. "payamount": {
  8751. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8752. "type": "number"
  8753. },
  8754. "payflag": {
  8755. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8756. "type": "integer"
  8757. },
  8758. "paylimitedtime": {
  8759. "description": "支付期限",
  8760. "type": "string"
  8761. },
  8762. "paytime": {
  8763. "description": "付款时间",
  8764. "type": "string"
  8765. },
  8766. "picurls": {
  8767. "description": "商品介绍图片[多张用逗号分隔]",
  8768. "type": "string"
  8769. },
  8770. "sellaccountid": {
  8771. "description": "卖方账号ID[报价币种]",
  8772. "type": "integer"
  8773. },
  8774. "sellorderid": {
  8775. "description": "卖方委托单号",
  8776. "type": "string"
  8777. },
  8778. "tradeamount": {
  8779. "description": "成交金额",
  8780. "type": "number"
  8781. },
  8782. "tradecharge": {
  8783. "description": "成交手续费(买方)",
  8784. "type": "number"
  8785. },
  8786. "tradedate": {
  8787. "description": "交易日(yyyyMMdd)",
  8788. "type": "string"
  8789. },
  8790. "tradeid": {
  8791. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8792. "type": "string"
  8793. },
  8794. "trademode": {
  8795. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8796. "type": "integer"
  8797. },
  8798. "tradeprice": {
  8799. "description": "成交价格",
  8800. "type": "number"
  8801. },
  8802. "tradeqty": {
  8803. "description": "成交数量",
  8804. "type": "integer"
  8805. }
  8806. }
  8807. },
  8808. "models.HsbySellMyDetail": {
  8809. "type": "object",
  8810. "required": [
  8811. "accountid",
  8812. "buyorsell",
  8813. "goodscode",
  8814. "goodsid",
  8815. "goodsname",
  8816. "marketid",
  8817. "orderid",
  8818. "time",
  8819. "trademode"
  8820. ],
  8821. "properties": {
  8822. "accountid": {
  8823. "description": "账户ID[报价币种]",
  8824. "type": "integer"
  8825. },
  8826. "agreeunit": {
  8827. "description": "合约单位",
  8828. "type": "number"
  8829. },
  8830. "buyorsell": {
  8831. "description": "买卖 - 0:买 1:卖",
  8832. "type": "integer"
  8833. },
  8834. "currencysign": {
  8835. "description": "货币符号",
  8836. "type": "string"
  8837. },
  8838. "decimalplace": {
  8839. "description": "报价小数位",
  8840. "type": "integer"
  8841. },
  8842. "goodscode": {
  8843. "description": "商品代码(内部)",
  8844. "type": "string"
  8845. },
  8846. "goodsid": {
  8847. "description": "商品ID",
  8848. "type": "integer"
  8849. },
  8850. "goodsname": {
  8851. "description": "商品名称",
  8852. "type": "string"
  8853. },
  8854. "marketid": {
  8855. "description": "市场ID",
  8856. "type": "integer"
  8857. },
  8858. "orderid": {
  8859. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  8860. "type": "string"
  8861. },
  8862. "ordertype": {
  8863. "description": "单据类型:0 - 发布中, 1 - 已完成",
  8864. "type": "integer"
  8865. },
  8866. "picurls": {
  8867. "description": "介绍图片[多张用逗号分隔]",
  8868. "type": "string"
  8869. },
  8870. "price": {
  8871. "description": "价格",
  8872. "type": "number"
  8873. },
  8874. "qty": {
  8875. "description": "数量",
  8876. "type": "integer"
  8877. },
  8878. "time": {
  8879. "description": "时间",
  8880. "type": "string"
  8881. },
  8882. "trademode": {
  8883. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8884. "type": "integer"
  8885. },
  8886. "vendorname": {
  8887. "description": "供应商名称",
  8888. "type": "string"
  8889. }
  8890. }
  8891. },
  8892. "models.HsbyTopGoods": {
  8893. "type": "object",
  8894. "required": [
  8895. "goodscode",
  8896. "goodsid",
  8897. "goodsname",
  8898. "marketid",
  8899. "trademode"
  8900. ],
  8901. "properties": {
  8902. "agreeunit": {
  8903. "description": "合约单位",
  8904. "type": "number"
  8905. },
  8906. "currency": {
  8907. "description": "货币",
  8908. "type": "string"
  8909. },
  8910. "currencysign": {
  8911. "description": "货币符号",
  8912. "type": "string"
  8913. },
  8914. "decimalplace": {
  8915. "description": "报价小数位",
  8916. "type": "integer"
  8917. },
  8918. "goodscode": {
  8919. "description": "商品代码(内部)",
  8920. "type": "string"
  8921. },
  8922. "goodsid": {
  8923. "description": "商品ID(自增ID SEQ_GOODS)",
  8924. "type": "integer"
  8925. },
  8926. "goodsname": {
  8927. "description": "商品名称",
  8928. "type": "string"
  8929. },
  8930. "hotindex": {
  8931. "description": "景点热度",
  8932. "type": "integer"
  8933. },
  8934. "last": {
  8935. "description": "现价",
  8936. "type": "number"
  8937. },
  8938. "marketid": {
  8939. "description": "所属市场ID",
  8940. "type": "integer"
  8941. },
  8942. "picurls": {
  8943. "description": "介绍图片[多张用逗号分隔]",
  8944. "type": "string"
  8945. },
  8946. "quoteminunit": {
  8947. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8948. "type": "integer"
  8949. },
  8950. "trademode": {
  8951. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8952. "type": "integer"
  8953. },
  8954. "videourls": {
  8955. "description": "介绍视频[多张用逗号分隔]",
  8956. "type": "string"
  8957. }
  8958. }
  8959. },
  8960. "models.HybsMyBuyOrderDetail": {
  8961. "type": "object",
  8962. "required": [
  8963. "accountid",
  8964. "buyorsell",
  8965. "goodscode",
  8966. "goodsid",
  8967. "goodsname",
  8968. "marketid",
  8969. "orderid",
  8970. "orderqty",
  8971. "ordertime",
  8972. "trademode"
  8973. ],
  8974. "properties": {
  8975. "accountid": {
  8976. "description": "账户ID[报价币种]",
  8977. "type": "integer"
  8978. },
  8979. "agreeunit": {
  8980. "description": "合约单位",
  8981. "type": "number"
  8982. },
  8983. "buyorsell": {
  8984. "description": "买卖 - 0:买 1:卖",
  8985. "type": "integer"
  8986. },
  8987. "cancelqty": {
  8988. "description": "撤单数量",
  8989. "type": "integer"
  8990. },
  8991. "currencysign": {
  8992. "description": "货币符号",
  8993. "type": "string"
  8994. },
  8995. "decimalplace": {
  8996. "description": "报价小数位",
  8997. "type": "integer"
  8998. },
  8999. "goodscode": {
  9000. "description": "商品代码(内部)",
  9001. "type": "string"
  9002. },
  9003. "goodsid": {
  9004. "description": "商品ID",
  9005. "type": "integer"
  9006. },
  9007. "goodsname": {
  9008. "description": "商品名称",
  9009. "type": "string"
  9010. },
  9011. "listingselecttype": {
  9012. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9013. "type": "integer"
  9014. },
  9015. "marketid": {
  9016. "description": "市场ID",
  9017. "type": "integer"
  9018. },
  9019. "mybuystatus": {
  9020. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  9021. "type": "integer"
  9022. },
  9023. "orderamount": {
  9024. "description": "委托金额",
  9025. "type": "number"
  9026. },
  9027. "orderid": {
  9028. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9029. "type": "string"
  9030. },
  9031. "orderprice": {
  9032. "description": "委托价格",
  9033. "type": "number"
  9034. },
  9035. "orderqty": {
  9036. "description": "委托数量",
  9037. "type": "integer"
  9038. },
  9039. "orderstatus": {
  9040. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9041. "type": "integer"
  9042. },
  9043. "ordertime": {
  9044. "description": "委托时间",
  9045. "type": "string"
  9046. },
  9047. "picurls1": {
  9048. "description": "预售商品介绍图片[多张用逗号分隔]",
  9049. "type": "string"
  9050. },
  9051. "picurls2": {
  9052. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9053. "type": "string"
  9054. },
  9055. "trademode": {
  9056. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9057. "type": "integer"
  9058. },
  9059. "tradeqty": {
  9060. "description": "成交数量",
  9061. "type": "integer"
  9062. },
  9063. "vendorname1": {
  9064. "description": "预售商品供应商名称",
  9065. "type": "string"
  9066. },
  9067. "vendorname2": {
  9068. "description": "挂牌商品供应商名称",
  9069. "type": "string"
  9070. }
  9071. }
  9072. },
  9073. "models.Marketrun": {
  9074. "type": "object",
  9075. "required": [
  9076. "marketid",
  9077. "nexttradedate",
  9078. "reckonflag",
  9079. "runstatus",
  9080. "tradedate",
  9081. "tradedate2"
  9082. ],
  9083. "properties": {
  9084. "afternexttradedate": {
  9085. "description": "下下交易日",
  9086. "type": "string"
  9087. },
  9088. "clearquoteflag": {
  9089. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  9090. "type": "integer"
  9091. },
  9092. "lastreckondate": {
  9093. "description": "最新交易日(结算成功)",
  9094. "type": "string"
  9095. },
  9096. "machinedate": {
  9097. "description": "机器时间",
  9098. "type": "string"
  9099. },
  9100. "manualflag": {
  9101. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  9102. "type": "integer"
  9103. },
  9104. "marketid": {
  9105. "description": "市场ID",
  9106. "type": "integer"
  9107. },
  9108. "nexttradedate": {
  9109. "description": "下一交易日",
  9110. "type": "string"
  9111. },
  9112. "pretradedate": {
  9113. "description": "上一交易日",
  9114. "type": "string"
  9115. },
  9116. "reckonflag": {
  9117. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  9118. "type": "integer"
  9119. },
  9120. "runstatus": {
  9121. "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.今日免清算",
  9122. "type": "integer"
  9123. },
  9124. "sectionid": {
  9125. "description": "时间段号[多时段时用]",
  9126. "type": "integer"
  9127. },
  9128. "tradedate": {
  9129. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  9130. "type": "string"
  9131. },
  9132. "tradedate2": {
  9133. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  9134. "type": "string"
  9135. },
  9136. "updatetime": {
  9137. "description": "更新时间",
  9138. "type": "string"
  9139. }
  9140. }
  9141. },
  9142. "models.Messageboard": {
  9143. "type": "object",
  9144. "required": [
  9145. "messageboardid"
  9146. ],
  9147. "properties": {
  9148. "createtime": {
  9149. "description": "创建时间",
  9150. "type": "string"
  9151. },
  9152. "message": {
  9153. "description": "留言信息",
  9154. "type": "string"
  9155. },
  9156. "messageboardid": {
  9157. "description": "留言簿ID(SEQ_MessageBoard)",
  9158. "type": "integer"
  9159. },
  9160. "userid": {
  9161. "description": "用户ID",
  9162. "type": "integer"
  9163. }
  9164. }
  9165. },
  9166. "models.MyCoupon": {
  9167. "type": "object",
  9168. "required": [
  9169. "accountid",
  9170. "coupontypeid"
  9171. ],
  9172. "properties": {
  9173. "accountid": {
  9174. "description": "资金账户ID",
  9175. "type": "integer"
  9176. },
  9177. "areauserid": {
  9178. "description": "所属机构",
  9179. "type": "integer"
  9180. },
  9181. "conditionvalue": {
  9182. "description": "条件阈值(可为0)",
  9183. "type": "number"
  9184. },
  9185. "couponcategroy": {
  9186. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  9187. "type": "integer"
  9188. },
  9189. "couponname": {
  9190. "description": "优惠券名称",
  9191. "type": "string"
  9192. },
  9193. "coupontypeid": {
  9194. "description": "优惠券类型ID",
  9195. "type": "string"
  9196. },
  9197. "couponvalue": {
  9198. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9199. "type": "number"
  9200. },
  9201. "curfreezeqty": {
  9202. "description": "期末冻结数量",
  9203. "type": "integer"
  9204. },
  9205. "curqty": {
  9206. "description": "期末数量",
  9207. "type": "integer"
  9208. },
  9209. "isgeneral": {
  9210. "description": "是否通用券 - 0:否 1:是",
  9211. "type": "integer"
  9212. },
  9213. "isunusable": {
  9214. "description": "是否不可用",
  9215. "type": "boolean"
  9216. },
  9217. "limitedflag": {
  9218. "description": "是否指定商品 - 0:不限 1:限制",
  9219. "type": "integer"
  9220. },
  9221. "limitedgoodsids": {
  9222. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  9223. "type": "string"
  9224. },
  9225. "orifreezeqty": {
  9226. "description": "期初冻结数量",
  9227. "type": "integer"
  9228. },
  9229. "oriqty": {
  9230. "description": "期初数量",
  9231. "type": "integer"
  9232. },
  9233. "reasontype": {
  9234. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  9235. "type": "integer"
  9236. },
  9237. "todaydecrease": {
  9238. "description": "今日减少",
  9239. "type": "integer"
  9240. },
  9241. "todayincrease": {
  9242. "description": "今日增加",
  9243. "type": "integer"
  9244. },
  9245. "userid": {
  9246. "description": "用户ID",
  9247. "type": "integer"
  9248. },
  9249. "userscope": {
  9250. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  9251. "type": "string"
  9252. }
  9253. }
  9254. },
  9255. "models.MyCouponHold": {
  9256. "type": "object",
  9257. "required": [
  9258. "couponholdid"
  9259. ],
  9260. "properties": {
  9261. "accountid": {
  9262. "description": "资金账户ID",
  9263. "type": "integer"
  9264. },
  9265. "conditionvalue": {
  9266. "description": "条件阈值(可为0)",
  9267. "type": "number"
  9268. },
  9269. "couponcategroy": {
  9270. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  9271. "type": "integer"
  9272. },
  9273. "couponholdid": {
  9274. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  9275. "type": "string"
  9276. },
  9277. "couponname": {
  9278. "description": "优惠券名称",
  9279. "type": "string"
  9280. },
  9281. "coupontypeid": {
  9282. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  9283. "type": "string"
  9284. },
  9285. "couponvalue": {
  9286. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9287. "type": "number"
  9288. },
  9289. "createtime": {
  9290. "description": "创建时间",
  9291. "type": "string"
  9292. },
  9293. "enddate": {
  9294. "description": "结束日期",
  9295. "type": "string"
  9296. },
  9297. "giveapplyid": {
  9298. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  9299. "type": "integer"
  9300. },
  9301. "holdstatus": {
  9302. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  9303. "type": "integer"
  9304. },
  9305. "isgeneral": {
  9306. "description": "是否通用券 - 0:否 1:是",
  9307. "type": "integer"
  9308. },
  9309. "limitedflag": {
  9310. "description": "是否指定商品 - 0:不限 1:限制",
  9311. "type": "integer"
  9312. },
  9313. "limitedgoodsids": {
  9314. "description": "指定商品IDs[逗号分隔]",
  9315. "type": "string"
  9316. },
  9317. "qty": {
  9318. "description": "数量(按1平铺)",
  9319. "type": "integer"
  9320. },
  9321. "startdate": {
  9322. "description": "开始日期",
  9323. "type": "string"
  9324. },
  9325. "userid": {
  9326. "description": "用户ID",
  9327. "type": "integer"
  9328. },
  9329. "userscope": {
  9330. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  9331. "type": "string"
  9332. }
  9333. }
  9334. },
  9335. "models.MyUsedCoupon": {
  9336. "type": "object",
  9337. "required": [
  9338. "coupontypeid",
  9339. "orderid"
  9340. ],
  9341. "properties": {
  9342. "accountid": {
  9343. "description": "资金账户ID(买方)",
  9344. "type": "integer"
  9345. },
  9346. "conditionvalue": {
  9347. "description": "条件阈值(可为0)",
  9348. "type": "number"
  9349. },
  9350. "couponcategroy": {
  9351. "description": "种类 - 1:现金券 2:折扣券",
  9352. "type": "integer"
  9353. },
  9354. "couponname": {
  9355. "description": "优惠券名称",
  9356. "type": "string"
  9357. },
  9358. "coupontypeid": {
  9359. "description": "优惠券类型ID(买方)",
  9360. "type": "string"
  9361. },
  9362. "couponvalue": {
  9363. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  9364. "type": "number"
  9365. },
  9366. "createtime": {
  9367. "description": "创建时间",
  9368. "type": "string"
  9369. },
  9370. "goodsid": {
  9371. "description": "商品ID",
  9372. "type": "integer"
  9373. },
  9374. "handlestatus": {
  9375. "description": "处理状态",
  9376. "type": "integer"
  9377. },
  9378. "marketid": {
  9379. "description": "市场ID",
  9380. "type": "integer"
  9381. },
  9382. "offamount": {
  9383. "description": "优惠金额",
  9384. "type": "number"
  9385. },
  9386. "orderid": {
  9387. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9388. "type": "string"
  9389. },
  9390. "sellaccountid": {
  9391. "description": "资金账户ID(卖方)",
  9392. "type": "integer"
  9393. },
  9394. "tradeamount": {
  9395. "description": "成交金额",
  9396. "type": "number"
  9397. },
  9398. "tradeid": {
  9399. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9400. "type": "string"
  9401. },
  9402. "usedqty": {
  9403. "description": "使用数量",
  9404. "type": "integer"
  9405. }
  9406. }
  9407. },
  9408. "models.OperationPrimaryMenu": {
  9409. "type": "object",
  9410. "properties": {
  9411. "Children": {
  9412. "description": "二级功能菜单",
  9413. "type": "array",
  9414. "items": {
  9415. "$ref": "#/definitions/models.OperationSecondaryMenu"
  9416. }
  9417. },
  9418. "Key": {
  9419. "description": "菜单KEY",
  9420. "type": "string"
  9421. },
  9422. "Label": {
  9423. "description": "菜单标题",
  9424. "type": "string"
  9425. }
  9426. }
  9427. },
  9428. "models.OperationSecondaryMenu": {
  9429. "type": "object",
  9430. "properties": {
  9431. "Key": {
  9432. "description": "菜单KEY",
  9433. "type": "string"
  9434. },
  9435. "Label": {
  9436. "description": "菜单标题",
  9437. "type": "string"
  9438. },
  9439. "TabList": {
  9440. "description": "三级功能菜单",
  9441. "type": "array",
  9442. "items": {
  9443. "$ref": "#/definitions/models.OperationTabMenu"
  9444. }
  9445. }
  9446. }
  9447. },
  9448. "models.OperationTabMenu": {
  9449. "type": "object",
  9450. "properties": {
  9451. "Key": {
  9452. "description": "菜单KEY",
  9453. "type": "string"
  9454. },
  9455. "Label": {
  9456. "description": "菜单标题",
  9457. "type": "string"
  9458. }
  9459. }
  9460. },
  9461. "models.PendingAuditBizModel": {
  9462. "type": "object",
  9463. "properties": {
  9464. "accountid": {
  9465. "description": "现货账户",
  9466. "type": "string"
  9467. },
  9468. "areaname": {
  9469. "description": "所属部门",
  9470. "type": "string"
  9471. },
  9472. "bizid": {
  9473. "description": "业务ID",
  9474. "type": "string"
  9475. },
  9476. "bizname": {
  9477. "description": "业务名称",
  9478. "type": "string"
  9479. },
  9480. "status": {
  9481. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9482. "type": "integer"
  9483. },
  9484. "type": {
  9485. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  9486. "type": "integer"
  9487. }
  9488. }
  9489. },
  9490. "models.QuotePrimaryMenu": {
  9491. "type": "object",
  9492. "properties": {
  9493. "Index": {
  9494. "description": "序号",
  9495. "type": "integer"
  9496. },
  9497. "Key": {
  9498. "description": "键名",
  9499. "type": "string"
  9500. },
  9501. "Name": {
  9502. "description": "菜单名称",
  9503. "type": "string"
  9504. },
  9505. "SubMenus": {
  9506. "description": "子菜单",
  9507. "type": "array",
  9508. "items": {
  9509. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  9510. }
  9511. },
  9512. "SubTitleType": {
  9513. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  9514. "type": "integer"
  9515. },
  9516. "TradeModes": {
  9517. "description": "包含市场交易类型",
  9518. "type": "string"
  9519. }
  9520. }
  9521. },
  9522. "models.QuoteSecondaryMenu": {
  9523. "type": "object",
  9524. "properties": {
  9525. "ExExchangeCode": {
  9526. "description": "外部交易所代码",
  9527. "type": "string"
  9528. },
  9529. "ExExchangeID": {
  9530. "description": "外部交易所ID",
  9531. "type": "integer"
  9532. },
  9533. "GoodsGroupIDs": {
  9534. "description": "商品组ID列表",
  9535. "type": "array",
  9536. "items": {
  9537. "type": "integer"
  9538. }
  9539. },
  9540. "Index": {
  9541. "description": "序号",
  9542. "type": "integer"
  9543. },
  9544. "MarketID": {
  9545. "description": "市场ID",
  9546. "type": "integer"
  9547. },
  9548. "MenuTitle": {
  9549. "description": "菜单标题(市场名称或外部交易所名称)",
  9550. "type": "string"
  9551. },
  9552. "TradeMode": {
  9553. "description": "交易模式",
  9554. "type": "integer"
  9555. }
  9556. }
  9557. },
  9558. "models.SearchGoods": {
  9559. "type": "object",
  9560. "required": [
  9561. "goodscode",
  9562. "goodsid",
  9563. "goodsname",
  9564. "marketid",
  9565. "trademode"
  9566. ],
  9567. "properties": {
  9568. "goodscode": {
  9569. "description": "商品代码(内部)",
  9570. "type": "string"
  9571. },
  9572. "goodsid": {
  9573. "description": "商品ID(自增ID SEQ_GOODS)",
  9574. "type": "integer"
  9575. },
  9576. "goodsname": {
  9577. "description": "商品名称",
  9578. "type": "string"
  9579. },
  9580. "marketid": {
  9581. "description": "所属市场ID",
  9582. "type": "integer"
  9583. },
  9584. "marketname": {
  9585. "description": "市场名称",
  9586. "type": "string"
  9587. },
  9588. "trademode": {
  9589. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9590. "type": "integer"
  9591. }
  9592. }
  9593. },
  9594. "models.Szdz2imageconfig": {
  9595. "type": "object",
  9596. "required": [
  9597. "configid"
  9598. ],
  9599. "properties": {
  9600. "configid": {
  9601. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9602. "type": "integer"
  9603. },
  9604. "imagepath": {
  9605. "description": "图片",
  9606. "type": "string"
  9607. },
  9608. "imagetype": {
  9609. "description": "类型 - 1:App首页轮播 2:我的",
  9610. "type": "integer"
  9611. },
  9612. "sort": {
  9613. "description": "排序",
  9614. "type": "integer"
  9615. },
  9616. "title": {
  9617. "description": "标题",
  9618. "type": "string"
  9619. },
  9620. "url": {
  9621. "description": "链接",
  9622. "type": "string"
  9623. }
  9624. }
  9625. },
  9626. "models.Szdz3convertconfig": {
  9627. "type": "object",
  9628. "required": [
  9629. "converttype",
  9630. "innergoodsid",
  9631. "outergoodscode"
  9632. ],
  9633. "properties": {
  9634. "canin": {
  9635. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  9636. "type": "integer"
  9637. },
  9638. "canout": {
  9639. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  9640. "type": "integer"
  9641. },
  9642. "converttype": {
  9643. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9644. "type": "integer"
  9645. },
  9646. "createtime": {
  9647. "description": "创建时间",
  9648. "type": "string"
  9649. },
  9650. "creatorid": {
  9651. "description": "创建人",
  9652. "type": "integer"
  9653. },
  9654. "daymaxvalue": {
  9655. "description": "当日最大转入限制",
  9656. "type": "number"
  9657. },
  9658. "freezedays": {
  9659. "description": "冻结天数 [5:花生米转交易]",
  9660. "type": "integer"
  9661. },
  9662. "innergoodsid": {
  9663. "description": "内部商品ID[交易]",
  9664. "type": "integer"
  9665. },
  9666. "inratio": {
  9667. "description": "目标值",
  9668. "type": "integer"
  9669. },
  9670. "modifierid": {
  9671. "description": "修改人",
  9672. "type": "integer"
  9673. },
  9674. "modifytime": {
  9675. "description": "修改时间",
  9676. "type": "string"
  9677. },
  9678. "outergoodscode": {
  9679. "description": "外部商品代码[JD\\PD]",
  9680. "type": "string"
  9681. },
  9682. "outratio": {
  9683. "description": "源值",
  9684. "type": "integer"
  9685. },
  9686. "pddecimalplace": {
  9687. "description": "PD小数位",
  9688. "type": "integer"
  9689. },
  9690. "timemaxvalue": {
  9691. "description": "单次最大转入限制",
  9692. "type": "number"
  9693. },
  9694. "timeminvalue": {
  9695. "description": "单次最小转入限制",
  9696. "type": "number"
  9697. }
  9698. }
  9699. },
  9700. "models.Szdz3searchwhitelist": {
  9701. "type": "object",
  9702. "required": [
  9703. "userid"
  9704. ],
  9705. "properties": {
  9706. "createtime": {
  9707. "description": "创建时间",
  9708. "type": "string"
  9709. },
  9710. "creatorid": {
  9711. "description": "创建人",
  9712. "type": "integer"
  9713. },
  9714. "modifierid": {
  9715. "description": "修改人",
  9716. "type": "integer"
  9717. },
  9718. "modifytime": {
  9719. "description": "修改时间",
  9720. "type": "string"
  9721. },
  9722. "userid": {
  9723. "description": "用户ID",
  9724. "type": "integer"
  9725. }
  9726. }
  9727. },
  9728. "models.Tablecolumnconfig": {
  9729. "type": "object",
  9730. "required": [
  9731. "autoid"
  9732. ],
  9733. "properties": {
  9734. "aligntype": {
  9735. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  9736. "type": "integer"
  9737. },
  9738. "autoid": {
  9739. "description": "AutoID",
  9740. "type": "integer"
  9741. },
  9742. "columnfield": {
  9743. "description": "列字段",
  9744. "type": "string"
  9745. },
  9746. "columntitle": {
  9747. "description": "列Title",
  9748. "type": "string"
  9749. },
  9750. "columnwidth": {
  9751. "description": "列宽",
  9752. "type": "string"
  9753. },
  9754. "formatterstring": {
  9755. "description": "格式化字符",
  9756. "type": "string"
  9757. },
  9758. "formattertype": {
  9759. "description": "格式化类型",
  9760. "type": "string"
  9761. },
  9762. "groupname": {
  9763. "description": "表头分组名称",
  9764. "type": "string"
  9765. },
  9766. "isshow": {
  9767. "description": "是否显示 - 0:不显示 1:显示",
  9768. "type": "integer"
  9769. },
  9770. "needsummary": {
  9771. "description": "是否需要汇总 - 0:不需要 1:需要",
  9772. "type": "integer"
  9773. },
  9774. "orderindex": {
  9775. "description": "顺序",
  9776. "type": "integer"
  9777. },
  9778. "remark": {
  9779. "description": "备注",
  9780. "type": "string"
  9781. },
  9782. "summarytype": {
  9783. "description": "汇总类型 - 1:加总 2:最后一个",
  9784. "type": "integer"
  9785. },
  9786. "tablekey": {
  9787. "description": "列表Key",
  9788. "type": "string"
  9789. }
  9790. }
  9791. },
  9792. "models.Useraccount": {
  9793. "type": "object",
  9794. "required": [
  9795. "userid"
  9796. ],
  9797. "properties": {
  9798. "accountname": {
  9799. "description": "账户名称(机构名称)",
  9800. "type": "string"
  9801. },
  9802. "accountstatus": {
  9803. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9804. "type": "integer"
  9805. },
  9806. "auditremark": {
  9807. "description": "审核备注",
  9808. "type": "string"
  9809. },
  9810. "audittime": {
  9811. "description": "审核时间",
  9812. "type": "string"
  9813. },
  9814. "audituserid": {
  9815. "description": "审核人",
  9816. "type": "integer"
  9817. },
  9818. "broker": {
  9819. "description": "所属经纪人ID",
  9820. "type": "integer"
  9821. },
  9822. "canceltime": {
  9823. "description": "销户时间",
  9824. "type": "string"
  9825. },
  9826. "canceluserid": {
  9827. "description": "销户人",
  9828. "type": "integer"
  9829. },
  9830. "createtime": {
  9831. "description": "创建时间",
  9832. "type": "string"
  9833. },
  9834. "creatorid": {
  9835. "description": "创建人",
  9836. "type": "integer"
  9837. },
  9838. "hasauth": {
  9839. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  9840. "type": "integer"
  9841. },
  9842. "isanonymous": {
  9843. "description": "是否匿名下单 - 0:否 1:是",
  9844. "type": "integer"
  9845. },
  9846. "maxinvestornum": {
  9847. "description": "最大用户数(经纪会员下投资者个数)",
  9848. "type": "integer"
  9849. },
  9850. "memberuserid": {
  9851. "description": "所属会员ID",
  9852. "type": "integer"
  9853. },
  9854. "modifierid": {
  9855. "description": "修改人",
  9856. "type": "integer"
  9857. },
  9858. "modifyremark": {
  9859. "description": "变更备注",
  9860. "type": "string"
  9861. },
  9862. "modifystatus": {
  9863. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  9864. "type": "integer"
  9865. },
  9866. "modifytime": {
  9867. "description": "修改时间",
  9868. "type": "string"
  9869. },
  9870. "parentuserid": {
  9871. "description": "所属机构ID",
  9872. "type": "integer"
  9873. },
  9874. "reckonaccountid": {
  9875. "description": "默认结算资金账号ID(机构分润使用) 作废",
  9876. "type": "integer"
  9877. },
  9878. "refercount": {
  9879. "description": "推荐总人数",
  9880. "type": "integer"
  9881. },
  9882. "refereeuserid": {
  9883. "description": "推荐人ID",
  9884. "type": "integer"
  9885. },
  9886. "refernum": {
  9887. "description": "推荐码",
  9888. "type": "string"
  9889. },
  9890. "subarealevelpath": {
  9891. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  9892. "type": "string"
  9893. },
  9894. "userid": {
  9895. "description": "用户ID",
  9896. "type": "integer"
  9897. },
  9898. "usertype": {
  9899. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  9900. "type": "integer"
  9901. }
  9902. }
  9903. },
  9904. "models.Userfavoritegoods": {
  9905. "type": "object",
  9906. "required": [
  9907. "goodsid"
  9908. ],
  9909. "properties": {
  9910. "goodsid": {
  9911. "description": "商品ID",
  9912. "type": "integer"
  9913. }
  9914. }
  9915. },
  9916. "models.Userinfo": {
  9917. "type": "object",
  9918. "required": [
  9919. "userid"
  9920. ],
  9921. "properties": {
  9922. "address": {
  9923. "description": "地址",
  9924. "type": "string"
  9925. },
  9926. "attachment1": {
  9927. "description": "附件1",
  9928. "type": "string"
  9929. },
  9930. "attachment2": {
  9931. "description": "附件2",
  9932. "type": "string"
  9933. },
  9934. "bankaccount": {
  9935. "description": "银行帐号 (加密存储)",
  9936. "type": "string"
  9937. },
  9938. "bankaccountname": {
  9939. "description": "收款人名称",
  9940. "type": "string"
  9941. },
  9942. "bankcardfrontphotourl": {
  9943. "description": "银行卡正面照地址",
  9944. "type": "string"
  9945. },
  9946. "bankid": {
  9947. "description": "银行编码",
  9948. "type": "string"
  9949. },
  9950. "bankname": {
  9951. "description": "银行名称",
  9952. "type": "string"
  9953. },
  9954. "biznature": {
  9955. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9956. "type": "integer"
  9957. },
  9958. "bizscope": {
  9959. "description": "企业经营范围(企业)",
  9960. "type": "string"
  9961. },
  9962. "cardbackphotourl": {
  9963. "description": "证件背面图片地址",
  9964. "type": "string"
  9965. },
  9966. "cardfrontphotourl": {
  9967. "description": "证件正面图片地址",
  9968. "type": "string"
  9969. },
  9970. "cardnum": {
  9971. "description": "证件号码(加密存储)",
  9972. "type": "string"
  9973. },
  9974. "cardtypeid": {
  9975. "description": "证件类型ID",
  9976. "type": "integer"
  9977. },
  9978. "cityid": {
  9979. "description": "市",
  9980. "type": "integer"
  9981. },
  9982. "company": {
  9983. "description": "公司(个人)",
  9984. "type": "string"
  9985. },
  9986. "contactname": {
  9987. "description": "联系人",
  9988. "type": "string"
  9989. },
  9990. "countryid": {
  9991. "description": "国家",
  9992. "type": "integer"
  9993. },
  9994. "createtime": {
  9995. "description": "创建时间",
  9996. "type": "string"
  9997. },
  9998. "creatorid": {
  9999. "description": "创建人",
  10000. "type": "integer"
  10001. },
  10002. "customername": {
  10003. "description": "客户名称(企业名称)",
  10004. "type": "string"
  10005. },
  10006. "districtid": {
  10007. "description": "地区",
  10008. "type": "integer"
  10009. },
  10010. "email": {
  10011. "description": "邮件(加密存储)",
  10012. "type": "string"
  10013. },
  10014. "fax": {
  10015. "description": "传真(加密存储)",
  10016. "type": "string"
  10017. },
  10018. "halfbodyphotourl": {
  10019. "description": "半身照地址",
  10020. "type": "string"
  10021. },
  10022. "hasencrypt": {
  10023. "description": "数据是否已加密 - 0:未加密 1:已加密",
  10024. "type": "integer"
  10025. },
  10026. "headurl": {
  10027. "description": "头像地址",
  10028. "type": "string"
  10029. },
  10030. "legalcardbackphotourl": {
  10031. "description": "法人身份证背面照地址",
  10032. "type": "string"
  10033. },
  10034. "legalcardfrontphotourl": {
  10035. "description": "法人身份证正面照地址",
  10036. "type": "string"
  10037. },
  10038. "legalpersonname": {
  10039. "description": "法人姓名(企业)",
  10040. "type": "string"
  10041. },
  10042. "mobile": {
  10043. "description": "手机号码(加密存储)",
  10044. "type": "string"
  10045. },
  10046. "mobile2": {
  10047. "description": "手机号码[明文-尚志]",
  10048. "type": "string"
  10049. },
  10050. "modifierid": {
  10051. "description": "修改人",
  10052. "type": "integer"
  10053. },
  10054. "modifiertime": {
  10055. "description": "修改时间",
  10056. "type": "string"
  10057. },
  10058. "needinvoice": {
  10059. "description": "是否需要发票 - 0:不需要 1:需要",
  10060. "type": "integer"
  10061. },
  10062. "nickname": {
  10063. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  10064. "type": "string"
  10065. },
  10066. "openmode": {
  10067. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  10068. "type": "integer"
  10069. },
  10070. "otherurl": {
  10071. "description": "其它图片地址[使用分号分隔]",
  10072. "type": "string"
  10073. },
  10074. "postalcode": {
  10075. "description": "邮政编码",
  10076. "type": "string"
  10077. },
  10078. "provinceid": {
  10079. "description": "省",
  10080. "type": "integer"
  10081. },
  10082. "qq": {
  10083. "description": "QQ(加密存储",
  10084. "type": "string"
  10085. },
  10086. "remark": {
  10087. "description": "备注",
  10088. "type": "string"
  10089. },
  10090. "sex": {
  10091. "description": "用户性别 0: 女 1: 男",
  10092. "type": "integer"
  10093. },
  10094. "signpdfurl": {
  10095. "description": "签约pdf文件",
  10096. "type": "string"
  10097. },
  10098. "telphone": {
  10099. "description": "联系电话(加密存储)",
  10100. "type": "string"
  10101. },
  10102. "userid": {
  10103. "description": "用户ID",
  10104. "type": "integer"
  10105. },
  10106. "userinfotype": {
  10107. "description": "用户信息类型 - 1:个人 2:企业",
  10108. "type": "integer"
  10109. },
  10110. "userstatus": {
  10111. "description": "用户状态 - 1:正常 2:注销",
  10112. "type": "integer"
  10113. },
  10114. "usertype": {
  10115. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10116. "type": "integer"
  10117. },
  10118. "wechat": {
  10119. "description": "微信(加密存储)",
  10120. "type": "string"
  10121. },
  10122. "wskhinfo": {
  10123. "description": "开户申请信息(JSON)",
  10124. "type": "string"
  10125. }
  10126. }
  10127. },
  10128. "models.WRCategoryTree": {
  10129. "type": "object",
  10130. "required": [
  10131. "categoryid"
  10132. ],
  10133. "properties": {
  10134. "areauserid": {
  10135. "description": "所属机构",
  10136. "type": "integer"
  10137. },
  10138. "categorydesc": {
  10139. "description": "类别描述",
  10140. "type": "string"
  10141. },
  10142. "categoryid": {
  10143. "description": "类别ID(SEQ_WRCATEGORY)",
  10144. "type": "integer"
  10145. },
  10146. "categoryname": {
  10147. "description": "类别名称",
  10148. "type": "string"
  10149. },
  10150. "iconurl": {
  10151. "description": "图标地址",
  10152. "type": "string"
  10153. },
  10154. "orderindex": {
  10155. "description": "顺序",
  10156. "type": "integer"
  10157. },
  10158. "parentcategoryid": {
  10159. "description": "父类别ID",
  10160. "type": "integer"
  10161. },
  10162. "subcategory": {
  10163. "description": "子分类",
  10164. "type": "array",
  10165. "items": {
  10166. "$ref": "#/definitions/models.WRCategoryTree"
  10167. }
  10168. }
  10169. }
  10170. },
  10171. "models.WRStandardInfo": {
  10172. "type": "object",
  10173. "required": [
  10174. "wrstandardid"
  10175. ],
  10176. "properties": {
  10177. "createtime": {
  10178. "description": "创建时间",
  10179. "type": "string"
  10180. },
  10181. "creatorid": {
  10182. "description": "创建人",
  10183. "type": "integer"
  10184. },
  10185. "deliverygoodsid": {
  10186. "description": "品种ID",
  10187. "type": "integer"
  10188. },
  10189. "deliverygoodsname": {
  10190. "description": "交割商品名称",
  10191. "type": "string"
  10192. },
  10193. "factoryitemjson": {
  10194. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  10195. "type": "string"
  10196. },
  10197. "isvalid": {
  10198. "description": "是否有效 - 0:无效 1:有效",
  10199. "type": "integer"
  10200. },
  10201. "minivalue": {
  10202. "description": "最小变动值",
  10203. "type": "integer"
  10204. },
  10205. "minivaluedp": {
  10206. "description": "最小变动值小数位",
  10207. "type": "integer"
  10208. },
  10209. "realminivalue": {
  10210. "description": "实际最小变动值",
  10211. "type": "integer"
  10212. },
  10213. "realminivaluedp": {
  10214. "description": "实际最小变动值小数位",
  10215. "type": "integer"
  10216. },
  10217. "unitid": {
  10218. "description": "单位ID",
  10219. "type": "integer"
  10220. },
  10221. "unitname": {
  10222. "description": "单位",
  10223. "type": "string"
  10224. },
  10225. "updatetime": {
  10226. "description": "更新时间",
  10227. "type": "string"
  10228. },
  10229. "updatorid": {
  10230. "description": "更新人",
  10231. "type": "integer"
  10232. },
  10233. "wrsstatus": {
  10234. "description": "状态 - 作废 - 0:未激活 1:正常",
  10235. "type": "integer"
  10236. },
  10237. "wrstandardcode": {
  10238. "description": "仓单标准代码",
  10239. "type": "string"
  10240. },
  10241. "wrstandardid": {
  10242. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10243. "type": "integer"
  10244. },
  10245. "wrstandardname": {
  10246. "description": "仓单标准名称",
  10247. "type": "string"
  10248. }
  10249. }
  10250. },
  10251. "models.Warehouseinfo": {
  10252. "type": "object",
  10253. "required": [
  10254. "autoid",
  10255. "warehousecode"
  10256. ],
  10257. "properties": {
  10258. "address": {
  10259. "description": "详细地址",
  10260. "type": "string"
  10261. },
  10262. "areauserid": {
  10263. "description": "所属机构",
  10264. "type": "integer"
  10265. },
  10266. "autoid": {
  10267. "description": "自增ID",
  10268. "type": "integer"
  10269. },
  10270. "cityid": {
  10271. "description": "市",
  10272. "type": "integer"
  10273. },
  10274. "contactname": {
  10275. "description": "联系人",
  10276. "type": "string"
  10277. },
  10278. "contactnum": {
  10279. "description": "联系电话",
  10280. "type": "string"
  10281. },
  10282. "countryid": {
  10283. "description": "国家",
  10284. "type": "integer"
  10285. },
  10286. "createtime": {
  10287. "description": "创建时间",
  10288. "type": "string"
  10289. },
  10290. "districtid": {
  10291. "description": "区",
  10292. "type": "integer"
  10293. },
  10294. "hasvideo": {
  10295. "description": "是否有视频 - 0:无 1:有",
  10296. "type": "integer"
  10297. },
  10298. "provinceid": {
  10299. "description": "省",
  10300. "type": "integer"
  10301. },
  10302. "remark": {
  10303. "description": "审核备注",
  10304. "type": "string"
  10305. },
  10306. "videourl": {
  10307. "description": "视频地址",
  10308. "type": "string"
  10309. },
  10310. "warehousecode": {
  10311. "description": "仓库代码",
  10312. "type": "string"
  10313. },
  10314. "warehousename": {
  10315. "description": "仓库名称",
  10316. "type": "string"
  10317. },
  10318. "warehousestatus": {
  10319. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10320. "type": "integer"
  10321. },
  10322. "warehousetype": {
  10323. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10324. "type": "integer"
  10325. }
  10326. }
  10327. },
  10328. "order.QueryHisTradeDetailRsp": {
  10329. "type": "object",
  10330. "required": [
  10331. "accountid",
  10332. "buyorsell",
  10333. "goodsid",
  10334. "histradedate",
  10335. "marketid",
  10336. "memberuserid",
  10337. "orderid",
  10338. "tradeamount",
  10339. "tradedate",
  10340. "tradeid",
  10341. "tradeprice",
  10342. "tradeqty",
  10343. "tradetime"
  10344. ],
  10345. "properties": {
  10346. "accountid": {
  10347. "description": "账户ID[报价币种]",
  10348. "type": "integer"
  10349. },
  10350. "buildtype": {
  10351. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10352. "type": "integer"
  10353. },
  10354. "buyorsell": {
  10355. "description": "方向 - 0:买 1:卖",
  10356. "type": "integer"
  10357. },
  10358. "charge": {
  10359. "description": "手续费",
  10360. "type": "number"
  10361. },
  10362. "closecharge": {
  10363. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10364. "type": "number"
  10365. },
  10366. "closeexchagechargevalue": {
  10367. "description": "平仓交易所手续费设置值",
  10368. "type": "number"
  10369. },
  10370. "closefeealgorithm": {
  10371. "description": "平仓手续费收取方式 1:比率 2:固定",
  10372. "type": "integer"
  10373. },
  10374. "closememberchargevalue": {
  10375. "description": "平仓会员手续费设置值",
  10376. "type": "number"
  10377. },
  10378. "closepl": {
  10379. "description": "平仓盈亏",
  10380. "type": "number"
  10381. },
  10382. "closepl2": {
  10383. "description": "平仓盈亏[逐笔]",
  10384. "type": "number"
  10385. },
  10386. "closeqty": {
  10387. "description": "平仓数量(先建后平操作 需要记录)",
  10388. "type": "integer"
  10389. },
  10390. "creditamount": {
  10391. "description": "授信金额",
  10392. "type": "number"
  10393. },
  10394. "gcaccountid": {
  10395. "description": "账户ID[合约币种]",
  10396. "type": "integer"
  10397. },
  10398. "goodscode": {
  10399. "description": "商品代码",
  10400. "type": "string"
  10401. },
  10402. "goodsid": {
  10403. "description": "商品ID",
  10404. "type": "integer"
  10405. },
  10406. "goodsname": {
  10407. "description": "商品名称",
  10408. "type": "string"
  10409. },
  10410. "histradedate": {
  10411. "description": "历史交易日",
  10412. "type": "string"
  10413. },
  10414. "intclosepl": {
  10415. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10416. "type": "integer"
  10417. },
  10418. "isconfirmexercise": {
  10419. "description": "是否确认行权- 0:否 1:是",
  10420. "type": "integer"
  10421. },
  10422. "ismain": {
  10423. "description": "是否主单 - 0:不是 1:是",
  10424. "type": "integer"
  10425. },
  10426. "ispreexercise": {
  10427. "description": "是否预申报- 0:否 1:是",
  10428. "type": "integer"
  10429. },
  10430. "isreckoned": {
  10431. "description": "是否结算 - 0:未结算 1:已结算",
  10432. "type": "integer"
  10433. },
  10434. "isvaliddata": {
  10435. "description": "是否有效 - 0:无效 1:有效",
  10436. "type": "integer"
  10437. },
  10438. "listingselecttype": {
  10439. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10440. "type": "integer"
  10441. },
  10442. "marketid": {
  10443. "description": "市场ID",
  10444. "type": "integer"
  10445. },
  10446. "marketname": {
  10447. "description": "市场名称",
  10448. "type": "string"
  10449. },
  10450. "matchaccountid": {
  10451. "description": "对手账号id",
  10452. "type": "integer"
  10453. },
  10454. "memberuserid": {
  10455. "description": "会员id 个人投资者 需要填写",
  10456. "type": "integer"
  10457. },
  10458. "opencharge": {
  10459. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10460. "type": "number"
  10461. },
  10462. "openexchagechargevalue": {
  10463. "description": "建仓交易所手续费设置值",
  10464. "type": "number"
  10465. },
  10466. "openfeealgorithm": {
  10467. "description": "建仓手续费收取方式 1:比率 2:固定",
  10468. "type": "integer"
  10469. },
  10470. "openmemberchargevalue": {
  10471. "description": "建仓会员手续费设置值",
  10472. "type": "number"
  10473. },
  10474. "openqty": {
  10475. "description": "开仓数量(先建后平操作 需要记录)",
  10476. "type": "integer"
  10477. },
  10478. "optiontype": {
  10479. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10480. "type": "integer"
  10481. },
  10482. "orderid": {
  10483. "description": "委托单号",
  10484. "type": "string"
  10485. },
  10486. "performanceplanid": {
  10487. "description": "履约计划ID[期权]",
  10488. "type": "integer"
  10489. },
  10490. "performancestatus": {
  10491. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  10492. "type": "integer"
  10493. },
  10494. "preexerciseprice": {
  10495. "description": "预申报价格",
  10496. "type": "number"
  10497. },
  10498. "premium": {
  10499. "description": "权利金 - [持仓单的权利金]",
  10500. "type": "number"
  10501. },
  10502. "relatedouttradeid": {
  10503. "description": "关联外部成交单ID",
  10504. "type": "integer"
  10505. },
  10506. "status": {
  10507. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  10508. "type": "integer"
  10509. },
  10510. "tradeamount": {
  10511. "description": "成交金额[账户币种,用于所有权]",
  10512. "type": "number"
  10513. },
  10514. "tradedate": {
  10515. "description": "交易日(yyyyMMdd)",
  10516. "type": "string"
  10517. },
  10518. "tradeid": {
  10519. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10520. "type": "string"
  10521. },
  10522. "trademode": {
  10523. "description": "交易模式",
  10524. "type": "integer"
  10525. },
  10526. "tradeprice": {
  10527. "description": "成交价格",
  10528. "type": "number"
  10529. },
  10530. "tradeproperty": {
  10531. "description": "交易属性",
  10532. "type": "integer"
  10533. },
  10534. "tradeqty": {
  10535. "description": "成交数量",
  10536. "type": "integer"
  10537. },
  10538. "tradetime": {
  10539. "description": "成交时间",
  10540. "type": "string"
  10541. },
  10542. "tradetype": {
  10543. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  10544. "type": "integer"
  10545. }
  10546. }
  10547. },
  10548. "order.QueryHisTradeOrderDetailRsp": {
  10549. "type": "object",
  10550. "required": [
  10551. "accountid",
  10552. "buildtype",
  10553. "buyorsell",
  10554. "goodsid",
  10555. "histradedate",
  10556. "marketid",
  10557. "memberuserid",
  10558. "operatetype",
  10559. "orderid",
  10560. "orderqty",
  10561. "ordertime",
  10562. "pricemode",
  10563. "tradedate",
  10564. "validtype"
  10565. ],
  10566. "properties": {
  10567. "accountid": {
  10568. "description": "账户ID[报价币种]",
  10569. "type": "integer"
  10570. },
  10571. "buildtype": {
  10572. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10573. "type": "integer"
  10574. },
  10575. "buyorsell": {
  10576. "description": "买卖 - 0:买 1:卖",
  10577. "type": "integer"
  10578. },
  10579. "cancelorderid": {
  10580. "description": "撤单单号(撤单时填写)",
  10581. "type": "string"
  10582. },
  10583. "cancelqty": {
  10584. "description": "撤单数量",
  10585. "type": "integer"
  10586. },
  10587. "clientordertime": {
  10588. "description": "客户端委托时间",
  10589. "type": "string"
  10590. },
  10591. "clientticket": {
  10592. "description": "客户端流水号",
  10593. "type": "string"
  10594. },
  10595. "clienttype": {
  10596. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10597. "type": "integer"
  10598. },
  10599. "closeexchagechargevalue": {
  10600. "description": "平仓交易所手续费设置值",
  10601. "type": "number"
  10602. },
  10603. "closefeealgorithm": {
  10604. "description": "平仓手续费收取方式 1:比率 2:固定",
  10605. "type": "integer"
  10606. },
  10607. "closefreezecharge": {
  10608. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10609. "type": "number"
  10610. },
  10611. "closememberchargevalue": {
  10612. "description": "平仓会员手续费设置值",
  10613. "type": "number"
  10614. },
  10615. "closeqty": {
  10616. "description": "平仓数量(先建后平操作 需要记录)",
  10617. "type": "integer"
  10618. },
  10619. "closetradeqty": {
  10620. "description": "平仓成交数量(先建后平操作,需要记录)",
  10621. "type": "integer"
  10622. },
  10623. "closeunfreezecharge": {
  10624. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10625. "type": "number"
  10626. },
  10627. "delistingtype": {
  10628. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10629. "type": "integer"
  10630. },
  10631. "freezecharge": {
  10632. "description": "冻结手续费",
  10633. "type": "number"
  10634. },
  10635. "freezemargin": {
  10636. "description": "冻结保证金(冻结交易金额)",
  10637. "type": "number"
  10638. },
  10639. "gcaccountid": {
  10640. "description": "账户ID[合约币种]",
  10641. "type": "integer"
  10642. },
  10643. "goodscode": {
  10644. "description": "商品代码",
  10645. "type": "string"
  10646. },
  10647. "goodsid": {
  10648. "description": "商品ID",
  10649. "type": "integer"
  10650. },
  10651. "goodsname": {
  10652. "description": "商品名称",
  10653. "type": "string"
  10654. },
  10655. "histradedate": {
  10656. "description": "历史交易日",
  10657. "type": "string"
  10658. },
  10659. "isconfirmexercise": {
  10660. "description": "是否确认行权- 0:否 1:是",
  10661. "type": "integer"
  10662. },
  10663. "ispreexercise": {
  10664. "description": "是否预申报- 0:否 1:是",
  10665. "type": "integer"
  10666. },
  10667. "isvaliddata": {
  10668. "description": "是否有效 - 0:无效 1:有效",
  10669. "type": "integer"
  10670. },
  10671. "listingselecttype": {
  10672. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10673. "type": "integer"
  10674. },
  10675. "marginalgorithm": {
  10676. "description": "保证金收取方式 1:比率 2:固定",
  10677. "type": "integer"
  10678. },
  10679. "marginvalue": {
  10680. "description": "即市保证金设置值",
  10681. "type": "number"
  10682. },
  10683. "marketid": {
  10684. "description": "市场ID",
  10685. "type": "integer"
  10686. },
  10687. "marketmaxsub": {
  10688. "description": "市价最大偏移范围",
  10689. "type": "number"
  10690. },
  10691. "marketname": {
  10692. "description": "市场名称",
  10693. "type": "string"
  10694. },
  10695. "memberuserid": {
  10696. "description": "所属会员UserID",
  10697. "type": "integer"
  10698. },
  10699. "openexchagechargevalue": {
  10700. "description": "建仓交易所手续费设置值",
  10701. "type": "number"
  10702. },
  10703. "openfeealgorithm": {
  10704. "description": "建仓手续费收取方式 1:比率 2:固定",
  10705. "type": "integer"
  10706. },
  10707. "openfreezecharge": {
  10708. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10709. "type": "number"
  10710. },
  10711. "openmemberchargevalue": {
  10712. "description": "建仓会员手续费设置值",
  10713. "type": "number"
  10714. },
  10715. "openqty": {
  10716. "description": "开仓数量(先建后平操作,需要记录)",
  10717. "type": "integer"
  10718. },
  10719. "opentradeqty": {
  10720. "description": "开仓成交数量(先建后平操作,需要记录)",
  10721. "type": "integer"
  10722. },
  10723. "openunfreezecharge": {
  10724. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10725. "type": "number"
  10726. },
  10727. "operatetype": {
  10728. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10729. "type": "integer"
  10730. },
  10731. "operatorid": {
  10732. "description": "登录账号(LoginID)",
  10733. "type": "integer"
  10734. },
  10735. "optiontype": {
  10736. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10737. "type": "integer"
  10738. },
  10739. "orderid": {
  10740. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10741. "type": "string"
  10742. },
  10743. "orderprice": {
  10744. "description": "委托价格",
  10745. "type": "number"
  10746. },
  10747. "orderqty": {
  10748. "description": "委托数量",
  10749. "type": "integer"
  10750. },
  10751. "ordersrc": {
  10752. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10753. "type": "integer"
  10754. },
  10755. "orderstatus": {
  10756. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10757. "type": "integer"
  10758. },
  10759. "ordertime": {
  10760. "description": "委托时间",
  10761. "type": "string"
  10762. },
  10763. "preexerciseprice": {
  10764. "description": "预申报价格",
  10765. "type": "number"
  10766. },
  10767. "premium": {
  10768. "description": "权利金",
  10769. "type": "number"
  10770. },
  10771. "preorderid": {
  10772. "description": "关联预埋单号(止盈止损单时填写)",
  10773. "type": "string"
  10774. },
  10775. "pricemode": {
  10776. "description": "取价方式 - 1:市价 2: 限价",
  10777. "type": "integer"
  10778. },
  10779. "quoteid": {
  10780. "description": "报价单ID",
  10781. "type": "integer"
  10782. },
  10783. "relatedid": {
  10784. "description": "关联单号(交割单)",
  10785. "type": "string"
  10786. },
  10787. "retcode": {
  10788. "description": "错误代码",
  10789. "type": "integer"
  10790. },
  10791. "sessionid": {
  10792. "description": "会话ID",
  10793. "type": "integer"
  10794. },
  10795. "tradedate": {
  10796. "description": "交易日(yyyyMMdd)",
  10797. "type": "string"
  10798. },
  10799. "trademode": {
  10800. "description": "交易模式",
  10801. "type": "integer"
  10802. },
  10803. "tradeproperty": {
  10804. "description": "交易属性",
  10805. "type": "integer"
  10806. },
  10807. "tradeqty": {
  10808. "description": "成交数量",
  10809. "type": "integer"
  10810. },
  10811. "unfreezecharge": {
  10812. "description": "解冻手续费",
  10813. "type": "number"
  10814. },
  10815. "unfreezemargin": {
  10816. "description": "解冻保证金",
  10817. "type": "number"
  10818. },
  10819. "updatetime": {
  10820. "description": "更新时间",
  10821. "type": "string"
  10822. },
  10823. "uuid": {
  10824. "description": "发起端唯一id",
  10825. "type": "string"
  10826. },
  10827. "validtime": {
  10828. "description": "有效期限",
  10829. "type": "string"
  10830. },
  10831. "validtype": {
  10832. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10833. "type": "integer"
  10834. },
  10835. "volumetype": {
  10836. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10837. "type": "integer"
  10838. }
  10839. }
  10840. },
  10841. "order.QueryTradeDetailRsp": {
  10842. "type": "object",
  10843. "required": [
  10844. "accountid",
  10845. "buyorsell",
  10846. "goodsid",
  10847. "marketid",
  10848. "memberuserid",
  10849. "orderid",
  10850. "tradeamount",
  10851. "tradedate",
  10852. "tradeid",
  10853. "tradeprice",
  10854. "tradeqty",
  10855. "tradetime"
  10856. ],
  10857. "properties": {
  10858. "accountid": {
  10859. "description": "账户ID[报价币种]",
  10860. "type": "integer"
  10861. },
  10862. "buildtype": {
  10863. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10864. "type": "integer"
  10865. },
  10866. "buyorsell": {
  10867. "description": "方向 - 0:买 1:卖",
  10868. "type": "integer"
  10869. },
  10870. "charge": {
  10871. "description": "手续费",
  10872. "type": "number"
  10873. },
  10874. "closecharge": {
  10875. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10876. "type": "number"
  10877. },
  10878. "closeexchagechargevalue": {
  10879. "description": "平仓交易所手续费设置值",
  10880. "type": "number"
  10881. },
  10882. "closefeealgorithm": {
  10883. "description": "平仓手续费收取方式 1:比率 2:固定",
  10884. "type": "integer"
  10885. },
  10886. "closememberchargevalue": {
  10887. "description": "平仓会员手续费设置值",
  10888. "type": "number"
  10889. },
  10890. "closepl": {
  10891. "description": "平仓盈亏",
  10892. "type": "number"
  10893. },
  10894. "closepl2": {
  10895. "description": "平仓盈亏[逐笔]",
  10896. "type": "number"
  10897. },
  10898. "closeqty": {
  10899. "description": "平仓数量(先建后平操作 需要记录)",
  10900. "type": "integer"
  10901. },
  10902. "creditamount": {
  10903. "description": "授信金额",
  10904. "type": "number"
  10905. },
  10906. "gcaccountid": {
  10907. "description": "账户ID[合约币种]",
  10908. "type": "integer"
  10909. },
  10910. "goodscode": {
  10911. "description": "商品代码",
  10912. "type": "string"
  10913. },
  10914. "goodsid": {
  10915. "description": "商品ID",
  10916. "type": "integer"
  10917. },
  10918. "goodsname": {
  10919. "description": "商品名称",
  10920. "type": "string"
  10921. },
  10922. "intclosepl": {
  10923. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10924. "type": "integer"
  10925. },
  10926. "isconfirmexercise": {
  10927. "description": "是否确认行权- 0:否 1:是",
  10928. "type": "integer"
  10929. },
  10930. "ismain": {
  10931. "description": "是否主单 - 0:不是 1:是",
  10932. "type": "integer"
  10933. },
  10934. "ispreexercise": {
  10935. "description": "是否预申报- 0:否 1:是",
  10936. "type": "integer"
  10937. },
  10938. "isreckoned": {
  10939. "description": "是否结算 - 0:未结算 1:已结算",
  10940. "type": "integer"
  10941. },
  10942. "listingselecttype": {
  10943. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10944. "type": "integer"
  10945. },
  10946. "marketid": {
  10947. "description": "市场ID",
  10948. "type": "integer"
  10949. },
  10950. "marketname": {
  10951. "description": "市场名称",
  10952. "type": "string"
  10953. },
  10954. "matchaccountid": {
  10955. "description": "对手账号id",
  10956. "type": "integer"
  10957. },
  10958. "memberuserid": {
  10959. "description": "会员id 个人投资者 需要填写",
  10960. "type": "integer"
  10961. },
  10962. "opencharge": {
  10963. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10964. "type": "number"
  10965. },
  10966. "openexchagechargevalue": {
  10967. "description": "建仓交易所手续费设置值",
  10968. "type": "number"
  10969. },
  10970. "openfeealgorithm": {
  10971. "description": "建仓手续费收取方式 1:比率 2:固定",
  10972. "type": "integer"
  10973. },
  10974. "openmemberchargevalue": {
  10975. "description": "建仓会员手续费设置值",
  10976. "type": "number"
  10977. },
  10978. "openqty": {
  10979. "description": "开仓数量(先建后平操作 需要记录)",
  10980. "type": "integer"
  10981. },
  10982. "optiontype": {
  10983. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10984. "type": "integer"
  10985. },
  10986. "orderid": {
  10987. "description": "委托单号",
  10988. "type": "string"
  10989. },
  10990. "performanceplanid": {
  10991. "description": "履约计划ID[期权]",
  10992. "type": "integer"
  10993. },
  10994. "performancestatus": {
  10995. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  10996. "type": "integer"
  10997. },
  10998. "preexerciseprice": {
  10999. "description": "预申报价格",
  11000. "type": "number"
  11001. },
  11002. "premium": {
  11003. "description": "权利金 - [持仓单的权利金]",
  11004. "type": "number"
  11005. },
  11006. "relatedouttradeid": {
  11007. "description": "关联外部成交单ID",
  11008. "type": "integer"
  11009. },
  11010. "status": {
  11011. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11012. "type": "integer"
  11013. },
  11014. "tradeamount": {
  11015. "description": "成交金额[账户币种,用于所有权]",
  11016. "type": "number"
  11017. },
  11018. "tradedate": {
  11019. "description": "交易日(yyyyMMdd)",
  11020. "type": "string"
  11021. },
  11022. "tradeid": {
  11023. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11024. "type": "string"
  11025. },
  11026. "trademode": {
  11027. "description": "交易模式",
  11028. "type": "integer"
  11029. },
  11030. "tradeprice": {
  11031. "description": "成交价格",
  11032. "type": "number"
  11033. },
  11034. "tradeproperty": {
  11035. "description": "交易属性",
  11036. "type": "integer"
  11037. },
  11038. "tradeqty": {
  11039. "description": "成交数量",
  11040. "type": "integer"
  11041. },
  11042. "tradetime": {
  11043. "description": "成交时间",
  11044. "type": "string"
  11045. },
  11046. "tradetype": {
  11047. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11048. "type": "integer"
  11049. }
  11050. }
  11051. },
  11052. "order.QueryTradeOrderDetailRsp": {
  11053. "type": "object",
  11054. "required": [
  11055. "accountid",
  11056. "buildtype",
  11057. "buyorsell",
  11058. "goodsid",
  11059. "marketid",
  11060. "operatetype",
  11061. "orderqty",
  11062. "ordertime",
  11063. "pricemode",
  11064. "tradedate",
  11065. "validtype"
  11066. ],
  11067. "properties": {
  11068. "accountid": {
  11069. "description": "账户ID[报价币种]",
  11070. "type": "integer"
  11071. },
  11072. "buildtype": {
  11073. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11074. "type": "integer"
  11075. },
  11076. "buyorsell": {
  11077. "description": "买卖 - 0:买 1:卖",
  11078. "type": "integer"
  11079. },
  11080. "cancelorderid": {
  11081. "description": "撤单单号(撤单时填写)",
  11082. "type": "string"
  11083. },
  11084. "cancelqty": {
  11085. "description": "撤单数量",
  11086. "type": "integer"
  11087. },
  11088. "clienttype": {
  11089. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11090. "type": "integer"
  11091. },
  11092. "closefreezecharge": {
  11093. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11094. "type": "number"
  11095. },
  11096. "closeqty": {
  11097. "description": "平仓数量(先建后平操作 需要记录)",
  11098. "type": "integer"
  11099. },
  11100. "closetradeqty": {
  11101. "description": "平仓成交数量(先建后平操作,需要记录)",
  11102. "type": "integer"
  11103. },
  11104. "closeunfreezecharge": {
  11105. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11106. "type": "number"
  11107. },
  11108. "delistingtype": {
  11109. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11110. "type": "integer"
  11111. },
  11112. "enableqty": {
  11113. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  11114. "type": "integer"
  11115. },
  11116. "freezecharge": {
  11117. "description": "冻结手续费",
  11118. "type": "number"
  11119. },
  11120. "freezemargin": {
  11121. "description": "冻结保证金(冻结交易金额)",
  11122. "type": "number"
  11123. },
  11124. "goodscode": {
  11125. "description": "商品代码",
  11126. "type": "string"
  11127. },
  11128. "goodsid": {
  11129. "description": "商品ID",
  11130. "type": "integer"
  11131. },
  11132. "goodsname": {
  11133. "description": "商品名称",
  11134. "type": "string"
  11135. },
  11136. "listingselecttype": {
  11137. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11138. "type": "integer"
  11139. },
  11140. "marketid": {
  11141. "description": "市场ID",
  11142. "type": "integer"
  11143. },
  11144. "marketname": {
  11145. "description": "市场名称",
  11146. "type": "string"
  11147. },
  11148. "openfreezecharge": {
  11149. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11150. "type": "number"
  11151. },
  11152. "openqty": {
  11153. "description": "开仓数量(先建后平操作,需要记录)",
  11154. "type": "integer"
  11155. },
  11156. "opentradeqty": {
  11157. "description": "开仓成交数量(先建后平操作,需要记录)",
  11158. "type": "integer"
  11159. },
  11160. "openunfreezecharge": {
  11161. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11162. "type": "number"
  11163. },
  11164. "operatetype": {
  11165. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11166. "type": "integer"
  11167. },
  11168. "operatorid": {
  11169. "description": "登录账号(LoginID)",
  11170. "type": "integer"
  11171. },
  11172. "orderid": {
  11173. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11174. "type": "string"
  11175. },
  11176. "orderprice": {
  11177. "description": "委托价格",
  11178. "type": "number"
  11179. },
  11180. "orderqty": {
  11181. "description": "委托数量",
  11182. "type": "integer"
  11183. },
  11184. "ordersrc": {
  11185. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11186. "type": "integer"
  11187. },
  11188. "orderstatus": {
  11189. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11190. "type": "integer"
  11191. },
  11192. "ordertime": {
  11193. "description": "委托时间",
  11194. "type": "string"
  11195. },
  11196. "preorderid": {
  11197. "description": "关联预埋单号(止盈止损单时填写)",
  11198. "type": "string"
  11199. },
  11200. "pricemode": {
  11201. "description": "取价方式 - 1:市价 2: 限价",
  11202. "type": "integer"
  11203. },
  11204. "relatedid": {
  11205. "description": "关联单号(交割单)",
  11206. "type": "string"
  11207. },
  11208. "tradedate": {
  11209. "description": "交易日(yyyyMMdd)",
  11210. "type": "string"
  11211. },
  11212. "trademode": {
  11213. "description": "交易模式",
  11214. "type": "integer"
  11215. },
  11216. "tradeqty": {
  11217. "description": "成交数量",
  11218. "type": "integer"
  11219. },
  11220. "unfreezecharge": {
  11221. "description": "解冻手续费",
  11222. "type": "number"
  11223. },
  11224. "unfreezemargin": {
  11225. "description": "解冻保证金",
  11226. "type": "number"
  11227. },
  11228. "validtime": {
  11229. "description": "有效期限",
  11230. "type": "string"
  11231. },
  11232. "validtype": {
  11233. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11234. "type": "integer"
  11235. },
  11236. "volumetype": {
  11237. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11238. "type": "integer"
  11239. }
  11240. }
  11241. },
  11242. "order.QueryTradePositionRsp": {
  11243. "type": "object",
  11244. "required": [
  11245. "goodsid"
  11246. ],
  11247. "properties": {
  11248. "accountid": {
  11249. "description": "资金账户",
  11250. "type": "integer"
  11251. },
  11252. "agreeunit": {
  11253. "description": "合约单位",
  11254. "type": "number"
  11255. },
  11256. "averageprice": {
  11257. "description": "持仓均价",
  11258. "type": "number"
  11259. },
  11260. "buyorsell": {
  11261. "description": "方向 - 0:买 1:卖",
  11262. "type": "integer"
  11263. },
  11264. "closetotalqty": {
  11265. "description": "平仓总数量",
  11266. "type": "integer"
  11267. },
  11268. "curholderamount": {
  11269. "description": "当前持仓总金额[商品币种]",
  11270. "type": "number"
  11271. },
  11272. "curpositionqty": {
  11273. "description": "当前持仓总数量",
  11274. "type": "integer"
  11275. },
  11276. "currencyid": {
  11277. "description": "报价货币ID",
  11278. "type": "integer"
  11279. },
  11280. "curtdposition": {
  11281. "description": "期末今日头寸",
  11282. "type": "integer"
  11283. },
  11284. "decimalplace": {
  11285. "description": "报价小数位",
  11286. "type": "integer"
  11287. },
  11288. "enableqty": {
  11289. "description": "可用量",
  11290. "type": "integer"
  11291. },
  11292. "fretdposition": {
  11293. "description": "冻结今日头寸",
  11294. "type": "integer"
  11295. },
  11296. "frozenqty": {
  11297. "description": "持仓冻结数量",
  11298. "type": "integer"
  11299. },
  11300. "goodscode": {
  11301. "description": "商品代码",
  11302. "type": "string"
  11303. },
  11304. "goodsid": {
  11305. "description": "商品Id",
  11306. "type": "integer"
  11307. },
  11308. "goodsname": {
  11309. "description": "商品名称",
  11310. "type": "string"
  11311. },
  11312. "goodunit": {
  11313. "description": "报价单位",
  11314. "type": "string"
  11315. },
  11316. "goodunitid": {
  11317. "description": "报价单位ID",
  11318. "type": "integer"
  11319. },
  11320. "holderamount": {
  11321. "description": "期初持仓总金额[商品币种]",
  11322. "type": "number"
  11323. },
  11324. "marketid": {
  11325. "description": "所属市场ID",
  11326. "type": "integer"
  11327. },
  11328. "openreqqty": {
  11329. "description": "开仓申请数量(用于比较最大持仓数量)",
  11330. "type": "integer"
  11331. },
  11332. "opentotalqty": {
  11333. "description": "开仓总数量",
  11334. "type": "integer"
  11335. },
  11336. "otherfrozenqty": {
  11337. "description": "持仓其他冻结数量(交割冻结)",
  11338. "type": "integer"
  11339. },
  11340. "positionqty": {
  11341. "description": "期初持仓数量",
  11342. "type": "integer"
  11343. },
  11344. "tnqty": {
  11345. "description": "T+N冻结总量",
  11346. "type": "integer"
  11347. },
  11348. "tnusedqty": {
  11349. "description": "T+N使用量(可以使用T+N的冻结数量)",
  11350. "type": "integer"
  11351. },
  11352. "trademode": {
  11353. "description": "交易模式",
  11354. "type": "integer"
  11355. },
  11356. "usedmargin": {
  11357. "description": "占用保证金[商品币种]",
  11358. "type": "number"
  11359. }
  11360. }
  11361. },
  11362. "quote.HistoryData": {
  11363. "type": "object",
  11364. "properties": {
  11365. "c": {
  11366. "description": "收盘价",
  11367. "type": "number"
  11368. },
  11369. "h": {
  11370. "description": "最高价",
  11371. "type": "number"
  11372. },
  11373. "hv": {
  11374. "description": "持仓量",
  11375. "type": "integer"
  11376. },
  11377. "l": {
  11378. "description": "最低价",
  11379. "type": "number"
  11380. },
  11381. "o": {
  11382. "description": "开盘价",
  11383. "type": "number"
  11384. },
  11385. "s": {
  11386. "description": "结算价,日线周期(包括)以上才有",
  11387. "type": "number"
  11388. },
  11389. "ts": {
  11390. "description": "时间",
  11391. "type": "string"
  11392. },
  11393. "tt": {
  11394. "description": "总金额",
  11395. "type": "number"
  11396. },
  11397. "tv": {
  11398. "description": "总量",
  11399. "type": "integer"
  11400. }
  11401. }
  11402. },
  11403. "quote.QueryTSDataRsp": {
  11404. "type": "object",
  11405. "properties": {
  11406. "decimalPlace": {
  11407. "description": "小数位",
  11408. "type": "integer"
  11409. },
  11410. "endTime": {
  11411. "description": "结束时间",
  11412. "type": "string"
  11413. },
  11414. "goodsCode": {
  11415. "description": "商品代码",
  11416. "type": "string"
  11417. },
  11418. "historyDatas": {
  11419. "description": "历史数据",
  11420. "type": "array",
  11421. "items": {
  11422. "$ref": "#/definitions/quote.HistoryData"
  11423. }
  11424. },
  11425. "preSettle": {
  11426. "description": "昨结",
  11427. "type": "number"
  11428. },
  11429. "startTime": {
  11430. "description": "开始时间",
  11431. "type": "string"
  11432. },
  11433. "tradeDate": {
  11434. "description": "交易日",
  11435. "type": "string"
  11436. }
  11437. }
  11438. },
  11439. "szdz.QueryConvertLogRsp": {
  11440. "type": "object",
  11441. "required": [
  11442. "logid"
  11443. ],
  11444. "properties": {
  11445. "accountid": {
  11446. "description": "资金账户ID",
  11447. "type": "integer"
  11448. },
  11449. "clientticket": {
  11450. "description": "客户端流水号",
  11451. "type": "string"
  11452. },
  11453. "converttype": {
  11454. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  11455. "type": "integer"
  11456. },
  11457. "createtime": {
  11458. "description": "记账时间",
  11459. "type": "string"
  11460. },
  11461. "daymaxvalue": {
  11462. "description": "配置当日最大转入限制",
  11463. "type": "number"
  11464. },
  11465. "daymaxvalue2": {
  11466. "description": "配置当日最大转入限制(转入)",
  11467. "type": "number"
  11468. },
  11469. "goodscode": {
  11470. "description": "商品代码",
  11471. "type": "string"
  11472. },
  11473. "goodsname": {
  11474. "description": "商品名称",
  11475. "type": "string"
  11476. },
  11477. "handlestatus": {
  11478. "description": "处理状态",
  11479. "type": "integer"
  11480. },
  11481. "innergoodsid": {
  11482. "description": "内部商品ID",
  11483. "type": "integer"
  11484. },
  11485. "inratio": {
  11486. "description": "配置转入比值",
  11487. "type": "integer"
  11488. },
  11489. "invalue": {
  11490. "description": "目标值",
  11491. "type": "number"
  11492. },
  11493. "logid": {
  11494. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11495. "type": "integer"
  11496. },
  11497. "mobile": {
  11498. "description": "手机号码(加密存储)",
  11499. "type": "string"
  11500. },
  11501. "outergoodscode": {
  11502. "description": "外部商品代码[JD\\PD]",
  11503. "type": "string"
  11504. },
  11505. "outratio": {
  11506. "description": "配置转出比值",
  11507. "type": "integer"
  11508. },
  11509. "outvalue": {
  11510. "description": "源值",
  11511. "type": "number"
  11512. },
  11513. "pddecimalplace": {
  11514. "description": "PD小数位",
  11515. "type": "integer"
  11516. },
  11517. "qty": {
  11518. "description": "数量",
  11519. "type": "string"
  11520. },
  11521. "remark": {
  11522. "description": "备注",
  11523. "type": "string"
  11524. },
  11525. "sessionid": {
  11526. "description": "会话ID",
  11527. "type": "integer"
  11528. },
  11529. "timemaxvalue": {
  11530. "description": "配置单次最大转入限制",
  11531. "type": "number"
  11532. },
  11533. "timemaxvalue2": {
  11534. "description": "配置单次最大转入限制(转入)",
  11535. "type": "number"
  11536. },
  11537. "timeminvalue": {
  11538. "description": "配置单次最小数量限制",
  11539. "type": "number"
  11540. },
  11541. "timeminvalue2": {
  11542. "description": "配置单次最小数量限制(转入)",
  11543. "type": "number"
  11544. },
  11545. "tradedate": {
  11546. "description": "交易日(yyyyMMdd)",
  11547. "type": "string"
  11548. },
  11549. "userid": {
  11550. "description": "用户ID",
  11551. "type": "integer"
  11552. }
  11553. }
  11554. },
  11555. "szdz.QueryGoodsPickupRsp": {
  11556. "type": "object",
  11557. "required": [
  11558. "takeorderid"
  11559. ],
  11560. "properties": {
  11561. "accountid": {
  11562. "description": "账户ID",
  11563. "type": "integer"
  11564. },
  11565. "address": {
  11566. "description": "提货人详细地址",
  11567. "type": "string"
  11568. },
  11569. "auditer": {
  11570. "description": "审核人",
  11571. "type": "integer"
  11572. },
  11573. "audittime": {
  11574. "description": "审核时间",
  11575. "type": "string"
  11576. },
  11577. "cardnum": {
  11578. "description": "提货人证件号码",
  11579. "type": "string"
  11580. },
  11581. "cardtypeid": {
  11582. "description": "提货人证件类型",
  11583. "type": "integer"
  11584. },
  11585. "checkremark": {
  11586. "description": "审核备注",
  11587. "type": "string"
  11588. },
  11589. "goodscode": {
  11590. "description": "商品代码",
  11591. "type": "string"
  11592. },
  11593. "goodsid": {
  11594. "description": "商品ID",
  11595. "type": "integer"
  11596. },
  11597. "goodsname": {
  11598. "description": "商品名称",
  11599. "type": "string"
  11600. },
  11601. "handlestatus": {
  11602. "description": "处理状态",
  11603. "type": "integer"
  11604. },
  11605. "marketid": {
  11606. "description": "市场ID",
  11607. "type": "integer"
  11608. },
  11609. "phonenum": {
  11610. "description": "提货人联系方式",
  11611. "type": "string"
  11612. },
  11613. "qty": {
  11614. "description": "提货数量",
  11615. "type": "number"
  11616. },
  11617. "recivername": {
  11618. "description": "提货人姓名",
  11619. "type": "string"
  11620. },
  11621. "reqtime": {
  11622. "description": "更新时间",
  11623. "type": "string"
  11624. },
  11625. "takemode": {
  11626. "description": "提货方式 - 2:自提 3:配送",
  11627. "type": "integer"
  11628. },
  11629. "takeorderid": {
  11630. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  11631. "type": "string"
  11632. },
  11633. "takeorderstatus": {
  11634. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11635. "type": "integer"
  11636. },
  11637. "takeremark": {
  11638. "description": "提货备注",
  11639. "type": "string"
  11640. },
  11641. "tradedate": {
  11642. "description": "交易日(yyyyMMdd)",
  11643. "type": "string"
  11644. },
  11645. "userid": {
  11646. "description": "用户ID",
  11647. "type": "integer"
  11648. }
  11649. }
  11650. },
  11651. "szdz.QueryRecieptOrderRsp": {
  11652. "type": "object",
  11653. "required": [
  11654. "ordertime"
  11655. ],
  11656. "properties": {
  11657. "accountName": {
  11658. "description": "所属账号名称(已脱敏)",
  11659. "type": "string"
  11660. },
  11661. "accountid": {
  11662. "description": "资金账号",
  11663. "type": "integer"
  11664. },
  11665. "buyorsell": {
  11666. "description": "方向 - 0:买 1:卖",
  11667. "type": "integer"
  11668. },
  11669. "enableqty": {
  11670. "description": "可摘数量",
  11671. "type": "integer"
  11672. },
  11673. "goodscode": {
  11674. "description": "商品代码",
  11675. "type": "string"
  11676. },
  11677. "goodsid": {
  11678. "description": "商品ID",
  11679. "type": "integer"
  11680. },
  11681. "goodsname": {
  11682. "description": "商品名称",
  11683. "type": "string"
  11684. },
  11685. "orderid": {
  11686. "description": "委托单号",
  11687. "type": "string"
  11688. },
  11689. "orderprice": {
  11690. "description": "委托价格",
  11691. "type": "number"
  11692. },
  11693. "ordertime": {
  11694. "description": "委托时间",
  11695. "type": "string"
  11696. },
  11697. "tradedate": {
  11698. "description": "交易日(yyyyMMdd)",
  11699. "type": "string"
  11700. }
  11701. }
  11702. },
  11703. "szdz.QuerySZDZTradePositionRsp": {
  11704. "type": "object",
  11705. "properties": {
  11706. "accountid": {
  11707. "description": "账号Id",
  11708. "type": "integer"
  11709. },
  11710. "agreeunit": {
  11711. "description": "合约单位",
  11712. "type": "number"
  11713. },
  11714. "averageprice": {
  11715. "description": "持仓均价",
  11716. "type": "number"
  11717. },
  11718. "buyorsell": {
  11719. "description": "方向 - 0:买 1:卖",
  11720. "type": "integer"
  11721. },
  11722. "closetotalqty": {
  11723. "description": "平仓总数量",
  11724. "type": "integer"
  11725. },
  11726. "curholderamount": {
  11727. "description": "当前持仓总金额",
  11728. "type": "number"
  11729. },
  11730. "curpositionqty": {
  11731. "description": "当前持仓总数量",
  11732. "type": "integer"
  11733. },
  11734. "currencyid": {
  11735. "description": "报价货币ID",
  11736. "type": "integer"
  11737. },
  11738. "curtdposition": {
  11739. "description": "期末今日头寸",
  11740. "type": "integer"
  11741. },
  11742. "decimalplace": {
  11743. "description": "报价小数位",
  11744. "type": "integer"
  11745. },
  11746. "enableqty": {
  11747. "description": "可用量",
  11748. "type": "integer"
  11749. },
  11750. "fretdposition": {
  11751. "description": "冻结今日头寸",
  11752. "type": "integer"
  11753. },
  11754. "frozenqty": {
  11755. "description": "持仓冻结数量",
  11756. "type": "integer"
  11757. },
  11758. "goodscode": {
  11759. "description": "商品代码(内部)",
  11760. "type": "string"
  11761. },
  11762. "goodsid": {
  11763. "description": "商品Id",
  11764. "type": "integer"
  11765. },
  11766. "goodsname": {
  11767. "description": "商品名称",
  11768. "type": "string"
  11769. },
  11770. "goodunit": {
  11771. "description": "报价单位",
  11772. "type": "string"
  11773. },
  11774. "goodunitid": {
  11775. "description": "报价单位ID",
  11776. "type": "integer"
  11777. },
  11778. "holderamount": {
  11779. "description": "期初持仓总金额",
  11780. "type": "number"
  11781. },
  11782. "marketid": {
  11783. "description": "市场ID",
  11784. "type": "integer"
  11785. },
  11786. "openreqqty": {
  11787. "description": "开仓申请数量",
  11788. "type": "integer"
  11789. },
  11790. "opentotalqty": {
  11791. "description": "开仓总数量",
  11792. "type": "integer"
  11793. },
  11794. "otherfrozenqty": {
  11795. "description": "持仓其他冻结数量(交割冻结)",
  11796. "type": "integer"
  11797. },
  11798. "positionqty": {
  11799. "description": "期初持仓数量",
  11800. "type": "integer"
  11801. },
  11802. "szdz3freezqty": {
  11803. "description": "尚志大宗转换冻结总数量",
  11804. "type": "integer"
  11805. },
  11806. "tnqty": {
  11807. "description": "T+N冻结总量",
  11808. "type": "integer"
  11809. },
  11810. "tnusedqty": {
  11811. "description": "T+N使用量",
  11812. "type": "integer"
  11813. },
  11814. "trademode": {
  11815. "description": "交易模式",
  11816. "type": "integer"
  11817. },
  11818. "usedmargin": {
  11819. "description": "占用保证金",
  11820. "type": "number"
  11821. }
  11822. }
  11823. },
  11824. "taaccount.QueryAmountLogRsp": {
  11825. "type": "object",
  11826. "required": [
  11827. "accountid",
  11828. "amount",
  11829. "amountadjusttype",
  11830. "autoid",
  11831. "balance",
  11832. "createtime",
  11833. "currentbalance",
  11834. "operatetype"
  11835. ],
  11836. "properties": {
  11837. "OPERATETYPENAME": {
  11838. "description": "资金操作类型名称",
  11839. "type": "string"
  11840. },
  11841. "accountid": {
  11842. "description": "资金账户ID",
  11843. "type": "integer"
  11844. },
  11845. "agoodscode": {
  11846. "description": "竞拍商品代码",
  11847. "type": "string"
  11848. },
  11849. "agoodsname": {
  11850. "description": "竞拍商品名称",
  11851. "type": "string"
  11852. },
  11853. "amount": {
  11854. "description": "资金金额",
  11855. "type": "number"
  11856. },
  11857. "amountadjusttype": {
  11858. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11859. "type": "integer"
  11860. },
  11861. "autoid": {
  11862. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11863. "type": "integer"
  11864. },
  11865. "balance": {
  11866. "description": "期初余额",
  11867. "type": "number"
  11868. },
  11869. "businesscode": {
  11870. "description": "业务编号",
  11871. "type": "integer"
  11872. },
  11873. "createtime": {
  11874. "description": "发生时间",
  11875. "type": "string"
  11876. },
  11877. "currencyid": {
  11878. "description": "币种ID",
  11879. "type": "integer"
  11880. },
  11881. "currentbalance": {
  11882. "description": "期末余额(变动后金额)",
  11883. "type": "number"
  11884. },
  11885. "dgoodscode": {
  11886. "description": "交割商品代码",
  11887. "type": "string"
  11888. },
  11889. "dgoodsname": {
  11890. "description": "交割商品名称",
  11891. "type": "string"
  11892. },
  11893. "goodscode": {
  11894. "description": "商品代码",
  11895. "type": "string"
  11896. },
  11897. "goodsid": {
  11898. "description": "商品ID",
  11899. "type": "integer"
  11900. },
  11901. "goodsname": {
  11902. "description": "商品名称",
  11903. "type": "string"
  11904. },
  11905. "marketid": {
  11906. "description": "市场ID",
  11907. "type": "integer"
  11908. },
  11909. "marketname": {
  11910. "description": "市场名称",
  11911. "type": "string"
  11912. },
  11913. "moneyticket": {
  11914. "description": "资金流水号:银行端流水号",
  11915. "type": "integer"
  11916. },
  11917. "operatetype": {
  11918. "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:营销收款",
  11919. "type": "integer"
  11920. },
  11921. "relationorderid": {
  11922. "description": "关联单号",
  11923. "type": "string"
  11924. },
  11925. "remark": {
  11926. "description": "备注",
  11927. "type": "string"
  11928. },
  11929. "trademode": {
  11930. "description": "交易模式",
  11931. "type": "integer"
  11932. }
  11933. }
  11934. },
  11935. "taaccount.QueryHisAmountLogRsp": {
  11936. "type": "object",
  11937. "required": [
  11938. "accountid",
  11939. "amount",
  11940. "amountadjusttype",
  11941. "autoid",
  11942. "balance",
  11943. "createtime",
  11944. "currentbalance",
  11945. "histradedate",
  11946. "operatetype"
  11947. ],
  11948. "properties": {
  11949. "OPERATETYPENAME": {
  11950. "description": "资金操作类型名称",
  11951. "type": "string"
  11952. },
  11953. "accountid": {
  11954. "description": "资金账户ID",
  11955. "type": "integer"
  11956. },
  11957. "agoodscode": {
  11958. "description": "竞拍商品代码",
  11959. "type": "string"
  11960. },
  11961. "agoodsname": {
  11962. "description": "竞拍商品名称",
  11963. "type": "string"
  11964. },
  11965. "amount": {
  11966. "description": "资金金额",
  11967. "type": "number"
  11968. },
  11969. "amountadjusttype": {
  11970. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11971. "type": "integer"
  11972. },
  11973. "autoid": {
  11974. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11975. "type": "integer"
  11976. },
  11977. "balance": {
  11978. "description": "期初余额",
  11979. "type": "number"
  11980. },
  11981. "businesscode": {
  11982. "description": "业务编号",
  11983. "type": "integer"
  11984. },
  11985. "createtime": {
  11986. "description": "发生时间",
  11987. "type": "string"
  11988. },
  11989. "currencyid": {
  11990. "description": "币种ID",
  11991. "type": "integer"
  11992. },
  11993. "currentbalance": {
  11994. "description": "期末余额(变动后金额)",
  11995. "type": "number"
  11996. },
  11997. "dgoodscode": {
  11998. "description": "交割商品代码",
  11999. "type": "string"
  12000. },
  12001. "dgoodsname": {
  12002. "description": "交割商品名称",
  12003. "type": "string"
  12004. },
  12005. "goodscode": {
  12006. "description": "商品代码",
  12007. "type": "string"
  12008. },
  12009. "goodsid": {
  12010. "description": "商品ID",
  12011. "type": "integer"
  12012. },
  12013. "goodsname": {
  12014. "description": "商品名称",
  12015. "type": "string"
  12016. },
  12017. "histradedate": {
  12018. "description": "历史交易日",
  12019. "type": "string"
  12020. },
  12021. "isvaliddata": {
  12022. "description": "是否有效 - 0:无效 1:有效",
  12023. "type": "integer"
  12024. },
  12025. "marketid": {
  12026. "description": "市场ID",
  12027. "type": "integer"
  12028. },
  12029. "marketname": {
  12030. "description": "市场名称",
  12031. "type": "string"
  12032. },
  12033. "moneyticket": {
  12034. "description": "资金流水号:银行端流水号",
  12035. "type": "integer"
  12036. },
  12037. "operatetype": {
  12038. "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:营销收款",
  12039. "type": "integer"
  12040. },
  12041. "relationorderid": {
  12042. "description": "关联单号",
  12043. "type": "string"
  12044. },
  12045. "remark": {
  12046. "description": "备注",
  12047. "type": "string"
  12048. },
  12049. "trademode": {
  12050. "description": "交易模式",
  12051. "type": "integer"
  12052. }
  12053. }
  12054. },
  12055. "trade.QueryRecieptOrderRsp": {
  12056. "type": "object",
  12057. "required": [
  12058. "ordertime"
  12059. ],
  12060. "properties": {
  12061. "accountName": {
  12062. "description": "所属账号名称(已脱敏)",
  12063. "type": "string"
  12064. },
  12065. "accountid": {
  12066. "description": "资金账号",
  12067. "type": "integer"
  12068. },
  12069. "buyorsell": {
  12070. "description": "方向 - 0:买 1:卖",
  12071. "type": "integer"
  12072. },
  12073. "enableqty": {
  12074. "description": "可摘数量",
  12075. "type": "integer"
  12076. },
  12077. "goodscode": {
  12078. "description": "商品代码",
  12079. "type": "string"
  12080. },
  12081. "goodsid": {
  12082. "description": "商品ID",
  12083. "type": "integer"
  12084. },
  12085. "goodsname": {
  12086. "description": "商品名称",
  12087. "type": "string"
  12088. },
  12089. "orderid": {
  12090. "description": "委托单号",
  12091. "type": "string"
  12092. },
  12093. "orderprice": {
  12094. "description": "委托价格",
  12095. "type": "number"
  12096. },
  12097. "ordertime": {
  12098. "description": "委托时间",
  12099. "type": "string"
  12100. },
  12101. "tradedate": {
  12102. "description": "交易日(yyyyMMdd)",
  12103. "type": "string"
  12104. }
  12105. }
  12106. }
  12107. },
  12108. "securityDefinitions": {
  12109. "ApiKeyAuth": {
  12110. "type": "apiKey",
  12111. "name": "Authorization",
  12112. "in": "header"
  12113. }
  12114. }
  12115. }`
  12116. type swaggerInfo struct {
  12117. Version string
  12118. Host string
  12119. BasePath string
  12120. Schemes []string
  12121. Title string
  12122. Description string
  12123. }
  12124. // SwaggerInfo holds exported Swagger Info so clients can modify it
  12125. var SwaggerInfo = swaggerInfo{
  12126. Version: "1.0",
  12127. Host: "",
  12128. BasePath: "/api",
  12129. Schemes: []string{},
  12130. Title: "MTP2.0 查询服务 API",
  12131. Description: "新的查询服务,替代原通用查询服务。",
  12132. }
  12133. type s struct{}
  12134. func (s *s) ReadDoc() string {
  12135. sInfo := SwaggerInfo
  12136. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  12137. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  12138. "marshal": func(v interface{}) string {
  12139. a, _ := json.Marshal(v)
  12140. return string(a)
  12141. },
  12142. }).Parse(doc)
  12143. if err != nil {
  12144. return doc
  12145. }
  12146. var tpl bytes.Buffer
  12147. if err := t.Execute(&tpl, sInfo); err != nil {
  12148. return doc
  12149. }
  12150. return tpl.String()
  12151. }
  12152. func init() {
  12153. swag.Register(swag.Name, &s{})
  12154. }