docs.go 438 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "produces": [
  370. "application/json"
  371. ],
  372. "tags": [
  373. "通用服务"
  374. ],
  375. "summary": "获取所有枚举信息",
  376. "responses": {
  377. "200": {
  378. "description": "OK",
  379. "schema": {
  380. "$ref": "#/definitions/models.Enumdicitem"
  381. }
  382. },
  383. "500": {
  384. "description": "Internal Server Error",
  385. "schema": {
  386. "$ref": "#/definitions/app.Response"
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/Common/GetServerTime": {
  393. "get": {
  394. "produces": [
  395. "application/json"
  396. ],
  397. "tags": [
  398. "通用服务"
  399. ],
  400. "summary": "获取服务器时间",
  401. "responses": {
  402. "200": {
  403. "description": "OK",
  404. "schema": {
  405. "$ref": "#/definitions/app.Response"
  406. }
  407. },
  408. "500": {
  409. "description": "Internal Server Error",
  410. "schema": {
  411. "$ref": "#/definitions/app.Response"
  412. }
  413. }
  414. }
  415. }
  416. },
  417. "/Common/NoticeReaded": {
  418. "post": {
  419. "security": [
  420. {
  421. "ApiKeyAuth": []
  422. }
  423. ],
  424. "produces": [
  425. "application/json"
  426. ],
  427. "tags": [
  428. "通用服务"
  429. ],
  430. "summary": "通知公告设置已读请求",
  431. "parameters": [
  432. {
  433. "type": "integer",
  434. "description": "登录账号",
  435. "name": "loginID",
  436. "in": "query",
  437. "required": true
  438. },
  439. {
  440. "type": "integer",
  441. "description": "通知公告ID",
  442. "name": "noticeID",
  443. "in": "query",
  444. "required": true
  445. }
  446. ],
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/app.Response"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/QueryImageConfigs": {
  464. "get": {
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "通用服务"
  470. ],
  471. "summary": "查询轮播图配置信息",
  472. "parameters": [
  473. {
  474. "type": "integer",
  475. "description": "类型 - 1:App首页轮播 2:我的",
  476. "name": "imageType",
  477. "in": "query"
  478. }
  479. ],
  480. "responses": {
  481. "200": {
  482. "description": "OK",
  483. "schema": {
  484. "$ref": "#/definitions/models.Szdz2imageconfig"
  485. }
  486. },
  487. "500": {
  488. "description": "Internal Server Error",
  489. "schema": {
  490. "$ref": "#/definitions/app.Response"
  491. }
  492. }
  493. }
  494. }
  495. },
  496. "/Common/QueryNotice": {
  497. "get": {
  498. "security": [
  499. {
  500. "ApiKeyAuth": []
  501. }
  502. ],
  503. "produces": [
  504. "application/json"
  505. ],
  506. "tags": [
  507. "通用服务"
  508. ],
  509. "summary": "通知公告系统消息查询",
  510. "parameters": [
  511. {
  512. "type": "integer",
  513. "description": "页码",
  514. "name": "page",
  515. "in": "query"
  516. },
  517. {
  518. "type": "integer",
  519. "description": "每页条数",
  520. "name": "pagesize",
  521. "in": "query"
  522. },
  523. {
  524. "type": "integer",
  525. "description": "登录账号",
  526. "name": "loginID",
  527. "in": "query",
  528. "required": true
  529. },
  530. {
  531. "type": "integer",
  532. "description": "消息类型 - 1:公告通知 2:系统消息",
  533. "name": "msgType",
  534. "in": "query"
  535. },
  536. {
  537. "type": "boolean",
  538. "description": "是否只获取未读信息",
  539. "name": "onlyUnRead",
  540. "in": "query"
  541. }
  542. ],
  543. "responses": {
  544. "200": {
  545. "description": "OK",
  546. "schema": {
  547. "$ref": "#/definitions/common.QueryNoticeRsp"
  548. }
  549. },
  550. "500": {
  551. "description": "Internal Server Error",
  552. "schema": {
  553. "$ref": "#/definitions/app.Response"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "/Common/QueryProvincesAndCities": {
  560. "get": {
  561. "produces": [
  562. "application/json"
  563. ],
  564. "tags": [
  565. "通用服务"
  566. ],
  567. "summary": "查询省市信息(不包括区)",
  568. "parameters": [
  569. {
  570. "type": "integer",
  571. "description": "省ID",
  572. "name": "provinceID",
  573. "in": "query"
  574. }
  575. ],
  576. "responses": {
  577. "200": {
  578. "description": "OK",
  579. "schema": {
  580. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  581. }
  582. },
  583. "500": {
  584. "description": "Internal Server Error",
  585. "schema": {
  586. "$ref": "#/definitions/app.Response"
  587. }
  588. }
  589. }
  590. }
  591. },
  592. "/Common/QueryTableDefine": {
  593. "get": {
  594. "produces": [
  595. "application/json"
  596. ],
  597. "tags": [
  598. "通用服务"
  599. ],
  600. "summary": "查询交易端列表头信息",
  601. "parameters": [
  602. {
  603. "type": "string",
  604. "description": "表key",
  605. "name": "tableKey",
  606. "in": "query"
  607. },
  608. {
  609. "type": "integer",
  610. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  611. "name": "tableType",
  612. "in": "query"
  613. }
  614. ],
  615. "responses": {
  616. "200": {
  617. "description": "OK",
  618. "schema": {
  619. "$ref": "#/definitions/common.QueryTableDefineRsp"
  620. }
  621. },
  622. "500": {
  623. "description": "Internal Server Error",
  624. "schema": {
  625. "$ref": "#/definitions/app.Response"
  626. }
  627. }
  628. }
  629. }
  630. },
  631. "/Common/QueryTraderMenu": {
  632. "get": {
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "查询交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginid",
  645. "in": "query",
  646. "required": true
  647. }
  648. ],
  649. "responses": {
  650. "200": {
  651. "description": "OK",
  652. "schema": {
  653. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  654. }
  655. },
  656. "500": {
  657. "description": "Internal Server Error",
  658. "schema": {
  659. "$ref": "#/definitions/app.Response"
  660. }
  661. }
  662. }
  663. }
  664. },
  665. "/Delivery/QueryDeliveryRelation": {
  666. "get": {
  667. "security": [
  668. {
  669. "ApiKeyAuth": []
  670. }
  671. ],
  672. "produces": [
  673. "application/json"
  674. ],
  675. "tags": [
  676. "交割服务"
  677. ],
  678. "summary": "查询商品交割关系表",
  679. "parameters": [
  680. {
  681. "type": "integer",
  682. "description": "商品ID",
  683. "name": "goodsid",
  684. "in": "query"
  685. },
  686. {
  687. "type": "integer",
  688. "description": "品种ID",
  689. "name": "deliverygoodsid",
  690. "in": "query"
  691. },
  692. {
  693. "type": "integer",
  694. "description": "市场ID",
  695. "name": "marketid",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Ermcp/QueryBusinessDj": {
  716. "get": {
  717. "security": [
  718. {
  719. "ApiKeyAuth": []
  720. }
  721. ],
  722. "produces": [
  723. "application/json"
  724. ],
  725. "tags": [
  726. "企业风险管理(app)"
  727. ],
  728. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  729. "responses": {
  730. "200": {
  731. "description": "OK",
  732. "schema": {
  733. "type": "array",
  734. "items": {
  735. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  736. }
  737. }
  738. },
  739. "500": {
  740. "description": "Internal Server Error",
  741. "schema": {
  742. "$ref": "#/definitions/app.Response"
  743. }
  744. }
  745. }
  746. }
  747. },
  748. "/Ermcp/QueryBusinessFp": {
  749. "get": {
  750. "security": [
  751. {
  752. "ApiKeyAuth": []
  753. }
  754. ],
  755. "produces": [
  756. "application/json"
  757. ],
  758. "tags": [
  759. "企业风险管理(app)"
  760. ],
  761. "summary": "查询业务管理(发票)(对应菜单:业务管理/发票)",
  762. "responses": {
  763. "200": {
  764. "description": "OK",
  765. "schema": {
  766. "type": "array",
  767. "items": {
  768. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  769. }
  770. }
  771. },
  772. "500": {
  773. "description": "Internal Server Error",
  774. "schema": {
  775. "$ref": "#/definitions/app.Response"
  776. }
  777. }
  778. }
  779. }
  780. },
  781. "/Ermcp/QueryBusinessJs": {
  782. "get": {
  783. "security": [
  784. {
  785. "ApiKeyAuth": []
  786. }
  787. ],
  788. "produces": [
  789. "application/json"
  790. ],
  791. "tags": [
  792. "企业风险管理(app)"
  793. ],
  794. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  795. "responses": {
  796. "200": {
  797. "description": "OK",
  798. "schema": {
  799. "type": "array",
  800. "items": {
  801. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  802. }
  803. }
  804. },
  805. "500": {
  806. "description": "Internal Server Error",
  807. "schema": {
  808. "$ref": "#/definitions/app.Response"
  809. }
  810. }
  811. }
  812. }
  813. },
  814. "/Ermcp/QueryBusinessKx": {
  815. "get": {
  816. "security": [
  817. {
  818. "ApiKeyAuth": []
  819. }
  820. ],
  821. "produces": [
  822. "application/json"
  823. ],
  824. "tags": [
  825. "企业风险管理(app)"
  826. ],
  827. "summary": "查询业务管理(款项)(对应菜单:业务管理/款项)",
  828. "responses": {
  829. "200": {
  830. "description": "OK",
  831. "schema": {
  832. "type": "array",
  833. "items": {
  834. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  835. }
  836. }
  837. },
  838. "500": {
  839. "description": "Internal Server Error",
  840. "schema": {
  841. "$ref": "#/definitions/app.Response"
  842. }
  843. }
  844. }
  845. }
  846. },
  847. "/Ermcp/QueryContract": {
  848. "get": {
  849. "security": [
  850. {
  851. "ApiKeyAuth": []
  852. }
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "企业风险管理(app)"
  859. ],
  860. "summary": "查询合同(采购和销售)",
  861. "parameters": [
  862. {
  863. "type": "integer",
  864. "description": "合同类型 1-采购, -1-销售",
  865. "name": "contracttype",
  866. "in": "query",
  867. "required": true
  868. },
  869. {
  870. "type": "integer",
  871. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  872. "name": "QueryType",
  873. "in": "query",
  874. "required": true
  875. }
  876. ],
  877. "responses": {
  878. "200": {
  879. "description": "OK",
  880. "schema": {
  881. "type": "array",
  882. "items": {
  883. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  884. }
  885. }
  886. },
  887. "500": {
  888. "description": "Internal Server Error",
  889. "schema": {
  890. "$ref": "#/definitions/app.Response"
  891. }
  892. }
  893. }
  894. }
  895. },
  896. "/Ermcp/QueryHedgePlan": {
  897. "get": {
  898. "security": [
  899. {
  900. "ApiKeyAuth": []
  901. }
  902. ],
  903. "produces": [
  904. "application/json"
  905. ],
  906. "tags": [
  907. "企业风险管理(app)"
  908. ],
  909. "summary": "查询套保计划",
  910. "parameters": [
  911. {
  912. "type": "integer",
  913. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  914. "name": "HedgePlanStatus",
  915. "in": "query",
  916. "required": true
  917. }
  918. ],
  919. "responses": {
  920. "200": {
  921. "description": "OK",
  922. "schema": {
  923. "type": "array",
  924. "items": {
  925. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  926. }
  927. }
  928. },
  929. "500": {
  930. "description": "Internal Server Error",
  931. "schema": {
  932. "$ref": "#/definitions/app.Response"
  933. }
  934. }
  935. }
  936. }
  937. },
  938. "/Ermcp/QuerySpotContract": {
  939. "get": {
  940. "security": [
  941. {
  942. "ApiKeyAuth": []
  943. }
  944. ],
  945. "produces": [
  946. "application/json"
  947. ],
  948. "tags": [
  949. "企业风险管理(app)"
  950. ],
  951. "summary": "查询现货合同(对应现货合同菜单)",
  952. "parameters": [
  953. {
  954. "type": "integer",
  955. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  956. "name": "QueryType",
  957. "in": "query",
  958. "required": true
  959. }
  960. ],
  961. "responses": {
  962. "200": {
  963. "description": "OK",
  964. "schema": {
  965. "type": "array",
  966. "items": {
  967. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  968. }
  969. }
  970. },
  971. "500": {
  972. "description": "Internal Server Error",
  973. "schema": {
  974. "$ref": "#/definitions/app.Response"
  975. }
  976. }
  977. }
  978. }
  979. },
  980. "/Ermcp/QueryUserInfo": {
  981. "get": {
  982. "security": [
  983. {
  984. "ApiKeyAuth": []
  985. }
  986. ],
  987. "produces": [
  988. "application/json"
  989. ],
  990. "tags": [
  991. "企业风险管理(app)"
  992. ],
  993. "summary": "查询客户资料",
  994. "parameters": [
  995. {
  996. "type": "string",
  997. "description": "账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  998. "name": "AccountStatus",
  999. "in": "query",
  1000. "required": true
  1001. }
  1002. ],
  1003. "responses": {
  1004. "200": {
  1005. "description": "OK",
  1006. "schema": {
  1007. "type": "array",
  1008. "items": {
  1009. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1010. }
  1011. }
  1012. },
  1013. "500": {
  1014. "description": "Internal Server Error",
  1015. "schema": {
  1016. "$ref": "#/definitions/app.Response"
  1017. }
  1018. }
  1019. }
  1020. }
  1021. },
  1022. "/Erms2/QueryArbitrageStrategy": {
  1023. "get": {
  1024. "security": [
  1025. {
  1026. "ApiKeyAuth": []
  1027. }
  1028. ],
  1029. "produces": [
  1030. "application/json"
  1031. ],
  1032. "tags": [
  1033. "风险管理"
  1034. ],
  1035. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1036. "parameters": [
  1037. {
  1038. "type": "integer",
  1039. "description": "账户ID",
  1040. "name": "userid",
  1041. "in": "query",
  1042. "required": true
  1043. },
  1044. {
  1045. "type": "string",
  1046. "description": "商品组ID(品种ID)",
  1047. "name": "goodsgroupid",
  1048. "in": "query"
  1049. }
  1050. ],
  1051. "responses": {
  1052. "200": {
  1053. "description": "OK",
  1054. "schema": {
  1055. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1056. }
  1057. },
  1058. "500": {
  1059. "description": "Internal Server Error",
  1060. "schema": {
  1061. "$ref": "#/definitions/app.Response"
  1062. }
  1063. }
  1064. }
  1065. }
  1066. },
  1067. "/Erms2/QueryInnerTradeDetail": {
  1068. "get": {
  1069. "security": [
  1070. {
  1071. "ApiKeyAuth": []
  1072. }
  1073. ],
  1074. "produces": [
  1075. "application/json"
  1076. ],
  1077. "tags": [
  1078. "风险管理"
  1079. ],
  1080. "summary": "查询内部成交单信息",
  1081. "parameters": [
  1082. {
  1083. "type": "integer",
  1084. "description": "资金账户",
  1085. "name": "accountid",
  1086. "in": "query",
  1087. "required": true
  1088. }
  1089. ],
  1090. "responses": {
  1091. "200": {
  1092. "description": "OK",
  1093. "schema": {
  1094. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1095. }
  1096. },
  1097. "500": {
  1098. "description": "Internal Server Error",
  1099. "schema": {
  1100. "$ref": "#/definitions/app.Response"
  1101. }
  1102. }
  1103. }
  1104. }
  1105. },
  1106. "/Erms2/QuerySpotContract": {
  1107. "get": {
  1108. "security": [
  1109. {
  1110. "ApiKeyAuth": []
  1111. }
  1112. ],
  1113. "produces": [
  1114. "application/json"
  1115. ],
  1116. "tags": [
  1117. "风险管理"
  1118. ],
  1119. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1120. "parameters": [
  1121. {
  1122. "type": "integer",
  1123. "description": "策略申请ID",
  1124. "name": "asapplyid",
  1125. "in": "query",
  1126. "required": true
  1127. },
  1128. {
  1129. "type": "integer",
  1130. "description": "现货合同ID",
  1131. "name": "spotcontractid",
  1132. "in": "query"
  1133. }
  1134. ],
  1135. "responses": {
  1136. "200": {
  1137. "description": "OK",
  1138. "schema": {
  1139. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1140. }
  1141. },
  1142. "500": {
  1143. "description": "Internal Server Error",
  1144. "schema": {
  1145. "$ref": "#/definitions/app.Response"
  1146. }
  1147. }
  1148. }
  1149. }
  1150. },
  1151. "/Erms3/AddErms2ASApply": {
  1152. "post": {
  1153. "security": [
  1154. {
  1155. "ApiKeyAuth": []
  1156. }
  1157. ],
  1158. "produces": [
  1159. "application/json"
  1160. ],
  1161. "tags": [
  1162. "风险管理v3"
  1163. ],
  1164. "summary": "新增期现套利业务申请",
  1165. "parameters": [
  1166. {
  1167. "description": "申请参数",
  1168. "name": "jsonBody",
  1169. "in": "body",
  1170. "required": true,
  1171. "schema": {
  1172. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1173. }
  1174. }
  1175. ],
  1176. "responses": {
  1177. "200": {
  1178. "description": "OK",
  1179. "schema": {
  1180. "$ref": "#/definitions/app.Response"
  1181. }
  1182. },
  1183. "500": {
  1184. "description": "Internal Server Error",
  1185. "schema": {
  1186. "$ref": "#/definitions/app.Response"
  1187. }
  1188. }
  1189. }
  1190. }
  1191. },
  1192. "/Erms3/AddErms2SpotTradeApply": {
  1193. "post": {
  1194. "security": [
  1195. {
  1196. "ApiKeyAuth": []
  1197. }
  1198. ],
  1199. "produces": [
  1200. "application/json"
  1201. ],
  1202. "tags": [
  1203. "风险管理v3"
  1204. ],
  1205. "summary": "新增现货贸易业务申请",
  1206. "parameters": [
  1207. {
  1208. "description": "申请参数",
  1209. "name": "jsonBody",
  1210. "in": "body",
  1211. "required": true,
  1212. "schema": {
  1213. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1214. }
  1215. }
  1216. ],
  1217. "responses": {
  1218. "200": {
  1219. "description": "OK",
  1220. "schema": {
  1221. "$ref": "#/definitions/app.Response"
  1222. }
  1223. },
  1224. "500": {
  1225. "description": "Internal Server Error",
  1226. "schema": {
  1227. "$ref": "#/definitions/app.Response"
  1228. }
  1229. }
  1230. }
  1231. }
  1232. },
  1233. "/Erms3/AddSpotContractApply": {
  1234. "post": {
  1235. "security": [
  1236. {
  1237. "ApiKeyAuth": []
  1238. }
  1239. ],
  1240. "produces": [
  1241. "application/json"
  1242. ],
  1243. "tags": [
  1244. "风险管理v3"
  1245. ],
  1246. "summary": "新增现货合同申请",
  1247. "parameters": [
  1248. {
  1249. "description": "申请参数",
  1250. "name": "jsonBody",
  1251. "in": "body",
  1252. "required": true,
  1253. "schema": {
  1254. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1255. }
  1256. }
  1257. ],
  1258. "responses": {
  1259. "200": {
  1260. "description": "OK",
  1261. "schema": {
  1262. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1263. }
  1264. },
  1265. "500": {
  1266. "description": "Internal Server Error",
  1267. "schema": {
  1268. "$ref": "#/definitions/app.Response"
  1269. }
  1270. }
  1271. }
  1272. }
  1273. },
  1274. "/Erms3/AddUserInfoApply": {
  1275. "post": {
  1276. "security": [
  1277. {
  1278. "ApiKeyAuth": []
  1279. }
  1280. ],
  1281. "produces": [
  1282. "application/json"
  1283. ],
  1284. "tags": [
  1285. "风险管理v3"
  1286. ],
  1287. "summary": "新增客户申请",
  1288. "parameters": [
  1289. {
  1290. "description": "申请参数",
  1291. "name": "jsonBody",
  1292. "in": "body",
  1293. "required": true,
  1294. "schema": {
  1295. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1296. }
  1297. }
  1298. ],
  1299. "responses": {
  1300. "200": {
  1301. "description": "OK",
  1302. "schema": {
  1303. "$ref": "#/definitions/app.Response"
  1304. }
  1305. },
  1306. "500": {
  1307. "description": "Internal Server Error",
  1308. "schema": {
  1309. "$ref": "#/definitions/app.Response"
  1310. }
  1311. }
  1312. }
  1313. }
  1314. },
  1315. "/Erms3/QueryBusinessInfo": {
  1316. "get": {
  1317. "security": [
  1318. {
  1319. "ApiKeyAuth": []
  1320. }
  1321. ],
  1322. "produces": [
  1323. "application/json"
  1324. ],
  1325. "tags": [
  1326. "风险管理v3"
  1327. ],
  1328. "summary": "查询业务表单数据",
  1329. "parameters": [
  1330. {
  1331. "type": "string",
  1332. "description": "资金账号ID列表,用逗号分隔",
  1333. "name": "accountids",
  1334. "in": "query",
  1335. "required": true
  1336. },
  1337. {
  1338. "type": "integer",
  1339. "description": "状态,0为未结束 1为已结束",
  1340. "name": "status",
  1341. "in": "query",
  1342. "required": true
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "type": "array",
  1350. "items": {
  1351. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Erms3/QueryPendingAuditContract": {
  1365. "get": {
  1366. "security": [
  1367. {
  1368. "ApiKeyAuth": []
  1369. }
  1370. ],
  1371. "produces": [
  1372. "application/json"
  1373. ],
  1374. "tags": [
  1375. "风险管理v3"
  1376. ],
  1377. "summary": "查询待审核合同",
  1378. "parameters": [
  1379. {
  1380. "type": "string",
  1381. "description": "资金账号ID列表,逗号隔开",
  1382. "name": "accountids",
  1383. "in": "query",
  1384. "required": true
  1385. },
  1386. {
  1387. "type": "integer",
  1388. "description": "合同类型 1-采购 -1-销售",
  1389. "name": "contracttype",
  1390. "in": "query",
  1391. "required": true
  1392. },
  1393. {
  1394. "type": "integer",
  1395. "description": "合同模式 1-普通 2-回购",
  1396. "name": "contractmode",
  1397. "in": "query",
  1398. "required": true
  1399. }
  1400. ],
  1401. "responses": {
  1402. "200": {
  1403. "description": "OK",
  1404. "schema": {
  1405. "type": "array",
  1406. "items": {
  1407. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1408. }
  1409. }
  1410. },
  1411. "500": {
  1412. "description": "Internal Server Error",
  1413. "schema": {
  1414. "$ref": "#/definitions/app.Response"
  1415. }
  1416. }
  1417. }
  1418. }
  1419. },
  1420. "/Erms3/QueryPendingBusiness": {
  1421. "get": {
  1422. "security": [
  1423. {
  1424. "ApiKeyAuth": []
  1425. }
  1426. ],
  1427. "produces": [
  1428. "application/json"
  1429. ],
  1430. "tags": [
  1431. "风险管理v3"
  1432. ],
  1433. "summary": "查询待审核基差贸易业务",
  1434. "parameters": [
  1435. {
  1436. "type": "string",
  1437. "description": "资金账号ID列表,逗号隔开",
  1438. "name": "accountids",
  1439. "in": "query",
  1440. "required": true
  1441. }
  1442. ],
  1443. "responses": {
  1444. "200": {
  1445. "description": "OK",
  1446. "schema": {
  1447. "type": "array",
  1448. "items": {
  1449. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1450. }
  1451. }
  1452. },
  1453. "500": {
  1454. "description": "Internal Server Error",
  1455. "schema": {
  1456. "$ref": "#/definitions/app.Response"
  1457. }
  1458. }
  1459. }
  1460. }
  1461. },
  1462. "/Erms3/QuerySpotContractAppleForm": {
  1463. "get": {
  1464. "security": [
  1465. {
  1466. "ApiKeyAuth": []
  1467. }
  1468. ],
  1469. "produces": [
  1470. "application/json"
  1471. ],
  1472. "tags": [
  1473. "风险管理v3"
  1474. ],
  1475. "summary": "查询合同申请表单数据",
  1476. "parameters": [
  1477. {
  1478. "type": "integer",
  1479. "description": "登录账号",
  1480. "name": "loginID",
  1481. "in": "query",
  1482. "required": true
  1483. }
  1484. ],
  1485. "responses": {
  1486. "200": {
  1487. "description": "OK",
  1488. "schema": {
  1489. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1490. }
  1491. },
  1492. "500": {
  1493. "description": "Internal Server Error",
  1494. "schema": {
  1495. "$ref": "#/definitions/app.Response"
  1496. }
  1497. }
  1498. }
  1499. }
  1500. },
  1501. "/Erms3/QuerySpotContractDetail": {
  1502. "get": {
  1503. "security": [
  1504. {
  1505. "ApiKeyAuth": []
  1506. }
  1507. ],
  1508. "produces": [
  1509. "application/json"
  1510. ],
  1511. "tags": [
  1512. "风险管理v3"
  1513. ],
  1514. "summary": "查询合同详细信息",
  1515. "parameters": [
  1516. {
  1517. "type": "string",
  1518. "description": "资金账号ID列表,用逗号分隔",
  1519. "name": "accountids",
  1520. "in": "query",
  1521. "required": true
  1522. },
  1523. {
  1524. "type": "integer",
  1525. "description": "合同类型,1为采购合同 -1为销售合同",
  1526. "name": "contracttype",
  1527. "in": "query",
  1528. "required": true
  1529. },
  1530. {
  1531. "type": "integer",
  1532. "description": "合同模式,1为普通合同 2为回购销售合同",
  1533. "name": "contractmode",
  1534. "in": "query",
  1535. "required": true
  1536. },
  1537. {
  1538. "type": "integer",
  1539. "description": "状态,0为履约中 1为已完成",
  1540. "name": "status",
  1541. "in": "query",
  1542. "required": true
  1543. }
  1544. ],
  1545. "responses": {
  1546. "200": {
  1547. "description": "OK",
  1548. "schema": {
  1549. "type": "array",
  1550. "items": {
  1551. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1552. }
  1553. }
  1554. },
  1555. "500": {
  1556. "description": "Internal Server Error",
  1557. "schema": {
  1558. "$ref": "#/definitions/app.Response"
  1559. }
  1560. }
  1561. }
  1562. }
  1563. },
  1564. "/Erms3/QueryUserInfoApplies": {
  1565. "get": {
  1566. "security": [
  1567. {
  1568. "ApiKeyAuth": []
  1569. }
  1570. ],
  1571. "produces": [
  1572. "application/json"
  1573. ],
  1574. "tags": [
  1575. "风险管理v3"
  1576. ],
  1577. "summary": "客户申请信息查询",
  1578. "parameters": [
  1579. {
  1580. "type": "integer",
  1581. "description": "页码",
  1582. "name": "page",
  1583. "in": "query"
  1584. },
  1585. {
  1586. "type": "integer",
  1587. "description": "每页条数",
  1588. "name": "pagesize",
  1589. "in": "query"
  1590. },
  1591. {
  1592. "type": "string",
  1593. "description": "客户名称,支持模糊查询",
  1594. "name": "userName",
  1595. "in": "query"
  1596. }
  1597. ],
  1598. "responses": {
  1599. "200": {
  1600. "description": "OK",
  1601. "schema": {
  1602. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1603. }
  1604. },
  1605. "500": {
  1606. "description": "Internal Server Error",
  1607. "schema": {
  1608. "$ref": "#/definitions/app.Response"
  1609. }
  1610. }
  1611. }
  1612. }
  1613. },
  1614. "/Erms3/QueryUserInfos": {
  1615. "get": {
  1616. "security": [
  1617. {
  1618. "ApiKeyAuth": []
  1619. }
  1620. ],
  1621. "produces": [
  1622. "application/json"
  1623. ],
  1624. "tags": [
  1625. "风险管理v3"
  1626. ],
  1627. "summary": "客户信息查询",
  1628. "parameters": [
  1629. {
  1630. "type": "integer",
  1631. "description": "页码",
  1632. "name": "page",
  1633. "in": "query"
  1634. },
  1635. {
  1636. "type": "integer",
  1637. "description": "每页条数",
  1638. "name": "pagesize",
  1639. "in": "query"
  1640. },
  1641. {
  1642. "type": "string",
  1643. "description": "客户名称,支持模糊查询",
  1644. "name": "userName",
  1645. "in": "query"
  1646. }
  1647. ],
  1648. "responses": {
  1649. "200": {
  1650. "description": "OK",
  1651. "schema": {
  1652. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1653. }
  1654. },
  1655. "500": {
  1656. "description": "Internal Server Error",
  1657. "schema": {
  1658. "$ref": "#/definitions/app.Response"
  1659. }
  1660. }
  1661. }
  1662. }
  1663. },
  1664. "/HSBY/GetHsbyMyCount": {
  1665. "get": {
  1666. "security": [
  1667. {
  1668. "ApiKeyAuth": []
  1669. }
  1670. ],
  1671. "description": "说明: 不包括已完成的数量。",
  1672. "produces": [
  1673. "application/json"
  1674. ],
  1675. "tags": [
  1676. "定制【海商报业】"
  1677. ],
  1678. "summary": "获取我的订单与包裹数量",
  1679. "parameters": [
  1680. {
  1681. "type": "string",
  1682. "description": "资金账户列表,格式:1,2,3",
  1683. "name": "accountIDs",
  1684. "in": "query",
  1685. "required": true
  1686. }
  1687. ],
  1688. "responses": {
  1689. "200": {
  1690. "description": "OK",
  1691. "schema": {
  1692. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1693. }
  1694. },
  1695. "500": {
  1696. "description": "Internal Server Error",
  1697. "schema": {
  1698. "$ref": "#/definitions/app.Response"
  1699. }
  1700. }
  1701. }
  1702. }
  1703. },
  1704. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1705. "get": {
  1706. "security": [
  1707. {
  1708. "ApiKeyAuth": []
  1709. }
  1710. ],
  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": "资金账户列表,格式:1,2,3",
  1734. "name": "accountIDs",
  1735. "in": "query",
  1736. "required": true
  1737. }
  1738. ],
  1739. "responses": {
  1740. "200": {
  1741. "description": "OK",
  1742. "schema": {
  1743. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1744. }
  1745. },
  1746. "500": {
  1747. "description": "Internal Server Error",
  1748. "schema": {
  1749. "$ref": "#/definitions/app.Response"
  1750. }
  1751. }
  1752. }
  1753. }
  1754. },
  1755. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1756. "get": {
  1757. "security": [
  1758. {
  1759. "ApiKeyAuth": []
  1760. }
  1761. ],
  1762. "description": "说明:查询结果已按委托价格和委托时间排序",
  1763. "produces": [
  1764. "application/json"
  1765. ],
  1766. "tags": [
  1767. "定制【海商报业】"
  1768. ],
  1769. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1770. "parameters": [
  1771. {
  1772. "type": "integer",
  1773. "description": "商品ID",
  1774. "name": "goodsID",
  1775. "in": "query",
  1776. "required": true
  1777. },
  1778. {
  1779. "type": "string",
  1780. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1781. "name": "accountIDs",
  1782. "in": "query"
  1783. },
  1784. {
  1785. "type": "integer",
  1786. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1787. "name": "buyOrSell",
  1788. "in": "query"
  1789. },
  1790. {
  1791. "type": "number",
  1792. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1793. "name": "price",
  1794. "in": "query"
  1795. },
  1796. {
  1797. "type": "integer",
  1798. "description": "档位,不传则默认为3档",
  1799. "name": "speed",
  1800. "in": "query"
  1801. }
  1802. ],
  1803. "responses": {
  1804. "200": {
  1805. "description": "OK",
  1806. "schema": {
  1807. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1808. }
  1809. },
  1810. "500": {
  1811. "description": "Internal Server Error",
  1812. "schema": {
  1813. "$ref": "#/definitions/app.Response"
  1814. }
  1815. }
  1816. }
  1817. }
  1818. },
  1819. "/HSBY/QueryHsbyListingGoodsDetail": {
  1820. "get": {
  1821. "security": [
  1822. {
  1823. "ApiKeyAuth": []
  1824. }
  1825. ],
  1826. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  1827. "produces": [
  1828. "application/json"
  1829. ],
  1830. "tags": [
  1831. "定制【海商报业】"
  1832. ],
  1833. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1834. "parameters": [
  1835. {
  1836. "type": "integer",
  1837. "description": "商品ID",
  1838. "name": "goodsID",
  1839. "in": "query",
  1840. "required": true
  1841. },
  1842. {
  1843. "type": "integer",
  1844. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1845. "name": "AccountID",
  1846. "in": "query"
  1847. }
  1848. ],
  1849. "responses": {
  1850. "200": {
  1851. "description": "OK",
  1852. "schema": {
  1853. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1854. }
  1855. },
  1856. "500": {
  1857. "description": "Internal Server Error",
  1858. "schema": {
  1859. "$ref": "#/definitions/app.Response"
  1860. }
  1861. }
  1862. }
  1863. }
  1864. },
  1865. "/HSBY/QueryHsbyMarketGoodsDetail": {
  1866. "get": {
  1867. "security": [
  1868. {
  1869. "ApiKeyAuth": []
  1870. }
  1871. ],
  1872. "produces": [
  1873. "application/json"
  1874. ],
  1875. "tags": [
  1876. "定制【海商报业】"
  1877. ],
  1878. "summary": "查询三级市场(商城)商品信息详情",
  1879. "parameters": [
  1880. {
  1881. "type": "integer",
  1882. "description": "委托单号",
  1883. "name": "orderID",
  1884. "in": "query",
  1885. "required": true
  1886. },
  1887. {
  1888. "type": "integer",
  1889. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  1890. "name": "accountID",
  1891. "in": "query"
  1892. }
  1893. ],
  1894. "responses": {
  1895. "200": {
  1896. "description": "OK",
  1897. "schema": {
  1898. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  1899. }
  1900. },
  1901. "500": {
  1902. "description": "Internal Server Error",
  1903. "schema": {
  1904. "$ref": "#/definitions/app.Response"
  1905. }
  1906. }
  1907. }
  1908. }
  1909. },
  1910. "/HSBY/QueryHsbyMarketGoodses": {
  1911. "get": {
  1912. "security": [
  1913. {
  1914. "ApiKeyAuth": []
  1915. }
  1916. ],
  1917. "produces": [
  1918. "application/json"
  1919. ],
  1920. "tags": [
  1921. "定制【海商报业】"
  1922. ],
  1923. "summary": "查询特卖商品列表(三级商城)",
  1924. "parameters": [
  1925. {
  1926. "type": "integer",
  1927. "description": "页码",
  1928. "name": "page",
  1929. "in": "query"
  1930. },
  1931. {
  1932. "type": "integer",
  1933. "description": "每页条数",
  1934. "name": "pagesize",
  1935. "in": "query"
  1936. },
  1937. {
  1938. "type": "string",
  1939. "description": "市场ID列表,格式:1,2,3",
  1940. "name": "marketIDs",
  1941. "in": "query",
  1942. "required": true
  1943. },
  1944. {
  1945. "type": "integer",
  1946. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  1947. "name": "accountID",
  1948. "in": "query"
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "类别ID",
  1953. "name": "categoryID",
  1954. "in": "query"
  1955. },
  1956. {
  1957. "type": "string",
  1958. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  1959. "name": "goodsIDs",
  1960. "in": "query"
  1961. },
  1962. {
  1963. "type": "integer",
  1964. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  1965. "name": "couponTypeID",
  1966. "in": "query"
  1967. }
  1968. ],
  1969. "responses": {
  1970. "200": {
  1971. "description": "OK",
  1972. "schema": {
  1973. "$ref": "#/definitions/models.HsbyMarketGoods"
  1974. }
  1975. },
  1976. "500": {
  1977. "description": "Internal Server Error",
  1978. "schema": {
  1979. "$ref": "#/definitions/app.Response"
  1980. }
  1981. }
  1982. }
  1983. }
  1984. },
  1985. "/HSBY/QueryHsbyMarkets": {
  1986. "get": {
  1987. "security": [
  1988. {
  1989. "ApiKeyAuth": []
  1990. }
  1991. ],
  1992. "produces": [
  1993. "application/json"
  1994. ],
  1995. "tags": [
  1996. "定制【海商报业】"
  1997. ],
  1998. "summary": "查询海商报业相关市场信息",
  1999. "responses": {
  2000. "200": {
  2001. "description": "OK",
  2002. "schema": {
  2003. "$ref": "#/definitions/models.HsbyMarketInfo"
  2004. }
  2005. },
  2006. "500": {
  2007. "description": "Internal Server Error",
  2008. "schema": {
  2009. "$ref": "#/definitions/app.Response"
  2010. }
  2011. }
  2012. }
  2013. }
  2014. },
  2015. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2016. "get": {
  2017. "security": [
  2018. {
  2019. "ApiKeyAuth": []
  2020. }
  2021. ],
  2022. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2023. "produces": [
  2024. "application/json"
  2025. ],
  2026. "tags": [
  2027. "定制【海商报业】"
  2028. ],
  2029. "summary": "查询“我的订单”信息",
  2030. "parameters": [
  2031. {
  2032. "type": "string",
  2033. "description": "资金账户列表,格式:1,2,3",
  2034. "name": "accountIDs",
  2035. "in": "query",
  2036. "required": true
  2037. },
  2038. {
  2039. "type": "integer",
  2040. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2041. "name": "myBuyStatus",
  2042. "in": "query"
  2043. }
  2044. ],
  2045. "responses": {
  2046. "200": {
  2047. "description": "OK",
  2048. "schema": {
  2049. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2050. }
  2051. },
  2052. "500": {
  2053. "description": "Internal Server Error",
  2054. "schema": {
  2055. "$ref": "#/definitions/app.Response"
  2056. }
  2057. }
  2058. }
  2059. }
  2060. },
  2061. "/HSBY/QueryHsbyMyGoods": {
  2062. "get": {
  2063. "security": [
  2064. {
  2065. "ApiKeyAuth": []
  2066. }
  2067. ],
  2068. "produces": [
  2069. "application/json"
  2070. ],
  2071. "tags": [
  2072. "定制【海商报业】"
  2073. ],
  2074. "summary": "查询“我的商品”信息",
  2075. "parameters": [
  2076. {
  2077. "type": "string",
  2078. "description": "资金账户列表,格式:1,2,3",
  2079. "name": "accountIDs",
  2080. "in": "query",
  2081. "required": true
  2082. }
  2083. ],
  2084. "responses": {
  2085. "200": {
  2086. "description": "OK",
  2087. "schema": {
  2088. "$ref": "#/definitions/models.HsbyMyGoods"
  2089. }
  2090. },
  2091. "500": {
  2092. "description": "Internal Server Error",
  2093. "schema": {
  2094. "$ref": "#/definitions/app.Response"
  2095. }
  2096. }
  2097. }
  2098. }
  2099. },
  2100. "/HSBY/QueryHsbyMyPackages": {
  2101. "get": {
  2102. "security": [
  2103. {
  2104. "ApiKeyAuth": []
  2105. }
  2106. ],
  2107. "produces": [
  2108. "application/json"
  2109. ],
  2110. "tags": [
  2111. "定制【海商报业】"
  2112. ],
  2113. "summary": "查询我的包裹信息",
  2114. "parameters": [
  2115. {
  2116. "type": "string",
  2117. "description": "资金账户列表,格式:1,2,3",
  2118. "name": "accountIDs",
  2119. "in": "query",
  2120. "required": true
  2121. },
  2122. {
  2123. "type": "integer",
  2124. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2125. "name": "takeOrderStatus",
  2126. "in": "query"
  2127. }
  2128. ],
  2129. "responses": {
  2130. "200": {
  2131. "description": "OK",
  2132. "schema": {
  2133. "$ref": "#/definitions/models.HsbyMyPackage"
  2134. }
  2135. },
  2136. "500": {
  2137. "description": "Internal Server Error",
  2138. "schema": {
  2139. "$ref": "#/definitions/app.Response"
  2140. }
  2141. }
  2142. }
  2143. }
  2144. },
  2145. "/HSBY/QueryHsbyPreGoodsDetail": {
  2146. "get": {
  2147. "security": [
  2148. {
  2149. "ApiKeyAuth": []
  2150. }
  2151. ],
  2152. "produces": [
  2153. "application/json"
  2154. ],
  2155. "tags": [
  2156. "定制【海商报业】"
  2157. ],
  2158. "summary": "查询一级市场(预售)商品信息详情",
  2159. "parameters": [
  2160. {
  2161. "type": "integer",
  2162. "description": "商品ID",
  2163. "name": "goodsID",
  2164. "in": "query",
  2165. "required": true
  2166. },
  2167. {
  2168. "type": "integer",
  2169. "description": "资金账户,主要用于获取预售商品购买上限",
  2170. "name": "accountID",
  2171. "in": "query"
  2172. }
  2173. ],
  2174. "responses": {
  2175. "200": {
  2176. "description": "OK",
  2177. "schema": {
  2178. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2179. }
  2180. },
  2181. "500": {
  2182. "description": "Internal Server Error",
  2183. "schema": {
  2184. "$ref": "#/definitions/app.Response"
  2185. }
  2186. }
  2187. }
  2188. }
  2189. },
  2190. "/HSBY/QueryHsbyPreGoodses": {
  2191. "get": {
  2192. "security": [
  2193. {
  2194. "ApiKeyAuth": []
  2195. }
  2196. ],
  2197. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2198. "produces": [
  2199. "application/json"
  2200. ],
  2201. "tags": [
  2202. "定制【海商报业】"
  2203. ],
  2204. "summary": "查询新品上市商品列表(一级市场预售)",
  2205. "parameters": [
  2206. {
  2207. "type": "integer",
  2208. "description": "页码",
  2209. "name": "page",
  2210. "in": "query"
  2211. },
  2212. {
  2213. "type": "integer",
  2214. "description": "每页条数",
  2215. "name": "pagesize",
  2216. "in": "query"
  2217. },
  2218. {
  2219. "type": "string",
  2220. "description": "市场ID列表,格式:1,2,3",
  2221. "name": "marketIDs",
  2222. "in": "query",
  2223. "required": true
  2224. },
  2225. {
  2226. "type": "integer",
  2227. "description": "目的地(省)ID",
  2228. "name": "descProvinceID",
  2229. "in": "query"
  2230. },
  2231. {
  2232. "type": "integer",
  2233. "description": "目的地(市)ID",
  2234. "name": "descCityID",
  2235. "in": "query"
  2236. }
  2237. ],
  2238. "responses": {
  2239. "200": {
  2240. "description": "OK",
  2241. "schema": {
  2242. "$ref": "#/definitions/models.HsbyPreGoods"
  2243. }
  2244. },
  2245. "500": {
  2246. "description": "Internal Server Error",
  2247. "schema": {
  2248. "$ref": "#/definitions/app.Response"
  2249. }
  2250. }
  2251. }
  2252. }
  2253. },
  2254. "/HSBY/QueryHsbySellMyDetails": {
  2255. "get": {
  2256. "security": [
  2257. {
  2258. "ApiKeyAuth": []
  2259. }
  2260. ],
  2261. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2262. "produces": [
  2263. "application/json"
  2264. ],
  2265. "tags": [
  2266. "定制【海商报业】"
  2267. ],
  2268. "summary": "查询\"我的闲置\"单据信息",
  2269. "parameters": [
  2270. {
  2271. "type": "integer",
  2272. "description": "页码",
  2273. "name": "page",
  2274. "in": "query"
  2275. },
  2276. {
  2277. "type": "integer",
  2278. "description": "每页条数",
  2279. "name": "pagesize",
  2280. "in": "query"
  2281. },
  2282. {
  2283. "type": "string",
  2284. "description": "资金账户列表,格式:1,2,3",
  2285. "name": "accountIDs",
  2286. "in": "query",
  2287. "required": true
  2288. },
  2289. {
  2290. "type": "integer",
  2291. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2292. "name": "orderType",
  2293. "in": "query"
  2294. }
  2295. ],
  2296. "responses": {
  2297. "200": {
  2298. "description": "OK",
  2299. "schema": {
  2300. "$ref": "#/definitions/models.HsbySellMyDetail"
  2301. }
  2302. },
  2303. "500": {
  2304. "description": "Internal Server Error",
  2305. "schema": {
  2306. "$ref": "#/definitions/app.Response"
  2307. }
  2308. }
  2309. }
  2310. }
  2311. },
  2312. "/HSBY/QueryHsbyTopGoodses": {
  2313. "get": {
  2314. "security": [
  2315. {
  2316. "ApiKeyAuth": []
  2317. }
  2318. ],
  2319. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2320. "produces": [
  2321. "application/json"
  2322. ],
  2323. "tags": [
  2324. "定制【海商报业】"
  2325. ],
  2326. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2327. "parameters": [
  2328. {
  2329. "type": "integer",
  2330. "description": "页码",
  2331. "name": "page",
  2332. "in": "query"
  2333. },
  2334. {
  2335. "type": "integer",
  2336. "description": "每页条数",
  2337. "name": "pagesize",
  2338. "in": "query"
  2339. },
  2340. {
  2341. "type": "string",
  2342. "description": "市场ID列表,格式:1,2,3",
  2343. "name": "marketIDs",
  2344. "in": "query",
  2345. "required": true
  2346. },
  2347. {
  2348. "type": "integer",
  2349. "description": "目的地(省)ID",
  2350. "name": "descProvinceID",
  2351. "in": "query"
  2352. },
  2353. {
  2354. "type": "integer",
  2355. "description": "目的地(市)ID",
  2356. "name": "descCityID",
  2357. "in": "query"
  2358. }
  2359. ],
  2360. "responses": {
  2361. "200": {
  2362. "description": "OK",
  2363. "schema": {
  2364. "$ref": "#/definitions/models.HsbyTopGoods"
  2365. }
  2366. },
  2367. "500": {
  2368. "description": "Internal Server Error",
  2369. "schema": {
  2370. "$ref": "#/definitions/app.Response"
  2371. }
  2372. }
  2373. }
  2374. }
  2375. },
  2376. "/HSBY/QueryMyCollectionOrders": {
  2377. "get": {
  2378. "security": [
  2379. {
  2380. "ApiKeyAuth": []
  2381. }
  2382. ],
  2383. "produces": [
  2384. "application/json"
  2385. ],
  2386. "tags": [
  2387. "定制【海商报业】"
  2388. ],
  2389. "summary": "我的闲置中收款信息查询",
  2390. "parameters": [
  2391. {
  2392. "type": "integer",
  2393. "description": "页码",
  2394. "name": "page",
  2395. "in": "query"
  2396. },
  2397. {
  2398. "type": "integer",
  2399. "description": "每页条数",
  2400. "name": "pagesize",
  2401. "in": "query"
  2402. },
  2403. {
  2404. "type": "string",
  2405. "description": "资金账户,格式:1,2,3",
  2406. "name": "accountIDs",
  2407. "in": "query",
  2408. "required": true
  2409. }
  2410. ],
  2411. "responses": {
  2412. "200": {
  2413. "description": "OK",
  2414. "schema": {
  2415. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2416. }
  2417. },
  2418. "500": {
  2419. "description": "Internal Server Error",
  2420. "schema": {
  2421. "$ref": "#/definitions/app.Response"
  2422. }
  2423. }
  2424. }
  2425. }
  2426. },
  2427. "/HSBY/QueryMyCouponHolds": {
  2428. "get": {
  2429. "security": [
  2430. {
  2431. "ApiKeyAuth": []
  2432. }
  2433. ],
  2434. "produces": [
  2435. "application/json"
  2436. ],
  2437. "tags": [
  2438. "定制【海商报业】"
  2439. ],
  2440. "summary": "我的优惠卷持仓查询",
  2441. "parameters": [
  2442. {
  2443. "type": "string",
  2444. "description": "资金账户列表,格式:1,2,3",
  2445. "name": "accountIDs",
  2446. "in": "query",
  2447. "required": true
  2448. },
  2449. {
  2450. "type": "string",
  2451. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2452. "name": "holdStatus",
  2453. "in": "query"
  2454. }
  2455. ],
  2456. "responses": {
  2457. "200": {
  2458. "description": "OK",
  2459. "schema": {
  2460. "$ref": "#/definitions/models.MyCouponHold"
  2461. }
  2462. },
  2463. "500": {
  2464. "description": "Internal Server Error",
  2465. "schema": {
  2466. "$ref": "#/definitions/app.Response"
  2467. }
  2468. }
  2469. }
  2470. }
  2471. },
  2472. "/HSBY/QueryMyCoupons": {
  2473. "get": {
  2474. "security": [
  2475. {
  2476. "ApiKeyAuth": []
  2477. }
  2478. ],
  2479. "produces": [
  2480. "application/json"
  2481. ],
  2482. "tags": [
  2483. "定制【海商报业】"
  2484. ],
  2485. "summary": "我的优惠卷查询",
  2486. "parameters": [
  2487. {
  2488. "type": "string",
  2489. "description": "资金账户列表,格式:1,2,3",
  2490. "name": "accountIDs",
  2491. "in": "query",
  2492. "required": true
  2493. },
  2494. {
  2495. "type": "integer",
  2496. "description": "商品ID, 一般与sellUserID配套传入",
  2497. "name": "goodsID",
  2498. "in": "query"
  2499. },
  2500. {
  2501. "type": "integer",
  2502. "description": "卖方UserID",
  2503. "name": "sellUserID",
  2504. "in": "query"
  2505. }
  2506. ],
  2507. "responses": {
  2508. "200": {
  2509. "description": "OK",
  2510. "schema": {
  2511. "$ref": "#/definitions/models.MyCoupon"
  2512. }
  2513. },
  2514. "500": {
  2515. "description": "Internal Server Error",
  2516. "schema": {
  2517. "$ref": "#/definitions/app.Response"
  2518. }
  2519. }
  2520. }
  2521. }
  2522. },
  2523. "/HSBY/QueryMyPayOrders": {
  2524. "get": {
  2525. "security": [
  2526. {
  2527. "ApiKeyAuth": []
  2528. }
  2529. ],
  2530. "produces": [
  2531. "application/json"
  2532. ],
  2533. "tags": [
  2534. "定制【海商报业】"
  2535. ],
  2536. "summary": "获取我的订单中待付款信息",
  2537. "parameters": [
  2538. {
  2539. "type": "integer",
  2540. "description": "页码",
  2541. "name": "page",
  2542. "in": "query"
  2543. },
  2544. {
  2545. "type": "integer",
  2546. "description": "每页条数",
  2547. "name": "pagesize",
  2548. "in": "query"
  2549. },
  2550. {
  2551. "type": "string",
  2552. "description": "资金账户列表,格式:1,2,3",
  2553. "name": "accountIDs",
  2554. "in": "query",
  2555. "required": true
  2556. },
  2557. {
  2558. "type": "integer",
  2559. "description": "买方委托单号",
  2560. "name": "buyOrderID",
  2561. "in": "query"
  2562. },
  2563. {
  2564. "type": "integer",
  2565. "description": "卖方委托单号",
  2566. "name": "sellOrderID",
  2567. "in": "query"
  2568. }
  2569. ],
  2570. "responses": {
  2571. "200": {
  2572. "description": "OK",
  2573. "schema": {
  2574. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2575. }
  2576. },
  2577. "500": {
  2578. "description": "Internal Server Error",
  2579. "schema": {
  2580. "$ref": "#/definitions/app.Response"
  2581. }
  2582. }
  2583. }
  2584. }
  2585. },
  2586. "/HSBY/QueryMyUsedCoupon": {
  2587. "get": {
  2588. "security": [
  2589. {
  2590. "ApiKeyAuth": []
  2591. }
  2592. ],
  2593. "produces": [
  2594. "application/json"
  2595. ],
  2596. "tags": [
  2597. "定制【海商报业】"
  2598. ],
  2599. "summary": "已使用优惠卷查询",
  2600. "parameters": [
  2601. {
  2602. "type": "string",
  2603. "description": "资金账户列表,格式:1,2,3",
  2604. "name": "accountIDs",
  2605. "in": "query",
  2606. "required": true
  2607. }
  2608. ],
  2609. "responses": {
  2610. "200": {
  2611. "description": "OK",
  2612. "schema": {
  2613. "$ref": "#/definitions/models.MyUsedCoupon"
  2614. }
  2615. },
  2616. "500": {
  2617. "description": "Internal Server Error",
  2618. "schema": {
  2619. "$ref": "#/definitions/app.Response"
  2620. }
  2621. }
  2622. }
  2623. }
  2624. },
  2625. "/HSBY/QueryProvincesAndCities": {
  2626. "get": {
  2627. "security": [
  2628. {
  2629. "ApiKeyAuth": []
  2630. }
  2631. ],
  2632. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2633. "produces": [
  2634. "application/json"
  2635. ],
  2636. "tags": [
  2637. "定制【海商报业】"
  2638. ],
  2639. "summary": "查询省市信息(不包括区)",
  2640. "parameters": [
  2641. {
  2642. "type": "integer",
  2643. "description": "省ID",
  2644. "name": "provinceID",
  2645. "in": "query"
  2646. }
  2647. ],
  2648. "responses": {
  2649. "200": {
  2650. "description": "OK",
  2651. "schema": {
  2652. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2653. }
  2654. },
  2655. "500": {
  2656. "description": "Internal Server Error",
  2657. "schema": {
  2658. "$ref": "#/definitions/app.Response"
  2659. }
  2660. }
  2661. }
  2662. }
  2663. },
  2664. "/HSBY/SetHsbyMyPackagesStatus": {
  2665. "post": {
  2666. "security": [
  2667. {
  2668. "ApiKeyAuth": []
  2669. }
  2670. ],
  2671. "produces": [
  2672. "application/json"
  2673. ],
  2674. "tags": [
  2675. "定制【海商报业】"
  2676. ],
  2677. "summary": "设置我的包裹已收货状态",
  2678. "parameters": [
  2679. {
  2680. "type": "string",
  2681. "description": "提货单号",
  2682. "name": "takeOrderID",
  2683. "in": "query",
  2684. "required": true
  2685. },
  2686. {
  2687. "type": "integer",
  2688. "description": "资金账号",
  2689. "name": "accountID",
  2690. "in": "query",
  2691. "required": true
  2692. }
  2693. ],
  2694. "responses": {
  2695. "200": {
  2696. "description": "OK",
  2697. "schema": {
  2698. "$ref": "#/definitions/app.Response"
  2699. }
  2700. },
  2701. "500": {
  2702. "description": "Internal Server Error",
  2703. "schema": {
  2704. "$ref": "#/definitions/app.Response"
  2705. }
  2706. }
  2707. }
  2708. }
  2709. },
  2710. "/Market/QueryMarketRun": {
  2711. "get": {
  2712. "security": [
  2713. {
  2714. "ApiKeyAuth": []
  2715. }
  2716. ],
  2717. "produces": [
  2718. "application/json"
  2719. ],
  2720. "tags": [
  2721. "通用市场"
  2722. ],
  2723. "summary": "查询市场运行信息",
  2724. "parameters": [
  2725. {
  2726. "type": "integer",
  2727. "description": "市场ID,不传返回所有",
  2728. "name": "marketID",
  2729. "in": "query"
  2730. }
  2731. ],
  2732. "responses": {
  2733. "200": {
  2734. "description": "OK",
  2735. "schema": {
  2736. "$ref": "#/definitions/models.Marketrun"
  2737. }
  2738. },
  2739. "500": {
  2740. "description": "Internal Server Error",
  2741. "schema": {
  2742. "$ref": "#/definitions/app.Response"
  2743. }
  2744. }
  2745. }
  2746. }
  2747. },
  2748. "/Order/QueryHisTradeDetail": {
  2749. "get": {
  2750. "security": [
  2751. {
  2752. "ApiKeyAuth": []
  2753. }
  2754. ],
  2755. "produces": [
  2756. "application/json"
  2757. ],
  2758. "tags": [
  2759. "通用单据"
  2760. ],
  2761. "summary": "历史成交单查询(合约市场)",
  2762. "parameters": [
  2763. {
  2764. "type": "string",
  2765. "description": "资金账户 - 格式:1,2,3",
  2766. "name": "accountID",
  2767. "in": "query",
  2768. "required": true
  2769. },
  2770. {
  2771. "type": "integer",
  2772. "description": "成交单号",
  2773. "name": "tradeID",
  2774. "in": "query"
  2775. },
  2776. {
  2777. "type": "integer",
  2778. "description": "委托单号",
  2779. "name": "orderID",
  2780. "in": "query"
  2781. },
  2782. {
  2783. "type": "string",
  2784. "description": "交易模式 - 格式:1,2,3",
  2785. "name": "tradeMode",
  2786. "in": "query"
  2787. },
  2788. {
  2789. "type": "integer",
  2790. "description": "委托单据类型",
  2791. "name": "buildType",
  2792. "in": "query"
  2793. },
  2794. {
  2795. "type": "string",
  2796. "description": "成交类别 - 格式:1,2,3",
  2797. "name": "tradeType",
  2798. "in": "query"
  2799. },
  2800. {
  2801. "type": "string",
  2802. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2803. "name": "startDate",
  2804. "in": "query"
  2805. },
  2806. {
  2807. "type": "string",
  2808. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2809. "name": "endDate",
  2810. "in": "query"
  2811. }
  2812. ],
  2813. "responses": {
  2814. "200": {
  2815. "description": "OK",
  2816. "schema": {
  2817. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2818. }
  2819. },
  2820. "500": {
  2821. "description": "Internal Server Error",
  2822. "schema": {
  2823. "$ref": "#/definitions/app.Response"
  2824. }
  2825. }
  2826. }
  2827. }
  2828. },
  2829. "/Order/QueryHisTradeOrderDetail": {
  2830. "get": {
  2831. "security": [
  2832. {
  2833. "ApiKeyAuth": []
  2834. }
  2835. ],
  2836. "produces": [
  2837. "application/json"
  2838. ],
  2839. "tags": [
  2840. "通用单据"
  2841. ],
  2842. "summary": "历史委托单查询请求(合约市场)",
  2843. "parameters": [
  2844. {
  2845. "type": "string",
  2846. "description": "资金账户 - 格式:1,2,3",
  2847. "name": "accountID",
  2848. "in": "query",
  2849. "required": true
  2850. },
  2851. {
  2852. "type": "string",
  2853. "description": "交易模式 - 格式:1,2,3",
  2854. "name": "tradeMode",
  2855. "in": "query"
  2856. },
  2857. {
  2858. "type": "string",
  2859. "description": "委托状态 - 格式:1,2,3",
  2860. "name": "orderStatus",
  2861. "in": "query"
  2862. },
  2863. {
  2864. "type": "integer",
  2865. "description": "委托单号",
  2866. "name": "orderID",
  2867. "in": "query"
  2868. },
  2869. {
  2870. "type": "string",
  2871. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2872. "name": "startDate",
  2873. "in": "query"
  2874. },
  2875. {
  2876. "type": "string",
  2877. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2878. "name": "endDate",
  2879. "in": "query"
  2880. }
  2881. ],
  2882. "responses": {
  2883. "200": {
  2884. "description": "OK",
  2885. "schema": {
  2886. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2887. }
  2888. },
  2889. "500": {
  2890. "description": "Internal Server Error",
  2891. "schema": {
  2892. "$ref": "#/definitions/app.Response"
  2893. }
  2894. }
  2895. }
  2896. }
  2897. },
  2898. "/Order/QueryTradeDetail": {
  2899. "get": {
  2900. "security": [
  2901. {
  2902. "ApiKeyAuth": []
  2903. }
  2904. ],
  2905. "produces": [
  2906. "application/json"
  2907. ],
  2908. "tags": [
  2909. "通用单据"
  2910. ],
  2911. "summary": "成交单查询(合约市场)",
  2912. "parameters": [
  2913. {
  2914. "type": "string",
  2915. "description": "资金账户 - 格式:1,2,3",
  2916. "name": "accountID",
  2917. "in": "query",
  2918. "required": true
  2919. },
  2920. {
  2921. "type": "integer",
  2922. "description": "成交单号",
  2923. "name": "tradeID",
  2924. "in": "query"
  2925. },
  2926. {
  2927. "type": "integer",
  2928. "description": "委托单号",
  2929. "name": "orderID",
  2930. "in": "query"
  2931. },
  2932. {
  2933. "type": "string",
  2934. "description": "交易模式 - 格式:1,2,3",
  2935. "name": "tradeMode",
  2936. "in": "query"
  2937. },
  2938. {
  2939. "type": "integer",
  2940. "description": "委托单据类型",
  2941. "name": "buildType",
  2942. "in": "query"
  2943. },
  2944. {
  2945. "type": "string",
  2946. "description": "成交类别 - 格式:1,2,3",
  2947. "name": "tradeType",
  2948. "in": "query"
  2949. }
  2950. ],
  2951. "responses": {
  2952. "200": {
  2953. "description": "OK",
  2954. "schema": {
  2955. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2956. }
  2957. },
  2958. "500": {
  2959. "description": "Internal Server Error",
  2960. "schema": {
  2961. "$ref": "#/definitions/app.Response"
  2962. }
  2963. }
  2964. }
  2965. }
  2966. },
  2967. "/Order/QueryTradeOrderDetail": {
  2968. "get": {
  2969. "security": [
  2970. {
  2971. "ApiKeyAuth": []
  2972. }
  2973. ],
  2974. "produces": [
  2975. "application/json"
  2976. ],
  2977. "tags": [
  2978. "通用单据"
  2979. ],
  2980. "summary": "委托单查询请求(合约市场)",
  2981. "parameters": [
  2982. {
  2983. "type": "string",
  2984. "description": "资金账户 - 格式:1,2,3",
  2985. "name": "accountID",
  2986. "in": "query",
  2987. "required": true
  2988. },
  2989. {
  2990. "type": "string",
  2991. "description": "交易模式 - 格式:1,2,3",
  2992. "name": "tradeMode",
  2993. "in": "query"
  2994. },
  2995. {
  2996. "type": "string",
  2997. "description": "委托状态 - 格式:1,2,3",
  2998. "name": "orderStatus",
  2999. "in": "query"
  3000. },
  3001. {
  3002. "type": "integer",
  3003. "description": "委托单号",
  3004. "name": "orderID",
  3005. "in": "query"
  3006. }
  3007. ],
  3008. "responses": {
  3009. "200": {
  3010. "description": "OK",
  3011. "schema": {
  3012. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3013. }
  3014. },
  3015. "500": {
  3016. "description": "Internal Server Error",
  3017. "schema": {
  3018. "$ref": "#/definitions/app.Response"
  3019. }
  3020. }
  3021. }
  3022. }
  3023. },
  3024. "/Order/QueryTradePosition": {
  3025. "get": {
  3026. "security": [
  3027. {
  3028. "ApiKeyAuth": []
  3029. }
  3030. ],
  3031. "produces": [
  3032. "application/json"
  3033. ],
  3034. "tags": [
  3035. "通用单据"
  3036. ],
  3037. "summary": "持仓汇总查询(合约市场)",
  3038. "parameters": [
  3039. {
  3040. "type": "string",
  3041. "description": "资金账户 - 格式:1,2,3",
  3042. "name": "accountID",
  3043. "in": "query",
  3044. "required": true
  3045. },
  3046. {
  3047. "type": "string",
  3048. "description": "交易模式 - 格式:1,2,3",
  3049. "name": "tradeMode",
  3050. "in": "query"
  3051. }
  3052. ],
  3053. "responses": {
  3054. "200": {
  3055. "description": "OK",
  3056. "schema": {
  3057. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3058. }
  3059. },
  3060. "500": {
  3061. "description": "Internal Server Error",
  3062. "schema": {
  3063. "$ref": "#/definitions/app.Response"
  3064. }
  3065. }
  3066. }
  3067. }
  3068. },
  3069. "/Quote/QueryHistoryDatas": {
  3070. "get": {
  3071. "security": [
  3072. {
  3073. "ApiKeyAuth": []
  3074. }
  3075. ],
  3076. "produces": [
  3077. "application/json"
  3078. ],
  3079. "tags": [
  3080. "行情服务"
  3081. ],
  3082. "summary": "查询行情历史数据",
  3083. "parameters": [
  3084. {
  3085. "type": "integer",
  3086. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3087. "name": "cycleType",
  3088. "in": "query",
  3089. "required": true
  3090. },
  3091. {
  3092. "type": "string",
  3093. "description": "商品代码",
  3094. "name": "goodsCode",
  3095. "in": "query",
  3096. "required": true
  3097. },
  3098. {
  3099. "type": "string",
  3100. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3101. "name": "startTime",
  3102. "in": "query"
  3103. },
  3104. {
  3105. "type": "string",
  3106. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3107. "name": "endTime",
  3108. "in": "query"
  3109. },
  3110. {
  3111. "type": "integer",
  3112. "description": "条数",
  3113. "name": "count",
  3114. "in": "query"
  3115. },
  3116. {
  3117. "type": "boolean",
  3118. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3119. "name": "isAsc",
  3120. "in": "query"
  3121. }
  3122. ],
  3123. "responses": {
  3124. "200": {
  3125. "description": "OK",
  3126. "schema": {
  3127. "$ref": "#/definitions/quote.HistoryData"
  3128. }
  3129. },
  3130. "500": {
  3131. "description": "Internal Server Error",
  3132. "schema": {
  3133. "$ref": "#/definitions/app.Response"
  3134. }
  3135. }
  3136. }
  3137. }
  3138. },
  3139. "/Quote/QueryTSData": {
  3140. "get": {
  3141. "produces": [
  3142. "application/json"
  3143. ],
  3144. "tags": [
  3145. "行情服务"
  3146. ],
  3147. "summary": "分时图数据查询",
  3148. "parameters": [
  3149. {
  3150. "type": "string",
  3151. "description": "商品代码",
  3152. "name": "GoodsCode",
  3153. "in": "query",
  3154. "required": true
  3155. }
  3156. ],
  3157. "responses": {
  3158. "200": {
  3159. "description": "OK",
  3160. "schema": {
  3161. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3162. }
  3163. },
  3164. "500": {
  3165. "description": "Internal Server Error",
  3166. "schema": {
  3167. "$ref": "#/definitions/app.Response"
  3168. }
  3169. }
  3170. }
  3171. }
  3172. },
  3173. "/SZDZ/QueryConvertConfig": {
  3174. "get": {
  3175. "security": [
  3176. {
  3177. "ApiKeyAuth": []
  3178. }
  3179. ],
  3180. "produces": [
  3181. "application/json"
  3182. ],
  3183. "tags": [
  3184. "定制【尚志大宗】"
  3185. ],
  3186. "summary": "查询交易系统转换设置",
  3187. "parameters": [
  3188. {
  3189. "type": "integer",
  3190. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3191. "name": "convertType",
  3192. "in": "query"
  3193. },
  3194. {
  3195. "type": "string",
  3196. "description": "外部商品代码[JD\\PD]",
  3197. "name": "outerGoodsCode",
  3198. "in": "query"
  3199. },
  3200. {
  3201. "type": "string",
  3202. "description": "内部商品ID列表[交易],格式:1,2,3",
  3203. "name": "innerGoodsIDs",
  3204. "in": "query"
  3205. }
  3206. ],
  3207. "responses": {
  3208. "200": {
  3209. "description": "OK",
  3210. "schema": {
  3211. "$ref": "#/definitions/models.Szdz3convertconfig"
  3212. }
  3213. },
  3214. "500": {
  3215. "description": "Internal Server Error",
  3216. "schema": {
  3217. "$ref": "#/definitions/app.Response"
  3218. }
  3219. }
  3220. }
  3221. }
  3222. },
  3223. "/SZDZ/QueryConvertLog": {
  3224. "get": {
  3225. "security": [
  3226. {
  3227. "ApiKeyAuth": []
  3228. }
  3229. ],
  3230. "produces": [
  3231. "application/json"
  3232. ],
  3233. "tags": [
  3234. "定制【尚志大宗】"
  3235. ],
  3236. "summary": "交易系统转换流水查询",
  3237. "parameters": [
  3238. {
  3239. "type": "string",
  3240. "description": "资金账户 - 格式:1,2,3",
  3241. "name": "accountID",
  3242. "in": "query",
  3243. "required": true
  3244. },
  3245. {
  3246. "type": "string",
  3247. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3248. "name": "startDate",
  3249. "in": "query"
  3250. },
  3251. {
  3252. "type": "string",
  3253. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3254. "name": "endDate",
  3255. "in": "query"
  3256. }
  3257. ],
  3258. "responses": {
  3259. "200": {
  3260. "description": "OK",
  3261. "schema": {
  3262. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3263. }
  3264. },
  3265. "500": {
  3266. "description": "Internal Server Error",
  3267. "schema": {
  3268. "$ref": "#/definitions/app.Response"
  3269. }
  3270. }
  3271. }
  3272. }
  3273. },
  3274. "/SZDZ/QueryGoodsPickup": {
  3275. "get": {
  3276. "security": [
  3277. {
  3278. "ApiKeyAuth": []
  3279. }
  3280. ],
  3281. "produces": [
  3282. "application/json"
  3283. ],
  3284. "tags": [
  3285. "定制【尚志大宗】"
  3286. ],
  3287. "summary": "商品提货单查询",
  3288. "parameters": [
  3289. {
  3290. "type": "string",
  3291. "description": "资金账户 - 格式:1,2,3",
  3292. "name": "accountID",
  3293. "in": "query",
  3294. "required": true
  3295. },
  3296. {
  3297. "type": "integer",
  3298. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3299. "name": "takeOrderStatus",
  3300. "in": "query"
  3301. }
  3302. ],
  3303. "responses": {
  3304. "200": {
  3305. "description": "OK",
  3306. "schema": {
  3307. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3308. }
  3309. },
  3310. "500": {
  3311. "description": "Internal Server Error",
  3312. "schema": {
  3313. "$ref": "#/definitions/app.Response"
  3314. }
  3315. }
  3316. }
  3317. }
  3318. },
  3319. "/SZDZ/QueryRecieptOrder": {
  3320. "get": {
  3321. "security": [
  3322. {
  3323. "ApiKeyAuth": []
  3324. }
  3325. ],
  3326. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3327. "produces": [
  3328. "application/json"
  3329. ],
  3330. "tags": [
  3331. "定制【尚志大宗】"
  3332. ],
  3333. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3334. "parameters": [
  3335. {
  3336. "type": "integer",
  3337. "description": "页码",
  3338. "name": "page",
  3339. "in": "query"
  3340. },
  3341. {
  3342. "type": "integer",
  3343. "description": "每页条数",
  3344. "name": "pagesize",
  3345. "in": "query"
  3346. },
  3347. {
  3348. "type": "integer",
  3349. "description": "商品ID",
  3350. "name": "goodsID",
  3351. "in": "query",
  3352. "required": true
  3353. },
  3354. {
  3355. "type": "string",
  3356. "description": "所属账户名称",
  3357. "name": "accountName",
  3358. "in": "query"
  3359. },
  3360. {
  3361. "type": "integer",
  3362. "description": "市场ID",
  3363. "name": "marketID",
  3364. "in": "query"
  3365. },
  3366. {
  3367. "type": "integer",
  3368. "description": "方向 - 0:买 1:卖",
  3369. "name": "buyorsell",
  3370. "in": "query",
  3371. "required": true
  3372. }
  3373. ],
  3374. "responses": {
  3375. "200": {
  3376. "description": "OK",
  3377. "schema": {
  3378. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3379. }
  3380. },
  3381. "500": {
  3382. "description": "Internal Server Error",
  3383. "schema": {
  3384. "$ref": "#/definitions/app.Response"
  3385. }
  3386. }
  3387. }
  3388. }
  3389. },
  3390. "/SZDZ/QuerySZDZTradePosition": {
  3391. "get": {
  3392. "security": [
  3393. {
  3394. "ApiKeyAuth": []
  3395. }
  3396. ],
  3397. "produces": [
  3398. "application/json"
  3399. ],
  3400. "tags": [
  3401. "定制【尚志大宗】"
  3402. ],
  3403. "summary": "持仓汇总查询(尚志大宗)",
  3404. "parameters": [
  3405. {
  3406. "type": "integer",
  3407. "description": "资金账户",
  3408. "name": "accountID",
  3409. "in": "query",
  3410. "required": true
  3411. }
  3412. ],
  3413. "responses": {
  3414. "200": {
  3415. "description": "OK",
  3416. "schema": {
  3417. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3418. }
  3419. },
  3420. "500": {
  3421. "description": "Internal Server Error",
  3422. "schema": {
  3423. "$ref": "#/definitions/app.Response"
  3424. }
  3425. }
  3426. }
  3427. }
  3428. },
  3429. "/SZDZ/SearchWhite": {
  3430. "get": {
  3431. "security": [
  3432. {
  3433. "ApiKeyAuth": []
  3434. }
  3435. ],
  3436. "produces": [
  3437. "application/json"
  3438. ],
  3439. "tags": [
  3440. "定制【尚志大宗】"
  3441. ],
  3442. "summary": "搜索白名单",
  3443. "parameters": [
  3444. {
  3445. "type": "integer",
  3446. "description": "用户ID",
  3447. "name": "userID",
  3448. "in": "query",
  3449. "required": true
  3450. }
  3451. ],
  3452. "responses": {
  3453. "200": {
  3454. "description": "OK",
  3455. "schema": {
  3456. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3457. }
  3458. },
  3459. "500": {
  3460. "description": "Internal Server Error",
  3461. "schema": {
  3462. "$ref": "#/definitions/app.Response"
  3463. }
  3464. }
  3465. }
  3466. }
  3467. },
  3468. "/Search/SearchGoodses": {
  3469. "get": {
  3470. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3471. "produces": [
  3472. "application/json"
  3473. ],
  3474. "tags": [
  3475. "检索服务"
  3476. ],
  3477. "summary": "检索商品信息",
  3478. "parameters": [
  3479. {
  3480. "type": "string",
  3481. "description": "检索内容",
  3482. "name": "content",
  3483. "in": "query",
  3484. "required": true
  3485. },
  3486. {
  3487. "type": "string",
  3488. "description": "交易模式,格式:1,2,3",
  3489. "name": "tradeModes",
  3490. "in": "query"
  3491. }
  3492. ],
  3493. "responses": {
  3494. "200": {
  3495. "description": "OK",
  3496. "schema": {
  3497. "$ref": "#/definitions/models.SearchGoods"
  3498. }
  3499. },
  3500. "500": {
  3501. "description": "Internal Server Error",
  3502. "schema": {
  3503. "$ref": "#/definitions/app.Response"
  3504. }
  3505. }
  3506. }
  3507. }
  3508. },
  3509. "/TaAccount/QueryAmountLog": {
  3510. "get": {
  3511. "security": [
  3512. {
  3513. "ApiKeyAuth": []
  3514. }
  3515. ],
  3516. "produces": [
  3517. "application/json"
  3518. ],
  3519. "tags": [
  3520. "资金账户"
  3521. ],
  3522. "summary": "资金流水查询(当前)",
  3523. "parameters": [
  3524. {
  3525. "type": "integer",
  3526. "description": "页码",
  3527. "name": "page",
  3528. "in": "query"
  3529. },
  3530. {
  3531. "type": "integer",
  3532. "description": "每页条数",
  3533. "name": "pagesize",
  3534. "in": "query"
  3535. },
  3536. {
  3537. "type": "string",
  3538. "description": "资金账户 - 格式:1,2,3",
  3539. "name": "accountID",
  3540. "in": "query",
  3541. "required": true
  3542. },
  3543. {
  3544. "type": "string",
  3545. "description": "资金操作类型 - 格式:1,2,3",
  3546. "name": "OperateType",
  3547. "in": "query"
  3548. }
  3549. ],
  3550. "responses": {
  3551. "200": {
  3552. "description": "OK",
  3553. "schema": {
  3554. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3555. }
  3556. },
  3557. "500": {
  3558. "description": "Internal Server Error",
  3559. "schema": {
  3560. "$ref": "#/definitions/app.Response"
  3561. }
  3562. }
  3563. }
  3564. }
  3565. },
  3566. "/TaAccount/QueryHisAmountLog": {
  3567. "get": {
  3568. "security": [
  3569. {
  3570. "ApiKeyAuth": []
  3571. }
  3572. ],
  3573. "produces": [
  3574. "application/json"
  3575. ],
  3576. "tags": [
  3577. "资金账户"
  3578. ],
  3579. "summary": "资金流水查询(历史)",
  3580. "parameters": [
  3581. {
  3582. "type": "integer",
  3583. "description": "页码",
  3584. "name": "page",
  3585. "in": "query"
  3586. },
  3587. {
  3588. "type": "integer",
  3589. "description": "每页条数",
  3590. "name": "pagesize",
  3591. "in": "query"
  3592. },
  3593. {
  3594. "type": "string",
  3595. "description": "资金账户 - 格式:1,2,3",
  3596. "name": "accountID",
  3597. "in": "query",
  3598. "required": true
  3599. },
  3600. {
  3601. "type": "string",
  3602. "description": "资金操作类型 - 格式:1,2,3",
  3603. "name": "OperateType",
  3604. "in": "query"
  3605. },
  3606. {
  3607. "type": "string",
  3608. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3609. "name": "startDate",
  3610. "in": "query"
  3611. },
  3612. {
  3613. "type": "string",
  3614. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3615. "name": "endDate",
  3616. "in": "query"
  3617. }
  3618. ],
  3619. "responses": {
  3620. "200": {
  3621. "description": "OK",
  3622. "schema": {
  3623. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3624. }
  3625. },
  3626. "500": {
  3627. "description": "Internal Server Error",
  3628. "schema": {
  3629. "$ref": "#/definitions/app.Response"
  3630. }
  3631. }
  3632. }
  3633. }
  3634. },
  3635. "/Trade/QueryRecieptOrder": {
  3636. "get": {
  3637. "security": [
  3638. {
  3639. "ApiKeyAuth": []
  3640. }
  3641. ],
  3642. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3643. "produces": [
  3644. "application/json"
  3645. ],
  3646. "tags": [
  3647. "通用交易"
  3648. ],
  3649. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3650. "parameters": [
  3651. {
  3652. "type": "integer",
  3653. "description": "页码",
  3654. "name": "page",
  3655. "in": "query"
  3656. },
  3657. {
  3658. "type": "integer",
  3659. "description": "每页条数",
  3660. "name": "pagesize",
  3661. "in": "query"
  3662. },
  3663. {
  3664. "type": "integer",
  3665. "description": "商品ID",
  3666. "name": "goodsID",
  3667. "in": "query",
  3668. "required": true
  3669. },
  3670. {
  3671. "type": "string",
  3672. "description": "所属账户名称",
  3673. "name": "accountName",
  3674. "in": "query"
  3675. },
  3676. {
  3677. "type": "integer",
  3678. "description": "市场ID",
  3679. "name": "marketID",
  3680. "in": "query"
  3681. },
  3682. {
  3683. "type": "integer",
  3684. "description": "方向 - 0:买 1:卖",
  3685. "name": "buyorsell",
  3686. "in": "query",
  3687. "required": true
  3688. }
  3689. ],
  3690. "responses": {
  3691. "200": {
  3692. "description": "OK",
  3693. "schema": {
  3694. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3695. }
  3696. },
  3697. "500": {
  3698. "description": "Internal Server Error",
  3699. "schema": {
  3700. "$ref": "#/definitions/app.Response"
  3701. }
  3702. }
  3703. }
  3704. }
  3705. },
  3706. "/User/AddMessageBoard": {
  3707. "post": {
  3708. "security": [
  3709. {
  3710. "ApiKeyAuth": []
  3711. }
  3712. ],
  3713. "produces": [
  3714. "application/json"
  3715. ],
  3716. "tags": [
  3717. "用户信息"
  3718. ],
  3719. "summary": "添加用户留言板信息",
  3720. "parameters": [
  3721. {
  3722. "type": "integer",
  3723. "description": "用户ID",
  3724. "name": "userID",
  3725. "in": "query",
  3726. "required": true
  3727. },
  3728. {
  3729. "type": "string",
  3730. "description": "留言信息",
  3731. "name": "message",
  3732. "in": "query",
  3733. "required": true
  3734. }
  3735. ],
  3736. "responses": {
  3737. "200": {
  3738. "description": "OK",
  3739. "schema": {
  3740. "$ref": "#/definitions/app.Response"
  3741. }
  3742. },
  3743. "500": {
  3744. "description": "Internal Server Error",
  3745. "schema": {
  3746. "$ref": "#/definitions/app.Response"
  3747. }
  3748. }
  3749. }
  3750. }
  3751. },
  3752. "/User/AddUserFavoriteGoods": {
  3753. "post": {
  3754. "security": [
  3755. {
  3756. "ApiKeyAuth": []
  3757. }
  3758. ],
  3759. "produces": [
  3760. "application/json"
  3761. ],
  3762. "tags": [
  3763. "用户信息"
  3764. ],
  3765. "summary": "添加用户商品收藏信息",
  3766. "parameters": [
  3767. {
  3768. "type": "integer",
  3769. "description": "用户ID",
  3770. "name": "userID",
  3771. "in": "query",
  3772. "required": true
  3773. },
  3774. {
  3775. "type": "integer",
  3776. "description": "商品ID",
  3777. "name": "goodsID",
  3778. "in": "query",
  3779. "required": true
  3780. }
  3781. ],
  3782. "responses": {
  3783. "200": {
  3784. "description": "OK",
  3785. "schema": {
  3786. "$ref": "#/definitions/app.Response"
  3787. }
  3788. },
  3789. "500": {
  3790. "description": "Internal Server Error",
  3791. "schema": {
  3792. "$ref": "#/definitions/app.Response"
  3793. }
  3794. }
  3795. }
  3796. }
  3797. },
  3798. "/User/GetLoginID": {
  3799. "get": {
  3800. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3801. "produces": [
  3802. "application/json"
  3803. ],
  3804. "tags": [
  3805. "用户信息"
  3806. ],
  3807. "summary": "获取登录ID",
  3808. "parameters": [
  3809. {
  3810. "type": "string",
  3811. "description": "登录代码",
  3812. "name": "username",
  3813. "in": "query",
  3814. "required": true
  3815. }
  3816. ],
  3817. "responses": {
  3818. "200": {
  3819. "description": "OK",
  3820. "schema": {
  3821. "$ref": "#/definitions/app.Response"
  3822. }
  3823. },
  3824. "500": {
  3825. "description": "Internal Server Error",
  3826. "schema": {
  3827. "$ref": "#/definitions/app.Response"
  3828. }
  3829. }
  3830. }
  3831. }
  3832. },
  3833. "/User/GetUserAccount": {
  3834. "get": {
  3835. "security": [
  3836. {
  3837. "ApiKeyAuth": []
  3838. }
  3839. ],
  3840. "produces": [
  3841. "application/json"
  3842. ],
  3843. "tags": [
  3844. "用户信息"
  3845. ],
  3846. "summary": "获取用户账号信息",
  3847. "parameters": [
  3848. {
  3849. "type": "integer",
  3850. "description": "用户ID",
  3851. "name": "userID",
  3852. "in": "query",
  3853. "required": true
  3854. }
  3855. ],
  3856. "responses": {
  3857. "200": {
  3858. "description": "OK",
  3859. "schema": {
  3860. "$ref": "#/definitions/models.Useraccount"
  3861. }
  3862. },
  3863. "500": {
  3864. "description": "Internal Server Error",
  3865. "schema": {
  3866. "$ref": "#/definitions/app.Response"
  3867. }
  3868. }
  3869. }
  3870. }
  3871. },
  3872. "/User/GetUserAuthStatus": {
  3873. "get": {
  3874. "security": [
  3875. {
  3876. "ApiKeyAuth": []
  3877. }
  3878. ],
  3879. "produces": [
  3880. "application/json"
  3881. ],
  3882. "tags": [
  3883. "用户信息"
  3884. ],
  3885. "summary": "获取用户实名认证状态",
  3886. "parameters": [
  3887. {
  3888. "type": "integer",
  3889. "description": "用户ID",
  3890. "name": "userID",
  3891. "in": "query",
  3892. "required": true
  3893. }
  3894. ],
  3895. "responses": {
  3896. "200": {
  3897. "description": "OK",
  3898. "schema": {
  3899. "$ref": "#/definitions/app.Response"
  3900. }
  3901. },
  3902. "500": {
  3903. "description": "Internal Server Error",
  3904. "schema": {
  3905. "$ref": "#/definitions/app.Response"
  3906. }
  3907. }
  3908. }
  3909. }
  3910. },
  3911. "/User/QueryMessageBoard": {
  3912. "get": {
  3913. "security": [
  3914. {
  3915. "ApiKeyAuth": []
  3916. }
  3917. ],
  3918. "produces": [
  3919. "application/json"
  3920. ],
  3921. "tags": [
  3922. "用户信息"
  3923. ],
  3924. "summary": "获取用户留言板信息",
  3925. "parameters": [
  3926. {
  3927. "type": "integer",
  3928. "description": "用户ID",
  3929. "name": "userID",
  3930. "in": "query",
  3931. "required": true
  3932. }
  3933. ],
  3934. "responses": {
  3935. "200": {
  3936. "description": "OK",
  3937. "schema": {
  3938. "$ref": "#/definitions/models.Messageboard"
  3939. }
  3940. },
  3941. "500": {
  3942. "description": "Internal Server Error",
  3943. "schema": {
  3944. "$ref": "#/definitions/app.Response"
  3945. }
  3946. }
  3947. }
  3948. }
  3949. },
  3950. "/User/QueryUserFavoriteGoodses": {
  3951. "get": {
  3952. "security": [
  3953. {
  3954. "ApiKeyAuth": []
  3955. }
  3956. ],
  3957. "produces": [
  3958. "application/json"
  3959. ],
  3960. "tags": [
  3961. "用户信息"
  3962. ],
  3963. "summary": "获取用户商品收藏信息",
  3964. "parameters": [
  3965. {
  3966. "type": "integer",
  3967. "description": "用户ID",
  3968. "name": "userID",
  3969. "in": "query",
  3970. "required": true
  3971. }
  3972. ],
  3973. "responses": {
  3974. "200": {
  3975. "description": "OK",
  3976. "schema": {
  3977. "$ref": "#/definitions/models.Userfavoritegoods"
  3978. }
  3979. },
  3980. "500": {
  3981. "description": "Internal Server Error",
  3982. "schema": {
  3983. "$ref": "#/definitions/app.Response"
  3984. }
  3985. }
  3986. }
  3987. }
  3988. },
  3989. "/User/QueryUserInfo": {
  3990. "get": {
  3991. "security": [
  3992. {
  3993. "ApiKeyAuth": []
  3994. }
  3995. ],
  3996. "produces": [
  3997. "application/json"
  3998. ],
  3999. "tags": [
  4000. "用户信息"
  4001. ],
  4002. "summary": "获取用户信息",
  4003. "parameters": [
  4004. {
  4005. "type": "integer",
  4006. "description": "用户ID",
  4007. "name": "userID",
  4008. "in": "query",
  4009. "required": true
  4010. }
  4011. ],
  4012. "responses": {
  4013. "200": {
  4014. "description": "OK",
  4015. "schema": {
  4016. "$ref": "#/definitions/models.Userinfo"
  4017. }
  4018. },
  4019. "500": {
  4020. "description": "Internal Server Error",
  4021. "schema": {
  4022. "$ref": "#/definitions/app.Response"
  4023. }
  4024. }
  4025. }
  4026. }
  4027. },
  4028. "/User/QueryUserReferNum": {
  4029. "get": {
  4030. "produces": [
  4031. "application/json"
  4032. ],
  4033. "tags": [
  4034. "用户信息"
  4035. ],
  4036. "summary": "获取用户邀请码",
  4037. "parameters": [
  4038. {
  4039. "type": "integer",
  4040. "description": "用户ID",
  4041. "name": "userID",
  4042. "in": "query",
  4043. "required": true
  4044. }
  4045. ],
  4046. "responses": {
  4047. "200": {
  4048. "description": "OK",
  4049. "schema": {
  4050. "$ref": "#/definitions/app.Response"
  4051. }
  4052. },
  4053. "500": {
  4054. "description": "Internal Server Error",
  4055. "schema": {
  4056. "$ref": "#/definitions/app.Response"
  4057. }
  4058. }
  4059. }
  4060. }
  4061. },
  4062. "/User/RemoveUserFavoriteGoods": {
  4063. "post": {
  4064. "security": [
  4065. {
  4066. "ApiKeyAuth": []
  4067. }
  4068. ],
  4069. "produces": [
  4070. "application/json"
  4071. ],
  4072. "tags": [
  4073. "用户信息"
  4074. ],
  4075. "summary": "移除用户商品收藏信息",
  4076. "parameters": [
  4077. {
  4078. "type": "integer",
  4079. "description": "用户ID",
  4080. "name": "userID",
  4081. "in": "query",
  4082. "required": true
  4083. },
  4084. {
  4085. "type": "integer",
  4086. "description": "商品ID",
  4087. "name": "goodsID",
  4088. "in": "query",
  4089. "required": true
  4090. }
  4091. ],
  4092. "responses": {
  4093. "200": {
  4094. "description": "OK",
  4095. "schema": {
  4096. "$ref": "#/definitions/app.Response"
  4097. }
  4098. },
  4099. "500": {
  4100. "description": "Internal Server Error",
  4101. "schema": {
  4102. "$ref": "#/definitions/app.Response"
  4103. }
  4104. }
  4105. }
  4106. }
  4107. },
  4108. "/WR/GetWRCategoryInfo": {
  4109. "get": {
  4110. "produces": [
  4111. "application/json"
  4112. ],
  4113. "tags": [
  4114. "仓单服务"
  4115. ],
  4116. "summary": "获取现货分类信息",
  4117. "responses": {
  4118. "200": {
  4119. "description": "OK",
  4120. "schema": {
  4121. "$ref": "#/definitions/models.WRCategoryTree"
  4122. }
  4123. },
  4124. "500": {
  4125. "description": "Internal Server Error",
  4126. "schema": {
  4127. "$ref": "#/definitions/app.Response"
  4128. }
  4129. }
  4130. }
  4131. }
  4132. },
  4133. "/WRTrade/GetAllDeliveryGoods": {
  4134. "get": {
  4135. "security": [
  4136. {
  4137. "ApiKeyAuth": []
  4138. },
  4139. {
  4140. "ApiKeyAuth": []
  4141. }
  4142. ],
  4143. "produces": [
  4144. "application/json",
  4145. "application/json"
  4146. ],
  4147. "tags": [
  4148. "仓单贸易",
  4149. "仓单贸易"
  4150. ],
  4151. "summary": "获取带仓单分类的种类信息",
  4152. "responses": {
  4153. "200": {
  4154. "description": "OK",
  4155. "schema": {
  4156. "$ref": "#/definitions/app.Response"
  4157. }
  4158. },
  4159. "500": {
  4160. "description": "Internal Server Error",
  4161. "schema": {
  4162. "$ref": "#/definitions/app.Response"
  4163. }
  4164. }
  4165. }
  4166. }
  4167. }
  4168. },
  4169. "definitions": {
  4170. "app.Response": {
  4171. "type": "object",
  4172. "properties": {
  4173. "code": {
  4174. "type": "integer"
  4175. },
  4176. "data": {
  4177. "type": "object"
  4178. },
  4179. "msg": {
  4180. "type": "string"
  4181. },
  4182. "page": {
  4183. "description": "页码",
  4184. "type": "integer"
  4185. },
  4186. "pagesize": {
  4187. "description": "每页条数",
  4188. "type": "integer"
  4189. },
  4190. "total": {
  4191. "description": "总条数",
  4192. "type": "integer"
  4193. }
  4194. }
  4195. },
  4196. "common.QueryNoticeRsp": {
  4197. "type": "object",
  4198. "required": [
  4199. "autoid"
  4200. ],
  4201. "properties": {
  4202. "auditoruserid": {
  4203. "description": "审核人",
  4204. "type": "integer"
  4205. },
  4206. "auditremark": {
  4207. "description": "审核备注",
  4208. "type": "string"
  4209. },
  4210. "audittime": {
  4211. "description": "审核日期",
  4212. "type": "string"
  4213. },
  4214. "autoid": {
  4215. "description": "自增ID",
  4216. "type": "integer"
  4217. },
  4218. "content": {
  4219. "description": "内容",
  4220. "type": "string"
  4221. },
  4222. "createtime": {
  4223. "description": "创建时间",
  4224. "type": "string"
  4225. },
  4226. "creatorid": {
  4227. "description": "建仓人",
  4228. "type": "integer"
  4229. },
  4230. "endtime": {
  4231. "description": "结束时间",
  4232. "type": "string"
  4233. },
  4234. "istop": {
  4235. "description": "是否置顶 - 0:不置顶 1:置顶",
  4236. "type": "integer"
  4237. },
  4238. "msgiconurl": {
  4239. "description": "消息图标Url",
  4240. "type": "string"
  4241. },
  4242. "msgtype": {
  4243. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4244. "type": "integer"
  4245. },
  4246. "publisher": {
  4247. "description": "消息发布者",
  4248. "type": "string"
  4249. },
  4250. "readed": {
  4251. "description": "是否已读",
  4252. "type": "boolean"
  4253. },
  4254. "scheduletime": {
  4255. "description": "计划发送时间",
  4256. "type": "string"
  4257. },
  4258. "sendtype": {
  4259. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4260. "type": "integer"
  4261. },
  4262. "sentstatus": {
  4263. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4264. "type": "integer"
  4265. },
  4266. "title": {
  4267. "description": "标题",
  4268. "type": "string"
  4269. },
  4270. "userid": {
  4271. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4272. "type": "integer"
  4273. }
  4274. }
  4275. },
  4276. "common.QueryProvincesAndCitiesRsp": {
  4277. "type": "object",
  4278. "properties": {
  4279. "cities": {
  4280. "description": "市",
  4281. "type": "array",
  4282. "items": {
  4283. "$ref": "#/definitions/models.Division"
  4284. }
  4285. },
  4286. "province": {
  4287. "description": "省",
  4288. "$ref": "#/definitions/models.Division"
  4289. }
  4290. }
  4291. },
  4292. "common.QueryTableDefineRsp": {
  4293. "type": "object",
  4294. "required": [
  4295. "tablekey"
  4296. ],
  4297. "properties": {
  4298. "columns": {
  4299. "description": "列头信息数组",
  4300. "type": "array",
  4301. "items": {
  4302. "$ref": "#/definitions/models.Tablecolumnconfig"
  4303. }
  4304. },
  4305. "remark": {
  4306. "description": "Remark",
  4307. "type": "string"
  4308. },
  4309. "tabelmenu": {
  4310. "description": "列表菜单",
  4311. "type": "string"
  4312. },
  4313. "tablekey": {
  4314. "description": "列表Key",
  4315. "type": "string"
  4316. },
  4317. "tablename": {
  4318. "description": "列表名称",
  4319. "type": "string"
  4320. },
  4321. "tabletype": {
  4322. "description": "列表类型 - 1:管理端 2:终端",
  4323. "type": "integer"
  4324. }
  4325. }
  4326. },
  4327. "common.QueryTraderMenuRsp": {
  4328. "type": "object",
  4329. "properties": {
  4330. "OperationMenu": {
  4331. "description": "功能菜单",
  4332. "type": "array",
  4333. "items": {
  4334. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4335. }
  4336. },
  4337. "QuoteMenu": {
  4338. "description": "报价牌分类菜单",
  4339. "type": "array",
  4340. "items": {
  4341. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4342. }
  4343. }
  4344. }
  4345. },
  4346. "cptrade.Cptradepositioncancel": {
  4347. "type": "object",
  4348. "required": [
  4349. "cancelid"
  4350. ],
  4351. "properties": {
  4352. "accountid": {
  4353. "description": "申请人账户ID",
  4354. "type": "integer"
  4355. },
  4356. "applystatus": {
  4357. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4358. "type": "integer"
  4359. },
  4360. "applytime": {
  4361. "description": "申请时间",
  4362. "type": "string"
  4363. },
  4364. "cancelid": {
  4365. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4366. "type": "integer"
  4367. },
  4368. "cancelqty": {
  4369. "description": "注销数量",
  4370. "type": "integer"
  4371. },
  4372. "createtime": {
  4373. "description": "创建时间",
  4374. "type": "string"
  4375. },
  4376. "creatorid": {
  4377. "description": "创建人ID",
  4378. "type": "integer"
  4379. },
  4380. "creatorname": {
  4381. "description": "创建人",
  4382. "type": "string"
  4383. },
  4384. "goodscode": {
  4385. "description": "订单商品代码",
  4386. "type": "string"
  4387. },
  4388. "goodsid": {
  4389. "description": "商品ID",
  4390. "type": "integer"
  4391. },
  4392. "goodsname": {
  4393. "description": "订单商品名称",
  4394. "type": "string"
  4395. },
  4396. "goodunit": {
  4397. "description": "报价单位",
  4398. "type": "string"
  4399. },
  4400. "handlestatus": {
  4401. "description": "处理状态",
  4402. "type": "integer"
  4403. },
  4404. "marketid": {
  4405. "description": "市场ID",
  4406. "type": "integer"
  4407. },
  4408. "marketname": {
  4409. "description": "市场名称",
  4410. "type": "string"
  4411. },
  4412. "tradedate": {
  4413. "description": "交易日(yyyyMMdd)",
  4414. "type": "string"
  4415. },
  4416. "userid": {
  4417. "description": "申请人ID",
  4418. "type": "integer"
  4419. }
  4420. }
  4421. },
  4422. "cptrade.Cptradepresaleapply": {
  4423. "type": "object",
  4424. "required": [
  4425. "applyid"
  4426. ],
  4427. "properties": {
  4428. "accountid": {
  4429. "description": "申请人账户ID",
  4430. "type": "integer"
  4431. },
  4432. "applyid": {
  4433. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4434. "type": "integer"
  4435. },
  4436. "applyremark": {
  4437. "description": "申请备注",
  4438. "type": "string"
  4439. },
  4440. "applystatus": {
  4441. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4442. "type": "integer"
  4443. },
  4444. "applytime": {
  4445. "description": "申请时间",
  4446. "type": "string"
  4447. },
  4448. "attachmenturl": {
  4449. "description": "附件地址",
  4450. "type": "string"
  4451. },
  4452. "endtime": {
  4453. "description": "预售结束时间",
  4454. "type": "string"
  4455. },
  4456. "goodscode": {
  4457. "description": "商品代码",
  4458. "type": "string"
  4459. },
  4460. "goodsid": {
  4461. "description": "商品ID",
  4462. "type": "integer"
  4463. },
  4464. "goodsname": {
  4465. "description": "商品名称",
  4466. "type": "string"
  4467. },
  4468. "goodunit": {
  4469. "description": "报价单位",
  4470. "type": "string"
  4471. },
  4472. "handlestatus": {
  4473. "description": "处理状态",
  4474. "type": "integer"
  4475. },
  4476. "marketid": {
  4477. "description": "预售市场ID",
  4478. "type": "integer"
  4479. },
  4480. "marketname": {
  4481. "description": "预售市场名称",
  4482. "type": "string"
  4483. },
  4484. "presaleqty": {
  4485. "description": "预售数量",
  4486. "type": "integer"
  4487. },
  4488. "relatedgoodscode": {
  4489. "description": "关联交易合约代码",
  4490. "type": "string"
  4491. },
  4492. "relatedgoodsid": {
  4493. "description": "关联交易合约ID",
  4494. "type": "integer"
  4495. },
  4496. "relatedgoodsname": {
  4497. "description": "关联交易合约名称",
  4498. "type": "string"
  4499. },
  4500. "starttime": {
  4501. "description": "预售开始时间",
  4502. "type": "string"
  4503. },
  4504. "tradedate": {
  4505. "description": "交易日(yyyyMMdd)",
  4506. "type": "string"
  4507. },
  4508. "trademode": {
  4509. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4510. "type": "integer"
  4511. },
  4512. "userid": {
  4513. "description": "申请人ID",
  4514. "type": "integer"
  4515. }
  4516. }
  4517. },
  4518. "cptrade.Cptradeusergoodsdata": {
  4519. "type": "object",
  4520. "required": [
  4521. "accountid",
  4522. "goodsid"
  4523. ],
  4524. "properties": {
  4525. "EnabledQty": {
  4526. "description": "可用量",
  4527. "type": "integer"
  4528. },
  4529. "GoodsCode": {
  4530. "description": "订单商品代码",
  4531. "type": "string"
  4532. },
  4533. "GoodsName": {
  4534. "description": "订单商品名称",
  4535. "type": "string"
  4536. },
  4537. "WRStandardCode": {
  4538. "description": "仓单标准代码",
  4539. "type": "string"
  4540. },
  4541. "WRStandardName": {
  4542. "description": "仓单标准名称",
  4543. "type": "string"
  4544. },
  4545. "accountid": {
  4546. "description": "账户ID",
  4547. "type": "integer"
  4548. },
  4549. "cancelqty": {
  4550. "description": "注销量",
  4551. "type": "integer"
  4552. },
  4553. "curpresaleqty": {
  4554. "description": "当前预售量",
  4555. "type": "integer"
  4556. },
  4557. "deliveryqty": {
  4558. "description": "交割量",
  4559. "type": "integer"
  4560. },
  4561. "freezeamount": {
  4562. "description": "冻结金额",
  4563. "type": "number"
  4564. },
  4565. "goodsid": {
  4566. "description": "商品ID",
  4567. "type": "integer"
  4568. },
  4569. "goodunit": {
  4570. "description": "报价单位",
  4571. "type": "string"
  4572. },
  4573. "hasspotfreeze": {
  4574. "description": "是否有现货冻结 - 0:否 1:有",
  4575. "type": "integer"
  4576. },
  4577. "inqty": {
  4578. "description": "转入量(总数量)",
  4579. "type": "integer"
  4580. },
  4581. "marketid": {
  4582. "description": "市场ID",
  4583. "type": "integer"
  4584. },
  4585. "presaledamount": {
  4586. "description": "已预售总金额",
  4587. "type": "integer"
  4588. },
  4589. "presaledqty": {
  4590. "description": "已预售量",
  4591. "type": "integer"
  4592. },
  4593. "userid": {
  4594. "description": "用户ID",
  4595. "type": "integer"
  4596. },
  4597. "wrstandardid": {
  4598. "description": "仓单标准ID",
  4599. "type": "integer"
  4600. }
  4601. }
  4602. },
  4603. "cptrade.QueryCPTradeMyBidRsp": {
  4604. "type": "object",
  4605. "required": [
  4606. "accountid",
  4607. "goodsid",
  4608. "marketid",
  4609. "orderid",
  4610. "orderqty",
  4611. "ordertime",
  4612. "tradeprice",
  4613. "tradeqty"
  4614. ],
  4615. "properties": {
  4616. "accountid": {
  4617. "description": "账户ID[报价币种]",
  4618. "type": "integer"
  4619. },
  4620. "goodsid": {
  4621. "description": "商品ID",
  4622. "type": "integer"
  4623. },
  4624. "goodunit": {
  4625. "description": "报价单位",
  4626. "type": "string"
  4627. },
  4628. "marketid": {
  4629. "description": "市场ID",
  4630. "type": "integer"
  4631. },
  4632. "orderid": {
  4633. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4634. "type": "integer"
  4635. },
  4636. "orderprice": {
  4637. "description": "委托价格",
  4638. "type": "number"
  4639. },
  4640. "orderqty": {
  4641. "description": "委托数量",
  4642. "type": "integer"
  4643. },
  4644. "ordertime": {
  4645. "description": "委托时间",
  4646. "type": "string"
  4647. },
  4648. "ordertotalprice": {
  4649. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4650. "type": "number"
  4651. },
  4652. "ordertotalweight": {
  4653. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4654. "type": "integer"
  4655. },
  4656. "totaltotalprice": {
  4657. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4658. "type": "number"
  4659. },
  4660. "tradeprice": {
  4661. "description": "成交价格",
  4662. "type": "number"
  4663. },
  4664. "tradeqty": {
  4665. "description": "成交数量",
  4666. "type": "integer"
  4667. }
  4668. }
  4669. },
  4670. "cptrade.QueryCPTradeOrderDetailRsq": {
  4671. "type": "object",
  4672. "required": [
  4673. "accountid",
  4674. "buildtype",
  4675. "buyorsell",
  4676. "goodsid",
  4677. "marketid",
  4678. "memberuserid",
  4679. "operatetype",
  4680. "orderqty",
  4681. "ordertime",
  4682. "pricemode",
  4683. "strorderid",
  4684. "tradedate",
  4685. "validtype"
  4686. ],
  4687. "properties": {
  4688. "accountid": {
  4689. "description": "账户ID[报价币种]",
  4690. "type": "integer"
  4691. },
  4692. "buildtype": {
  4693. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4694. "type": "integer"
  4695. },
  4696. "buyorsell": {
  4697. "description": "买卖 - 0:买 1:卖",
  4698. "type": "integer"
  4699. },
  4700. "cancelorderid": {
  4701. "description": "撤单单号(撤单时填写)",
  4702. "type": "integer"
  4703. },
  4704. "cancelqty": {
  4705. "description": "撤单数量",
  4706. "type": "integer"
  4707. },
  4708. "clientordertime": {
  4709. "description": "客户端委托时间",
  4710. "type": "string"
  4711. },
  4712. "clientticket": {
  4713. "description": "客户端流水号",
  4714. "type": "string"
  4715. },
  4716. "clienttype": {
  4717. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4718. "type": "integer"
  4719. },
  4720. "closeexchagechargevalue": {
  4721. "description": "平仓交易所手续费设置值",
  4722. "type": "number"
  4723. },
  4724. "closefeealgorithm": {
  4725. "description": "平仓手续费收取方式 1:比率 2:固定",
  4726. "type": "integer"
  4727. },
  4728. "closefreezecharge": {
  4729. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4730. "type": "number"
  4731. },
  4732. "closememberchargevalue": {
  4733. "description": "平仓会员手续费设置值",
  4734. "type": "number"
  4735. },
  4736. "closeqty": {
  4737. "description": "平仓数量(先建后平操作 需要记录)",
  4738. "type": "integer"
  4739. },
  4740. "closetradeqty": {
  4741. "description": "平仓成交数量(先建后平操作,需要记录)",
  4742. "type": "integer"
  4743. },
  4744. "closeunfreezecharge": {
  4745. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4746. "type": "number"
  4747. },
  4748. "delistingtype": {
  4749. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4750. "type": "integer"
  4751. },
  4752. "freezecharge": {
  4753. "description": "冻结手续费",
  4754. "type": "number"
  4755. },
  4756. "freezemargin": {
  4757. "description": "冻结保证金(冻结交易金额)",
  4758. "type": "number"
  4759. },
  4760. "gcaccountid": {
  4761. "description": "账户ID[合约币种]",
  4762. "type": "integer"
  4763. },
  4764. "goodsid": {
  4765. "description": "商品ID",
  4766. "type": "integer"
  4767. },
  4768. "isconfirmexercise": {
  4769. "description": "是否确认行权- 0:否 1:是",
  4770. "type": "integer"
  4771. },
  4772. "ispreexercise": {
  4773. "description": "是否预申报- 0:否 1:是",
  4774. "type": "integer"
  4775. },
  4776. "listingselecttype": {
  4777. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4778. "type": "integer"
  4779. },
  4780. "marginalgorithm": {
  4781. "description": "保证金收取方式 1:比率 2:固定",
  4782. "type": "integer"
  4783. },
  4784. "marginvalue": {
  4785. "description": "即市保证金设置值",
  4786. "type": "number"
  4787. },
  4788. "marketid": {
  4789. "description": "市场ID",
  4790. "type": "integer"
  4791. },
  4792. "marketmaxsub": {
  4793. "description": "市价最大偏移范围",
  4794. "type": "number"
  4795. },
  4796. "memberuserid": {
  4797. "description": "所属会员UserID",
  4798. "type": "integer"
  4799. },
  4800. "openexchagechargevalue": {
  4801. "description": "建仓交易所手续费设置值",
  4802. "type": "number"
  4803. },
  4804. "openfeealgorithm": {
  4805. "description": "建仓手续费收取方式 1:比率 2:固定",
  4806. "type": "integer"
  4807. },
  4808. "openfreezecharge": {
  4809. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4810. "type": "number"
  4811. },
  4812. "openmemberchargevalue": {
  4813. "description": "建仓会员手续费设置值",
  4814. "type": "number"
  4815. },
  4816. "openqty": {
  4817. "description": "开仓数量(先建后平操作,需要记录)",
  4818. "type": "integer"
  4819. },
  4820. "opentradeqty": {
  4821. "description": "开仓成交数量(先建后平操作,需要记录)",
  4822. "type": "integer"
  4823. },
  4824. "openunfreezecharge": {
  4825. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4826. "type": "number"
  4827. },
  4828. "operatetype": {
  4829. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4830. "type": "integer"
  4831. },
  4832. "operatorid": {
  4833. "description": "登录账号(LoginID)",
  4834. "type": "integer"
  4835. },
  4836. "optiontype": {
  4837. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4838. "type": "integer"
  4839. },
  4840. "orderprice": {
  4841. "description": "委托价格",
  4842. "type": "number"
  4843. },
  4844. "orderqty": {
  4845. "description": "委托数量",
  4846. "type": "integer"
  4847. },
  4848. "ordersrc": {
  4849. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4850. "type": "integer"
  4851. },
  4852. "orderstatus": {
  4853. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4854. "type": "integer"
  4855. },
  4856. "ordertime": {
  4857. "description": "委托时间",
  4858. "type": "string"
  4859. },
  4860. "preexerciseprice": {
  4861. "description": "预申报价格",
  4862. "type": "number"
  4863. },
  4864. "premium": {
  4865. "description": "权利金",
  4866. "type": "number"
  4867. },
  4868. "preorderid": {
  4869. "description": "关联预埋单号(止盈止损单时填写)",
  4870. "type": "integer"
  4871. },
  4872. "pricemode": {
  4873. "description": "取价方式 - 1:市价 2: 限价",
  4874. "type": "integer"
  4875. },
  4876. "quoteid": {
  4877. "description": "报价单ID",
  4878. "type": "integer"
  4879. },
  4880. "relatedid": {
  4881. "description": "关联单号(交割单)",
  4882. "type": "integer"
  4883. },
  4884. "retcode": {
  4885. "description": "错误代码",
  4886. "type": "integer"
  4887. },
  4888. "sessionid": {
  4889. "description": "会话ID",
  4890. "type": "integer"
  4891. },
  4892. "strorderid": {
  4893. "description": "委托单号",
  4894. "type": "string"
  4895. },
  4896. "tradedate": {
  4897. "description": "交易日(yyyyMMdd)",
  4898. "type": "string"
  4899. },
  4900. "tradeproperty": {
  4901. "description": "交易属性",
  4902. "type": "integer"
  4903. },
  4904. "tradeqty": {
  4905. "description": "成交数量",
  4906. "type": "integer"
  4907. },
  4908. "unfreezecharge": {
  4909. "description": "解冻手续费",
  4910. "type": "number"
  4911. },
  4912. "unfreezemargin": {
  4913. "description": "解冻保证金",
  4914. "type": "number"
  4915. },
  4916. "updatetime": {
  4917. "description": "更新时间",
  4918. "type": "string"
  4919. },
  4920. "uuid": {
  4921. "description": "发起端唯一id",
  4922. "type": "string"
  4923. },
  4924. "validtime": {
  4925. "description": "有效期限",
  4926. "type": "string"
  4927. },
  4928. "validtype": {
  4929. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4930. "type": "integer"
  4931. },
  4932. "volumetype": {
  4933. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4934. "type": "integer"
  4935. }
  4936. }
  4937. },
  4938. "cptrade.QueryMyCPTradeGoodsRsp": {
  4939. "type": "object",
  4940. "required": [
  4941. "goodscode",
  4942. "goodsid",
  4943. "goodsname",
  4944. "marketid",
  4945. "relatedgoodscode",
  4946. "relatedgoodsname"
  4947. ],
  4948. "properties": {
  4949. "accountid": {
  4950. "description": "卖方账户ID",
  4951. "type": "integer"
  4952. },
  4953. "agreeunit": {
  4954. "description": "合约单位",
  4955. "type": "number"
  4956. },
  4957. "applyid": {
  4958. "description": "关联申请ID",
  4959. "type": "integer"
  4960. },
  4961. "attachmenturl": {
  4962. "description": "附件地址",
  4963. "type": "string"
  4964. },
  4965. "createtime": {
  4966. "description": "创建时间",
  4967. "type": "string"
  4968. },
  4969. "currencyid": {
  4970. "description": "报价货币ID",
  4971. "type": "integer"
  4972. },
  4973. "decimalplace": {
  4974. "description": "报价小数位",
  4975. "type": "integer"
  4976. },
  4977. "endtime": {
  4978. "description": "预售结束时间",
  4979. "type": "string"
  4980. },
  4981. "floorprice": {
  4982. "description": "底价[大宗式竞拍]",
  4983. "type": "number"
  4984. },
  4985. "goodscode": {
  4986. "description": "商品代码(预售)",
  4987. "type": "string"
  4988. },
  4989. "goodsdetail": {
  4990. "description": "详情[大宗]",
  4991. "type": "string"
  4992. },
  4993. "goodsid": {
  4994. "description": "商品ID(自增ID SEQ_GOODS)",
  4995. "type": "integer"
  4996. },
  4997. "goodsname": {
  4998. "description": "商品名称(预售)",
  4999. "type": "string"
  5000. },
  5001. "goodunit": {
  5002. "description": "报价单位",
  5003. "type": "string"
  5004. },
  5005. "goodunitid": {
  5006. "description": "报价单位ID",
  5007. "type": "integer"
  5008. },
  5009. "marketid": {
  5010. "description": "所属市场ID",
  5011. "type": "integer"
  5012. },
  5013. "marketname": {
  5014. "description": "预售市场名称",
  5015. "type": "string"
  5016. },
  5017. "presaledamount": {
  5018. "description": "已预售总金额(预售结束时更新)",
  5019. "type": "number"
  5020. },
  5021. "presaledqty": {
  5022. "description": "已预售量(预售结束时更新)",
  5023. "type": "integer"
  5024. },
  5025. "presalemode": {
  5026. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5027. "type": "integer"
  5028. },
  5029. "presaleqty": {
  5030. "description": "预售数量",
  5031. "type": "integer"
  5032. },
  5033. "refprice": {
  5034. "description": "参考价格[一口价]",
  5035. "type": "number"
  5036. },
  5037. "relatedgoodscode": {
  5038. "description": "商品代码(订单)",
  5039. "type": "string"
  5040. },
  5041. "relatedgoodsid": {
  5042. "description": "关联交易合约ID",
  5043. "type": "integer"
  5044. },
  5045. "relatedgoodsname": {
  5046. "description": "商品名称(订单)",
  5047. "type": "string"
  5048. },
  5049. "relatedmarketid": {
  5050. "description": "关联交易合约市场ID",
  5051. "type": "integer"
  5052. },
  5053. "sellstatus": {
  5054. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5055. "type": "integer"
  5056. },
  5057. "startprice": {
  5058. "description": "起拍价[大宗式竞拍]",
  5059. "type": "number"
  5060. },
  5061. "starttime": {
  5062. "description": "预售开始时间",
  5063. "type": "string"
  5064. },
  5065. "tradedate": {
  5066. "description": "交易日(yyyyMMdd)",
  5067. "type": "string"
  5068. },
  5069. "tradeprice": {
  5070. "description": "成交价[大宗]",
  5071. "type": "number"
  5072. },
  5073. "userid": {
  5074. "description": "卖方用户ID",
  5075. "type": "integer"
  5076. }
  5077. }
  5078. },
  5079. "cptrade.QueryPresaleGoodsExRsp": {
  5080. "type": "object",
  5081. "required": [
  5082. "goodsid"
  5083. ],
  5084. "properties": {
  5085. "attachmenturl": {
  5086. "description": "附件地址",
  5087. "type": "string"
  5088. },
  5089. "createtime": {
  5090. "description": "创建时间",
  5091. "type": "string"
  5092. },
  5093. "endtime": {
  5094. "description": "预售结束时间",
  5095. "type": "string"
  5096. },
  5097. "floorprice": {
  5098. "description": "底价[大宗式竞拍]",
  5099. "type": "number"
  5100. },
  5101. "goodsdetail": {
  5102. "description": "详情[大宗]",
  5103. "type": "string"
  5104. },
  5105. "goodsid": {
  5106. "description": "商品ID(预售)",
  5107. "type": "integer"
  5108. },
  5109. "goodunit": {
  5110. "description": "报价单位",
  5111. "type": "string"
  5112. },
  5113. "marketid": {
  5114. "description": "预售市场ID - 根据预售模式选择市场",
  5115. "type": "integer"
  5116. },
  5117. "presaledamount": {
  5118. "description": "已预售总金额(预售结束时更新)",
  5119. "type": "number"
  5120. },
  5121. "presaledqty": {
  5122. "description": "已预售量(预售结束时更新)",
  5123. "type": "integer"
  5124. },
  5125. "presalemode": {
  5126. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5127. "type": "integer"
  5128. },
  5129. "presaleqty": {
  5130. "description": "预售数量",
  5131. "type": "integer"
  5132. },
  5133. "refprice": {
  5134. "description": "参考价格[一口价]",
  5135. "type": "number"
  5136. },
  5137. "relatedgoodsid": {
  5138. "description": "关联交易合约ID",
  5139. "type": "integer"
  5140. },
  5141. "relatedmarketid": {
  5142. "description": "关联交易合约市场ID",
  5143. "type": "integer"
  5144. },
  5145. "sellstatus": {
  5146. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5147. "type": "integer"
  5148. },
  5149. "startprice": {
  5150. "description": "起拍价[大宗式竞拍]",
  5151. "type": "number"
  5152. },
  5153. "starttime": {
  5154. "description": "预售开始时间",
  5155. "type": "string"
  5156. },
  5157. "tradedate": {
  5158. "description": "交易日(yyyyMMdd)",
  5159. "type": "string"
  5160. },
  5161. "tradeprice": {
  5162. "description": "成交价[大宗]",
  5163. "type": "number"
  5164. }
  5165. }
  5166. },
  5167. "delivery.QueryDeliveryRelationRsp": {
  5168. "type": "object",
  5169. "required": [
  5170. "begindate",
  5171. "enddate",
  5172. "goodsid",
  5173. "mindeliveryqty",
  5174. "xdeliveryratio"
  5175. ],
  5176. "properties": {
  5177. "begindate": {
  5178. "description": "起始日期(yyyyMMdd)",
  5179. "type": "string"
  5180. },
  5181. "buytemplateid": {
  5182. "description": "买履约计划模板ID",
  5183. "type": "integer"
  5184. },
  5185. "deliverygoodscode": {
  5186. "description": "品种代码",
  5187. "type": "string"
  5188. },
  5189. "deliverygoodsid": {
  5190. "description": "交割商品",
  5191. "type": "integer"
  5192. },
  5193. "deliverygoodsname": {
  5194. "description": "品种名称",
  5195. "type": "string"
  5196. },
  5197. "deliverymode": {
  5198. "description": "交割方式 - 1:点选式 2:申报式",
  5199. "type": "integer"
  5200. },
  5201. "deliverypricerule": {
  5202. "description": "交割价规则- 1:行情价 2:建仓价",
  5203. "type": "integer"
  5204. },
  5205. "deliverytype": {
  5206. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5207. "type": "integer"
  5208. },
  5209. "enddate": {
  5210. "description": "结束日期(yyyyMMdd)",
  5211. "type": "string"
  5212. },
  5213. "goodscode": {
  5214. "description": "商品代码",
  5215. "type": "string"
  5216. },
  5217. "goodsid": {
  5218. "description": "交易合约ID",
  5219. "type": "integer"
  5220. },
  5221. "goodsname": {
  5222. "description": "商品名称",
  5223. "type": "string"
  5224. },
  5225. "marketid": {
  5226. "description": "市场ID",
  5227. "type": "integer"
  5228. },
  5229. "mindeliveryqty": {
  5230. "description": "最小交割系数(K)",
  5231. "type": "integer"
  5232. },
  5233. "p2deliveryprice": {
  5234. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5235. "type": "number"
  5236. },
  5237. "p2deliveryratio": {
  5238. "description": "P2合约系数(p)",
  5239. "type": "integer"
  5240. },
  5241. "p2goodsid": {
  5242. "description": "P2合约ID",
  5243. "type": "integer"
  5244. },
  5245. "p2pricemode": {
  5246. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5247. "type": "integer"
  5248. },
  5249. "pdeliveryprice": {
  5250. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5251. "type": "number"
  5252. },
  5253. "pdeliveryratio": {
  5254. "description": "P合约系数(n)",
  5255. "type": "integer"
  5256. },
  5257. "pgoodsid": {
  5258. "description": "P合约ID",
  5259. "type": "integer"
  5260. },
  5261. "ppricemode": {
  5262. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5263. "type": "integer"
  5264. },
  5265. "rratio": {
  5266. "description": "兑换系数(R)",
  5267. "type": "integer"
  5268. },
  5269. "rratio1": {
  5270. "description": "兑换系数(交易合约)(R1)",
  5271. "type": "integer"
  5272. },
  5273. "rratio2": {
  5274. "description": "兑换系数(仓单标准)(R2)",
  5275. "type": "integer"
  5276. },
  5277. "selltemplateid": {
  5278. "description": "卖履约计划模板ID",
  5279. "type": "integer"
  5280. },
  5281. "wrstandardid": {
  5282. "description": "仓单标准ID",
  5283. "type": "integer"
  5284. },
  5285. "xdeliveryratio": {
  5286. "description": "交易合约系数(m)",
  5287. "type": "integer"
  5288. }
  5289. }
  5290. },
  5291. "ermcp.QryBusinessDjRsp": {
  5292. "type": "object",
  5293. "properties": {
  5294. "APPLYID": {
  5295. "description": "申请人",
  5296. "type": "string"
  5297. },
  5298. "APPLYNAME": {
  5299. "description": "申请人名称",
  5300. "type": "string"
  5301. },
  5302. "APPLYSTATUS": {
  5303. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5304. "type": "integer"
  5305. },
  5306. "APPLYTIME": {
  5307. "description": "申请时间",
  5308. "type": "string"
  5309. },
  5310. "AUDITTIME": {
  5311. "description": "审核时间",
  5312. "type": "string"
  5313. },
  5314. "BUYUSERNAME": {
  5315. "description": "采购方名称",
  5316. "type": "string"
  5317. },
  5318. "CONTRACTNO": {
  5319. "description": "合同编号",
  5320. "type": "string"
  5321. },
  5322. "CONTRACTTYPE": {
  5323. "description": "现货合同类型 - 1:采购 -1:销售",
  5324. "type": "integer"
  5325. },
  5326. "EnumdicName": {
  5327. "description": "单位名称",
  5328. "type": "string"
  5329. },
  5330. "GOODSCODE": {
  5331. "description": "点价合约",
  5332. "type": "string"
  5333. },
  5334. "GOODSNAME": {
  5335. "description": "商品名称",
  5336. "type": "string"
  5337. },
  5338. "OPERATEAPPLYID": {
  5339. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5340. "type": "string"
  5341. },
  5342. "OPERATEAPPLYTYPE": {
  5343. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5344. "type": "integer"
  5345. },
  5346. "PRICEMOVE": {
  5347. "description": "升贴水",
  5348. "type": "number"
  5349. },
  5350. "PRICETYPE": {
  5351. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5352. "type": "integer"
  5353. },
  5354. "RELATEDID": {
  5355. "description": "现货合同ID",
  5356. "type": "string"
  5357. },
  5358. "SELLUSERNAME": {
  5359. "description": "销售方名字",
  5360. "type": "string"
  5361. },
  5362. "pricedPrice": {
  5363. "description": "点价价格(非必填)",
  5364. "type": "number"
  5365. },
  5366. "pricedQty": {
  5367. "description": "点价数量(非必填)",
  5368. "type": "number"
  5369. }
  5370. }
  5371. },
  5372. "ermcp.QryBussinessFpRsp": {
  5373. "type": "object",
  5374. "properties": {
  5375. "APPLYID": {
  5376. "description": "申请人",
  5377. "type": "string"
  5378. },
  5379. "APPLYNAME": {
  5380. "description": "申请人名称",
  5381. "type": "string"
  5382. },
  5383. "APPLYSTATUS": {
  5384. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5385. "type": "integer"
  5386. },
  5387. "APPLYTIME": {
  5388. "description": "申请时间",
  5389. "type": "string"
  5390. },
  5391. "AUDITTIME": {
  5392. "description": "审核时间",
  5393. "type": "string"
  5394. },
  5395. "BUYUSERNAME": {
  5396. "description": "采购方名称",
  5397. "type": "string"
  5398. },
  5399. "CONTRACTNO": {
  5400. "description": "合同编号",
  5401. "type": "string"
  5402. },
  5403. "CONTRACTTYPE": {
  5404. "description": "现货合同类型 - 1:采购 -1:销售",
  5405. "type": "integer"
  5406. },
  5407. "EnumdicName": {
  5408. "description": "单位名称",
  5409. "type": "string"
  5410. },
  5411. "GOODSCODE": {
  5412. "description": "点价合约",
  5413. "type": "string"
  5414. },
  5415. "GOODSNAME": {
  5416. "description": "商品名称",
  5417. "type": "string"
  5418. },
  5419. "OPERATEAPPLYID": {
  5420. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5421. "type": "string"
  5422. },
  5423. "OPERATEAPPLYTYPE": {
  5424. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5425. "type": "integer"
  5426. },
  5427. "PRICEMOVE": {
  5428. "description": "升贴水",
  5429. "type": "number"
  5430. },
  5431. "PRICETYPE": {
  5432. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5433. "type": "integer"
  5434. },
  5435. "RELATEDID": {
  5436. "description": "现货合同ID",
  5437. "type": "string"
  5438. },
  5439. "SELLUSERNAME": {
  5440. "description": "销售方名字",
  5441. "type": "string"
  5442. },
  5443. "invoiceAmount": {
  5444. "description": "已开收票金额(销售为开票,采购为收票)",
  5445. "type": "number"
  5446. }
  5447. }
  5448. },
  5449. "ermcp.QryBussinessJsRsp": {
  5450. "type": "object",
  5451. "properties": {
  5452. "APPLYID": {
  5453. "description": "申请人",
  5454. "type": "string"
  5455. },
  5456. "APPLYNAME": {
  5457. "description": "申请人名称",
  5458. "type": "string"
  5459. },
  5460. "APPLYSTATUS": {
  5461. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5462. "type": "integer"
  5463. },
  5464. "APPLYTIME": {
  5465. "description": "申请时间",
  5466. "type": "string"
  5467. },
  5468. "AUDITTIME": {
  5469. "description": "审核时间",
  5470. "type": "string"
  5471. },
  5472. "BUYUSERNAME": {
  5473. "description": "采购方名称",
  5474. "type": "string"
  5475. },
  5476. "CONTRACTNO": {
  5477. "description": "合同编号",
  5478. "type": "string"
  5479. },
  5480. "CONTRACTTYPE": {
  5481. "description": "现货合同类型 - 1:采购 -1:销售",
  5482. "type": "integer"
  5483. },
  5484. "EnumdicName": {
  5485. "description": "单位名称",
  5486. "type": "string"
  5487. },
  5488. "GOODSCODE": {
  5489. "description": "点价合约",
  5490. "type": "string"
  5491. },
  5492. "GOODSNAME": {
  5493. "description": "商品名称",
  5494. "type": "string"
  5495. },
  5496. "OPERATEAPPLYID": {
  5497. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5498. "type": "string"
  5499. },
  5500. "OPERATEAPPLYTYPE": {
  5501. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5502. "type": "integer"
  5503. },
  5504. "PRICEMOVE": {
  5505. "description": "升贴水",
  5506. "type": "number"
  5507. },
  5508. "PRICETYPE": {
  5509. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5510. "type": "integer"
  5511. },
  5512. "RELATEDID": {
  5513. "description": "现货合同ID",
  5514. "type": "string"
  5515. },
  5516. "SELLUSERNAME": {
  5517. "description": "销售方名字",
  5518. "type": "string"
  5519. },
  5520. "addMargin": {
  5521. "description": "追加保证金(非必填)",
  5522. "type": "number"
  5523. },
  5524. "decMargin": {
  5525. "description": "减少保证金(非必填)",
  5526. "type": "number"
  5527. },
  5528. "reckonAdjustAmount": {
  5529. "description": "结算调整金额(非必填)",
  5530. "type": "number"
  5531. },
  5532. "reckonOsAmount": {
  5533. "description": "结算溢短金额(非必填)",
  5534. "type": "number"
  5535. },
  5536. "reckonOtherAmount": {
  5537. "description": "结算其他费用(非必填)",
  5538. "type": "number"
  5539. },
  5540. "reckonRealQty": {
  5541. "description": "结算实际数量(非必填)",
  5542. "type": "number"
  5543. }
  5544. }
  5545. },
  5546. "ermcp.QryBussinessKxRsp": {
  5547. "type": "object",
  5548. "properties": {
  5549. "APPLYID": {
  5550. "description": "申请人",
  5551. "type": "string"
  5552. },
  5553. "APPLYNAME": {
  5554. "description": "申请人名称",
  5555. "type": "string"
  5556. },
  5557. "APPLYSTATUS": {
  5558. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5559. "type": "integer"
  5560. },
  5561. "APPLYTIME": {
  5562. "description": "申请时间",
  5563. "type": "string"
  5564. },
  5565. "AUDITTIME": {
  5566. "description": "审核时间",
  5567. "type": "string"
  5568. },
  5569. "BUYUSERNAME": {
  5570. "description": "采购方名称",
  5571. "type": "string"
  5572. },
  5573. "CONTRACTNO": {
  5574. "description": "合同编号",
  5575. "type": "string"
  5576. },
  5577. "CONTRACTTYPE": {
  5578. "description": "现货合同类型 - 1:采购 -1:销售",
  5579. "type": "integer"
  5580. },
  5581. "EnumdicName": {
  5582. "description": "单位名称",
  5583. "type": "string"
  5584. },
  5585. "GOODSCODE": {
  5586. "description": "点价合约",
  5587. "type": "string"
  5588. },
  5589. "GOODSNAME": {
  5590. "description": "商品名称",
  5591. "type": "string"
  5592. },
  5593. "OPERATEAPPLYID": {
  5594. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5595. "type": "string"
  5596. },
  5597. "OPERATEAPPLYTYPE": {
  5598. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5599. "type": "integer"
  5600. },
  5601. "PRICEMOVE": {
  5602. "description": "升贴水",
  5603. "type": "number"
  5604. },
  5605. "PRICETYPE": {
  5606. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5607. "type": "integer"
  5608. },
  5609. "RELATEDID": {
  5610. "description": "现货合同ID",
  5611. "type": "string"
  5612. },
  5613. "SELLUSERNAME": {
  5614. "description": "销售方名字",
  5615. "type": "string"
  5616. },
  5617. "deductAmount": {
  5618. "description": "退款(非必填)",
  5619. "type": "number"
  5620. },
  5621. "payAmount": {
  5622. "description": "收付款(非必填)",
  5623. "type": "number"
  5624. }
  5625. }
  5626. },
  5627. "ermcp.QryErmcpRsp": {
  5628. "type": "object",
  5629. "properties": {
  5630. "accountid": {
  5631. "description": "账户ID",
  5632. "type": "string"
  5633. },
  5634. "accountname": {
  5635. "description": "账户名称",
  5636. "type": "string"
  5637. },
  5638. "contracctstatus": {
  5639. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5640. "type": "integer"
  5641. },
  5642. "convertfactor": {
  5643. "description": "标仓系数",
  5644. "type": "number"
  5645. },
  5646. "daikaiAmount": {
  5647. "description": "待开票额",
  5648. "type": "number"
  5649. },
  5650. "deliveryenddate": {
  5651. "description": "交割结束日",
  5652. "type": "string"
  5653. },
  5654. "deliverygoodscode": {
  5655. "description": "现货商品代码",
  5656. "type": "string"
  5657. },
  5658. "deliverygoodsid": {
  5659. "description": "现货商品ID",
  5660. "type": "integer"
  5661. },
  5662. "deliverygoodsname": {
  5663. "description": "现货商品名称",
  5664. "type": "string"
  5665. },
  5666. "deliverystartdate": {
  5667. "description": "交割开始日",
  5668. "type": "string"
  5669. },
  5670. "enddate": {
  5671. "description": "点价结束日",
  5672. "type": "string"
  5673. },
  5674. "enumdicname": {
  5675. "description": "单位名称",
  5676. "type": "string"
  5677. },
  5678. "goodscode": {
  5679. "description": "点价商品代码",
  5680. "type": "string"
  5681. },
  5682. "goodsid": {
  5683. "description": "点价商品ID",
  5684. "type": "integer"
  5685. },
  5686. "invoiceamount": {
  5687. "description": "已开票额",
  5688. "type": "number"
  5689. },
  5690. "payamount": {
  5691. "description": "已收付额(收款或付款)",
  5692. "type": "number"
  5693. },
  5694. "pricedqty": {
  5695. "description": "已定价量",
  5696. "type": "number"
  5697. },
  5698. "pricemove": {
  5699. "description": "升贴水",
  5700. "type": "number"
  5701. },
  5702. "pricetype": {
  5703. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5704. "type": "integer"
  5705. },
  5706. "producttype": {
  5707. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5708. "type": "integer"
  5709. },
  5710. "qty": {
  5711. "description": "合同量",
  5712. "type": "number"
  5713. },
  5714. "spotcontractid": {
  5715. "description": "合同ID",
  5716. "type": "string"
  5717. },
  5718. "spotgoodsdesc": {
  5719. "description": "商品型号(商品规格)",
  5720. "type": "string"
  5721. },
  5722. "startdate": {
  5723. "description": "点价开始日",
  5724. "type": "string"
  5725. },
  5726. "unpayAmount": {
  5727. "description": "待支收额(支付或收款)",
  5728. "type": "number"
  5729. },
  5730. "unpricedqty": {
  5731. "description": "未定价量",
  5732. "type": "number"
  5733. },
  5734. "unsureqty": {
  5735. "description": "未确定量",
  5736. "type": "number"
  5737. }
  5738. }
  5739. },
  5740. "ermcp.QryHedgePlanRsp": {
  5741. "type": "object",
  5742. "properties": {
  5743. "contracttype": {
  5744. "description": "计划类型 - 1:采购 -1:销售",
  5745. "type": "integer"
  5746. },
  5747. "convertfactor": {
  5748. "description": "标仓系数",
  5749. "type": "number"
  5750. },
  5751. "deliverygoodsid": {
  5752. "description": "现货品种ID",
  5753. "type": "integer"
  5754. },
  5755. "deliverygoodsname": {
  5756. "description": "现货品种名称",
  5757. "type": "string"
  5758. },
  5759. "hedgeplanid": {
  5760. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  5761. "type": "string"
  5762. },
  5763. "hedgeplanno": {
  5764. "description": "套保计划编号",
  5765. "type": "string"
  5766. },
  5767. "hedgeplanstatus": {
  5768. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5769. "type": "integer"
  5770. },
  5771. "planqty": {
  5772. "description": "计划数量",
  5773. "type": "number"
  5774. },
  5775. "plantime": {
  5776. "description": "计划时间",
  5777. "type": "string"
  5778. },
  5779. "producttype": {
  5780. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5781. "type": "integer"
  5782. },
  5783. "remark": {
  5784. "description": "备注",
  5785. "type": "string"
  5786. },
  5787. "spotgoodsdesc": {
  5788. "description": "商品型号",
  5789. "type": "string"
  5790. },
  5791. "wrstandardid": {
  5792. "description": "现货商品ID",
  5793. "type": "integer"
  5794. },
  5795. "wrstandardname": {
  5796. "description": "现货商品名称",
  5797. "type": "string"
  5798. }
  5799. }
  5800. },
  5801. "ermcp.QrySpotContractRsp": {
  5802. "type": "object",
  5803. "properties": {
  5804. "AMOUNT": {
  5805. "description": "金额 [1:一口价、3:暂定价]",
  5806. "type": "number"
  5807. },
  5808. "BUYUSERID": {
  5809. "description": "采购方ID",
  5810. "type": "integer"
  5811. },
  5812. "BUYUSERName": {
  5813. "description": "采购方名称",
  5814. "type": "string"
  5815. },
  5816. "CONTRACCTSTATUS": {
  5817. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5818. "type": "integer"
  5819. },
  5820. "CONTRACTNO": {
  5821. "description": "现货合同编号",
  5822. "type": "string"
  5823. },
  5824. "CONTRACTTYPE": {
  5825. "description": "现货合同类型 - 1:采购 -1:销售",
  5826. "type": "integer"
  5827. },
  5828. "CONVERTFACTOR": {
  5829. "description": "标仓系数",
  5830. "type": "number"
  5831. },
  5832. "DELIVERYENDDATE": {
  5833. "description": "交收期(结束)",
  5834. "type": "string"
  5835. },
  5836. "DELIVERYGOODSCODE": {
  5837. "description": "现货品种代码",
  5838. "type": "string"
  5839. },
  5840. "DELIVERYGOODSID": {
  5841. "description": "现货品种ID",
  5842. "type": "integer"
  5843. },
  5844. "DELIVERYGOODSNAME": {
  5845. "description": "现货品种名称",
  5846. "type": "string"
  5847. },
  5848. "DELIVERYSTARTDATE": {
  5849. "description": "交收期(开始)",
  5850. "type": "string"
  5851. },
  5852. "ENDDATE": {
  5853. "description": "点价结束日期 [2:点价 3:暂定价]",
  5854. "type": "string"
  5855. },
  5856. "EnumdicName": {
  5857. "description": "单位名称",
  5858. "type": "string"
  5859. },
  5860. "GOODSCODE": {
  5861. "description": "点价合约代码",
  5862. "type": "string"
  5863. },
  5864. "GOODSID": {
  5865. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  5866. "type": "integer"
  5867. },
  5868. "MARGIN": {
  5869. "description": "当前保证金",
  5870. "type": "number"
  5871. },
  5872. "PRICE": {
  5873. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  5874. "type": "number"
  5875. },
  5876. "PRICEMOVE": {
  5877. "description": "升贴水 [2:点价 3:暂定价]",
  5878. "type": "number"
  5879. },
  5880. "PRICETYPE": {
  5881. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5882. "type": "integer"
  5883. },
  5884. "PRODUCTTYPE": {
  5885. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5886. "type": "integer"
  5887. },
  5888. "QTY": {
  5889. "description": "数量",
  5890. "type": "number"
  5891. },
  5892. "SELLUSERID": {
  5893. "description": "销售方ID",
  5894. "type": "integer"
  5895. },
  5896. "SELLUSERNAME": {
  5897. "description": "销售方名称",
  5898. "type": "string"
  5899. },
  5900. "SPOTCONTRACTID": {
  5901. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  5902. "type": "string"
  5903. },
  5904. "SPOTGOODSDESC": {
  5905. "description": "商品型号",
  5906. "type": "string"
  5907. },
  5908. "STARTDATE": {
  5909. "description": "点价开始日期 [2:点价 3:暂定价]",
  5910. "type": "string"
  5911. }
  5912. }
  5913. },
  5914. "ermcp.QryUserInfoRsp": {
  5915. "type": "object",
  5916. "properties": {
  5917. "address": {
  5918. "description": "通讯地址",
  5919. "type": "string"
  5920. },
  5921. "cardnum": {
  5922. "description": "证件号码",
  5923. "type": "string"
  5924. },
  5925. "cardtype": {
  5926. "description": "证件类型",
  5927. "type": "string"
  5928. },
  5929. "customername": {
  5930. "description": "企业名称",
  5931. "type": "string"
  5932. },
  5933. "mobile": {
  5934. "description": "手机号码",
  5935. "type": "string"
  5936. },
  5937. "remark": {
  5938. "description": "备注",
  5939. "type": "string"
  5940. },
  5941. "status": {
  5942. "description": "账户状态",
  5943. "type": "string"
  5944. },
  5945. "telphone": {
  5946. "description": "联系电话",
  5947. "type": "string"
  5948. },
  5949. "userinfotype": {
  5950. "description": "客户类型",
  5951. "type": "string"
  5952. }
  5953. }
  5954. },
  5955. "erms2.QueryArbitrageStrategyRsp": {
  5956. "type": "object",
  5957. "required": [
  5958. "asapplyid"
  5959. ],
  5960. "properties": {
  5961. "applybasis": {
  5962. "description": "申请基差",
  5963. "type": "number"
  5964. },
  5965. "asapplyid": {
  5966. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  5967. "type": "string"
  5968. },
  5969. "asname": {
  5970. "description": "策略名称",
  5971. "type": "string"
  5972. },
  5973. "asno": {
  5974. "description": "策略编号",
  5975. "type": "string"
  5976. },
  5977. "basischangepl": {
  5978. "description": "基差变动损益[结算更新]",
  5979. "type": "number"
  5980. },
  5981. "biztype": {
  5982. "description": "业务类型 - 1:正向套利 -1:反向套利",
  5983. "type": "integer"
  5984. },
  5985. "closetradedate": {
  5986. "description": "完结交易日(yyyyMMdd)",
  5987. "type": "string"
  5988. },
  5989. "curbasis": {
  5990. "description": "当前基差[结算更新]",
  5991. "type": "number"
  5992. },
  5993. "deliverygoodsid": {
  5994. "description": "现货品种ID",
  5995. "type": "integer"
  5996. },
  5997. "futureavgprice": {
  5998. "description": "期货建仓均价",
  5999. "type": "number"
  6000. },
  6001. "futurecloseamount": {
  6002. "description": "期货平仓金额",
  6003. "type": "number"
  6004. },
  6005. "futurecloseqty": {
  6006. "description": "期货平仓数量",
  6007. "type": "number"
  6008. },
  6009. "futureopenamount": {
  6010. "description": "期货开仓金额",
  6011. "type": "number"
  6012. },
  6013. "futureopenqty": {
  6014. "description": "期货开仓数量",
  6015. "type": "number"
  6016. },
  6017. "futurepl": {
  6018. "description": "期货总盈亏[结算更新]",
  6019. "type": "number"
  6020. },
  6021. "futureqty": {
  6022. "description": "期货持仓数量",
  6023. "type": "number"
  6024. },
  6025. "futurequote": {
  6026. "description": "期货额度",
  6027. "type": "number"
  6028. },
  6029. "goodsgroupid": {
  6030. "description": "期货品种ID",
  6031. "type": "integer"
  6032. },
  6033. "marketid": {
  6034. "description": "市场ID",
  6035. "type": "integer"
  6036. },
  6037. "netexposure": {
  6038. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6039. "type": "number"
  6040. },
  6041. "netexposurepl": {
  6042. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6043. "type": "number"
  6044. },
  6045. "netexposurerate": {
  6046. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6047. "type": "number"
  6048. },
  6049. "openbasis": {
  6050. "description": "建仓基差",
  6051. "type": "number"
  6052. },
  6053. "pricedspotqty": {
  6054. "description": "已定价现货数量",
  6055. "type": "number"
  6056. },
  6057. "pricedspotqtynotax": {
  6058. "description": "已定价现货不含税数量",
  6059. "type": "number"
  6060. },
  6061. "remark": {
  6062. "description": "备注",
  6063. "type": "string"
  6064. },
  6065. "spotavgprice": {
  6066. "description": "现货均价",
  6067. "type": "number"
  6068. },
  6069. "spotbuyamount": {
  6070. "description": "现货采购金额",
  6071. "type": "number"
  6072. },
  6073. "spotbuyqty": {
  6074. "description": "现货采购数量",
  6075. "type": "number"
  6076. },
  6077. "spotpl": {
  6078. "description": "现货总盈亏[结算更新]",
  6079. "type": "number"
  6080. },
  6081. "spotquota": {
  6082. "description": "现货额度",
  6083. "type": "number"
  6084. },
  6085. "spotsellamount": {
  6086. "description": "现货销售金额",
  6087. "type": "number"
  6088. },
  6089. "spotsellqty": {
  6090. "description": "现货销售数量",
  6091. "type": "number"
  6092. },
  6093. "spotusedquota": {
  6094. "description": "现货占用资金",
  6095. "type": "number"
  6096. },
  6097. "strategystatus": {
  6098. "description": "策略状态 - 0:未结束 1:已结束",
  6099. "type": "integer"
  6100. },
  6101. "totalpl": {
  6102. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6103. "type": "number"
  6104. },
  6105. "tradedate": {
  6106. "description": "交易日(yyyyMMdd)",
  6107. "type": "string"
  6108. },
  6109. "updatetime": {
  6110. "description": "更新时间",
  6111. "type": "string"
  6112. },
  6113. "usedquota": {
  6114. "description": "已占用资金",
  6115. "type": "number"
  6116. },
  6117. "userid": {
  6118. "description": "所属机构",
  6119. "type": "integer"
  6120. }
  6121. }
  6122. },
  6123. "erms2.QueryInnerTradeDetailRsp": {
  6124. "type": "object",
  6125. "required": [
  6126. "asapplyid",
  6127. "buyorsell",
  6128. "goodscode",
  6129. "goodsgroupid",
  6130. "goodsgroupname",
  6131. "goodsname",
  6132. "tradeid"
  6133. ],
  6134. "properties": {
  6135. "accountid": {
  6136. "description": "账号ID",
  6137. "type": "integer"
  6138. },
  6139. "agreeunit": {
  6140. "description": "合约单位",
  6141. "type": "number"
  6142. },
  6143. "asapplyid": {
  6144. "description": "策略申请ID",
  6145. "type": "integer"
  6146. },
  6147. "asname": {
  6148. "description": "策略名称",
  6149. "type": "string"
  6150. },
  6151. "asno": {
  6152. "description": "策略编号",
  6153. "type": "string"
  6154. },
  6155. "buyorsell": {
  6156. "description": "方向 - 0:买 1:卖",
  6157. "type": "integer"
  6158. },
  6159. "channelbuildtype": {
  6160. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  6161. "type": "integer"
  6162. },
  6163. "closetype": {
  6164. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  6165. "type": "integer"
  6166. },
  6167. "decimalplace": {
  6168. "description": "报价小数位",
  6169. "type": "integer"
  6170. },
  6171. "detailtype": {
  6172. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  6173. "type": "integer"
  6174. },
  6175. "exexchangecode": {
  6176. "description": "外部交易所代码",
  6177. "type": "string"
  6178. },
  6179. "exexchangename": {
  6180. "description": "外部交易所名称",
  6181. "type": "string"
  6182. },
  6183. "goodscode": {
  6184. "description": "商品代码(合约)",
  6185. "type": "string"
  6186. },
  6187. "goodsgroupid": {
  6188. "description": "商品组ID(品种ID)",
  6189. "type": "integer"
  6190. },
  6191. "goodsgroupname": {
  6192. "description": "商品组名称(品种)",
  6193. "type": "string"
  6194. },
  6195. "goodsid": {
  6196. "description": "商品ID",
  6197. "type": "integer"
  6198. },
  6199. "goodsname": {
  6200. "description": "商品名称(合约)",
  6201. "type": "string"
  6202. },
  6203. "goodunit": {
  6204. "description": "报价单位",
  6205. "type": "string"
  6206. },
  6207. "marketid": {
  6208. "description": "市场ID",
  6209. "type": "integer"
  6210. },
  6211. "orderid": {
  6212. "description": "委托单号",
  6213. "type": "string"
  6214. },
  6215. "outgoodscode": {
  6216. "description": "商品代码(外部)",
  6217. "type": "string"
  6218. },
  6219. "relatedouttradeid": {
  6220. "description": "关联外部成交单ID",
  6221. "type": "string"
  6222. },
  6223. "remark": {
  6224. "description": "备注",
  6225. "type": "string"
  6226. },
  6227. "spotcontractid": {
  6228. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  6229. "type": "integer"
  6230. },
  6231. "spotcontractno": {
  6232. "description": "现货合同编号",
  6233. "type": "string"
  6234. },
  6235. "tradeid": {
  6236. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6237. "type": "string"
  6238. },
  6239. "tradeprice": {
  6240. "description": "成交价格",
  6241. "type": "number"
  6242. },
  6243. "tradeqty": {
  6244. "description": "成交数量",
  6245. "type": "integer"
  6246. },
  6247. "tradetime": {
  6248. "description": "成交时间",
  6249. "type": "string"
  6250. },
  6251. "updatetime": {
  6252. "description": "更新时间",
  6253. "type": "string"
  6254. }
  6255. }
  6256. },
  6257. "erms2.QuerySpotContractRsp": {
  6258. "type": "object",
  6259. "required": [
  6260. "spotcontractid"
  6261. ],
  6262. "properties": {
  6263. "accountid": {
  6264. "description": "资金账户ID",
  6265. "type": "integer"
  6266. },
  6267. "areauserid": {
  6268. "description": "所属机构",
  6269. "type": "integer"
  6270. },
  6271. "closedate": {
  6272. "description": "终止日期",
  6273. "type": "string"
  6274. },
  6275. "closeremark": {
  6276. "description": "结束备注",
  6277. "type": "string"
  6278. },
  6279. "closetradedate": {
  6280. "description": "完结交易日(yyyyMMdd)",
  6281. "type": "string"
  6282. },
  6283. "closetype": {
  6284. "description": "终止类型 - 1:违约 2:提前终止",
  6285. "type": "integer"
  6286. },
  6287. "contractamount": {
  6288. "description": "合同金额",
  6289. "type": "number"
  6290. },
  6291. "contractattachment": {
  6292. "description": "合同附件",
  6293. "type": "string"
  6294. },
  6295. "contractno": {
  6296. "description": "现货合同编号",
  6297. "type": "string"
  6298. },
  6299. "contractqty": {
  6300. "description": "合同数量(数值) (用于计算)",
  6301. "type": "number"
  6302. },
  6303. "contractqtychar": {
  6304. "description": "合同数量\\已订价数量 (用于显示)",
  6305. "type": "string"
  6306. },
  6307. "contractstatus": {
  6308. "description": "合同状态 - 0:未结束 1:已结束",
  6309. "type": "integer"
  6310. },
  6311. "contracttype": {
  6312. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  6313. "type": "integer"
  6314. },
  6315. "customeraccountid": {
  6316. "description": "客户资金账户ID",
  6317. "type": "integer"
  6318. },
  6319. "customeruserid": {
  6320. "description": "客户ID",
  6321. "type": "integer"
  6322. },
  6323. "deliverygoodsdesc": {
  6324. "description": "品种说明",
  6325. "type": "string"
  6326. },
  6327. "deliverygoodsid": {
  6328. "description": "现货品种ID",
  6329. "type": "integer"
  6330. },
  6331. "handlestatus": {
  6332. "description": "处理状态",
  6333. "type": "integer"
  6334. },
  6335. "invoiceatt": {
  6336. "description": "发票附件",
  6337. "type": "string"
  6338. },
  6339. "invoicedatetime": {
  6340. "description": "开收票更新时间",
  6341. "type": "string"
  6342. },
  6343. "invoiceopentime": {
  6344. "description": "开票时间",
  6345. "type": "string"
  6346. },
  6347. "invoiceremark": {
  6348. "description": "发票备注",
  6349. "type": "string"
  6350. },
  6351. "invoicestatus": {
  6352. "description": "开收票状态 - 0:未开票 1:已开票",
  6353. "type": "integer"
  6354. },
  6355. "lastdate": {
  6356. "description": "交货时间",
  6357. "type": "string"
  6358. },
  6359. "marketid": {
  6360. "description": "市场ID",
  6361. "type": "integer"
  6362. },
  6363. "paydatetime": {
  6364. "description": "收付款更新时间",
  6365. "type": "string"
  6366. },
  6367. "payremark": {
  6368. "description": "收付款备注",
  6369. "type": "string"
  6370. },
  6371. "paystatus": {
  6372. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  6373. "type": "integer"
  6374. },
  6375. "positionqty": {
  6376. "description": "头寸数量 - 合同数量去小数部分",
  6377. "type": "integer"
  6378. },
  6379. "producttype": {
  6380. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6381. "type": "integer"
  6382. },
  6383. "relatedqty": {
  6384. "description": "已关联数量",
  6385. "type": "number"
  6386. },
  6387. "relatedstatus": {
  6388. "description": "关联完结状态 - 0:未结束 1:已结束",
  6389. "type": "integer"
  6390. },
  6391. "remark": {
  6392. "description": "备注",
  6393. "type": "string"
  6394. },
  6395. "signdate": {
  6396. "description": "签订日期",
  6397. "type": "string"
  6398. },
  6399. "spotcontractid": {
  6400. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  6401. "type": "string"
  6402. },
  6403. "spotdatetime": {
  6404. "description": "收发货更新时间",
  6405. "type": "string"
  6406. },
  6407. "spotprice": {
  6408. "description": "价格",
  6409. "type": "number"
  6410. },
  6411. "spotremark": {
  6412. "description": "收发货备注",
  6413. "type": "string"
  6414. },
  6415. "spotstatus": {
  6416. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  6417. "type": "integer"
  6418. },
  6419. "tradedate": {
  6420. "description": "交易日(yyyyMMdd)",
  6421. "type": "string"
  6422. },
  6423. "userid": {
  6424. "description": "业务员用户ID",
  6425. "type": "integer"
  6426. },
  6427. "warehouseid": {
  6428. "description": "仓库ID",
  6429. "type": "integer"
  6430. },
  6431. "wrfactortypeid": {
  6432. "description": "仓单要素类型ID",
  6433. "type": "integer"
  6434. },
  6435. "wrstandardid": {
  6436. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6437. "type": "integer"
  6438. }
  6439. }
  6440. },
  6441. "erms3.AddErms2ASApplyReq": {
  6442. "type": "object",
  6443. "required": [
  6444. "asapplyid"
  6445. ],
  6446. "properties": {
  6447. "applybasis": {
  6448. "description": "申请基差",
  6449. "type": "number"
  6450. },
  6451. "applystatus": {
  6452. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6453. "type": "integer"
  6454. },
  6455. "asapplyid": {
  6456. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  6457. "type": "integer"
  6458. },
  6459. "asname": {
  6460. "description": "策略名称",
  6461. "type": "string"
  6462. },
  6463. "asno": {
  6464. "description": "策略编号",
  6465. "type": "string"
  6466. },
  6467. "auditid": {
  6468. "description": "审核人",
  6469. "type": "integer"
  6470. },
  6471. "auditremark": {
  6472. "description": "审核备注",
  6473. "type": "string"
  6474. },
  6475. "audittime": {
  6476. "description": "审核时间",
  6477. "type": "string"
  6478. },
  6479. "biztype": {
  6480. "description": "业务类型 - 1:正向套利 2:反向套利",
  6481. "type": "integer"
  6482. },
  6483. "createtime": {
  6484. "description": "创建时间",
  6485. "type": "string"
  6486. },
  6487. "creatorid": {
  6488. "description": "创建人",
  6489. "type": "integer"
  6490. },
  6491. "deliverygoodsid": {
  6492. "description": "现货品种ID",
  6493. "type": "integer"
  6494. },
  6495. "futurequote": {
  6496. "description": "期货额度",
  6497. "type": "number"
  6498. },
  6499. "goodsgroupid": {
  6500. "description": "期货品种ID",
  6501. "type": "integer"
  6502. },
  6503. "marketid": {
  6504. "description": "市场ID",
  6505. "type": "integer"
  6506. },
  6507. "remark": {
  6508. "description": "备注",
  6509. "type": "string"
  6510. },
  6511. "spotquota": {
  6512. "description": "现货额度",
  6513. "type": "number"
  6514. },
  6515. "tradedate": {
  6516. "description": "交易日(yyyyMMdd)",
  6517. "type": "string"
  6518. },
  6519. "userid": {
  6520. "description": "所属机构",
  6521. "type": "integer"
  6522. }
  6523. }
  6524. },
  6525. "erms3.AddErms2SpotTradeApplyReq": {
  6526. "type": "object",
  6527. "required": [
  6528. "spottradeid"
  6529. ],
  6530. "properties": {
  6531. "applyjsondetail": {
  6532. "description": "申请明细(JSON)",
  6533. "type": "string"
  6534. },
  6535. "applystatus": {
  6536. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6537. "type": "integer"
  6538. },
  6539. "areauserid": {
  6540. "description": "所属机构",
  6541. "type": "integer"
  6542. },
  6543. "auditid": {
  6544. "description": "审核人",
  6545. "type": "integer"
  6546. },
  6547. "auditremark": {
  6548. "description": "审核备注",
  6549. "type": "string"
  6550. },
  6551. "audittime": {
  6552. "description": "审核时间",
  6553. "type": "string"
  6554. },
  6555. "createtime": {
  6556. "description": "创建时间",
  6557. "type": "string"
  6558. },
  6559. "creatorid": {
  6560. "description": "创建人",
  6561. "type": "integer"
  6562. },
  6563. "deliverygoodsid": {
  6564. "description": "现货品种ID",
  6565. "type": "integer"
  6566. },
  6567. "futureaccountid": {
  6568. "description": "期货资金账户",
  6569. "type": "integer"
  6570. },
  6571. "goodsgroupid": {
  6572. "description": "期货品种",
  6573. "type": "integer"
  6574. },
  6575. "marketid": {
  6576. "description": "市场ID",
  6577. "type": "integer"
  6578. },
  6579. "remark": {
  6580. "description": "备注",
  6581. "type": "string"
  6582. },
  6583. "spotaccountid": {
  6584. "description": "现货资金账户",
  6585. "type": "integer"
  6586. },
  6587. "spottradeid": {
  6588. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  6589. "type": "integer"
  6590. },
  6591. "spottradename": {
  6592. "description": "业务名称",
  6593. "type": "string"
  6594. },
  6595. "spottradeno": {
  6596. "description": "业务编号",
  6597. "type": "string"
  6598. },
  6599. "tradedate": {
  6600. "description": "交易日(yyyyMMdd)",
  6601. "type": "string"
  6602. },
  6603. "wrstandardid": {
  6604. "description": "仓单标准ID",
  6605. "type": "integer"
  6606. }
  6607. }
  6608. },
  6609. "erms3.AddSpotContractApplyReq": {
  6610. "type": "object",
  6611. "required": [
  6612. "accountid",
  6613. "areauserid",
  6614. "contractno",
  6615. "contracttype",
  6616. "customeraccountid",
  6617. "customeruserid",
  6618. "details",
  6619. "orimargin",
  6620. "signdate"
  6621. ],
  6622. "properties": {
  6623. "accountid": {
  6624. "description": "资金账户ID",
  6625. "type": "integer"
  6626. },
  6627. "areauserid": {
  6628. "description": "所属机构",
  6629. "type": "integer"
  6630. },
  6631. "contractattachment": {
  6632. "description": "合同附件",
  6633. "type": "string"
  6634. },
  6635. "contractno": {
  6636. "description": "现货合同编号",
  6637. "type": "string"
  6638. },
  6639. "contracttype": {
  6640. "description": "现货合同类型 - 1:采购 -1:销售",
  6641. "type": "integer"
  6642. },
  6643. "creatorid": {
  6644. "description": "申请人",
  6645. "type": "integer"
  6646. },
  6647. "customeraccountid": {
  6648. "description": "客户资金账户ID",
  6649. "type": "integer"
  6650. },
  6651. "customeruserid": {
  6652. "description": "客户ID",
  6653. "type": "integer"
  6654. },
  6655. "details": {
  6656. "description": "明细",
  6657. "type": "array",
  6658. "items": {
  6659. "$ref": "#/definitions/erms3.SoptContractDetail"
  6660. }
  6661. },
  6662. "orimargin": {
  6663. "description": "初始保证金",
  6664. "type": "number"
  6665. },
  6666. "remark": {
  6667. "description": "备注",
  6668. "type": "string"
  6669. },
  6670. "signdate": {
  6671. "description": "签订日期",
  6672. "type": "string"
  6673. }
  6674. }
  6675. },
  6676. "erms3.AddSpotContractApplyRsp": {
  6677. "type": "object",
  6678. "required": [
  6679. "contractno"
  6680. ],
  6681. "properties": {
  6682. "contractno": {
  6683. "description": "现货合同编号",
  6684. "type": "string"
  6685. },
  6686. "spotcontractid": {
  6687. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  6688. "type": "integer"
  6689. }
  6690. }
  6691. },
  6692. "erms3.AddUserInfoApplyReq": {
  6693. "type": "object",
  6694. "required": [
  6695. "userid"
  6696. ],
  6697. "properties": {
  6698. "accountid": {
  6699. "description": "交易系统帐号Id (加密存储)",
  6700. "type": "integer"
  6701. },
  6702. "areacode": {
  6703. "description": "机构代码",
  6704. "type": "string"
  6705. },
  6706. "areaid": {
  6707. "description": "机构Id",
  6708. "type": "integer"
  6709. },
  6710. "attachment1": {
  6711. "description": "附件1",
  6712. "type": "string"
  6713. },
  6714. "attachment2": {
  6715. "description": "附件2",
  6716. "type": "string"
  6717. },
  6718. "attachment3": {
  6719. "description": "附件3",
  6720. "type": "string"
  6721. },
  6722. "attachment4": {
  6723. "description": "附件4",
  6724. "type": "string"
  6725. },
  6726. "attachment5": {
  6727. "description": "附件5",
  6728. "type": "string"
  6729. },
  6730. "auditedby": {
  6731. "description": "审核人",
  6732. "type": "string"
  6733. },
  6734. "auditime": {
  6735. "description": "审核时间",
  6736. "type": "string"
  6737. },
  6738. "bankaccount": {
  6739. "description": "银行帐号 (加密存储)",
  6740. "type": "string"
  6741. },
  6742. "bankaccountname": {
  6743. "description": "收款人名称",
  6744. "type": "string"
  6745. },
  6746. "bankcardbackphotourl": {
  6747. "description": "银行卡背面照地址",
  6748. "type": "string"
  6749. },
  6750. "bankcardfrontphotourl": {
  6751. "description": "银行卡正面照地址",
  6752. "type": "string"
  6753. },
  6754. "bankid": {
  6755. "description": "银行编码",
  6756. "type": "string"
  6757. },
  6758. "bankname": {
  6759. "description": "银行名称",
  6760. "type": "string"
  6761. },
  6762. "bankpictureurl": {
  6763. "description": "银行卡正面地址",
  6764. "type": "string"
  6765. },
  6766. "biznature": {
  6767. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6768. "type": "integer"
  6769. },
  6770. "bizscope": {
  6771. "description": "企业经营范围(企业)",
  6772. "type": "string"
  6773. },
  6774. "biztype": {
  6775. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  6776. "type": "integer"
  6777. },
  6778. "brokerid": {
  6779. "description": "经纪人ID(加密存储)",
  6780. "type": "string"
  6781. },
  6782. "cardaddress": {
  6783. "description": "证件地址 (加密存储)",
  6784. "type": "string"
  6785. },
  6786. "cardbackphotourl": {
  6787. "description": "背面证件照地址",
  6788. "type": "string"
  6789. },
  6790. "cardfrontphotourl": {
  6791. "description": "正面证件照地址",
  6792. "type": "string"
  6793. },
  6794. "cardnum": {
  6795. "description": "证件号码 (加密存储)",
  6796. "type": "string"
  6797. },
  6798. "cardtype": {
  6799. "description": "证件类型",
  6800. "type": "integer"
  6801. },
  6802. "cityid": {
  6803. "description": "市",
  6804. "type": "integer"
  6805. },
  6806. "company": {
  6807. "description": "公司(个人)",
  6808. "type": "string"
  6809. },
  6810. "contactcardbackphotourl": {
  6811. "description": "联系人证件背面图片地址",
  6812. "type": "string"
  6813. },
  6814. "contactcardfrontphotourl": {
  6815. "description": "联系人证件正面图片地址",
  6816. "type": "string"
  6817. },
  6818. "contactname": {
  6819. "description": "联系人",
  6820. "type": "string"
  6821. },
  6822. "countryid": {
  6823. "description": "国家",
  6824. "type": "integer"
  6825. },
  6826. "createtime": {
  6827. "description": "开户申请时间",
  6828. "type": "string"
  6829. },
  6830. "cusbankid": {
  6831. "description": "签约类型",
  6832. "type": "string"
  6833. },
  6834. "cusbankname": {
  6835. "description": "签约类型名称",
  6836. "type": "string"
  6837. },
  6838. "customername": {
  6839. "description": "客户名称(企业名称)",
  6840. "type": "string"
  6841. },
  6842. "districtid": {
  6843. "description": "地区",
  6844. "type": "integer"
  6845. },
  6846. "email": {
  6847. "description": "Email地址(加密存储)",
  6848. "type": "string"
  6849. },
  6850. "halfbodyphotourl": {
  6851. "description": "半身照地址",
  6852. "type": "string"
  6853. },
  6854. "headurl": {
  6855. "description": "头像地址",
  6856. "type": "string"
  6857. },
  6858. "ipaddress": {
  6859. "description": "IP地址",
  6860. "type": "string"
  6861. },
  6862. "isvalidate": {
  6863. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  6864. "type": "string"
  6865. },
  6866. "legalcardbackphotourl": {
  6867. "description": "法人身份证背面照地址",
  6868. "type": "string"
  6869. },
  6870. "legalcardfrontphotourl": {
  6871. "description": "法人身份证正面照地址",
  6872. "type": "string"
  6873. },
  6874. "legalpersonname": {
  6875. "description": "法人姓名(企业)",
  6876. "type": "string"
  6877. },
  6878. "logincode": {
  6879. "description": "登录帐号 (加密存储)",
  6880. "type": "string"
  6881. },
  6882. "memberareaid": {
  6883. "description": "所属会员ID",
  6884. "type": "integer"
  6885. },
  6886. "mobile2": {
  6887. "description": "手机号码[明文-尚志]",
  6888. "type": "string"
  6889. },
  6890. "mobilephone": {
  6891. "description": "手机号码 (加密存储)",
  6892. "type": "string"
  6893. },
  6894. "modifiedby": {
  6895. "description": "修改人帐号",
  6896. "type": "integer"
  6897. },
  6898. "modifiedtime": {
  6899. "description": "修改时间",
  6900. "type": "string"
  6901. },
  6902. "nickname": {
  6903. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  6904. "type": "string"
  6905. },
  6906. "openmode": {
  6907. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  6908. "type": "integer"
  6909. },
  6910. "otherurl": {
  6911. "description": "其它图片地址[使用分号分隔]",
  6912. "type": "string"
  6913. },
  6914. "postalcode": {
  6915. "description": "邮政编码",
  6916. "type": "string"
  6917. },
  6918. "provinceid": {
  6919. "description": "省",
  6920. "type": "integer"
  6921. },
  6922. "proxystatementurl": {
  6923. "description": "授权委托书",
  6924. "type": "string"
  6925. },
  6926. "qq": {
  6927. "description": "QQ(加密存储",
  6928. "type": "string"
  6929. },
  6930. "referral": {
  6931. "description": "推荐人编码",
  6932. "type": "string"
  6933. },
  6934. "remark": {
  6935. "description": "备注",
  6936. "type": "string"
  6937. },
  6938. "removebeforestatus": {
  6939. "description": "REMOVEBEFORESTATUS",
  6940. "type": "integer"
  6941. },
  6942. "sex": {
  6943. "description": "性别 - 0:女 1:男",
  6944. "type": "integer"
  6945. },
  6946. "signedstatus": {
  6947. "description": "账户一号签签约状态",
  6948. "type": "integer"
  6949. },
  6950. "signpdfurl": {
  6951. "description": "签约pdf文件",
  6952. "type": "string"
  6953. },
  6954. "subbranch": {
  6955. "description": "开户支行",
  6956. "type": "string"
  6957. },
  6958. "telphone": {
  6959. "description": "联系电话(加密存储)",
  6960. "type": "string"
  6961. },
  6962. "userid": {
  6963. "description": "用户ID(自增ID)",
  6964. "type": "integer"
  6965. },
  6966. "userinfotype": {
  6967. "description": "用户信息类型 - 1:个人 2:企业",
  6968. "type": "integer"
  6969. },
  6970. "username": {
  6971. "description": "用户姓名",
  6972. "type": "string"
  6973. },
  6974. "userstate": {
  6975. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6976. "type": "integer"
  6977. },
  6978. "usertype": {
  6979. "description": "用户类型 - 1:投资者 2:机构",
  6980. "type": "integer"
  6981. },
  6982. "videourl": {
  6983. "description": "视频地址",
  6984. "type": "string"
  6985. },
  6986. "wechat": {
  6987. "description": "微信号 (加密存储)",
  6988. "type": "string"
  6989. }
  6990. }
  6991. },
  6992. "erms3.CustomerInfo": {
  6993. "type": "object",
  6994. "required": [
  6995. "userid"
  6996. ],
  6997. "properties": {
  6998. "accountids": {
  6999. "description": "资金账户ID列表",
  7000. "type": "array",
  7001. "items": {
  7002. "type": "integer"
  7003. }
  7004. },
  7005. "customername": {
  7006. "description": "名称(企业名称)",
  7007. "type": "string"
  7008. },
  7009. "mobile": {
  7010. "description": "手机号码",
  7011. "type": "string"
  7012. },
  7013. "userid": {
  7014. "description": "用户ID",
  7015. "type": "integer"
  7016. }
  7017. }
  7018. },
  7019. "erms3.QryAuditContractRsp": {
  7020. "type": "object",
  7021. "required": [
  7022. "matchcustomername",
  7023. "spotcontractid"
  7024. ],
  7025. "properties": {
  7026. "accountid": {
  7027. "description": "交易员ID",
  7028. "type": "string"
  7029. },
  7030. "applystatus": {
  7031. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7032. "type": "integer"
  7033. },
  7034. "curdeliveryqty": {
  7035. "description": "未交收量",
  7036. "type": "integer"
  7037. },
  7038. "customername": {
  7039. "description": "采购方ID",
  7040. "type": "string"
  7041. },
  7042. "deliverygoodsid": {
  7043. "description": "品种ID",
  7044. "type": "string"
  7045. },
  7046. "deliveryqty": {
  7047. "description": "交收量",
  7048. "type": "integer"
  7049. },
  7050. "enumdicname": {
  7051. "description": "单位名称",
  7052. "type": "string"
  7053. },
  7054. "matchaccountid": {
  7055. "description": "业务员ID",
  7056. "type": "string"
  7057. },
  7058. "matchcustomername": {
  7059. "description": "销售方ID",
  7060. "type": "string"
  7061. },
  7062. "pricedqty": {
  7063. "description": "定价量",
  7064. "type": "number"
  7065. },
  7066. "signdate": {
  7067. "description": "签订日期",
  7068. "type": "string"
  7069. },
  7070. "spotcontractid": {
  7071. "description": "合同ID",
  7072. "type": "string"
  7073. },
  7074. "totaldqty": {
  7075. "description": "合同量",
  7076. "type": "number"
  7077. },
  7078. "unpricedqty": {
  7079. "description": "未定价量",
  7080. "type": "number"
  7081. },
  7082. "wrstandardname": {
  7083. "description": "商品名称",
  7084. "type": "string"
  7085. }
  7086. }
  7087. },
  7088. "erms3.QryPendingBizRsp": {
  7089. "type": "object",
  7090. "properties": {
  7091. "accountid": {
  7092. "description": "现货账户",
  7093. "type": "string"
  7094. },
  7095. "areaname": {
  7096. "description": "所属部门",
  7097. "type": "string"
  7098. },
  7099. "bizid": {
  7100. "description": "业务ID",
  7101. "type": "string"
  7102. },
  7103. "bizname": {
  7104. "description": "业务名称",
  7105. "type": "string"
  7106. },
  7107. "status": {
  7108. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7109. "type": "integer"
  7110. },
  7111. "type": {
  7112. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  7113. "type": "integer"
  7114. }
  7115. }
  7116. },
  7117. "erms3.QueryBusinessInfoRsp": {
  7118. "type": "object",
  7119. "properties": {
  7120. "businessid": {
  7121. "description": "业务ID.",
  7122. "type": "integer"
  7123. },
  7124. "buyamount": {
  7125. "description": "采购额.",
  7126. "type": "number"
  7127. },
  7128. "buyqty": {
  7129. "description": "采购量.",
  7130. "type": "string"
  7131. },
  7132. "futurepl": {
  7133. "description": "期货盈亏.",
  7134. "type": "number"
  7135. },
  7136. "futureqty": {
  7137. "description": "期货敞口.",
  7138. "type": "string"
  7139. },
  7140. "goodsid": {
  7141. "description": "商品名称/商品代码.",
  7142. "type": "string"
  7143. },
  7144. "hedgingqty": {
  7145. "description": "套保量.",
  7146. "type": "string"
  7147. },
  7148. "sellamount": {
  7149. "description": "销售额.",
  7150. "type": "number"
  7151. },
  7152. "sellqty": {
  7153. "description": "销售量.",
  7154. "type": "string"
  7155. },
  7156. "spotmarketvalue": {
  7157. "description": "现货市值.",
  7158. "type": "number"
  7159. },
  7160. "spotpl": {
  7161. "description": "浮动权益.",
  7162. "type": "number"
  7163. },
  7164. "spotqty": {
  7165. "description": "现货量.",
  7166. "type": "string"
  7167. },
  7168. "statu": {
  7169. "description": "状态,0-未结束 1-已结束.",
  7170. "type": "integer"
  7171. },
  7172. "totalpl": {
  7173. "description": "总盈亏.",
  7174. "type": "number"
  7175. },
  7176. "totalqty": {
  7177. "description": "总敞口.",
  7178. "type": "string"
  7179. },
  7180. "type": {
  7181. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  7182. "type": "integer"
  7183. }
  7184. }
  7185. },
  7186. "erms3.QuerySpotContractAppleFormRsp": {
  7187. "type": "object",
  7188. "properties": {
  7189. "goodses": {
  7190. "description": "合约列表",
  7191. "type": "array",
  7192. "items": {
  7193. "$ref": "#/definitions/models.GoodsIDAndName"
  7194. }
  7195. },
  7196. "oppositeusers": {
  7197. "description": "对方账号列表",
  7198. "type": "array",
  7199. "items": {
  7200. "$ref": "#/definitions/erms3.CustomerInfo"
  7201. }
  7202. },
  7203. "ouruser": {
  7204. "description": "我方账号",
  7205. "$ref": "#/definitions/erms3.CustomerInfo"
  7206. },
  7207. "warehouseinfos": {
  7208. "description": "仓库信息列表",
  7209. "type": "array",
  7210. "items": {
  7211. "$ref": "#/definitions/models.Warehouseinfo"
  7212. }
  7213. },
  7214. "wrstandards": {
  7215. "description": "仓单标准列表",
  7216. "type": "array",
  7217. "items": {
  7218. "$ref": "#/definitions/models.WRStandardInfo"
  7219. }
  7220. }
  7221. }
  7222. },
  7223. "erms3.QuerySpotContractInfoRsp": {
  7224. "type": "object",
  7225. "properties": {
  7226. "accountid": {
  7227. "description": "表示交易员ID.",
  7228. "type": "integer"
  7229. },
  7230. "curdeliveryqty": {
  7231. "description": "表示未交收量.",
  7232. "type": "number"
  7233. },
  7234. "customername": {
  7235. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  7236. "type": "string"
  7237. },
  7238. "deliverygoodsid": {
  7239. "description": "表示品种ID.",
  7240. "type": "string"
  7241. },
  7242. "deliveryqty": {
  7243. "description": "表示交收量.",
  7244. "type": "number"
  7245. },
  7246. "matchaccountid": {
  7247. "description": "表示业务员ID.",
  7248. "type": "integer"
  7249. },
  7250. "matchcustomername": {
  7251. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  7252. "type": "string"
  7253. },
  7254. "priceqty": {
  7255. "description": "表示定价量.",
  7256. "type": "number"
  7257. },
  7258. "relatedbizid": {
  7259. "description": "表示业务ID.",
  7260. "type": "string"
  7261. },
  7262. "signdate": {
  7263. "description": "表示签订日期.",
  7264. "type": "string"
  7265. },
  7266. "spotcontractid": {
  7267. "description": "合同ID",
  7268. "type": "string"
  7269. },
  7270. "status": {
  7271. "description": "表示状态,0-履约中 1-已完成.",
  7272. "type": "integer"
  7273. },
  7274. "totalqty": {
  7275. "description": "表示合同量.",
  7276. "type": "number"
  7277. },
  7278. "unpricedqty": {
  7279. "description": "表示未定价量.",
  7280. "type": "number"
  7281. },
  7282. "wrstandardname": {
  7283. "description": "表示商品ID.",
  7284. "type": "string"
  7285. }
  7286. }
  7287. },
  7288. "erms3.QueryUserInfoAppliesRsp": {
  7289. "type": "object",
  7290. "required": [
  7291. "userid"
  7292. ],
  7293. "properties": {
  7294. "biznature": {
  7295. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7296. "type": "integer"
  7297. },
  7298. "contactname": {
  7299. "description": "联系人",
  7300. "type": "string"
  7301. },
  7302. "createtime": {
  7303. "description": "开户申请时间",
  7304. "type": "string"
  7305. },
  7306. "userid": {
  7307. "description": "用户ID(自增ID)",
  7308. "type": "integer"
  7309. },
  7310. "userinfotype": {
  7311. "description": "用户信息类型 - 1:个人 2:企业",
  7312. "type": "integer"
  7313. },
  7314. "username": {
  7315. "description": "用户姓名",
  7316. "type": "string"
  7317. },
  7318. "userstate": {
  7319. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7320. "type": "integer"
  7321. }
  7322. }
  7323. },
  7324. "erms3.QueryUserInfosRsp": {
  7325. "type": "object",
  7326. "required": [
  7327. "userid"
  7328. ],
  7329. "properties": {
  7330. "biznature": {
  7331. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7332. "type": "integer"
  7333. },
  7334. "contactname": {
  7335. "description": "联系人",
  7336. "type": "string"
  7337. },
  7338. "customername": {
  7339. "description": "客户名称(企业名称)",
  7340. "type": "string"
  7341. },
  7342. "userid": {
  7343. "description": "用户ID",
  7344. "type": "integer"
  7345. },
  7346. "userinfotype": {
  7347. "description": "用户信息类型 - 1:个人 2:企业",
  7348. "type": "integer"
  7349. },
  7350. "userstatus": {
  7351. "description": "用户状态 - 1:正常 2:注销",
  7352. "type": "integer"
  7353. }
  7354. }
  7355. },
  7356. "erms3.SoptContractDetail": {
  7357. "type": "object",
  7358. "required": [
  7359. "deliverygoodsid",
  7360. "producttype",
  7361. "unitname",
  7362. "warehouseid",
  7363. "wrstandardid",
  7364. "wrstandardname"
  7365. ],
  7366. "properties": {
  7367. "deliverygoodsdesc": {
  7368. "description": "现货品种说明",
  7369. "type": "string"
  7370. },
  7371. "deliverygoodsid": {
  7372. "description": "现货品种ID",
  7373. "type": "integer"
  7374. },
  7375. "deliverygoodsname": {
  7376. "description": "现货品种名称",
  7377. "type": "string"
  7378. },
  7379. "pointdesc": {
  7380. "description": "点价描述",
  7381. "type": "string"
  7382. },
  7383. "producttype": {
  7384. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  7385. "type": "integer"
  7386. },
  7387. "producttypename": {
  7388. "description": "产品类型名称",
  7389. "type": "string"
  7390. },
  7391. "spotPointOrderVoList": {
  7392. "description": "点价列表",
  7393. "type": "array",
  7394. "items": {
  7395. "$ref": "#/definitions/erms3.SpotPointOrder"
  7396. }
  7397. },
  7398. "spotPriceOrderList": {
  7399. "description": "定价列表",
  7400. "type": "array",
  7401. "items": {
  7402. "$ref": "#/definitions/erms3.SpotPriceOrder"
  7403. }
  7404. },
  7405. "unitname": {
  7406. "description": "单位名称",
  7407. "type": "string"
  7408. },
  7409. "warehouseid": {
  7410. "description": "仓库ID",
  7411. "type": "integer"
  7412. },
  7413. "warehousename": {
  7414. "description": "仓库名称",
  7415. "type": "string"
  7416. },
  7417. "wrstandardid": {
  7418. "description": "交易标的ID",
  7419. "type": "integer"
  7420. },
  7421. "wrstandardname": {
  7422. "description": "交易标的名称",
  7423. "type": "string"
  7424. }
  7425. }
  7426. },
  7427. "erms3.SpotPointOrder": {
  7428. "type": "object",
  7429. "required": [
  7430. "basic",
  7431. "goodsid",
  7432. "qty"
  7433. ],
  7434. "properties": {
  7435. "basic": {
  7436. "description": "基差",
  7437. "type": "number"
  7438. },
  7439. "deliveryenddate": {
  7440. "description": "交收结束日期",
  7441. "type": "string"
  7442. },
  7443. "deliverystartdate": {
  7444. "description": "交收开始日期",
  7445. "type": "string"
  7446. },
  7447. "enddate": {
  7448. "description": "点价结束日期",
  7449. "type": "string"
  7450. },
  7451. "goodsid": {
  7452. "description": "商品ID",
  7453. "type": "integer"
  7454. },
  7455. "goodsname": {
  7456. "description": "商品名称",
  7457. "type": "string"
  7458. },
  7459. "qty": {
  7460. "description": "数量",
  7461. "type": "number"
  7462. },
  7463. "startdate": {
  7464. "description": "点价开始日期",
  7465. "type": "string"
  7466. }
  7467. }
  7468. },
  7469. "erms3.SpotPriceOrder": {
  7470. "type": "object",
  7471. "required": [
  7472. "amount",
  7473. "price",
  7474. "qty"
  7475. ],
  7476. "properties": {
  7477. "amount": {
  7478. "description": "金额",
  7479. "type": "number"
  7480. },
  7481. "deliveryenddate": {
  7482. "description": "交收结束日期",
  7483. "type": "string"
  7484. },
  7485. "deliverystartdate": {
  7486. "description": "交收开始日期",
  7487. "type": "string"
  7488. },
  7489. "price": {
  7490. "description": "价格",
  7491. "type": "number"
  7492. },
  7493. "qty": {
  7494. "description": "数量",
  7495. "type": "number"
  7496. }
  7497. }
  7498. },
  7499. "hsby.GetHsbyMyCountRsp": {
  7500. "type": "object",
  7501. "properties": {
  7502. "myCouponCount": {
  7503. "description": "我的优惠卷数量",
  7504. "type": "integer"
  7505. },
  7506. "myOrderDetailListingCount": {
  7507. "description": "我的订单求购中数量",
  7508. "type": "integer"
  7509. },
  7510. "myOrderDetailPreCount": {
  7511. "description": "我的订单抢购中数量",
  7512. "type": "integer"
  7513. },
  7514. "myPackageUnReceiveCount": {
  7515. "description": "我的包裹待收货数量",
  7516. "type": "integer"
  7517. },
  7518. "myPackageUnSendCount": {
  7519. "description": "我的包裹待发货数量",
  7520. "type": "integer"
  7521. },
  7522. "myPayOrderCount": {
  7523. "description": "我的订单待付款数量",
  7524. "type": "integer"
  7525. }
  7526. }
  7527. },
  7528. "hsby.QueryProvincesAndCitiesRsp": {
  7529. "type": "object",
  7530. "properties": {
  7531. "cities": {
  7532. "description": "市",
  7533. "type": "array",
  7534. "items": {
  7535. "$ref": "#/definitions/models.Division"
  7536. }
  7537. },
  7538. "province": {
  7539. "description": "省",
  7540. "$ref": "#/definitions/models.Division"
  7541. }
  7542. }
  7543. },
  7544. "models.Division": {
  7545. "type": "object",
  7546. "required": [
  7547. "autoid",
  7548. "divisioncode"
  7549. ],
  7550. "properties": {
  7551. "autoid": {
  7552. "description": "自增ID",
  7553. "type": "integer"
  7554. },
  7555. "divisioncode": {
  7556. "description": "行政代码",
  7557. "type": "string"
  7558. },
  7559. "divisionlevel": {
  7560. "description": "行政级别",
  7561. "type": "string"
  7562. },
  7563. "divisionname": {
  7564. "description": "行政名称",
  7565. "type": "string"
  7566. },
  7567. "modifierid": {
  7568. "description": "修改人",
  7569. "type": "integer"
  7570. },
  7571. "modifytime": {
  7572. "description": "修改时间",
  7573. "type": "string"
  7574. },
  7575. "parentcode": {
  7576. "description": "上级行政代码",
  7577. "type": "string"
  7578. },
  7579. "pathname": {
  7580. "description": "路径名称",
  7581. "type": "string"
  7582. },
  7583. "postcode": {
  7584. "description": "邮政编码",
  7585. "type": "string"
  7586. },
  7587. "separablename": {
  7588. "description": "可拆分的全称",
  7589. "type": "string"
  7590. },
  7591. "shortcode": {
  7592. "description": "地区简码",
  7593. "type": "string"
  7594. }
  7595. }
  7596. },
  7597. "models.Enumdicitem": {
  7598. "type": "object",
  7599. "required": [
  7600. "autoid",
  7601. "enumdiccode",
  7602. "enumdicid",
  7603. "enumitemname"
  7604. ],
  7605. "properties": {
  7606. "autoid": {
  7607. "description": "自增ID",
  7608. "type": "integer"
  7609. },
  7610. "bankmappedvalue": {
  7611. "description": "银行服务对应值",
  7612. "type": "string"
  7613. },
  7614. "enumdiccode": {
  7615. "description": "所属枚举代码",
  7616. "type": "string"
  7617. },
  7618. "enumdicid": {
  7619. "description": "所属枚举ID",
  7620. "type": "integer"
  7621. },
  7622. "enumdicname": {
  7623. "description": "枚举项名称",
  7624. "type": "string"
  7625. },
  7626. "enumitemname": {
  7627. "description": "枚举项值",
  7628. "type": "integer"
  7629. },
  7630. "enumitemstatus": {
  7631. "description": "枚举项状态 - 1.启用 2.不启用",
  7632. "type": "integer"
  7633. },
  7634. "enumitemvalue": {
  7635. "description": "通用值 - [币种通用简写]",
  7636. "type": "string"
  7637. },
  7638. "param1": {
  7639. "description": "参数1[币种:币种小数位]",
  7640. "type": "string"
  7641. },
  7642. "param2": {
  7643. "description": "参数1[币种:币种显示单位]",
  7644. "type": "string"
  7645. },
  7646. "remark": {
  7647. "description": "备注",
  7648. "type": "string"
  7649. }
  7650. }
  7651. },
  7652. "models.GoodsIDAndName": {
  7653. "type": "object",
  7654. "required": [
  7655. "goodscode",
  7656. "goodsid",
  7657. "goodsname",
  7658. "marketid"
  7659. ],
  7660. "properties": {
  7661. "goodscode": {
  7662. "description": "商品代码(内部)",
  7663. "type": "string"
  7664. },
  7665. "goodsid": {
  7666. "description": "商品ID(自增ID SEQ_GOODS)",
  7667. "type": "integer"
  7668. },
  7669. "goodsname": {
  7670. "description": "商品名称",
  7671. "type": "string"
  7672. },
  7673. "marketid": {
  7674. "description": "所属市场ID",
  7675. "type": "integer"
  7676. }
  7677. }
  7678. },
  7679. "models.HsbyBuyMyPayOrder": {
  7680. "type": "object",
  7681. "required": [
  7682. "goodscode",
  7683. "goodsname",
  7684. "tradeid",
  7685. "trademode"
  7686. ],
  7687. "properties": {
  7688. "agreeunit": {
  7689. "description": "合约单位",
  7690. "type": "number"
  7691. },
  7692. "buyaccountid": {
  7693. "description": "买方账号ID[报价币种]",
  7694. "type": "integer"
  7695. },
  7696. "buyorderid": {
  7697. "description": "买方委托单号",
  7698. "type": "string"
  7699. },
  7700. "createtime": {
  7701. "description": "创建时间",
  7702. "type": "string"
  7703. },
  7704. "currencysign": {
  7705. "description": "货币符号",
  7706. "type": "string"
  7707. },
  7708. "decimalplace": {
  7709. "description": "报价小数位",
  7710. "type": "integer"
  7711. },
  7712. "goodscode": {
  7713. "description": "商品代码(内部)",
  7714. "type": "string"
  7715. },
  7716. "goodsid": {
  7717. "description": "商品ID",
  7718. "type": "integer"
  7719. },
  7720. "goodsname": {
  7721. "description": "商品名称",
  7722. "type": "string"
  7723. },
  7724. "marketid": {
  7725. "description": "市场ID",
  7726. "type": "integer"
  7727. },
  7728. "offamount": {
  7729. "description": "优惠金额",
  7730. "type": "number"
  7731. },
  7732. "payamount": {
  7733. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7734. "type": "number"
  7735. },
  7736. "payflag": {
  7737. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7738. "type": "integer"
  7739. },
  7740. "paylimitedtime": {
  7741. "description": "支付期限",
  7742. "type": "string"
  7743. },
  7744. "paytime": {
  7745. "description": "付款时间",
  7746. "type": "string"
  7747. },
  7748. "picurls1": {
  7749. "description": "预售商品介绍图片[多张用逗号分隔]",
  7750. "type": "string"
  7751. },
  7752. "picurls2": {
  7753. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7754. "type": "string"
  7755. },
  7756. "sellaccountid": {
  7757. "description": "卖方账号ID[报价币种]",
  7758. "type": "integer"
  7759. },
  7760. "sellorderid": {
  7761. "description": "卖方委托单号",
  7762. "type": "string"
  7763. },
  7764. "tradeamount": {
  7765. "description": "成交金额",
  7766. "type": "number"
  7767. },
  7768. "tradecharge": {
  7769. "description": "成交手续费(买方)",
  7770. "type": "number"
  7771. },
  7772. "tradedate": {
  7773. "description": "交易日(yyyyMMdd)",
  7774. "type": "string"
  7775. },
  7776. "tradeid": {
  7777. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7778. "type": "string"
  7779. },
  7780. "trademode": {
  7781. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7782. "type": "integer"
  7783. },
  7784. "tradeprice": {
  7785. "description": "成交价格",
  7786. "type": "number"
  7787. },
  7788. "tradeqty": {
  7789. "description": "成交数量",
  7790. "type": "integer"
  7791. },
  7792. "vendorname1": {
  7793. "description": "预售商品供应商名称",
  7794. "type": "string"
  7795. },
  7796. "vendorname2": {
  7797. "description": "挂牌商品供应商名称",
  7798. "type": "string"
  7799. }
  7800. }
  7801. },
  7802. "models.HsbyBuyMyTradeDetail": {
  7803. "type": "object",
  7804. "required": [
  7805. "accountid",
  7806. "buyorsell",
  7807. "goodscode",
  7808. "goodsid",
  7809. "goodsname",
  7810. "marketid",
  7811. "orderid",
  7812. "qty",
  7813. "time",
  7814. "trademode"
  7815. ],
  7816. "properties": {
  7817. "accountid": {
  7818. "description": "账户ID[报价币种]",
  7819. "type": "integer"
  7820. },
  7821. "agreeunit": {
  7822. "description": "合约单位",
  7823. "type": "number"
  7824. },
  7825. "amount": {
  7826. "description": "金额 = 价格 * 数量 * 合约单位",
  7827. "type": "number"
  7828. },
  7829. "buyorsell": {
  7830. "description": "买卖 - 0:买 1:卖",
  7831. "type": "integer"
  7832. },
  7833. "currencysign": {
  7834. "description": "货币符号",
  7835. "type": "string"
  7836. },
  7837. "decimalplace": {
  7838. "description": "报价小数位",
  7839. "type": "integer"
  7840. },
  7841. "goodscode": {
  7842. "description": "商品代码(内部)",
  7843. "type": "string"
  7844. },
  7845. "goodsid": {
  7846. "description": "商品ID",
  7847. "type": "integer"
  7848. },
  7849. "goodsname": {
  7850. "description": "商品名称",
  7851. "type": "string"
  7852. },
  7853. "marketid": {
  7854. "description": "市场ID",
  7855. "type": "integer"
  7856. },
  7857. "orderid": {
  7858. "description": "单号(成交单号)",
  7859. "type": "string"
  7860. },
  7861. "picurls1": {
  7862. "description": "预售商品介绍图片[多张用逗号分隔]",
  7863. "type": "string"
  7864. },
  7865. "picurls2": {
  7866. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7867. "type": "string"
  7868. },
  7869. "price": {
  7870. "description": "价格",
  7871. "type": "number"
  7872. },
  7873. "qty": {
  7874. "description": "数量",
  7875. "type": "integer"
  7876. },
  7877. "time": {
  7878. "description": "时间",
  7879. "type": "string"
  7880. },
  7881. "trademode": {
  7882. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7883. "type": "integer"
  7884. },
  7885. "vendorname1": {
  7886. "description": "预售商品供应商名称",
  7887. "type": "string"
  7888. },
  7889. "vendorname2": {
  7890. "description": "挂牌商品供应商名称",
  7891. "type": "string"
  7892. }
  7893. }
  7894. },
  7895. "models.HsbyGoodsOrderDetail": {
  7896. "type": "object",
  7897. "required": [
  7898. "buyorsell",
  7899. "orderid",
  7900. "ordertime"
  7901. ],
  7902. "properties": {
  7903. "buyorsell": {
  7904. "description": "买卖 - 0:买 1:卖",
  7905. "type": "integer"
  7906. },
  7907. "currencysign": {
  7908. "description": "货币符号",
  7909. "type": "string"
  7910. },
  7911. "customername": {
  7912. "description": "客户名称(企业名称),已脱敏",
  7913. "type": "string"
  7914. },
  7915. "enableqty": {
  7916. "description": "可用数量",
  7917. "type": "integer"
  7918. },
  7919. "goodunit": {
  7920. "description": "报价单位",
  7921. "type": "string"
  7922. },
  7923. "orderid": {
  7924. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7925. "type": "string"
  7926. },
  7927. "orderprice": {
  7928. "description": "委托价格",
  7929. "type": "number"
  7930. },
  7931. "ordertime": {
  7932. "description": "委托时间",
  7933. "type": "string"
  7934. }
  7935. }
  7936. },
  7937. "models.HsbyListingGoodsDetail": {
  7938. "type": "object",
  7939. "required": [
  7940. "goodscode",
  7941. "goodsid",
  7942. "goodsname",
  7943. "marketid",
  7944. "trademode"
  7945. ],
  7946. "properties": {
  7947. "agreeunit": {
  7948. "description": "合约单位",
  7949. "type": "number"
  7950. },
  7951. "buymaxqty": {
  7952. "description": "购买上限 [71] - 0为不限",
  7953. "type": "integer"
  7954. },
  7955. "currency": {
  7956. "description": "货币",
  7957. "type": "string"
  7958. },
  7959. "currencysign": {
  7960. "description": "货币符号",
  7961. "type": "string"
  7962. },
  7963. "decimalplace": {
  7964. "description": "报价小数位",
  7965. "type": "integer"
  7966. },
  7967. "desccityid": {
  7968. "description": "目的地(市)ID",
  7969. "type": "integer"
  7970. },
  7971. "descprovinceid": {
  7972. "description": "目的地(省)ID",
  7973. "type": "integer"
  7974. },
  7975. "goodscode": {
  7976. "description": "商品代码(内部)",
  7977. "type": "string"
  7978. },
  7979. "goodsdesc": {
  7980. "description": "商品详情",
  7981. "type": "string"
  7982. },
  7983. "goodsid": {
  7984. "description": "商品ID(自增ID SEQ_GOODS)",
  7985. "type": "integer"
  7986. },
  7987. "goodsname": {
  7988. "description": "商品名称",
  7989. "type": "string"
  7990. },
  7991. "goodsprice": {
  7992. "description": "商品价格",
  7993. "type": "number"
  7994. },
  7995. "hotindex": {
  7996. "description": "景点热度",
  7997. "type": "integer"
  7998. },
  7999. "last": {
  8000. "description": "现价",
  8001. "type": "number"
  8002. },
  8003. "limitdown": {
  8004. "description": "跌停价",
  8005. "type": "number"
  8006. },
  8007. "limitup": {
  8008. "description": "涨停价",
  8009. "type": "number"
  8010. },
  8011. "lotsize": {
  8012. "description": "手数最小变动单位",
  8013. "type": "integer"
  8014. },
  8015. "marketid": {
  8016. "description": "所属市场ID",
  8017. "type": "integer"
  8018. },
  8019. "picurls": {
  8020. "description": "介绍图片[多张用逗号分隔]",
  8021. "type": "string"
  8022. },
  8023. "quoteminunit": {
  8024. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8025. "type": "integer"
  8026. },
  8027. "stepvalue": {
  8028. "description": "价格最小变动单位",
  8029. "type": "number"
  8030. },
  8031. "trademode": {
  8032. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8033. "type": "integer"
  8034. },
  8035. "vendorattr": {
  8036. "description": "供应商附件(多张,逗号分隔)",
  8037. "type": "string"
  8038. },
  8039. "vendorname": {
  8040. "description": "供应商名称",
  8041. "type": "string"
  8042. },
  8043. "vendorphone": {
  8044. "description": "供应商客服电话",
  8045. "type": "string"
  8046. },
  8047. "videourls": {
  8048. "description": "介绍视频[多张用逗号分隔]",
  8049. "type": "string"
  8050. }
  8051. }
  8052. },
  8053. "models.HsbyMarketGoods": {
  8054. "type": "object",
  8055. "required": [
  8056. "accountid",
  8057. "buyorsell",
  8058. "goodscode",
  8059. "goodsid",
  8060. "goodsname",
  8061. "marketid",
  8062. "orderid",
  8063. "trademode"
  8064. ],
  8065. "properties": {
  8066. "accountid": {
  8067. "description": "账户ID[报价币种]",
  8068. "type": "integer"
  8069. },
  8070. "agreeunit": {
  8071. "description": "合约单位",
  8072. "type": "number"
  8073. },
  8074. "buyorsell": {
  8075. "description": "买卖 - 0:买 1:卖",
  8076. "type": "integer"
  8077. },
  8078. "categoryid": {
  8079. "description": "类别ID(WRCATEGORY)",
  8080. "type": "integer"
  8081. },
  8082. "currency": {
  8083. "description": "货币",
  8084. "type": "string"
  8085. },
  8086. "currencysign": {
  8087. "description": "货币符号",
  8088. "type": "string"
  8089. },
  8090. "customername": {
  8091. "description": "卖家名称",
  8092. "type": "string"
  8093. },
  8094. "decimalplace": {
  8095. "description": "报价小数位",
  8096. "type": "integer"
  8097. },
  8098. "goodscode": {
  8099. "description": "商品代码(内部)",
  8100. "type": "string"
  8101. },
  8102. "goodsid": {
  8103. "description": "商品ID",
  8104. "type": "integer"
  8105. },
  8106. "goodsname": {
  8107. "description": "商品名称",
  8108. "type": "string"
  8109. },
  8110. "hascoupon": {
  8111. "description": "是否可用优惠卷",
  8112. "type": "boolean"
  8113. },
  8114. "hotindex": {
  8115. "description": "景点热度",
  8116. "type": "integer"
  8117. },
  8118. "marketid": {
  8119. "description": "市场ID",
  8120. "type": "integer"
  8121. },
  8122. "orderid": {
  8123. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8124. "type": "string"
  8125. },
  8126. "orderprice": {
  8127. "description": "委托价格",
  8128. "type": "number"
  8129. },
  8130. "orderstatus": {
  8131. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8132. "type": "integer"
  8133. },
  8134. "picurls": {
  8135. "description": "介绍图片[多张用逗号分隔]",
  8136. "type": "string"
  8137. },
  8138. "quoteminunit": {
  8139. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8140. "type": "integer"
  8141. },
  8142. "sellUserID": {
  8143. "description": "卖方UserID",
  8144. "type": "integer"
  8145. },
  8146. "trademode": {
  8147. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8148. "type": "integer"
  8149. },
  8150. "videourls": {
  8151. "description": "介绍视频[多张用逗号分隔]",
  8152. "type": "string"
  8153. }
  8154. }
  8155. },
  8156. "models.HsbyMarketGoodsDetail": {
  8157. "type": "object",
  8158. "required": [
  8159. "accountid",
  8160. "buyorsell",
  8161. "goodscode",
  8162. "goodsid",
  8163. "goodsname",
  8164. "marketid",
  8165. "orderid",
  8166. "orderqty",
  8167. "trademode"
  8168. ],
  8169. "properties": {
  8170. "accountid": {
  8171. "description": "账户ID[报价币种]",
  8172. "type": "integer"
  8173. },
  8174. "agreeunit": {
  8175. "description": "合约单位",
  8176. "type": "number"
  8177. },
  8178. "buymaxqty": {
  8179. "description": "购买上限 [71] - 0为不限",
  8180. "type": "integer"
  8181. },
  8182. "buyorsell": {
  8183. "description": "买卖 - 0:买 1:卖",
  8184. "type": "integer"
  8185. },
  8186. "cancelqty": {
  8187. "description": "撤单数量",
  8188. "type": "integer"
  8189. },
  8190. "categoryid": {
  8191. "description": "类别ID(WRCATEGORY)",
  8192. "type": "integer"
  8193. },
  8194. "currency": {
  8195. "description": "货币",
  8196. "type": "string"
  8197. },
  8198. "currencysign": {
  8199. "description": "货币符号",
  8200. "type": "string"
  8201. },
  8202. "customername": {
  8203. "description": "卖家名称",
  8204. "type": "string"
  8205. },
  8206. "decimalplace": {
  8207. "description": "报价小数位",
  8208. "type": "integer"
  8209. },
  8210. "goodscode": {
  8211. "description": "商品代码(内部)",
  8212. "type": "string"
  8213. },
  8214. "goodsdesc": {
  8215. "description": "商品详情",
  8216. "type": "string"
  8217. },
  8218. "goodsid": {
  8219. "description": "商品ID",
  8220. "type": "integer"
  8221. },
  8222. "goodsname": {
  8223. "description": "商品名称",
  8224. "type": "string"
  8225. },
  8226. "hotindex": {
  8227. "description": "景点热度",
  8228. "type": "integer"
  8229. },
  8230. "lotsize": {
  8231. "description": "手数最小变动单位",
  8232. "type": "integer"
  8233. },
  8234. "marketid": {
  8235. "description": "市场ID",
  8236. "type": "integer"
  8237. },
  8238. "orderid": {
  8239. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8240. "type": "string"
  8241. },
  8242. "orderprice": {
  8243. "description": "委托价格",
  8244. "type": "number"
  8245. },
  8246. "orderqty": {
  8247. "description": "委托数量",
  8248. "type": "integer"
  8249. },
  8250. "orderstatus": {
  8251. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8252. "type": "integer"
  8253. },
  8254. "picurls": {
  8255. "description": "介绍图片[多张用逗号分隔]",
  8256. "type": "string"
  8257. },
  8258. "quoteminunit": {
  8259. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8260. "type": "integer"
  8261. },
  8262. "sellUserID": {
  8263. "description": "卖方UserID",
  8264. "type": "integer"
  8265. },
  8266. "trademode": {
  8267. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8268. "type": "integer"
  8269. },
  8270. "tradeqty": {
  8271. "description": "成交数量",
  8272. "type": "integer"
  8273. },
  8274. "vendorname": {
  8275. "description": "供应商名称",
  8276. "type": "string"
  8277. },
  8278. "videourls": {
  8279. "description": "介绍视频[多张用逗号分隔]",
  8280. "type": "string"
  8281. }
  8282. }
  8283. },
  8284. "models.HsbyMarketInfo": {
  8285. "type": "object",
  8286. "required": [
  8287. "marketid",
  8288. "marketstatus",
  8289. "trademode"
  8290. ],
  8291. "properties": {
  8292. "marketid": {
  8293. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  8294. "type": "integer"
  8295. },
  8296. "marketname": {
  8297. "description": "市场名称",
  8298. "type": "string"
  8299. },
  8300. "marketstatus": {
  8301. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  8302. "type": "integer"
  8303. },
  8304. "trademode": {
  8305. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8306. "type": "integer"
  8307. }
  8308. }
  8309. },
  8310. "models.HsbyMyGoods": {
  8311. "type": "object",
  8312. "required": [
  8313. "accountid",
  8314. "goodscode",
  8315. "goodsid",
  8316. "goodsname",
  8317. "marketid",
  8318. "trademode"
  8319. ],
  8320. "properties": {
  8321. "accountid": {
  8322. "description": "账号Id",
  8323. "type": "integer"
  8324. },
  8325. "agreeunit": {
  8326. "description": "合约单位",
  8327. "type": "number"
  8328. },
  8329. "buyaverageprice": {
  8330. "description": "持仓均价",
  8331. "type": "number"
  8332. },
  8333. "buycurholderamount": {
  8334. "description": "买当前持仓总金额[商品币种]",
  8335. "type": "number"
  8336. },
  8337. "buycurpositionqty": {
  8338. "description": "买当前持仓总数量",
  8339. "type": "integer"
  8340. },
  8341. "currencysign": {
  8342. "description": "货币符号",
  8343. "type": "string"
  8344. },
  8345. "decimalplace": {
  8346. "description": "报价小数位",
  8347. "type": "integer"
  8348. },
  8349. "enableqty": {
  8350. "description": "可用数量",
  8351. "type": "integer"
  8352. },
  8353. "goodscode": {
  8354. "description": "商品代码(内部)",
  8355. "type": "string"
  8356. },
  8357. "goodsid": {
  8358. "description": "商品Id",
  8359. "type": "integer"
  8360. },
  8361. "goodsname": {
  8362. "description": "商品名称",
  8363. "type": "string"
  8364. },
  8365. "goodsprice": {
  8366. "description": "商品价格",
  8367. "type": "number"
  8368. },
  8369. "goodsstatus": {
  8370. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  8371. "type": "integer"
  8372. },
  8373. "marketid": {
  8374. "description": "所属市场ID",
  8375. "type": "integer"
  8376. },
  8377. "picurls": {
  8378. "description": "介绍图片[多张用逗号分隔]",
  8379. "type": "string"
  8380. },
  8381. "trademode": {
  8382. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8383. "type": "integer"
  8384. }
  8385. }
  8386. },
  8387. "models.HsbyMyPackage": {
  8388. "type": "object",
  8389. "required": [
  8390. "goodscode",
  8391. "goodsname",
  8392. "takeorderid"
  8393. ],
  8394. "properties": {
  8395. "accountid": {
  8396. "description": "账户ID",
  8397. "type": "integer"
  8398. },
  8399. "address": {
  8400. "description": "提货人详细地址",
  8401. "type": "string"
  8402. },
  8403. "agreeunit": {
  8404. "description": "合约单位",
  8405. "type": "number"
  8406. },
  8407. "amount": {
  8408. "description": "提货金额",
  8409. "type": "number"
  8410. },
  8411. "auditer": {
  8412. "description": "审核人",
  8413. "type": "integer"
  8414. },
  8415. "audittime": {
  8416. "description": "审核时间",
  8417. "type": "string"
  8418. },
  8419. "averageprice": {
  8420. "description": "均价",
  8421. "type": "number"
  8422. },
  8423. "cardnum": {
  8424. "description": "提货人证件号码",
  8425. "type": "string"
  8426. },
  8427. "cardtypeid": {
  8428. "description": "提货人证件类型",
  8429. "type": "integer"
  8430. },
  8431. "checkremark": {
  8432. "description": "审核备注",
  8433. "type": "string"
  8434. },
  8435. "currencysign": {
  8436. "description": "货币符号",
  8437. "type": "string"
  8438. },
  8439. "decimalplace": {
  8440. "description": "报价小数位",
  8441. "type": "integer"
  8442. },
  8443. "goodscode": {
  8444. "description": "商品代码(内部)",
  8445. "type": "string"
  8446. },
  8447. "goodsid": {
  8448. "description": "商品ID",
  8449. "type": "integer"
  8450. },
  8451. "goodsname": {
  8452. "description": "商品名称",
  8453. "type": "string"
  8454. },
  8455. "handlestatus": {
  8456. "description": "处理状态",
  8457. "type": "integer"
  8458. },
  8459. "marketid": {
  8460. "description": "市场ID",
  8461. "type": "integer"
  8462. },
  8463. "phonenum": {
  8464. "description": "提货人联系方式",
  8465. "type": "string"
  8466. },
  8467. "picurls": {
  8468. "description": "介绍图片[多张用逗号分隔]",
  8469. "type": "string"
  8470. },
  8471. "qty": {
  8472. "description": "提货数量",
  8473. "type": "number"
  8474. },
  8475. "recivername": {
  8476. "description": "提货人姓名",
  8477. "type": "string"
  8478. },
  8479. "reqtime": {
  8480. "description": "更新时间",
  8481. "type": "string"
  8482. },
  8483. "takemode": {
  8484. "description": "提货方式 - 2:自提 3:配送",
  8485. "type": "integer"
  8486. },
  8487. "takeorderid": {
  8488. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  8489. "type": "string"
  8490. },
  8491. "takeorderstatus": {
  8492. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8493. "type": "integer"
  8494. },
  8495. "takeremark": {
  8496. "description": "提货备注",
  8497. "type": "string"
  8498. },
  8499. "tradedate": {
  8500. "description": "交易日(yyyyMMdd)",
  8501. "type": "string"
  8502. },
  8503. "userid": {
  8504. "description": "用户ID",
  8505. "type": "integer"
  8506. },
  8507. "vendorname": {
  8508. "description": "供应商名称",
  8509. "type": "string"
  8510. }
  8511. }
  8512. },
  8513. "models.HsbyPreGoods": {
  8514. "type": "object",
  8515. "required": [
  8516. "goodscode",
  8517. "goodsid",
  8518. "goodsname",
  8519. "marketid",
  8520. "trademode"
  8521. ],
  8522. "properties": {
  8523. "agreeunit": {
  8524. "description": "合约单位",
  8525. "type": "number"
  8526. },
  8527. "currency": {
  8528. "description": "货币",
  8529. "type": "string"
  8530. },
  8531. "currencysign": {
  8532. "description": "货币符号",
  8533. "type": "string"
  8534. },
  8535. "decimalplace": {
  8536. "description": "报价小数位",
  8537. "type": "integer"
  8538. },
  8539. "enableqty": {
  8540. "description": "剩余数量",
  8541. "type": "integer"
  8542. },
  8543. "goodscode": {
  8544. "description": "商品代码(内部)",
  8545. "type": "string"
  8546. },
  8547. "goodsid": {
  8548. "description": "商品ID(自增ID SEQ_GOODS)",
  8549. "type": "integer"
  8550. },
  8551. "goodsname": {
  8552. "description": "商品名称",
  8553. "type": "string"
  8554. },
  8555. "goodsstatus": {
  8556. "description": "商品状态- 2:未上市 3:上市",
  8557. "type": "integer"
  8558. },
  8559. "lasttradedate": {
  8560. "description": "最后交易日期(状态:待退市)",
  8561. "type": "string"
  8562. },
  8563. "listingdate": {
  8564. "description": "交易开始日期",
  8565. "type": "string"
  8566. },
  8567. "marketid": {
  8568. "description": "所属市场ID",
  8569. "type": "integer"
  8570. },
  8571. "picurls": {
  8572. "description": "介绍图片[多张用逗号分隔]",
  8573. "type": "string"
  8574. },
  8575. "presaledqty": {
  8576. "description": "已预售量(预售结束时更新)",
  8577. "type": "integer"
  8578. },
  8579. "presaleqty": {
  8580. "description": "预售数量",
  8581. "type": "integer"
  8582. },
  8583. "quoteminunit": {
  8584. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8585. "type": "integer"
  8586. },
  8587. "refprice": {
  8588. "description": "参考价格[一口价]",
  8589. "type": "number"
  8590. },
  8591. "relatedgoodsid": {
  8592. "description": "关联交易合约ID",
  8593. "type": "integer"
  8594. },
  8595. "trademode": {
  8596. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8597. "type": "integer"
  8598. },
  8599. "videourls": {
  8600. "description": "介绍视频[多张用逗号分隔]",
  8601. "type": "string"
  8602. }
  8603. }
  8604. },
  8605. "models.HsbyPreGoodsDetail": {
  8606. "type": "object",
  8607. "required": [
  8608. "goodscode",
  8609. "goodsid",
  8610. "goodsname",
  8611. "marketid",
  8612. "trademode"
  8613. ],
  8614. "properties": {
  8615. "agreeunit": {
  8616. "description": "合约单位",
  8617. "type": "number"
  8618. },
  8619. "buymaxqty": {
  8620. "description": "购买上限 [71] - 0为不限",
  8621. "type": "integer"
  8622. },
  8623. "currency": {
  8624. "description": "货币",
  8625. "type": "string"
  8626. },
  8627. "currencysign": {
  8628. "description": "货币符号",
  8629. "type": "string"
  8630. },
  8631. "customername": {
  8632. "description": "发行单位",
  8633. "type": "string"
  8634. },
  8635. "decimalplace": {
  8636. "description": "报价小数位",
  8637. "type": "integer"
  8638. },
  8639. "desccityid": {
  8640. "description": "目的地(市)ID",
  8641. "type": "integer"
  8642. },
  8643. "descprovinceid": {
  8644. "description": "目的地(省)ID",
  8645. "type": "integer"
  8646. },
  8647. "enableqty": {
  8648. "description": "剩余数量",
  8649. "type": "integer"
  8650. },
  8651. "goodscode": {
  8652. "description": "商品代码(内部)",
  8653. "type": "string"
  8654. },
  8655. "goodsdesc": {
  8656. "description": "商品详情",
  8657. "type": "string"
  8658. },
  8659. "goodsid": {
  8660. "description": "商品ID(自增ID SEQ_GOODS)",
  8661. "type": "integer"
  8662. },
  8663. "goodsname": {
  8664. "description": "商品名称",
  8665. "type": "string"
  8666. },
  8667. "goodsstatus": {
  8668. "description": "商品状态- 2:未上市 3:上市",
  8669. "type": "integer"
  8670. },
  8671. "goodunit": {
  8672. "description": "报价单位",
  8673. "type": "string"
  8674. },
  8675. "lasttradedate": {
  8676. "description": "最后交易日期(状态:待退市)",
  8677. "type": "string"
  8678. },
  8679. "listingdate": {
  8680. "description": "交易开始日期",
  8681. "type": "string"
  8682. },
  8683. "lotsize": {
  8684. "description": "手数最小变动单位",
  8685. "type": "integer"
  8686. },
  8687. "marketid": {
  8688. "description": "所属市场ID",
  8689. "type": "integer"
  8690. },
  8691. "picurls": {
  8692. "description": "介绍图片[多张用逗号分隔]",
  8693. "type": "string"
  8694. },
  8695. "presaledqty": {
  8696. "description": "已预售量(预售结束时更新)",
  8697. "type": "integer"
  8698. },
  8699. "presaleqty": {
  8700. "description": "预售数量",
  8701. "type": "integer"
  8702. },
  8703. "quoteminunit": {
  8704. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8705. "type": "integer"
  8706. },
  8707. "refprice": {
  8708. "description": "参考价格[一口价]",
  8709. "type": "number"
  8710. },
  8711. "relatedgoodsid": {
  8712. "description": "关联交易合约ID",
  8713. "type": "integer"
  8714. },
  8715. "stepvalue": {
  8716. "description": "价格最小变动单位",
  8717. "type": "number"
  8718. },
  8719. "trademode": {
  8720. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8721. "type": "integer"
  8722. },
  8723. "vendorattr": {
  8724. "description": "供应商附件(多张,逗号分隔)",
  8725. "type": "string"
  8726. },
  8727. "vendorname": {
  8728. "description": "供应商名称",
  8729. "type": "string"
  8730. },
  8731. "vendorphone": {
  8732. "description": "供应商客服电话",
  8733. "type": "string"
  8734. },
  8735. "videourls": {
  8736. "description": "介绍视频[多张用逗号分隔]",
  8737. "type": "string"
  8738. }
  8739. }
  8740. },
  8741. "models.HsbySellCollectionOrder": {
  8742. "type": "object",
  8743. "required": [
  8744. "goodscode",
  8745. "goodsname",
  8746. "tradeid",
  8747. "trademode"
  8748. ],
  8749. "properties": {
  8750. "agreeunit": {
  8751. "description": "合约单位",
  8752. "type": "number"
  8753. },
  8754. "buyaccountid": {
  8755. "description": "买方账号ID[报价币种]",
  8756. "type": "integer"
  8757. },
  8758. "buyorderid": {
  8759. "description": "买方委托单号",
  8760. "type": "string"
  8761. },
  8762. "createtime": {
  8763. "description": "创建时间",
  8764. "type": "string"
  8765. },
  8766. "currencysign": {
  8767. "description": "货币符号",
  8768. "type": "string"
  8769. },
  8770. "decimalplace": {
  8771. "description": "报价小数位",
  8772. "type": "integer"
  8773. },
  8774. "goodscode": {
  8775. "description": "商品代码(内部)",
  8776. "type": "string"
  8777. },
  8778. "goodsid": {
  8779. "description": "商品ID",
  8780. "type": "integer"
  8781. },
  8782. "goodsname": {
  8783. "description": "商品名称",
  8784. "type": "string"
  8785. },
  8786. "marketid": {
  8787. "description": "市场ID",
  8788. "type": "integer"
  8789. },
  8790. "offamount": {
  8791. "description": "优惠金额",
  8792. "type": "number"
  8793. },
  8794. "payamount": {
  8795. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8796. "type": "number"
  8797. },
  8798. "payflag": {
  8799. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8800. "type": "integer"
  8801. },
  8802. "paylimitedtime": {
  8803. "description": "支付期限",
  8804. "type": "string"
  8805. },
  8806. "paytime": {
  8807. "description": "付款时间",
  8808. "type": "string"
  8809. },
  8810. "picurls": {
  8811. "description": "商品介绍图片[多张用逗号分隔]",
  8812. "type": "string"
  8813. },
  8814. "sellaccountid": {
  8815. "description": "卖方账号ID[报价币种]",
  8816. "type": "integer"
  8817. },
  8818. "sellorderid": {
  8819. "description": "卖方委托单号",
  8820. "type": "string"
  8821. },
  8822. "tradeamount": {
  8823. "description": "成交金额",
  8824. "type": "number"
  8825. },
  8826. "tradecharge": {
  8827. "description": "成交手续费(买方)",
  8828. "type": "number"
  8829. },
  8830. "tradedate": {
  8831. "description": "交易日(yyyyMMdd)",
  8832. "type": "string"
  8833. },
  8834. "tradeid": {
  8835. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8836. "type": "string"
  8837. },
  8838. "trademode": {
  8839. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8840. "type": "integer"
  8841. },
  8842. "tradeprice": {
  8843. "description": "成交价格",
  8844. "type": "number"
  8845. },
  8846. "tradeqty": {
  8847. "description": "成交数量",
  8848. "type": "integer"
  8849. }
  8850. }
  8851. },
  8852. "models.HsbySellMyDetail": {
  8853. "type": "object",
  8854. "required": [
  8855. "accountid",
  8856. "buyorsell",
  8857. "goodscode",
  8858. "goodsid",
  8859. "goodsname",
  8860. "marketid",
  8861. "orderid",
  8862. "time",
  8863. "trademode"
  8864. ],
  8865. "properties": {
  8866. "accountid": {
  8867. "description": "账户ID[报价币种]",
  8868. "type": "integer"
  8869. },
  8870. "agreeunit": {
  8871. "description": "合约单位",
  8872. "type": "number"
  8873. },
  8874. "buyorsell": {
  8875. "description": "买卖 - 0:买 1:卖",
  8876. "type": "integer"
  8877. },
  8878. "currencysign": {
  8879. "description": "货币符号",
  8880. "type": "string"
  8881. },
  8882. "decimalplace": {
  8883. "description": "报价小数位",
  8884. "type": "integer"
  8885. },
  8886. "goodscode": {
  8887. "description": "商品代码(内部)",
  8888. "type": "string"
  8889. },
  8890. "goodsid": {
  8891. "description": "商品ID",
  8892. "type": "integer"
  8893. },
  8894. "goodsname": {
  8895. "description": "商品名称",
  8896. "type": "string"
  8897. },
  8898. "marketid": {
  8899. "description": "市场ID",
  8900. "type": "integer"
  8901. },
  8902. "orderid": {
  8903. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  8904. "type": "string"
  8905. },
  8906. "ordertype": {
  8907. "description": "单据类型:0 - 发布中, 1 - 已完成",
  8908. "type": "integer"
  8909. },
  8910. "picurls": {
  8911. "description": "介绍图片[多张用逗号分隔]",
  8912. "type": "string"
  8913. },
  8914. "price": {
  8915. "description": "价格",
  8916. "type": "number"
  8917. },
  8918. "qty": {
  8919. "description": "数量",
  8920. "type": "integer"
  8921. },
  8922. "time": {
  8923. "description": "时间",
  8924. "type": "string"
  8925. },
  8926. "trademode": {
  8927. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8928. "type": "integer"
  8929. },
  8930. "vendorname": {
  8931. "description": "供应商名称",
  8932. "type": "string"
  8933. }
  8934. }
  8935. },
  8936. "models.HsbyTopGoods": {
  8937. "type": "object",
  8938. "required": [
  8939. "goodscode",
  8940. "goodsid",
  8941. "goodsname",
  8942. "marketid",
  8943. "trademode"
  8944. ],
  8945. "properties": {
  8946. "agreeunit": {
  8947. "description": "合约单位",
  8948. "type": "number"
  8949. },
  8950. "currency": {
  8951. "description": "货币",
  8952. "type": "string"
  8953. },
  8954. "currencysign": {
  8955. "description": "货币符号",
  8956. "type": "string"
  8957. },
  8958. "decimalplace": {
  8959. "description": "报价小数位",
  8960. "type": "integer"
  8961. },
  8962. "goodscode": {
  8963. "description": "商品代码(内部)",
  8964. "type": "string"
  8965. },
  8966. "goodsid": {
  8967. "description": "商品ID(自增ID SEQ_GOODS)",
  8968. "type": "integer"
  8969. },
  8970. "goodsname": {
  8971. "description": "商品名称",
  8972. "type": "string"
  8973. },
  8974. "hotindex": {
  8975. "description": "景点热度",
  8976. "type": "integer"
  8977. },
  8978. "last": {
  8979. "description": "现价",
  8980. "type": "number"
  8981. },
  8982. "marketid": {
  8983. "description": "所属市场ID",
  8984. "type": "integer"
  8985. },
  8986. "picurls": {
  8987. "description": "介绍图片[多张用逗号分隔]",
  8988. "type": "string"
  8989. },
  8990. "quoteminunit": {
  8991. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8992. "type": "integer"
  8993. },
  8994. "trademode": {
  8995. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8996. "type": "integer"
  8997. },
  8998. "videourls": {
  8999. "description": "介绍视频[多张用逗号分隔]",
  9000. "type": "string"
  9001. }
  9002. }
  9003. },
  9004. "models.HybsMyBuyOrderDetail": {
  9005. "type": "object",
  9006. "required": [
  9007. "accountid",
  9008. "buyorsell",
  9009. "goodscode",
  9010. "goodsid",
  9011. "goodsname",
  9012. "marketid",
  9013. "orderid",
  9014. "orderqty",
  9015. "ordertime",
  9016. "trademode"
  9017. ],
  9018. "properties": {
  9019. "accountid": {
  9020. "description": "账户ID[报价币种]",
  9021. "type": "integer"
  9022. },
  9023. "agreeunit": {
  9024. "description": "合约单位",
  9025. "type": "number"
  9026. },
  9027. "buyorsell": {
  9028. "description": "买卖 - 0:买 1:卖",
  9029. "type": "integer"
  9030. },
  9031. "cancelqty": {
  9032. "description": "撤单数量",
  9033. "type": "integer"
  9034. },
  9035. "currencysign": {
  9036. "description": "货币符号",
  9037. "type": "string"
  9038. },
  9039. "decimalplace": {
  9040. "description": "报价小数位",
  9041. "type": "integer"
  9042. },
  9043. "goodscode": {
  9044. "description": "商品代码(内部)",
  9045. "type": "string"
  9046. },
  9047. "goodsid": {
  9048. "description": "商品ID",
  9049. "type": "integer"
  9050. },
  9051. "goodsname": {
  9052. "description": "商品名称",
  9053. "type": "string"
  9054. },
  9055. "listingselecttype": {
  9056. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9057. "type": "integer"
  9058. },
  9059. "marketid": {
  9060. "description": "市场ID",
  9061. "type": "integer"
  9062. },
  9063. "mybuystatus": {
  9064. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  9065. "type": "integer"
  9066. },
  9067. "orderamount": {
  9068. "description": "委托金额",
  9069. "type": "number"
  9070. },
  9071. "orderid": {
  9072. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9073. "type": "string"
  9074. },
  9075. "orderprice": {
  9076. "description": "委托价格",
  9077. "type": "number"
  9078. },
  9079. "orderqty": {
  9080. "description": "委托数量",
  9081. "type": "integer"
  9082. },
  9083. "orderstatus": {
  9084. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9085. "type": "integer"
  9086. },
  9087. "ordertime": {
  9088. "description": "委托时间",
  9089. "type": "string"
  9090. },
  9091. "picurls1": {
  9092. "description": "预售商品介绍图片[多张用逗号分隔]",
  9093. "type": "string"
  9094. },
  9095. "picurls2": {
  9096. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9097. "type": "string"
  9098. },
  9099. "trademode": {
  9100. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9101. "type": "integer"
  9102. },
  9103. "tradeqty": {
  9104. "description": "成交数量",
  9105. "type": "integer"
  9106. },
  9107. "vendorname1": {
  9108. "description": "预售商品供应商名称",
  9109. "type": "string"
  9110. },
  9111. "vendorname2": {
  9112. "description": "挂牌商品供应商名称",
  9113. "type": "string"
  9114. }
  9115. }
  9116. },
  9117. "models.Marketrun": {
  9118. "type": "object",
  9119. "required": [
  9120. "marketid",
  9121. "nexttradedate",
  9122. "reckonflag",
  9123. "runstatus",
  9124. "tradedate",
  9125. "tradedate2"
  9126. ],
  9127. "properties": {
  9128. "afternexttradedate": {
  9129. "description": "下下交易日",
  9130. "type": "string"
  9131. },
  9132. "clearquoteflag": {
  9133. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  9134. "type": "integer"
  9135. },
  9136. "lastreckondate": {
  9137. "description": "最新交易日(结算成功)",
  9138. "type": "string"
  9139. },
  9140. "machinedate": {
  9141. "description": "机器时间",
  9142. "type": "string"
  9143. },
  9144. "manualflag": {
  9145. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  9146. "type": "integer"
  9147. },
  9148. "marketid": {
  9149. "description": "市场ID",
  9150. "type": "integer"
  9151. },
  9152. "nexttradedate": {
  9153. "description": "下一交易日",
  9154. "type": "string"
  9155. },
  9156. "pretradedate": {
  9157. "description": "上一交易日",
  9158. "type": "string"
  9159. },
  9160. "reckonflag": {
  9161. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  9162. "type": "integer"
  9163. },
  9164. "runstatus": {
  9165. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  9166. "type": "integer"
  9167. },
  9168. "sectionid": {
  9169. "description": "时间段号[多时段时用]",
  9170. "type": "integer"
  9171. },
  9172. "tradedate": {
  9173. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  9174. "type": "string"
  9175. },
  9176. "tradedate2": {
  9177. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  9178. "type": "string"
  9179. },
  9180. "updatetime": {
  9181. "description": "更新时间",
  9182. "type": "string"
  9183. }
  9184. }
  9185. },
  9186. "models.Messageboard": {
  9187. "type": "object",
  9188. "required": [
  9189. "messageboardid"
  9190. ],
  9191. "properties": {
  9192. "createtime": {
  9193. "description": "创建时间",
  9194. "type": "string"
  9195. },
  9196. "message": {
  9197. "description": "留言信息",
  9198. "type": "string"
  9199. },
  9200. "messageboardid": {
  9201. "description": "留言簿ID(SEQ_MessageBoard)",
  9202. "type": "integer"
  9203. },
  9204. "userid": {
  9205. "description": "用户ID",
  9206. "type": "integer"
  9207. }
  9208. }
  9209. },
  9210. "models.MyCoupon": {
  9211. "type": "object",
  9212. "required": [
  9213. "accountid",
  9214. "coupontypeid"
  9215. ],
  9216. "properties": {
  9217. "accountid": {
  9218. "description": "资金账户ID",
  9219. "type": "integer"
  9220. },
  9221. "areauserid": {
  9222. "description": "所属机构",
  9223. "type": "integer"
  9224. },
  9225. "conditionvalue": {
  9226. "description": "条件阈值(可为0)",
  9227. "type": "number"
  9228. },
  9229. "couponcategroy": {
  9230. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  9231. "type": "integer"
  9232. },
  9233. "couponname": {
  9234. "description": "优惠券名称",
  9235. "type": "string"
  9236. },
  9237. "coupontypeid": {
  9238. "description": "优惠券类型ID",
  9239. "type": "string"
  9240. },
  9241. "couponvalue": {
  9242. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9243. "type": "number"
  9244. },
  9245. "curfreezeqty": {
  9246. "description": "期末冻结数量",
  9247. "type": "integer"
  9248. },
  9249. "curqty": {
  9250. "description": "期末数量",
  9251. "type": "integer"
  9252. },
  9253. "isgeneral": {
  9254. "description": "是否通用券 - 0:否 1:是",
  9255. "type": "integer"
  9256. },
  9257. "isunusable": {
  9258. "description": "是否不可用",
  9259. "type": "boolean"
  9260. },
  9261. "limitedflag": {
  9262. "description": "是否指定商品 - 0:不限 1:限制",
  9263. "type": "integer"
  9264. },
  9265. "limitedgoodsids": {
  9266. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  9267. "type": "string"
  9268. },
  9269. "orifreezeqty": {
  9270. "description": "期初冻结数量",
  9271. "type": "integer"
  9272. },
  9273. "oriqty": {
  9274. "description": "期初数量",
  9275. "type": "integer"
  9276. },
  9277. "reasontype": {
  9278. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  9279. "type": "integer"
  9280. },
  9281. "todaydecrease": {
  9282. "description": "今日减少",
  9283. "type": "integer"
  9284. },
  9285. "todayincrease": {
  9286. "description": "今日增加",
  9287. "type": "integer"
  9288. },
  9289. "userid": {
  9290. "description": "用户ID",
  9291. "type": "integer"
  9292. },
  9293. "userscope": {
  9294. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  9295. "type": "string"
  9296. }
  9297. }
  9298. },
  9299. "models.MyCouponHold": {
  9300. "type": "object",
  9301. "required": [
  9302. "couponholdid"
  9303. ],
  9304. "properties": {
  9305. "accountid": {
  9306. "description": "资金账户ID",
  9307. "type": "integer"
  9308. },
  9309. "conditionvalue": {
  9310. "description": "条件阈值(可为0)",
  9311. "type": "number"
  9312. },
  9313. "couponcategroy": {
  9314. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  9315. "type": "integer"
  9316. },
  9317. "couponholdid": {
  9318. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  9319. "type": "string"
  9320. },
  9321. "couponname": {
  9322. "description": "优惠券名称",
  9323. "type": "string"
  9324. },
  9325. "coupontypeid": {
  9326. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  9327. "type": "string"
  9328. },
  9329. "couponvalue": {
  9330. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9331. "type": "number"
  9332. },
  9333. "createtime": {
  9334. "description": "创建时间",
  9335. "type": "string"
  9336. },
  9337. "enddate": {
  9338. "description": "结束日期",
  9339. "type": "string"
  9340. },
  9341. "giveapplyid": {
  9342. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  9343. "type": "integer"
  9344. },
  9345. "holdstatus": {
  9346. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  9347. "type": "integer"
  9348. },
  9349. "isgeneral": {
  9350. "description": "是否通用券 - 0:否 1:是",
  9351. "type": "integer"
  9352. },
  9353. "limitedflag": {
  9354. "description": "是否指定商品 - 0:不限 1:限制",
  9355. "type": "integer"
  9356. },
  9357. "limitedgoodsids": {
  9358. "description": "指定商品IDs[逗号分隔]",
  9359. "type": "string"
  9360. },
  9361. "qty": {
  9362. "description": "数量(按1平铺)",
  9363. "type": "integer"
  9364. },
  9365. "startdate": {
  9366. "description": "开始日期",
  9367. "type": "string"
  9368. },
  9369. "userid": {
  9370. "description": "用户ID",
  9371. "type": "integer"
  9372. },
  9373. "userscope": {
  9374. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  9375. "type": "string"
  9376. }
  9377. }
  9378. },
  9379. "models.MyUsedCoupon": {
  9380. "type": "object",
  9381. "required": [
  9382. "coupontypeid",
  9383. "orderid"
  9384. ],
  9385. "properties": {
  9386. "accountid": {
  9387. "description": "资金账户ID(买方)",
  9388. "type": "integer"
  9389. },
  9390. "conditionvalue": {
  9391. "description": "条件阈值(可为0)",
  9392. "type": "number"
  9393. },
  9394. "couponcategroy": {
  9395. "description": "种类 - 1:现金券 2:折扣券",
  9396. "type": "integer"
  9397. },
  9398. "couponname": {
  9399. "description": "优惠券名称",
  9400. "type": "string"
  9401. },
  9402. "coupontypeid": {
  9403. "description": "优惠券类型ID(买方)",
  9404. "type": "string"
  9405. },
  9406. "couponvalue": {
  9407. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  9408. "type": "number"
  9409. },
  9410. "createtime": {
  9411. "description": "创建时间",
  9412. "type": "string"
  9413. },
  9414. "goodsid": {
  9415. "description": "商品ID",
  9416. "type": "integer"
  9417. },
  9418. "handlestatus": {
  9419. "description": "处理状态",
  9420. "type": "integer"
  9421. },
  9422. "marketid": {
  9423. "description": "市场ID",
  9424. "type": "integer"
  9425. },
  9426. "offamount": {
  9427. "description": "优惠金额",
  9428. "type": "number"
  9429. },
  9430. "orderid": {
  9431. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9432. "type": "string"
  9433. },
  9434. "sellaccountid": {
  9435. "description": "资金账户ID(卖方)",
  9436. "type": "integer"
  9437. },
  9438. "tradeamount": {
  9439. "description": "成交金额",
  9440. "type": "number"
  9441. },
  9442. "tradeid": {
  9443. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9444. "type": "string"
  9445. },
  9446. "usedqty": {
  9447. "description": "使用数量",
  9448. "type": "integer"
  9449. }
  9450. }
  9451. },
  9452. "models.OperationPrimaryMenu": {
  9453. "type": "object",
  9454. "properties": {
  9455. "Children": {
  9456. "description": "二级功能菜单",
  9457. "type": "array",
  9458. "items": {
  9459. "$ref": "#/definitions/models.OperationSecondaryMenu"
  9460. }
  9461. },
  9462. "Key": {
  9463. "description": "菜单KEY",
  9464. "type": "string"
  9465. },
  9466. "Label": {
  9467. "description": "菜单标题",
  9468. "type": "string"
  9469. }
  9470. }
  9471. },
  9472. "models.OperationSecondaryMenu": {
  9473. "type": "object",
  9474. "properties": {
  9475. "Key": {
  9476. "description": "菜单KEY",
  9477. "type": "string"
  9478. },
  9479. "Label": {
  9480. "description": "菜单标题",
  9481. "type": "string"
  9482. },
  9483. "TabList": {
  9484. "description": "三级功能菜单",
  9485. "type": "array",
  9486. "items": {
  9487. "$ref": "#/definitions/models.OperationTabMenu"
  9488. }
  9489. }
  9490. }
  9491. },
  9492. "models.OperationTabMenu": {
  9493. "type": "object",
  9494. "properties": {
  9495. "Key": {
  9496. "description": "菜单KEY",
  9497. "type": "string"
  9498. },
  9499. "Label": {
  9500. "description": "菜单标题",
  9501. "type": "string"
  9502. }
  9503. }
  9504. },
  9505. "models.QuotePrimaryMenu": {
  9506. "type": "object",
  9507. "properties": {
  9508. "Index": {
  9509. "description": "序号",
  9510. "type": "integer"
  9511. },
  9512. "Key": {
  9513. "description": "键名",
  9514. "type": "string"
  9515. },
  9516. "Name": {
  9517. "description": "菜单名称",
  9518. "type": "string"
  9519. },
  9520. "SubMenus": {
  9521. "description": "子菜单",
  9522. "type": "array",
  9523. "items": {
  9524. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  9525. }
  9526. },
  9527. "SubTitleType": {
  9528. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  9529. "type": "integer"
  9530. },
  9531. "TradeModes": {
  9532. "description": "包含市场交易类型",
  9533. "type": "string"
  9534. }
  9535. }
  9536. },
  9537. "models.QuoteSecondaryMenu": {
  9538. "type": "object",
  9539. "properties": {
  9540. "ExExchangeCode": {
  9541. "description": "外部交易所代码",
  9542. "type": "string"
  9543. },
  9544. "ExExchangeID": {
  9545. "description": "外部交易所ID",
  9546. "type": "integer"
  9547. },
  9548. "GoodsGroupIDs": {
  9549. "description": "商品组ID列表",
  9550. "type": "array",
  9551. "items": {
  9552. "type": "integer"
  9553. }
  9554. },
  9555. "Index": {
  9556. "description": "序号",
  9557. "type": "integer"
  9558. },
  9559. "MarketID": {
  9560. "description": "市场ID",
  9561. "type": "integer"
  9562. },
  9563. "MenuTitle": {
  9564. "description": "菜单标题(市场名称或外部交易所名称)",
  9565. "type": "string"
  9566. },
  9567. "TradeMode": {
  9568. "description": "交易模式",
  9569. "type": "integer"
  9570. }
  9571. }
  9572. },
  9573. "models.SearchGoods": {
  9574. "type": "object",
  9575. "required": [
  9576. "goodscode",
  9577. "goodsid",
  9578. "goodsname",
  9579. "marketid",
  9580. "trademode"
  9581. ],
  9582. "properties": {
  9583. "goodscode": {
  9584. "description": "商品代码(内部)",
  9585. "type": "string"
  9586. },
  9587. "goodsid": {
  9588. "description": "商品ID(自增ID SEQ_GOODS)",
  9589. "type": "integer"
  9590. },
  9591. "goodsname": {
  9592. "description": "商品名称",
  9593. "type": "string"
  9594. },
  9595. "marketid": {
  9596. "description": "所属市场ID",
  9597. "type": "integer"
  9598. },
  9599. "marketname": {
  9600. "description": "市场名称",
  9601. "type": "string"
  9602. },
  9603. "trademode": {
  9604. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9605. "type": "integer"
  9606. }
  9607. }
  9608. },
  9609. "models.Szdz2imageconfig": {
  9610. "type": "object",
  9611. "required": [
  9612. "configid"
  9613. ],
  9614. "properties": {
  9615. "configid": {
  9616. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9617. "type": "integer"
  9618. },
  9619. "imagepath": {
  9620. "description": "图片",
  9621. "type": "string"
  9622. },
  9623. "imagetype": {
  9624. "description": "类型 - 1:App首页轮播 2:我的",
  9625. "type": "integer"
  9626. },
  9627. "sort": {
  9628. "description": "排序",
  9629. "type": "integer"
  9630. },
  9631. "title": {
  9632. "description": "标题",
  9633. "type": "string"
  9634. },
  9635. "url": {
  9636. "description": "链接",
  9637. "type": "string"
  9638. }
  9639. }
  9640. },
  9641. "models.Szdz3convertconfig": {
  9642. "type": "object",
  9643. "required": [
  9644. "converttype",
  9645. "innergoodsid",
  9646. "outergoodscode"
  9647. ],
  9648. "properties": {
  9649. "canin": {
  9650. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  9651. "type": "integer"
  9652. },
  9653. "canout": {
  9654. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  9655. "type": "integer"
  9656. },
  9657. "converttype": {
  9658. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9659. "type": "integer"
  9660. },
  9661. "createtime": {
  9662. "description": "创建时间",
  9663. "type": "string"
  9664. },
  9665. "creatorid": {
  9666. "description": "创建人",
  9667. "type": "integer"
  9668. },
  9669. "daymaxvalue": {
  9670. "description": "当日最大转入限制",
  9671. "type": "number"
  9672. },
  9673. "freezedays": {
  9674. "description": "冻结天数 [5:花生米转交易]",
  9675. "type": "integer"
  9676. },
  9677. "innergoodsid": {
  9678. "description": "内部商品ID[交易]",
  9679. "type": "integer"
  9680. },
  9681. "inratio": {
  9682. "description": "目标值",
  9683. "type": "integer"
  9684. },
  9685. "modifierid": {
  9686. "description": "修改人",
  9687. "type": "integer"
  9688. },
  9689. "modifytime": {
  9690. "description": "修改时间",
  9691. "type": "string"
  9692. },
  9693. "outergoodscode": {
  9694. "description": "外部商品代码[JD\\PD]",
  9695. "type": "string"
  9696. },
  9697. "outratio": {
  9698. "description": "源值",
  9699. "type": "integer"
  9700. },
  9701. "pddecimalplace": {
  9702. "description": "PD小数位",
  9703. "type": "integer"
  9704. },
  9705. "timemaxvalue": {
  9706. "description": "单次最大转入限制",
  9707. "type": "number"
  9708. },
  9709. "timeminvalue": {
  9710. "description": "单次最小转入限制",
  9711. "type": "number"
  9712. }
  9713. }
  9714. },
  9715. "models.Szdz3searchwhitelist": {
  9716. "type": "object",
  9717. "required": [
  9718. "userid"
  9719. ],
  9720. "properties": {
  9721. "createtime": {
  9722. "description": "创建时间",
  9723. "type": "string"
  9724. },
  9725. "creatorid": {
  9726. "description": "创建人",
  9727. "type": "integer"
  9728. },
  9729. "modifierid": {
  9730. "description": "修改人",
  9731. "type": "integer"
  9732. },
  9733. "modifytime": {
  9734. "description": "修改时间",
  9735. "type": "string"
  9736. },
  9737. "userid": {
  9738. "description": "用户ID",
  9739. "type": "integer"
  9740. }
  9741. }
  9742. },
  9743. "models.Tablecolumnconfig": {
  9744. "type": "object",
  9745. "required": [
  9746. "autoid"
  9747. ],
  9748. "properties": {
  9749. "aligntype": {
  9750. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  9751. "type": "integer"
  9752. },
  9753. "autoid": {
  9754. "description": "AutoID",
  9755. "type": "integer"
  9756. },
  9757. "columnfield": {
  9758. "description": "列字段",
  9759. "type": "string"
  9760. },
  9761. "columntitle": {
  9762. "description": "列Title",
  9763. "type": "string"
  9764. },
  9765. "columnwidth": {
  9766. "description": "列宽",
  9767. "type": "string"
  9768. },
  9769. "formatterstring": {
  9770. "description": "格式化字符",
  9771. "type": "string"
  9772. },
  9773. "formattertype": {
  9774. "description": "格式化类型",
  9775. "type": "string"
  9776. },
  9777. "groupname": {
  9778. "description": "表头分组名称",
  9779. "type": "string"
  9780. },
  9781. "isshow": {
  9782. "description": "是否显示 - 0:不显示 1:显示",
  9783. "type": "integer"
  9784. },
  9785. "needsummary": {
  9786. "description": "是否需要汇总 - 0:不需要 1:需要",
  9787. "type": "integer"
  9788. },
  9789. "orderindex": {
  9790. "description": "顺序",
  9791. "type": "integer"
  9792. },
  9793. "remark": {
  9794. "description": "备注",
  9795. "type": "string"
  9796. },
  9797. "summarytype": {
  9798. "description": "汇总类型 - 1:加总 2:最后一个",
  9799. "type": "integer"
  9800. },
  9801. "tablekey": {
  9802. "description": "列表Key",
  9803. "type": "string"
  9804. }
  9805. }
  9806. },
  9807. "models.Useraccount": {
  9808. "type": "object",
  9809. "required": [
  9810. "userid"
  9811. ],
  9812. "properties": {
  9813. "accountname": {
  9814. "description": "账户名称(机构名称)",
  9815. "type": "string"
  9816. },
  9817. "accountstatus": {
  9818. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9819. "type": "integer"
  9820. },
  9821. "auditremark": {
  9822. "description": "审核备注",
  9823. "type": "string"
  9824. },
  9825. "audittime": {
  9826. "description": "审核时间",
  9827. "type": "string"
  9828. },
  9829. "audituserid": {
  9830. "description": "审核人",
  9831. "type": "integer"
  9832. },
  9833. "broker": {
  9834. "description": "所属经纪人ID",
  9835. "type": "integer"
  9836. },
  9837. "canceltime": {
  9838. "description": "销户时间",
  9839. "type": "string"
  9840. },
  9841. "canceluserid": {
  9842. "description": "销户人",
  9843. "type": "integer"
  9844. },
  9845. "createtime": {
  9846. "description": "创建时间",
  9847. "type": "string"
  9848. },
  9849. "creatorid": {
  9850. "description": "创建人",
  9851. "type": "integer"
  9852. },
  9853. "hasauth": {
  9854. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  9855. "type": "integer"
  9856. },
  9857. "isanonymous": {
  9858. "description": "是否匿名下单 - 0:否 1:是",
  9859. "type": "integer"
  9860. },
  9861. "maxinvestornum": {
  9862. "description": "最大用户数(经纪会员下投资者个数)",
  9863. "type": "integer"
  9864. },
  9865. "memberuserid": {
  9866. "description": "所属会员ID",
  9867. "type": "integer"
  9868. },
  9869. "modifierid": {
  9870. "description": "修改人",
  9871. "type": "integer"
  9872. },
  9873. "modifyremark": {
  9874. "description": "变更备注",
  9875. "type": "string"
  9876. },
  9877. "modifystatus": {
  9878. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  9879. "type": "integer"
  9880. },
  9881. "modifytime": {
  9882. "description": "修改时间",
  9883. "type": "string"
  9884. },
  9885. "parentuserid": {
  9886. "description": "所属机构ID",
  9887. "type": "integer"
  9888. },
  9889. "reckonaccountid": {
  9890. "description": "默认结算资金账号ID(机构分润使用) 作废",
  9891. "type": "integer"
  9892. },
  9893. "refercount": {
  9894. "description": "推荐总人数",
  9895. "type": "integer"
  9896. },
  9897. "refereeuserid": {
  9898. "description": "推荐人ID",
  9899. "type": "integer"
  9900. },
  9901. "refernum": {
  9902. "description": "推荐码",
  9903. "type": "string"
  9904. },
  9905. "subarealevelpath": {
  9906. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  9907. "type": "string"
  9908. },
  9909. "userid": {
  9910. "description": "用户ID",
  9911. "type": "integer"
  9912. },
  9913. "usertype": {
  9914. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  9915. "type": "integer"
  9916. }
  9917. }
  9918. },
  9919. "models.Userfavoritegoods": {
  9920. "type": "object",
  9921. "required": [
  9922. "goodsid"
  9923. ],
  9924. "properties": {
  9925. "goodsid": {
  9926. "description": "商品ID",
  9927. "type": "integer"
  9928. }
  9929. }
  9930. },
  9931. "models.Userinfo": {
  9932. "type": "object",
  9933. "required": [
  9934. "userid"
  9935. ],
  9936. "properties": {
  9937. "address": {
  9938. "description": "地址",
  9939. "type": "string"
  9940. },
  9941. "attachment1": {
  9942. "description": "附件1",
  9943. "type": "string"
  9944. },
  9945. "attachment2": {
  9946. "description": "附件2",
  9947. "type": "string"
  9948. },
  9949. "bankaccount": {
  9950. "description": "银行帐号 (加密存储)",
  9951. "type": "string"
  9952. },
  9953. "bankaccountname": {
  9954. "description": "收款人名称",
  9955. "type": "string"
  9956. },
  9957. "bankcardfrontphotourl": {
  9958. "description": "银行卡正面照地址",
  9959. "type": "string"
  9960. },
  9961. "bankid": {
  9962. "description": "银行编码",
  9963. "type": "string"
  9964. },
  9965. "bankname": {
  9966. "description": "银行名称",
  9967. "type": "string"
  9968. },
  9969. "biznature": {
  9970. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9971. "type": "integer"
  9972. },
  9973. "bizscope": {
  9974. "description": "企业经营范围(企业)",
  9975. "type": "string"
  9976. },
  9977. "cardbackphotourl": {
  9978. "description": "证件背面图片地址",
  9979. "type": "string"
  9980. },
  9981. "cardfrontphotourl": {
  9982. "description": "证件正面图片地址",
  9983. "type": "string"
  9984. },
  9985. "cardnum": {
  9986. "description": "证件号码(加密存储)",
  9987. "type": "string"
  9988. },
  9989. "cardtypeid": {
  9990. "description": "证件类型ID",
  9991. "type": "integer"
  9992. },
  9993. "cityid": {
  9994. "description": "市",
  9995. "type": "integer"
  9996. },
  9997. "company": {
  9998. "description": "公司(个人)",
  9999. "type": "string"
  10000. },
  10001. "contactname": {
  10002. "description": "联系人",
  10003. "type": "string"
  10004. },
  10005. "countryid": {
  10006. "description": "国家",
  10007. "type": "integer"
  10008. },
  10009. "createtime": {
  10010. "description": "创建时间",
  10011. "type": "string"
  10012. },
  10013. "creatorid": {
  10014. "description": "创建人",
  10015. "type": "integer"
  10016. },
  10017. "customername": {
  10018. "description": "客户名称(企业名称)",
  10019. "type": "string"
  10020. },
  10021. "districtid": {
  10022. "description": "地区",
  10023. "type": "integer"
  10024. },
  10025. "email": {
  10026. "description": "邮件(加密存储)",
  10027. "type": "string"
  10028. },
  10029. "fax": {
  10030. "description": "传真(加密存储)",
  10031. "type": "string"
  10032. },
  10033. "halfbodyphotourl": {
  10034. "description": "半身照地址",
  10035. "type": "string"
  10036. },
  10037. "hasencrypt": {
  10038. "description": "数据是否已加密 - 0:未加密 1:已加密",
  10039. "type": "integer"
  10040. },
  10041. "headurl": {
  10042. "description": "头像地址",
  10043. "type": "string"
  10044. },
  10045. "legalcardbackphotourl": {
  10046. "description": "法人身份证背面照地址",
  10047. "type": "string"
  10048. },
  10049. "legalcardfrontphotourl": {
  10050. "description": "法人身份证正面照地址",
  10051. "type": "string"
  10052. },
  10053. "legalpersonname": {
  10054. "description": "法人姓名(企业)",
  10055. "type": "string"
  10056. },
  10057. "mobile": {
  10058. "description": "手机号码(加密存储)",
  10059. "type": "string"
  10060. },
  10061. "mobile2": {
  10062. "description": "手机号码[明文-尚志]",
  10063. "type": "string"
  10064. },
  10065. "modifierid": {
  10066. "description": "修改人",
  10067. "type": "integer"
  10068. },
  10069. "modifiertime": {
  10070. "description": "修改时间",
  10071. "type": "string"
  10072. },
  10073. "needinvoice": {
  10074. "description": "是否需要发票 - 0:不需要 1:需要",
  10075. "type": "integer"
  10076. },
  10077. "nickname": {
  10078. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  10079. "type": "string"
  10080. },
  10081. "openmode": {
  10082. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  10083. "type": "integer"
  10084. },
  10085. "otherurl": {
  10086. "description": "其它图片地址[使用分号分隔]",
  10087. "type": "string"
  10088. },
  10089. "postalcode": {
  10090. "description": "邮政编码",
  10091. "type": "string"
  10092. },
  10093. "provinceid": {
  10094. "description": "省",
  10095. "type": "integer"
  10096. },
  10097. "qq": {
  10098. "description": "QQ(加密存储",
  10099. "type": "string"
  10100. },
  10101. "remark": {
  10102. "description": "备注",
  10103. "type": "string"
  10104. },
  10105. "sex": {
  10106. "description": "用户性别 0: 女 1: 男",
  10107. "type": "integer"
  10108. },
  10109. "signpdfurl": {
  10110. "description": "签约pdf文件",
  10111. "type": "string"
  10112. },
  10113. "telphone": {
  10114. "description": "联系电话(加密存储)",
  10115. "type": "string"
  10116. },
  10117. "userid": {
  10118. "description": "用户ID",
  10119. "type": "integer"
  10120. },
  10121. "userinfotype": {
  10122. "description": "用户信息类型 - 1:个人 2:企业",
  10123. "type": "integer"
  10124. },
  10125. "userstatus": {
  10126. "description": "用户状态 - 1:正常 2:注销",
  10127. "type": "integer"
  10128. },
  10129. "usertype": {
  10130. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10131. "type": "integer"
  10132. },
  10133. "wechat": {
  10134. "description": "微信(加密存储)",
  10135. "type": "string"
  10136. },
  10137. "wskhinfo": {
  10138. "description": "开户申请信息(JSON)",
  10139. "type": "string"
  10140. }
  10141. }
  10142. },
  10143. "models.WRCategoryTree": {
  10144. "type": "object",
  10145. "required": [
  10146. "categoryid"
  10147. ],
  10148. "properties": {
  10149. "areauserid": {
  10150. "description": "所属机构",
  10151. "type": "integer"
  10152. },
  10153. "categorydesc": {
  10154. "description": "类别描述",
  10155. "type": "string"
  10156. },
  10157. "categoryid": {
  10158. "description": "类别ID(SEQ_WRCATEGORY)",
  10159. "type": "integer"
  10160. },
  10161. "categoryname": {
  10162. "description": "类别名称",
  10163. "type": "string"
  10164. },
  10165. "iconurl": {
  10166. "description": "图标地址",
  10167. "type": "string"
  10168. },
  10169. "orderindex": {
  10170. "description": "顺序",
  10171. "type": "integer"
  10172. },
  10173. "parentcategoryid": {
  10174. "description": "父类别ID",
  10175. "type": "integer"
  10176. },
  10177. "subcategory": {
  10178. "description": "子分类",
  10179. "type": "array",
  10180. "items": {
  10181. "$ref": "#/definitions/models.WRCategoryTree"
  10182. }
  10183. }
  10184. }
  10185. },
  10186. "models.WRStandardInfo": {
  10187. "type": "object",
  10188. "required": [
  10189. "wrstandardid"
  10190. ],
  10191. "properties": {
  10192. "createtime": {
  10193. "description": "创建时间",
  10194. "type": "string"
  10195. },
  10196. "creatorid": {
  10197. "description": "创建人",
  10198. "type": "integer"
  10199. },
  10200. "deliverygoodsid": {
  10201. "description": "品种ID",
  10202. "type": "integer"
  10203. },
  10204. "deliverygoodsname": {
  10205. "description": "交割商品名称",
  10206. "type": "string"
  10207. },
  10208. "factoryitemjson": {
  10209. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  10210. "type": "string"
  10211. },
  10212. "isvalid": {
  10213. "description": "是否有效 - 0:无效 1:有效",
  10214. "type": "integer"
  10215. },
  10216. "minivalue": {
  10217. "description": "最小变动值",
  10218. "type": "integer"
  10219. },
  10220. "minivaluedp": {
  10221. "description": "最小变动值小数位",
  10222. "type": "integer"
  10223. },
  10224. "realminivalue": {
  10225. "description": "实际最小变动值",
  10226. "type": "integer"
  10227. },
  10228. "realminivaluedp": {
  10229. "description": "实际最小变动值小数位",
  10230. "type": "integer"
  10231. },
  10232. "unitid": {
  10233. "description": "单位ID",
  10234. "type": "integer"
  10235. },
  10236. "unitname": {
  10237. "description": "单位",
  10238. "type": "string"
  10239. },
  10240. "updatetime": {
  10241. "description": "更新时间",
  10242. "type": "string"
  10243. },
  10244. "updatorid": {
  10245. "description": "更新人",
  10246. "type": "integer"
  10247. },
  10248. "wrsstatus": {
  10249. "description": "状态 - 作废 - 0:未激活 1:正常",
  10250. "type": "integer"
  10251. },
  10252. "wrstandardcode": {
  10253. "description": "仓单标准代码",
  10254. "type": "string"
  10255. },
  10256. "wrstandardid": {
  10257. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10258. "type": "integer"
  10259. },
  10260. "wrstandardname": {
  10261. "description": "仓单标准名称",
  10262. "type": "string"
  10263. }
  10264. }
  10265. },
  10266. "models.Warehouseinfo": {
  10267. "type": "object",
  10268. "required": [
  10269. "autoid",
  10270. "warehousecode"
  10271. ],
  10272. "properties": {
  10273. "address": {
  10274. "description": "详细地址",
  10275. "type": "string"
  10276. },
  10277. "areauserid": {
  10278. "description": "所属机构",
  10279. "type": "integer"
  10280. },
  10281. "autoid": {
  10282. "description": "自增ID",
  10283. "type": "integer"
  10284. },
  10285. "cityid": {
  10286. "description": "市",
  10287. "type": "integer"
  10288. },
  10289. "contactname": {
  10290. "description": "联系人",
  10291. "type": "string"
  10292. },
  10293. "contactnum": {
  10294. "description": "联系电话",
  10295. "type": "string"
  10296. },
  10297. "countryid": {
  10298. "description": "国家",
  10299. "type": "integer"
  10300. },
  10301. "createtime": {
  10302. "description": "创建时间",
  10303. "type": "string"
  10304. },
  10305. "districtid": {
  10306. "description": "区",
  10307. "type": "integer"
  10308. },
  10309. "hasvideo": {
  10310. "description": "是否有视频 - 0:无 1:有",
  10311. "type": "integer"
  10312. },
  10313. "provinceid": {
  10314. "description": "省",
  10315. "type": "integer"
  10316. },
  10317. "remark": {
  10318. "description": "审核备注",
  10319. "type": "string"
  10320. },
  10321. "videourl": {
  10322. "description": "视频地址",
  10323. "type": "string"
  10324. },
  10325. "warehousecode": {
  10326. "description": "仓库代码",
  10327. "type": "string"
  10328. },
  10329. "warehousename": {
  10330. "description": "仓库名称",
  10331. "type": "string"
  10332. },
  10333. "warehousestatus": {
  10334. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10335. "type": "integer"
  10336. },
  10337. "warehousetype": {
  10338. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10339. "type": "integer"
  10340. }
  10341. }
  10342. },
  10343. "order.QueryHisTradeDetailRsp": {
  10344. "type": "object",
  10345. "required": [
  10346. "accountid",
  10347. "buyorsell",
  10348. "goodsid",
  10349. "histradedate",
  10350. "marketid",
  10351. "memberuserid",
  10352. "orderid",
  10353. "tradeamount",
  10354. "tradedate",
  10355. "tradeid",
  10356. "tradeprice",
  10357. "tradeqty",
  10358. "tradetime"
  10359. ],
  10360. "properties": {
  10361. "accountid": {
  10362. "description": "账户ID[报价币种]",
  10363. "type": "integer"
  10364. },
  10365. "buildtype": {
  10366. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10367. "type": "integer"
  10368. },
  10369. "buyorsell": {
  10370. "description": "方向 - 0:买 1:卖",
  10371. "type": "integer"
  10372. },
  10373. "charge": {
  10374. "description": "手续费",
  10375. "type": "number"
  10376. },
  10377. "closecharge": {
  10378. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10379. "type": "number"
  10380. },
  10381. "closeexchagechargevalue": {
  10382. "description": "平仓交易所手续费设置值",
  10383. "type": "number"
  10384. },
  10385. "closefeealgorithm": {
  10386. "description": "平仓手续费收取方式 1:比率 2:固定",
  10387. "type": "integer"
  10388. },
  10389. "closememberchargevalue": {
  10390. "description": "平仓会员手续费设置值",
  10391. "type": "number"
  10392. },
  10393. "closepl": {
  10394. "description": "平仓盈亏",
  10395. "type": "number"
  10396. },
  10397. "closepl2": {
  10398. "description": "平仓盈亏[逐笔]",
  10399. "type": "number"
  10400. },
  10401. "closeqty": {
  10402. "description": "平仓数量(先建后平操作 需要记录)",
  10403. "type": "integer"
  10404. },
  10405. "creditamount": {
  10406. "description": "授信金额",
  10407. "type": "number"
  10408. },
  10409. "gcaccountid": {
  10410. "description": "账户ID[合约币种]",
  10411. "type": "integer"
  10412. },
  10413. "goodscode": {
  10414. "description": "商品代码",
  10415. "type": "string"
  10416. },
  10417. "goodsid": {
  10418. "description": "商品ID",
  10419. "type": "integer"
  10420. },
  10421. "goodsname": {
  10422. "description": "商品名称",
  10423. "type": "string"
  10424. },
  10425. "histradedate": {
  10426. "description": "历史交易日",
  10427. "type": "string"
  10428. },
  10429. "intclosepl": {
  10430. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10431. "type": "integer"
  10432. },
  10433. "isconfirmexercise": {
  10434. "description": "是否确认行权- 0:否 1:是",
  10435. "type": "integer"
  10436. },
  10437. "ismain": {
  10438. "description": "是否主单 - 0:不是 1:是",
  10439. "type": "integer"
  10440. },
  10441. "ispreexercise": {
  10442. "description": "是否预申报- 0:否 1:是",
  10443. "type": "integer"
  10444. },
  10445. "isreckoned": {
  10446. "description": "是否结算 - 0:未结算 1:已结算",
  10447. "type": "integer"
  10448. },
  10449. "isvaliddata": {
  10450. "description": "是否有效 - 0:无效 1:有效",
  10451. "type": "integer"
  10452. },
  10453. "listingselecttype": {
  10454. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10455. "type": "integer"
  10456. },
  10457. "marketid": {
  10458. "description": "市场ID",
  10459. "type": "integer"
  10460. },
  10461. "marketname": {
  10462. "description": "市场名称",
  10463. "type": "string"
  10464. },
  10465. "matchaccountid": {
  10466. "description": "对手账号id",
  10467. "type": "integer"
  10468. },
  10469. "memberuserid": {
  10470. "description": "会员id 个人投资者 需要填写",
  10471. "type": "integer"
  10472. },
  10473. "opencharge": {
  10474. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10475. "type": "number"
  10476. },
  10477. "openexchagechargevalue": {
  10478. "description": "建仓交易所手续费设置值",
  10479. "type": "number"
  10480. },
  10481. "openfeealgorithm": {
  10482. "description": "建仓手续费收取方式 1:比率 2:固定",
  10483. "type": "integer"
  10484. },
  10485. "openmemberchargevalue": {
  10486. "description": "建仓会员手续费设置值",
  10487. "type": "number"
  10488. },
  10489. "openqty": {
  10490. "description": "开仓数量(先建后平操作 需要记录)",
  10491. "type": "integer"
  10492. },
  10493. "optiontype": {
  10494. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10495. "type": "integer"
  10496. },
  10497. "orderid": {
  10498. "description": "委托单号",
  10499. "type": "string"
  10500. },
  10501. "performanceplanid": {
  10502. "description": "履约计划ID[期权]",
  10503. "type": "integer"
  10504. },
  10505. "performancestatus": {
  10506. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  10507. "type": "integer"
  10508. },
  10509. "preexerciseprice": {
  10510. "description": "预申报价格",
  10511. "type": "number"
  10512. },
  10513. "premium": {
  10514. "description": "权利金 - [持仓单的权利金]",
  10515. "type": "number"
  10516. },
  10517. "relatedouttradeid": {
  10518. "description": "关联外部成交单ID",
  10519. "type": "integer"
  10520. },
  10521. "status": {
  10522. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  10523. "type": "integer"
  10524. },
  10525. "tradeamount": {
  10526. "description": "成交金额[账户币种,用于所有权]",
  10527. "type": "number"
  10528. },
  10529. "tradedate": {
  10530. "description": "交易日(yyyyMMdd)",
  10531. "type": "string"
  10532. },
  10533. "tradeid": {
  10534. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10535. "type": "string"
  10536. },
  10537. "trademode": {
  10538. "description": "交易模式",
  10539. "type": "integer"
  10540. },
  10541. "tradeprice": {
  10542. "description": "成交价格",
  10543. "type": "number"
  10544. },
  10545. "tradeproperty": {
  10546. "description": "交易属性",
  10547. "type": "integer"
  10548. },
  10549. "tradeqty": {
  10550. "description": "成交数量",
  10551. "type": "integer"
  10552. },
  10553. "tradetime": {
  10554. "description": "成交时间",
  10555. "type": "string"
  10556. },
  10557. "tradetype": {
  10558. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  10559. "type": "integer"
  10560. }
  10561. }
  10562. },
  10563. "order.QueryHisTradeOrderDetailRsp": {
  10564. "type": "object",
  10565. "required": [
  10566. "accountid",
  10567. "buildtype",
  10568. "buyorsell",
  10569. "goodsid",
  10570. "histradedate",
  10571. "marketid",
  10572. "memberuserid",
  10573. "operatetype",
  10574. "orderid",
  10575. "orderqty",
  10576. "ordertime",
  10577. "pricemode",
  10578. "tradedate",
  10579. "validtype"
  10580. ],
  10581. "properties": {
  10582. "accountid": {
  10583. "description": "账户ID[报价币种]",
  10584. "type": "integer"
  10585. },
  10586. "buildtype": {
  10587. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10588. "type": "integer"
  10589. },
  10590. "buyorsell": {
  10591. "description": "买卖 - 0:买 1:卖",
  10592. "type": "integer"
  10593. },
  10594. "cancelorderid": {
  10595. "description": "撤单单号(撤单时填写)",
  10596. "type": "string"
  10597. },
  10598. "cancelqty": {
  10599. "description": "撤单数量",
  10600. "type": "integer"
  10601. },
  10602. "clientordertime": {
  10603. "description": "客户端委托时间",
  10604. "type": "string"
  10605. },
  10606. "clientticket": {
  10607. "description": "客户端流水号",
  10608. "type": "string"
  10609. },
  10610. "clienttype": {
  10611. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10612. "type": "integer"
  10613. },
  10614. "closeexchagechargevalue": {
  10615. "description": "平仓交易所手续费设置值",
  10616. "type": "number"
  10617. },
  10618. "closefeealgorithm": {
  10619. "description": "平仓手续费收取方式 1:比率 2:固定",
  10620. "type": "integer"
  10621. },
  10622. "closefreezecharge": {
  10623. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10624. "type": "number"
  10625. },
  10626. "closememberchargevalue": {
  10627. "description": "平仓会员手续费设置值",
  10628. "type": "number"
  10629. },
  10630. "closeqty": {
  10631. "description": "平仓数量(先建后平操作 需要记录)",
  10632. "type": "integer"
  10633. },
  10634. "closetradeqty": {
  10635. "description": "平仓成交数量(先建后平操作,需要记录)",
  10636. "type": "integer"
  10637. },
  10638. "closeunfreezecharge": {
  10639. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10640. "type": "number"
  10641. },
  10642. "delistingtype": {
  10643. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10644. "type": "integer"
  10645. },
  10646. "freezecharge": {
  10647. "description": "冻结手续费",
  10648. "type": "number"
  10649. },
  10650. "freezemargin": {
  10651. "description": "冻结保证金(冻结交易金额)",
  10652. "type": "number"
  10653. },
  10654. "gcaccountid": {
  10655. "description": "账户ID[合约币种]",
  10656. "type": "integer"
  10657. },
  10658. "goodscode": {
  10659. "description": "商品代码",
  10660. "type": "string"
  10661. },
  10662. "goodsid": {
  10663. "description": "商品ID",
  10664. "type": "integer"
  10665. },
  10666. "goodsname": {
  10667. "description": "商品名称",
  10668. "type": "string"
  10669. },
  10670. "histradedate": {
  10671. "description": "历史交易日",
  10672. "type": "string"
  10673. },
  10674. "isconfirmexercise": {
  10675. "description": "是否确认行权- 0:否 1:是",
  10676. "type": "integer"
  10677. },
  10678. "ispreexercise": {
  10679. "description": "是否预申报- 0:否 1:是",
  10680. "type": "integer"
  10681. },
  10682. "isvaliddata": {
  10683. "description": "是否有效 - 0:无效 1:有效",
  10684. "type": "integer"
  10685. },
  10686. "listingselecttype": {
  10687. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10688. "type": "integer"
  10689. },
  10690. "marginalgorithm": {
  10691. "description": "保证金收取方式 1:比率 2:固定",
  10692. "type": "integer"
  10693. },
  10694. "marginvalue": {
  10695. "description": "即市保证金设置值",
  10696. "type": "number"
  10697. },
  10698. "marketid": {
  10699. "description": "市场ID",
  10700. "type": "integer"
  10701. },
  10702. "marketmaxsub": {
  10703. "description": "市价最大偏移范围",
  10704. "type": "number"
  10705. },
  10706. "marketname": {
  10707. "description": "市场名称",
  10708. "type": "string"
  10709. },
  10710. "memberuserid": {
  10711. "description": "所属会员UserID",
  10712. "type": "integer"
  10713. },
  10714. "openexchagechargevalue": {
  10715. "description": "建仓交易所手续费设置值",
  10716. "type": "number"
  10717. },
  10718. "openfeealgorithm": {
  10719. "description": "建仓手续费收取方式 1:比率 2:固定",
  10720. "type": "integer"
  10721. },
  10722. "openfreezecharge": {
  10723. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10724. "type": "number"
  10725. },
  10726. "openmemberchargevalue": {
  10727. "description": "建仓会员手续费设置值",
  10728. "type": "number"
  10729. },
  10730. "openqty": {
  10731. "description": "开仓数量(先建后平操作,需要记录)",
  10732. "type": "integer"
  10733. },
  10734. "opentradeqty": {
  10735. "description": "开仓成交数量(先建后平操作,需要记录)",
  10736. "type": "integer"
  10737. },
  10738. "openunfreezecharge": {
  10739. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10740. "type": "number"
  10741. },
  10742. "operatetype": {
  10743. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10744. "type": "integer"
  10745. },
  10746. "operatorid": {
  10747. "description": "登录账号(LoginID)",
  10748. "type": "integer"
  10749. },
  10750. "optiontype": {
  10751. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10752. "type": "integer"
  10753. },
  10754. "orderid": {
  10755. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10756. "type": "string"
  10757. },
  10758. "orderprice": {
  10759. "description": "委托价格",
  10760. "type": "number"
  10761. },
  10762. "orderqty": {
  10763. "description": "委托数量",
  10764. "type": "integer"
  10765. },
  10766. "ordersrc": {
  10767. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10768. "type": "integer"
  10769. },
  10770. "orderstatus": {
  10771. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10772. "type": "integer"
  10773. },
  10774. "ordertime": {
  10775. "description": "委托时间",
  10776. "type": "string"
  10777. },
  10778. "preexerciseprice": {
  10779. "description": "预申报价格",
  10780. "type": "number"
  10781. },
  10782. "premium": {
  10783. "description": "权利金",
  10784. "type": "number"
  10785. },
  10786. "preorderid": {
  10787. "description": "关联预埋单号(止盈止损单时填写)",
  10788. "type": "string"
  10789. },
  10790. "pricemode": {
  10791. "description": "取价方式 - 1:市价 2: 限价",
  10792. "type": "integer"
  10793. },
  10794. "quoteid": {
  10795. "description": "报价单ID",
  10796. "type": "integer"
  10797. },
  10798. "relatedid": {
  10799. "description": "关联单号(交割单)",
  10800. "type": "string"
  10801. },
  10802. "retcode": {
  10803. "description": "错误代码",
  10804. "type": "integer"
  10805. },
  10806. "sessionid": {
  10807. "description": "会话ID",
  10808. "type": "integer"
  10809. },
  10810. "tradedate": {
  10811. "description": "交易日(yyyyMMdd)",
  10812. "type": "string"
  10813. },
  10814. "trademode": {
  10815. "description": "交易模式",
  10816. "type": "integer"
  10817. },
  10818. "tradeproperty": {
  10819. "description": "交易属性",
  10820. "type": "integer"
  10821. },
  10822. "tradeqty": {
  10823. "description": "成交数量",
  10824. "type": "integer"
  10825. },
  10826. "unfreezecharge": {
  10827. "description": "解冻手续费",
  10828. "type": "number"
  10829. },
  10830. "unfreezemargin": {
  10831. "description": "解冻保证金",
  10832. "type": "number"
  10833. },
  10834. "updatetime": {
  10835. "description": "更新时间",
  10836. "type": "string"
  10837. },
  10838. "uuid": {
  10839. "description": "发起端唯一id",
  10840. "type": "string"
  10841. },
  10842. "validtime": {
  10843. "description": "有效期限",
  10844. "type": "string"
  10845. },
  10846. "validtype": {
  10847. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10848. "type": "integer"
  10849. },
  10850. "volumetype": {
  10851. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10852. "type": "integer"
  10853. }
  10854. }
  10855. },
  10856. "order.QueryTradeDetailRsp": {
  10857. "type": "object",
  10858. "required": [
  10859. "accountid",
  10860. "buyorsell",
  10861. "goodsid",
  10862. "marketid",
  10863. "memberuserid",
  10864. "orderid",
  10865. "tradeamount",
  10866. "tradedate",
  10867. "tradeid",
  10868. "tradeprice",
  10869. "tradeqty",
  10870. "tradetime"
  10871. ],
  10872. "properties": {
  10873. "accountid": {
  10874. "description": "账户ID[报价币种]",
  10875. "type": "integer"
  10876. },
  10877. "buildtype": {
  10878. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10879. "type": "integer"
  10880. },
  10881. "buyorsell": {
  10882. "description": "方向 - 0:买 1:卖",
  10883. "type": "integer"
  10884. },
  10885. "charge": {
  10886. "description": "手续费",
  10887. "type": "number"
  10888. },
  10889. "closecharge": {
  10890. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10891. "type": "number"
  10892. },
  10893. "closeexchagechargevalue": {
  10894. "description": "平仓交易所手续费设置值",
  10895. "type": "number"
  10896. },
  10897. "closefeealgorithm": {
  10898. "description": "平仓手续费收取方式 1:比率 2:固定",
  10899. "type": "integer"
  10900. },
  10901. "closememberchargevalue": {
  10902. "description": "平仓会员手续费设置值",
  10903. "type": "number"
  10904. },
  10905. "closepl": {
  10906. "description": "平仓盈亏",
  10907. "type": "number"
  10908. },
  10909. "closepl2": {
  10910. "description": "平仓盈亏[逐笔]",
  10911. "type": "number"
  10912. },
  10913. "closeqty": {
  10914. "description": "平仓数量(先建后平操作 需要记录)",
  10915. "type": "integer"
  10916. },
  10917. "creditamount": {
  10918. "description": "授信金额",
  10919. "type": "number"
  10920. },
  10921. "gcaccountid": {
  10922. "description": "账户ID[合约币种]",
  10923. "type": "integer"
  10924. },
  10925. "goodscode": {
  10926. "description": "商品代码",
  10927. "type": "string"
  10928. },
  10929. "goodsid": {
  10930. "description": "商品ID",
  10931. "type": "integer"
  10932. },
  10933. "goodsname": {
  10934. "description": "商品名称",
  10935. "type": "string"
  10936. },
  10937. "intclosepl": {
  10938. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10939. "type": "integer"
  10940. },
  10941. "isconfirmexercise": {
  10942. "description": "是否确认行权- 0:否 1:是",
  10943. "type": "integer"
  10944. },
  10945. "ismain": {
  10946. "description": "是否主单 - 0:不是 1:是",
  10947. "type": "integer"
  10948. },
  10949. "ispreexercise": {
  10950. "description": "是否预申报- 0:否 1:是",
  10951. "type": "integer"
  10952. },
  10953. "isreckoned": {
  10954. "description": "是否结算 - 0:未结算 1:已结算",
  10955. "type": "integer"
  10956. },
  10957. "listingselecttype": {
  10958. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10959. "type": "integer"
  10960. },
  10961. "marketid": {
  10962. "description": "市场ID",
  10963. "type": "integer"
  10964. },
  10965. "marketname": {
  10966. "description": "市场名称",
  10967. "type": "string"
  10968. },
  10969. "matchaccountid": {
  10970. "description": "对手账号id",
  10971. "type": "integer"
  10972. },
  10973. "memberuserid": {
  10974. "description": "会员id 个人投资者 需要填写",
  10975. "type": "integer"
  10976. },
  10977. "opencharge": {
  10978. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10979. "type": "number"
  10980. },
  10981. "openexchagechargevalue": {
  10982. "description": "建仓交易所手续费设置值",
  10983. "type": "number"
  10984. },
  10985. "openfeealgorithm": {
  10986. "description": "建仓手续费收取方式 1:比率 2:固定",
  10987. "type": "integer"
  10988. },
  10989. "openmemberchargevalue": {
  10990. "description": "建仓会员手续费设置值",
  10991. "type": "number"
  10992. },
  10993. "openqty": {
  10994. "description": "开仓数量(先建后平操作 需要记录)",
  10995. "type": "integer"
  10996. },
  10997. "optiontype": {
  10998. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10999. "type": "integer"
  11000. },
  11001. "orderid": {
  11002. "description": "委托单号",
  11003. "type": "string"
  11004. },
  11005. "performanceplanid": {
  11006. "description": "履约计划ID[期权]",
  11007. "type": "integer"
  11008. },
  11009. "performancestatus": {
  11010. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11011. "type": "integer"
  11012. },
  11013. "preexerciseprice": {
  11014. "description": "预申报价格",
  11015. "type": "number"
  11016. },
  11017. "premium": {
  11018. "description": "权利金 - [持仓单的权利金]",
  11019. "type": "number"
  11020. },
  11021. "relatedouttradeid": {
  11022. "description": "关联外部成交单ID",
  11023. "type": "integer"
  11024. },
  11025. "status": {
  11026. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11027. "type": "integer"
  11028. },
  11029. "tradeamount": {
  11030. "description": "成交金额[账户币种,用于所有权]",
  11031. "type": "number"
  11032. },
  11033. "tradedate": {
  11034. "description": "交易日(yyyyMMdd)",
  11035. "type": "string"
  11036. },
  11037. "tradeid": {
  11038. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11039. "type": "string"
  11040. },
  11041. "trademode": {
  11042. "description": "交易模式",
  11043. "type": "integer"
  11044. },
  11045. "tradeprice": {
  11046. "description": "成交价格",
  11047. "type": "number"
  11048. },
  11049. "tradeproperty": {
  11050. "description": "交易属性",
  11051. "type": "integer"
  11052. },
  11053. "tradeqty": {
  11054. "description": "成交数量",
  11055. "type": "integer"
  11056. },
  11057. "tradetime": {
  11058. "description": "成交时间",
  11059. "type": "string"
  11060. },
  11061. "tradetype": {
  11062. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11063. "type": "integer"
  11064. }
  11065. }
  11066. },
  11067. "order.QueryTradeOrderDetailRsp": {
  11068. "type": "object",
  11069. "required": [
  11070. "accountid",
  11071. "buildtype",
  11072. "buyorsell",
  11073. "goodsid",
  11074. "marketid",
  11075. "operatetype",
  11076. "orderqty",
  11077. "ordertime",
  11078. "pricemode",
  11079. "tradedate",
  11080. "validtype"
  11081. ],
  11082. "properties": {
  11083. "accountid": {
  11084. "description": "账户ID[报价币种]",
  11085. "type": "integer"
  11086. },
  11087. "buildtype": {
  11088. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11089. "type": "integer"
  11090. },
  11091. "buyorsell": {
  11092. "description": "买卖 - 0:买 1:卖",
  11093. "type": "integer"
  11094. },
  11095. "cancelorderid": {
  11096. "description": "撤单单号(撤单时填写)",
  11097. "type": "string"
  11098. },
  11099. "cancelqty": {
  11100. "description": "撤单数量",
  11101. "type": "integer"
  11102. },
  11103. "clienttype": {
  11104. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11105. "type": "integer"
  11106. },
  11107. "closefreezecharge": {
  11108. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11109. "type": "number"
  11110. },
  11111. "closeqty": {
  11112. "description": "平仓数量(先建后平操作 需要记录)",
  11113. "type": "integer"
  11114. },
  11115. "closetradeqty": {
  11116. "description": "平仓成交数量(先建后平操作,需要记录)",
  11117. "type": "integer"
  11118. },
  11119. "closeunfreezecharge": {
  11120. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11121. "type": "number"
  11122. },
  11123. "delistingtype": {
  11124. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11125. "type": "integer"
  11126. },
  11127. "enableqty": {
  11128. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  11129. "type": "integer"
  11130. },
  11131. "freezecharge": {
  11132. "description": "冻结手续费",
  11133. "type": "number"
  11134. },
  11135. "freezemargin": {
  11136. "description": "冻结保证金(冻结交易金额)",
  11137. "type": "number"
  11138. },
  11139. "goodscode": {
  11140. "description": "商品代码",
  11141. "type": "string"
  11142. },
  11143. "goodsid": {
  11144. "description": "商品ID",
  11145. "type": "integer"
  11146. },
  11147. "goodsname": {
  11148. "description": "商品名称",
  11149. "type": "string"
  11150. },
  11151. "listingselecttype": {
  11152. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11153. "type": "integer"
  11154. },
  11155. "marketid": {
  11156. "description": "市场ID",
  11157. "type": "integer"
  11158. },
  11159. "marketname": {
  11160. "description": "市场名称",
  11161. "type": "string"
  11162. },
  11163. "openfreezecharge": {
  11164. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11165. "type": "number"
  11166. },
  11167. "openqty": {
  11168. "description": "开仓数量(先建后平操作,需要记录)",
  11169. "type": "integer"
  11170. },
  11171. "opentradeqty": {
  11172. "description": "开仓成交数量(先建后平操作,需要记录)",
  11173. "type": "integer"
  11174. },
  11175. "openunfreezecharge": {
  11176. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11177. "type": "number"
  11178. },
  11179. "operatetype": {
  11180. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11181. "type": "integer"
  11182. },
  11183. "operatorid": {
  11184. "description": "登录账号(LoginID)",
  11185. "type": "integer"
  11186. },
  11187. "orderid": {
  11188. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11189. "type": "string"
  11190. },
  11191. "orderprice": {
  11192. "description": "委托价格",
  11193. "type": "number"
  11194. },
  11195. "orderqty": {
  11196. "description": "委托数量",
  11197. "type": "integer"
  11198. },
  11199. "ordersrc": {
  11200. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11201. "type": "integer"
  11202. },
  11203. "orderstatus": {
  11204. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11205. "type": "integer"
  11206. },
  11207. "ordertime": {
  11208. "description": "委托时间",
  11209. "type": "string"
  11210. },
  11211. "preorderid": {
  11212. "description": "关联预埋单号(止盈止损单时填写)",
  11213. "type": "string"
  11214. },
  11215. "pricemode": {
  11216. "description": "取价方式 - 1:市价 2: 限价",
  11217. "type": "integer"
  11218. },
  11219. "relatedid": {
  11220. "description": "关联单号(交割单)",
  11221. "type": "string"
  11222. },
  11223. "tradedate": {
  11224. "description": "交易日(yyyyMMdd)",
  11225. "type": "string"
  11226. },
  11227. "trademode": {
  11228. "description": "交易模式",
  11229. "type": "integer"
  11230. },
  11231. "tradeqty": {
  11232. "description": "成交数量",
  11233. "type": "integer"
  11234. },
  11235. "unfreezecharge": {
  11236. "description": "解冻手续费",
  11237. "type": "number"
  11238. },
  11239. "unfreezemargin": {
  11240. "description": "解冻保证金",
  11241. "type": "number"
  11242. },
  11243. "validtime": {
  11244. "description": "有效期限",
  11245. "type": "string"
  11246. },
  11247. "validtype": {
  11248. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11249. "type": "integer"
  11250. },
  11251. "volumetype": {
  11252. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11253. "type": "integer"
  11254. }
  11255. }
  11256. },
  11257. "order.QueryTradePositionRsp": {
  11258. "type": "object",
  11259. "required": [
  11260. "goodsid"
  11261. ],
  11262. "properties": {
  11263. "accountid": {
  11264. "description": "资金账户",
  11265. "type": "integer"
  11266. },
  11267. "agreeunit": {
  11268. "description": "合约单位",
  11269. "type": "number"
  11270. },
  11271. "averageprice": {
  11272. "description": "持仓均价",
  11273. "type": "number"
  11274. },
  11275. "buyorsell": {
  11276. "description": "方向 - 0:买 1:卖",
  11277. "type": "integer"
  11278. },
  11279. "closetotalqty": {
  11280. "description": "平仓总数量",
  11281. "type": "integer"
  11282. },
  11283. "curholderamount": {
  11284. "description": "当前持仓总金额[商品币种]",
  11285. "type": "number"
  11286. },
  11287. "curpositionqty": {
  11288. "description": "当前持仓总数量",
  11289. "type": "integer"
  11290. },
  11291. "currencyid": {
  11292. "description": "报价货币ID",
  11293. "type": "integer"
  11294. },
  11295. "curtdposition": {
  11296. "description": "期末今日头寸",
  11297. "type": "integer"
  11298. },
  11299. "decimalplace": {
  11300. "description": "报价小数位",
  11301. "type": "integer"
  11302. },
  11303. "enableqty": {
  11304. "description": "可用量",
  11305. "type": "integer"
  11306. },
  11307. "fretdposition": {
  11308. "description": "冻结今日头寸",
  11309. "type": "integer"
  11310. },
  11311. "frozenqty": {
  11312. "description": "持仓冻结数量",
  11313. "type": "integer"
  11314. },
  11315. "goodscode": {
  11316. "description": "商品代码",
  11317. "type": "string"
  11318. },
  11319. "goodsid": {
  11320. "description": "商品Id",
  11321. "type": "integer"
  11322. },
  11323. "goodsname": {
  11324. "description": "商品名称",
  11325. "type": "string"
  11326. },
  11327. "goodunit": {
  11328. "description": "报价单位",
  11329. "type": "string"
  11330. },
  11331. "goodunitid": {
  11332. "description": "报价单位ID",
  11333. "type": "integer"
  11334. },
  11335. "holderamount": {
  11336. "description": "期初持仓总金额[商品币种]",
  11337. "type": "number"
  11338. },
  11339. "marketid": {
  11340. "description": "所属市场ID",
  11341. "type": "integer"
  11342. },
  11343. "openreqqty": {
  11344. "description": "开仓申请数量(用于比较最大持仓数量)",
  11345. "type": "integer"
  11346. },
  11347. "opentotalqty": {
  11348. "description": "开仓总数量",
  11349. "type": "integer"
  11350. },
  11351. "otherfrozenqty": {
  11352. "description": "持仓其他冻结数量(交割冻结)",
  11353. "type": "integer"
  11354. },
  11355. "positionqty": {
  11356. "description": "期初持仓数量",
  11357. "type": "integer"
  11358. },
  11359. "tnqty": {
  11360. "description": "T+N冻结总量",
  11361. "type": "integer"
  11362. },
  11363. "tnusedqty": {
  11364. "description": "T+N使用量(可以使用T+N的冻结数量)",
  11365. "type": "integer"
  11366. },
  11367. "trademode": {
  11368. "description": "交易模式",
  11369. "type": "integer"
  11370. },
  11371. "usedmargin": {
  11372. "description": "占用保证金[商品币种]",
  11373. "type": "number"
  11374. }
  11375. }
  11376. },
  11377. "quote.HistoryData": {
  11378. "type": "object",
  11379. "properties": {
  11380. "c": {
  11381. "description": "收盘价",
  11382. "type": "number"
  11383. },
  11384. "h": {
  11385. "description": "最高价",
  11386. "type": "number"
  11387. },
  11388. "hv": {
  11389. "description": "持仓量",
  11390. "type": "integer"
  11391. },
  11392. "l": {
  11393. "description": "最低价",
  11394. "type": "number"
  11395. },
  11396. "o": {
  11397. "description": "开盘价",
  11398. "type": "number"
  11399. },
  11400. "s": {
  11401. "description": "结算价,日线周期(包括)以上才有",
  11402. "type": "number"
  11403. },
  11404. "ts": {
  11405. "description": "时间",
  11406. "type": "string"
  11407. },
  11408. "tt": {
  11409. "description": "总金额",
  11410. "type": "number"
  11411. },
  11412. "tv": {
  11413. "description": "总量",
  11414. "type": "integer"
  11415. }
  11416. }
  11417. },
  11418. "quote.QueryTSDataRsp": {
  11419. "type": "object",
  11420. "properties": {
  11421. "decimalPlace": {
  11422. "description": "小数位",
  11423. "type": "integer"
  11424. },
  11425. "endTime": {
  11426. "description": "结束时间",
  11427. "type": "string"
  11428. },
  11429. "goodsCode": {
  11430. "description": "商品代码",
  11431. "type": "string"
  11432. },
  11433. "historyDatas": {
  11434. "description": "历史数据",
  11435. "type": "array",
  11436. "items": {
  11437. "$ref": "#/definitions/quote.HistoryData"
  11438. }
  11439. },
  11440. "preSettle": {
  11441. "description": "昨结",
  11442. "type": "number"
  11443. },
  11444. "startTime": {
  11445. "description": "开始时间",
  11446. "type": "string"
  11447. },
  11448. "tradeDate": {
  11449. "description": "交易日",
  11450. "type": "string"
  11451. }
  11452. }
  11453. },
  11454. "szdz.QueryConvertLogRsp": {
  11455. "type": "object",
  11456. "required": [
  11457. "logid"
  11458. ],
  11459. "properties": {
  11460. "accountid": {
  11461. "description": "资金账户ID",
  11462. "type": "integer"
  11463. },
  11464. "clientticket": {
  11465. "description": "客户端流水号",
  11466. "type": "string"
  11467. },
  11468. "converttype": {
  11469. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  11470. "type": "integer"
  11471. },
  11472. "createtime": {
  11473. "description": "记账时间",
  11474. "type": "string"
  11475. },
  11476. "daymaxvalue": {
  11477. "description": "配置当日最大转入限制",
  11478. "type": "number"
  11479. },
  11480. "daymaxvalue2": {
  11481. "description": "配置当日最大转入限制(转入)",
  11482. "type": "number"
  11483. },
  11484. "goodscode": {
  11485. "description": "商品代码",
  11486. "type": "string"
  11487. },
  11488. "goodsname": {
  11489. "description": "商品名称",
  11490. "type": "string"
  11491. },
  11492. "handlestatus": {
  11493. "description": "处理状态",
  11494. "type": "integer"
  11495. },
  11496. "innergoodsid": {
  11497. "description": "内部商品ID",
  11498. "type": "integer"
  11499. },
  11500. "inratio": {
  11501. "description": "配置转入比值",
  11502. "type": "integer"
  11503. },
  11504. "invalue": {
  11505. "description": "目标值",
  11506. "type": "number"
  11507. },
  11508. "logid": {
  11509. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11510. "type": "integer"
  11511. },
  11512. "mobile": {
  11513. "description": "手机号码(加密存储)",
  11514. "type": "string"
  11515. },
  11516. "outergoodscode": {
  11517. "description": "外部商品代码[JD\\PD]",
  11518. "type": "string"
  11519. },
  11520. "outratio": {
  11521. "description": "配置转出比值",
  11522. "type": "integer"
  11523. },
  11524. "outvalue": {
  11525. "description": "源值",
  11526. "type": "number"
  11527. },
  11528. "pddecimalplace": {
  11529. "description": "PD小数位",
  11530. "type": "integer"
  11531. },
  11532. "qty": {
  11533. "description": "数量",
  11534. "type": "string"
  11535. },
  11536. "remark": {
  11537. "description": "备注",
  11538. "type": "string"
  11539. },
  11540. "sessionid": {
  11541. "description": "会话ID",
  11542. "type": "integer"
  11543. },
  11544. "timemaxvalue": {
  11545. "description": "配置单次最大转入限制",
  11546. "type": "number"
  11547. },
  11548. "timemaxvalue2": {
  11549. "description": "配置单次最大转入限制(转入)",
  11550. "type": "number"
  11551. },
  11552. "timeminvalue": {
  11553. "description": "配置单次最小数量限制",
  11554. "type": "number"
  11555. },
  11556. "timeminvalue2": {
  11557. "description": "配置单次最小数量限制(转入)",
  11558. "type": "number"
  11559. },
  11560. "tradedate": {
  11561. "description": "交易日(yyyyMMdd)",
  11562. "type": "string"
  11563. },
  11564. "userid": {
  11565. "description": "用户ID",
  11566. "type": "integer"
  11567. }
  11568. }
  11569. },
  11570. "szdz.QueryGoodsPickupRsp": {
  11571. "type": "object",
  11572. "required": [
  11573. "takeorderid"
  11574. ],
  11575. "properties": {
  11576. "accountid": {
  11577. "description": "账户ID",
  11578. "type": "integer"
  11579. },
  11580. "address": {
  11581. "description": "提货人详细地址",
  11582. "type": "string"
  11583. },
  11584. "auditer": {
  11585. "description": "审核人",
  11586. "type": "integer"
  11587. },
  11588. "audittime": {
  11589. "description": "审核时间",
  11590. "type": "string"
  11591. },
  11592. "cardnum": {
  11593. "description": "提货人证件号码",
  11594. "type": "string"
  11595. },
  11596. "cardtypeid": {
  11597. "description": "提货人证件类型",
  11598. "type": "integer"
  11599. },
  11600. "checkremark": {
  11601. "description": "审核备注",
  11602. "type": "string"
  11603. },
  11604. "goodscode": {
  11605. "description": "商品代码",
  11606. "type": "string"
  11607. },
  11608. "goodsid": {
  11609. "description": "商品ID",
  11610. "type": "integer"
  11611. },
  11612. "goodsname": {
  11613. "description": "商品名称",
  11614. "type": "string"
  11615. },
  11616. "handlestatus": {
  11617. "description": "处理状态",
  11618. "type": "integer"
  11619. },
  11620. "marketid": {
  11621. "description": "市场ID",
  11622. "type": "integer"
  11623. },
  11624. "phonenum": {
  11625. "description": "提货人联系方式",
  11626. "type": "string"
  11627. },
  11628. "qty": {
  11629. "description": "提货数量",
  11630. "type": "number"
  11631. },
  11632. "recivername": {
  11633. "description": "提货人姓名",
  11634. "type": "string"
  11635. },
  11636. "reqtime": {
  11637. "description": "更新时间",
  11638. "type": "string"
  11639. },
  11640. "takemode": {
  11641. "description": "提货方式 - 2:自提 3:配送",
  11642. "type": "integer"
  11643. },
  11644. "takeorderid": {
  11645. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  11646. "type": "string"
  11647. },
  11648. "takeorderstatus": {
  11649. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11650. "type": "integer"
  11651. },
  11652. "takeremark": {
  11653. "description": "提货备注",
  11654. "type": "string"
  11655. },
  11656. "tradedate": {
  11657. "description": "交易日(yyyyMMdd)",
  11658. "type": "string"
  11659. },
  11660. "userid": {
  11661. "description": "用户ID",
  11662. "type": "integer"
  11663. }
  11664. }
  11665. },
  11666. "szdz.QueryRecieptOrderRsp": {
  11667. "type": "object",
  11668. "required": [
  11669. "ordertime"
  11670. ],
  11671. "properties": {
  11672. "accountName": {
  11673. "description": "所属账号名称(已脱敏)",
  11674. "type": "string"
  11675. },
  11676. "accountid": {
  11677. "description": "资金账号",
  11678. "type": "integer"
  11679. },
  11680. "buyorsell": {
  11681. "description": "方向 - 0:买 1:卖",
  11682. "type": "integer"
  11683. },
  11684. "enableqty": {
  11685. "description": "可摘数量",
  11686. "type": "integer"
  11687. },
  11688. "goodscode": {
  11689. "description": "商品代码",
  11690. "type": "string"
  11691. },
  11692. "goodsid": {
  11693. "description": "商品ID",
  11694. "type": "integer"
  11695. },
  11696. "goodsname": {
  11697. "description": "商品名称",
  11698. "type": "string"
  11699. },
  11700. "orderid": {
  11701. "description": "委托单号",
  11702. "type": "string"
  11703. },
  11704. "orderprice": {
  11705. "description": "委托价格",
  11706. "type": "number"
  11707. },
  11708. "ordertime": {
  11709. "description": "委托时间",
  11710. "type": "string"
  11711. },
  11712. "tradedate": {
  11713. "description": "交易日(yyyyMMdd)",
  11714. "type": "string"
  11715. }
  11716. }
  11717. },
  11718. "szdz.QuerySZDZTradePositionRsp": {
  11719. "type": "object",
  11720. "properties": {
  11721. "accountid": {
  11722. "description": "账号Id",
  11723. "type": "integer"
  11724. },
  11725. "agreeunit": {
  11726. "description": "合约单位",
  11727. "type": "number"
  11728. },
  11729. "averageprice": {
  11730. "description": "持仓均价",
  11731. "type": "number"
  11732. },
  11733. "buyorsell": {
  11734. "description": "方向 - 0:买 1:卖",
  11735. "type": "integer"
  11736. },
  11737. "closetotalqty": {
  11738. "description": "平仓总数量",
  11739. "type": "integer"
  11740. },
  11741. "curholderamount": {
  11742. "description": "当前持仓总金额",
  11743. "type": "number"
  11744. },
  11745. "curpositionqty": {
  11746. "description": "当前持仓总数量",
  11747. "type": "integer"
  11748. },
  11749. "currencyid": {
  11750. "description": "报价货币ID",
  11751. "type": "integer"
  11752. },
  11753. "curtdposition": {
  11754. "description": "期末今日头寸",
  11755. "type": "integer"
  11756. },
  11757. "decimalplace": {
  11758. "description": "报价小数位",
  11759. "type": "integer"
  11760. },
  11761. "enableqty": {
  11762. "description": "可用量",
  11763. "type": "integer"
  11764. },
  11765. "fretdposition": {
  11766. "description": "冻结今日头寸",
  11767. "type": "integer"
  11768. },
  11769. "frozenqty": {
  11770. "description": "持仓冻结数量",
  11771. "type": "integer"
  11772. },
  11773. "goodscode": {
  11774. "description": "商品代码(内部)",
  11775. "type": "string"
  11776. },
  11777. "goodsid": {
  11778. "description": "商品Id",
  11779. "type": "integer"
  11780. },
  11781. "goodsname": {
  11782. "description": "商品名称",
  11783. "type": "string"
  11784. },
  11785. "goodunit": {
  11786. "description": "报价单位",
  11787. "type": "string"
  11788. },
  11789. "goodunitid": {
  11790. "description": "报价单位ID",
  11791. "type": "integer"
  11792. },
  11793. "holderamount": {
  11794. "description": "期初持仓总金额",
  11795. "type": "number"
  11796. },
  11797. "marketid": {
  11798. "description": "市场ID",
  11799. "type": "integer"
  11800. },
  11801. "openreqqty": {
  11802. "description": "开仓申请数量",
  11803. "type": "integer"
  11804. },
  11805. "opentotalqty": {
  11806. "description": "开仓总数量",
  11807. "type": "integer"
  11808. },
  11809. "otherfrozenqty": {
  11810. "description": "持仓其他冻结数量(交割冻结)",
  11811. "type": "integer"
  11812. },
  11813. "positionqty": {
  11814. "description": "期初持仓数量",
  11815. "type": "integer"
  11816. },
  11817. "szdz3freezqty": {
  11818. "description": "尚志大宗转换冻结总数量",
  11819. "type": "integer"
  11820. },
  11821. "tnqty": {
  11822. "description": "T+N冻结总量",
  11823. "type": "integer"
  11824. },
  11825. "tnusedqty": {
  11826. "description": "T+N使用量",
  11827. "type": "integer"
  11828. },
  11829. "trademode": {
  11830. "description": "交易模式",
  11831. "type": "integer"
  11832. },
  11833. "usedmargin": {
  11834. "description": "占用保证金",
  11835. "type": "number"
  11836. }
  11837. }
  11838. },
  11839. "taaccount.QueryAmountLogRsp": {
  11840. "type": "object",
  11841. "required": [
  11842. "accountid",
  11843. "amount",
  11844. "amountadjusttype",
  11845. "autoid",
  11846. "balance",
  11847. "createtime",
  11848. "currentbalance",
  11849. "operatetype"
  11850. ],
  11851. "properties": {
  11852. "OPERATETYPENAME": {
  11853. "description": "资金操作类型名称",
  11854. "type": "string"
  11855. },
  11856. "accountid": {
  11857. "description": "资金账户ID",
  11858. "type": "integer"
  11859. },
  11860. "agoodscode": {
  11861. "description": "竞拍商品代码",
  11862. "type": "string"
  11863. },
  11864. "agoodsname": {
  11865. "description": "竞拍商品名称",
  11866. "type": "string"
  11867. },
  11868. "amount": {
  11869. "description": "资金金额",
  11870. "type": "number"
  11871. },
  11872. "amountadjusttype": {
  11873. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11874. "type": "integer"
  11875. },
  11876. "autoid": {
  11877. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11878. "type": "integer"
  11879. },
  11880. "balance": {
  11881. "description": "期初余额",
  11882. "type": "number"
  11883. },
  11884. "businesscode": {
  11885. "description": "业务编号",
  11886. "type": "integer"
  11887. },
  11888. "createtime": {
  11889. "description": "发生时间",
  11890. "type": "string"
  11891. },
  11892. "currencyid": {
  11893. "description": "币种ID",
  11894. "type": "integer"
  11895. },
  11896. "currentbalance": {
  11897. "description": "期末余额(变动后金额)",
  11898. "type": "number"
  11899. },
  11900. "dgoodscode": {
  11901. "description": "交割商品代码",
  11902. "type": "string"
  11903. },
  11904. "dgoodsname": {
  11905. "description": "交割商品名称",
  11906. "type": "string"
  11907. },
  11908. "goodscode": {
  11909. "description": "商品代码",
  11910. "type": "string"
  11911. },
  11912. "goodsid": {
  11913. "description": "商品ID",
  11914. "type": "integer"
  11915. },
  11916. "goodsname": {
  11917. "description": "商品名称",
  11918. "type": "string"
  11919. },
  11920. "marketid": {
  11921. "description": "市场ID",
  11922. "type": "integer"
  11923. },
  11924. "marketname": {
  11925. "description": "市场名称",
  11926. "type": "string"
  11927. },
  11928. "moneyticket": {
  11929. "description": "资金流水号:银行端流水号",
  11930. "type": "integer"
  11931. },
  11932. "operatetype": {
  11933. "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:营销收款",
  11934. "type": "integer"
  11935. },
  11936. "relationorderid": {
  11937. "description": "关联单号",
  11938. "type": "string"
  11939. },
  11940. "remark": {
  11941. "description": "备注",
  11942. "type": "string"
  11943. },
  11944. "trademode": {
  11945. "description": "交易模式",
  11946. "type": "integer"
  11947. }
  11948. }
  11949. },
  11950. "taaccount.QueryHisAmountLogRsp": {
  11951. "type": "object",
  11952. "required": [
  11953. "accountid",
  11954. "amount",
  11955. "amountadjusttype",
  11956. "autoid",
  11957. "balance",
  11958. "createtime",
  11959. "currentbalance",
  11960. "histradedate",
  11961. "operatetype"
  11962. ],
  11963. "properties": {
  11964. "OPERATETYPENAME": {
  11965. "description": "资金操作类型名称",
  11966. "type": "string"
  11967. },
  11968. "accountid": {
  11969. "description": "资金账户ID",
  11970. "type": "integer"
  11971. },
  11972. "agoodscode": {
  11973. "description": "竞拍商品代码",
  11974. "type": "string"
  11975. },
  11976. "agoodsname": {
  11977. "description": "竞拍商品名称",
  11978. "type": "string"
  11979. },
  11980. "amount": {
  11981. "description": "资金金额",
  11982. "type": "number"
  11983. },
  11984. "amountadjusttype": {
  11985. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11986. "type": "integer"
  11987. },
  11988. "autoid": {
  11989. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11990. "type": "integer"
  11991. },
  11992. "balance": {
  11993. "description": "期初余额",
  11994. "type": "number"
  11995. },
  11996. "businesscode": {
  11997. "description": "业务编号",
  11998. "type": "integer"
  11999. },
  12000. "createtime": {
  12001. "description": "发生时间",
  12002. "type": "string"
  12003. },
  12004. "currencyid": {
  12005. "description": "币种ID",
  12006. "type": "integer"
  12007. },
  12008. "currentbalance": {
  12009. "description": "期末余额(变动后金额)",
  12010. "type": "number"
  12011. },
  12012. "dgoodscode": {
  12013. "description": "交割商品代码",
  12014. "type": "string"
  12015. },
  12016. "dgoodsname": {
  12017. "description": "交割商品名称",
  12018. "type": "string"
  12019. },
  12020. "goodscode": {
  12021. "description": "商品代码",
  12022. "type": "string"
  12023. },
  12024. "goodsid": {
  12025. "description": "商品ID",
  12026. "type": "integer"
  12027. },
  12028. "goodsname": {
  12029. "description": "商品名称",
  12030. "type": "string"
  12031. },
  12032. "histradedate": {
  12033. "description": "历史交易日",
  12034. "type": "string"
  12035. },
  12036. "isvaliddata": {
  12037. "description": "是否有效 - 0:无效 1:有效",
  12038. "type": "integer"
  12039. },
  12040. "marketid": {
  12041. "description": "市场ID",
  12042. "type": "integer"
  12043. },
  12044. "marketname": {
  12045. "description": "市场名称",
  12046. "type": "string"
  12047. },
  12048. "moneyticket": {
  12049. "description": "资金流水号:银行端流水号",
  12050. "type": "integer"
  12051. },
  12052. "operatetype": {
  12053. "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:营销收款",
  12054. "type": "integer"
  12055. },
  12056. "relationorderid": {
  12057. "description": "关联单号",
  12058. "type": "string"
  12059. },
  12060. "remark": {
  12061. "description": "备注",
  12062. "type": "string"
  12063. },
  12064. "trademode": {
  12065. "description": "交易模式",
  12066. "type": "integer"
  12067. }
  12068. }
  12069. },
  12070. "trade.QueryRecieptOrderRsp": {
  12071. "type": "object",
  12072. "required": [
  12073. "ordertime"
  12074. ],
  12075. "properties": {
  12076. "accountName": {
  12077. "description": "所属账号名称(已脱敏)",
  12078. "type": "string"
  12079. },
  12080. "accountid": {
  12081. "description": "资金账号",
  12082. "type": "integer"
  12083. },
  12084. "buyorsell": {
  12085. "description": "方向 - 0:买 1:卖",
  12086. "type": "integer"
  12087. },
  12088. "enableqty": {
  12089. "description": "可摘数量",
  12090. "type": "integer"
  12091. },
  12092. "goodscode": {
  12093. "description": "商品代码",
  12094. "type": "string"
  12095. },
  12096. "goodsid": {
  12097. "description": "商品ID",
  12098. "type": "integer"
  12099. },
  12100. "goodsname": {
  12101. "description": "商品名称",
  12102. "type": "string"
  12103. },
  12104. "orderid": {
  12105. "description": "委托单号",
  12106. "type": "string"
  12107. },
  12108. "orderprice": {
  12109. "description": "委托价格",
  12110. "type": "number"
  12111. },
  12112. "ordertime": {
  12113. "description": "委托时间",
  12114. "type": "string"
  12115. },
  12116. "tradedate": {
  12117. "description": "交易日(yyyyMMdd)",
  12118. "type": "string"
  12119. }
  12120. }
  12121. }
  12122. },
  12123. "securityDefinitions": {
  12124. "ApiKeyAuth": {
  12125. "type": "apiKey",
  12126. "name": "Authorization",
  12127. "in": "header"
  12128. }
  12129. }
  12130. }`
  12131. type swaggerInfo struct {
  12132. Version string
  12133. Host string
  12134. BasePath string
  12135. Schemes []string
  12136. Title string
  12137. Description string
  12138. }
  12139. // SwaggerInfo holds exported Swagger Info so clients can modify it
  12140. var SwaggerInfo = swaggerInfo{
  12141. Version: "1.0",
  12142. Host: "",
  12143. BasePath: "/api",
  12144. Schemes: []string{},
  12145. Title: "MTP2.0 查询服务 API",
  12146. Description: "新的查询服务,替代原通用查询服务。",
  12147. }
  12148. type s struct{}
  12149. func (s *s) ReadDoc() string {
  12150. sInfo := SwaggerInfo
  12151. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  12152. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  12153. "marshal": func(v interface{}) string {
  12154. a, _ := json.Marshal(v)
  12155. return string(a)
  12156. },
  12157. }).Parse(doc)
  12158. if err != nil {
  12159. return doc
  12160. }
  12161. var tpl bytes.Buffer
  12162. if err := t.Execute(&tpl, sInfo); err != nil {
  12163. return doc
  12164. }
  12165. return tpl.String()
  12166. }
  12167. func init() {
  12168. swag.Register(swag.Name, &s{})
  12169. }