docs.go 358 KB

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