docs.go 463 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907
  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. "parameters": [
  730. {
  731. "type": "integer",
  732. "description": "用户ID",
  733. "name": "UserId",
  734. "in": "query",
  735. "required": true
  736. },
  737. {
  738. "type": "string",
  739. "description": "现货合同ID, 不填则查所有",
  740. "name": "relatedid",
  741. "in": "query"
  742. }
  743. ],
  744. "responses": {
  745. "200": {
  746. "description": "OK",
  747. "schema": {
  748. "type": "array",
  749. "items": {
  750. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  751. }
  752. }
  753. },
  754. "500": {
  755. "description": "Internal Server Error",
  756. "schema": {
  757. "$ref": "#/definitions/app.Response"
  758. }
  759. }
  760. }
  761. }
  762. },
  763. "/Ermcp/QueryBusinessFp": {
  764. "get": {
  765. "security": [
  766. {
  767. "ApiKeyAuth": []
  768. }
  769. ],
  770. "produces": [
  771. "application/json"
  772. ],
  773. "tags": [
  774. "企业风险管理(app)"
  775. ],
  776. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  777. "parameters": [
  778. {
  779. "type": "integer",
  780. "description": "用户ID",
  781. "name": "UserId",
  782. "in": "query",
  783. "required": true
  784. },
  785. {
  786. "type": "string",
  787. "description": "现货合同ID, 不填则查所有",
  788. "name": "relatedid",
  789. "in": "query"
  790. }
  791. ],
  792. "responses": {
  793. "200": {
  794. "description": "OK",
  795. "schema": {
  796. "type": "array",
  797. "items": {
  798. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  799. }
  800. }
  801. },
  802. "500": {
  803. "description": "Internal Server Error",
  804. "schema": {
  805. "$ref": "#/definitions/app.Response"
  806. }
  807. }
  808. }
  809. }
  810. },
  811. "/Ermcp/QueryBusinessJs": {
  812. "get": {
  813. "security": [
  814. {
  815. "ApiKeyAuth": []
  816. }
  817. ],
  818. "produces": [
  819. "application/json"
  820. ],
  821. "tags": [
  822. "企业风险管理(app)"
  823. ],
  824. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  825. "parameters": [
  826. {
  827. "type": "integer",
  828. "description": "用户ID",
  829. "name": "UserId",
  830. "in": "query",
  831. "required": true
  832. },
  833. {
  834. "type": "string",
  835. "description": "现货合同ID, 不填则查所有",
  836. "name": "relatedid",
  837. "in": "query"
  838. }
  839. ],
  840. "responses": {
  841. "200": {
  842. "description": "OK",
  843. "schema": {
  844. "type": "array",
  845. "items": {
  846. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  847. }
  848. }
  849. },
  850. "500": {
  851. "description": "Internal Server Error",
  852. "schema": {
  853. "$ref": "#/definitions/app.Response"
  854. }
  855. }
  856. }
  857. }
  858. },
  859. "/Ermcp/QueryBusinessKx": {
  860. "get": {
  861. "security": [
  862. {
  863. "ApiKeyAuth": []
  864. }
  865. ],
  866. "produces": [
  867. "application/json"
  868. ],
  869. "tags": [
  870. "企业风险管理(app)"
  871. ],
  872. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  873. "parameters": [
  874. {
  875. "type": "integer",
  876. "description": "用户ID",
  877. "name": "UserId",
  878. "in": "query",
  879. "required": true
  880. },
  881. {
  882. "type": "string",
  883. "description": "现货合同ID, 不填则查所有",
  884. "name": "relatedid",
  885. "in": "query"
  886. }
  887. ],
  888. "responses": {
  889. "200": {
  890. "description": "OK",
  891. "schema": {
  892. "type": "array",
  893. "items": {
  894. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  895. }
  896. }
  897. },
  898. "500": {
  899. "description": "Internal Server Error",
  900. "schema": {
  901. "$ref": "#/definitions/app.Response"
  902. }
  903. }
  904. }
  905. }
  906. },
  907. "/Ermcp/QueryChangeLog": {
  908. "get": {
  909. "security": [
  910. {
  911. "ApiKeyAuth": []
  912. }
  913. ],
  914. "produces": [
  915. "application/json"
  916. ],
  917. "tags": [
  918. "企业风险管理(app)"
  919. ],
  920. "summary": "查询变更记录",
  921. "parameters": [
  922. {
  923. "type": "string",
  924. "description": "用户ID",
  925. "name": "RelatedId",
  926. "in": "query",
  927. "required": true
  928. }
  929. ],
  930. "responses": {
  931. "200": {
  932. "description": "OK",
  933. "schema": {
  934. "type": "array",
  935. "items": {
  936. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  937. }
  938. }
  939. },
  940. "500": {
  941. "description": "Internal Server Error",
  942. "schema": {
  943. "$ref": "#/definitions/app.Response"
  944. }
  945. }
  946. }
  947. }
  948. },
  949. "/Ermcp/QueryContract": {
  950. "get": {
  951. "security": [
  952. {
  953. "ApiKeyAuth": []
  954. }
  955. ],
  956. "produces": [
  957. "application/json"
  958. ],
  959. "tags": [
  960. "企业风险管理(app)"
  961. ],
  962. "summary": "查询合同(采购和销售)",
  963. "parameters": [
  964. {
  965. "type": "integer",
  966. "description": "用户ID",
  967. "name": "userId",
  968. "in": "query",
  969. "required": true
  970. },
  971. {
  972. "type": "integer",
  973. "description": "合同类型 1-采购, -1-销售",
  974. "name": "contracttype",
  975. "in": "query",
  976. "required": true
  977. },
  978. {
  979. "type": "integer",
  980. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  981. "name": "querytype",
  982. "in": "query",
  983. "required": true
  984. }
  985. ],
  986. "responses": {
  987. "200": {
  988. "description": "OK",
  989. "schema": {
  990. "type": "array",
  991. "items": {
  992. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  993. }
  994. }
  995. },
  996. "500": {
  997. "description": "Internal Server Error",
  998. "schema": {
  999. "$ref": "#/definitions/app.Response"
  1000. }
  1001. }
  1002. }
  1003. }
  1004. },
  1005. "/Ermcp/QueryHedgePlan": {
  1006. "get": {
  1007. "security": [
  1008. {
  1009. "ApiKeyAuth": []
  1010. }
  1011. ],
  1012. "produces": [
  1013. "application/json"
  1014. ],
  1015. "tags": [
  1016. "企业风险管理(app)"
  1017. ],
  1018. "summary": "查询套保计划",
  1019. "parameters": [
  1020. {
  1021. "type": "integer",
  1022. "description": "用户ID",
  1023. "name": "userId",
  1024. "in": "query",
  1025. "required": true
  1026. },
  1027. {
  1028. "type": "string",
  1029. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1030. "name": "HedgePlanStatus",
  1031. "in": "query",
  1032. "required": true
  1033. }
  1034. ],
  1035. "responses": {
  1036. "200": {
  1037. "description": "OK",
  1038. "schema": {
  1039. "type": "array",
  1040. "items": {
  1041. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1042. }
  1043. }
  1044. },
  1045. "500": {
  1046. "description": "Internal Server Error",
  1047. "schema": {
  1048. "$ref": "#/definitions/app.Response"
  1049. }
  1050. }
  1051. }
  1052. }
  1053. },
  1054. "/Ermcp/QueryRealtimeExposure": {
  1055. "get": {
  1056. "security": [
  1057. {
  1058. "ApiKeyAuth": []
  1059. }
  1060. ],
  1061. "produces": [
  1062. "application/json"
  1063. ],
  1064. "tags": [
  1065. "企业风险管理(app)"
  1066. ],
  1067. "summary": "查询实时敞口",
  1068. "parameters": [
  1069. {
  1070. "type": "integer",
  1071. "description": "所属机构ID",
  1072. "name": "AreaUserID",
  1073. "in": "query",
  1074. "required": true
  1075. }
  1076. ],
  1077. "responses": {
  1078. "200": {
  1079. "description": "OK",
  1080. "schema": {
  1081. "type": "array",
  1082. "items": {
  1083. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1084. }
  1085. }
  1086. },
  1087. "500": {
  1088. "description": "Internal Server Error",
  1089. "schema": {
  1090. "$ref": "#/definitions/app.Response"
  1091. }
  1092. }
  1093. }
  1094. }
  1095. },
  1096. "/Ermcp/QuerySpotContract": {
  1097. "get": {
  1098. "security": [
  1099. {
  1100. "ApiKeyAuth": []
  1101. }
  1102. ],
  1103. "produces": [
  1104. "application/json"
  1105. ],
  1106. "tags": [
  1107. "企业风险管理(app)"
  1108. ],
  1109. "summary": "查询现货合同(对应现货合同菜单)",
  1110. "parameters": [
  1111. {
  1112. "type": "integer",
  1113. "description": "用户ID",
  1114. "name": "userId",
  1115. "in": "query",
  1116. "required": true
  1117. },
  1118. {
  1119. "type": "integer",
  1120. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1121. "name": "QueryType",
  1122. "in": "query",
  1123. "required": true
  1124. }
  1125. ],
  1126. "responses": {
  1127. "200": {
  1128. "description": "OK",
  1129. "schema": {
  1130. "type": "array",
  1131. "items": {
  1132. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1133. }
  1134. }
  1135. },
  1136. "500": {
  1137. "description": "Internal Server Error",
  1138. "schema": {
  1139. "$ref": "#/definitions/app.Response"
  1140. }
  1141. }
  1142. }
  1143. }
  1144. },
  1145. "/Ermcp/QueryUserInfo": {
  1146. "get": {
  1147. "security": [
  1148. {
  1149. "ApiKeyAuth": []
  1150. }
  1151. ],
  1152. "produces": [
  1153. "application/json"
  1154. ],
  1155. "tags": [
  1156. "企业风险管理(app)"
  1157. ],
  1158. "summary": "查询客户资料",
  1159. "parameters": [
  1160. {
  1161. "type": "integer",
  1162. "description": "所属机构用户ID",
  1163. "name": "MemberUserID",
  1164. "in": "query",
  1165. "required": true
  1166. },
  1167. {
  1168. "type": "integer",
  1169. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1170. "name": "queryType",
  1171. "in": "query",
  1172. "required": true
  1173. }
  1174. ],
  1175. "responses": {
  1176. "200": {
  1177. "description": "OK",
  1178. "schema": {
  1179. "type": "array",
  1180. "items": {
  1181. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1182. }
  1183. }
  1184. },
  1185. "500": {
  1186. "description": "Internal Server Error",
  1187. "schema": {
  1188. "$ref": "#/definitions/app.Response"
  1189. }
  1190. }
  1191. }
  1192. }
  1193. },
  1194. "/Ermcp/QueryWrStandard": {
  1195. "get": {
  1196. "security": [
  1197. {
  1198. "ApiKeyAuth": []
  1199. }
  1200. ],
  1201. "produces": [
  1202. "application/json"
  1203. ],
  1204. "tags": [
  1205. "企业风险管理(app)"
  1206. ],
  1207. "summary": "查询现货商品",
  1208. "parameters": [
  1209. {
  1210. "type": "integer",
  1211. "description": "所属机构ID",
  1212. "name": "userid",
  1213. "in": "query",
  1214. "required": true
  1215. }
  1216. ],
  1217. "responses": {
  1218. "200": {
  1219. "description": "OK",
  1220. "schema": {
  1221. "type": "array",
  1222. "items": {
  1223. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1224. }
  1225. }
  1226. },
  1227. "500": {
  1228. "description": "Internal Server Error",
  1229. "schema": {
  1230. "$ref": "#/definitions/app.Response"
  1231. }
  1232. }
  1233. }
  1234. }
  1235. },
  1236. "/Erms2/QueryArbitrageStrategy": {
  1237. "get": {
  1238. "security": [
  1239. {
  1240. "ApiKeyAuth": []
  1241. }
  1242. ],
  1243. "produces": [
  1244. "application/json"
  1245. ],
  1246. "tags": [
  1247. "风险管理"
  1248. ],
  1249. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1250. "parameters": [
  1251. {
  1252. "type": "integer",
  1253. "description": "账户ID",
  1254. "name": "userid",
  1255. "in": "query",
  1256. "required": true
  1257. },
  1258. {
  1259. "type": "string",
  1260. "description": "商品组ID(品种ID)",
  1261. "name": "goodsgroupid",
  1262. "in": "query"
  1263. }
  1264. ],
  1265. "responses": {
  1266. "200": {
  1267. "description": "OK",
  1268. "schema": {
  1269. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1270. }
  1271. },
  1272. "500": {
  1273. "description": "Internal Server Error",
  1274. "schema": {
  1275. "$ref": "#/definitions/app.Response"
  1276. }
  1277. }
  1278. }
  1279. }
  1280. },
  1281. "/Erms2/QueryInnerTradeDetail": {
  1282. "get": {
  1283. "security": [
  1284. {
  1285. "ApiKeyAuth": []
  1286. }
  1287. ],
  1288. "produces": [
  1289. "application/json"
  1290. ],
  1291. "tags": [
  1292. "风险管理"
  1293. ],
  1294. "summary": "查询内部成交单信息",
  1295. "parameters": [
  1296. {
  1297. "type": "integer",
  1298. "description": "资金账户",
  1299. "name": "accountid",
  1300. "in": "query",
  1301. "required": true
  1302. }
  1303. ],
  1304. "responses": {
  1305. "200": {
  1306. "description": "OK",
  1307. "schema": {
  1308. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1309. }
  1310. },
  1311. "500": {
  1312. "description": "Internal Server Error",
  1313. "schema": {
  1314. "$ref": "#/definitions/app.Response"
  1315. }
  1316. }
  1317. }
  1318. }
  1319. },
  1320. "/Erms2/QuerySpotContract": {
  1321. "get": {
  1322. "security": [
  1323. {
  1324. "ApiKeyAuth": []
  1325. }
  1326. ],
  1327. "produces": [
  1328. "application/json"
  1329. ],
  1330. "tags": [
  1331. "风险管理"
  1332. ],
  1333. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1334. "parameters": [
  1335. {
  1336. "type": "integer",
  1337. "description": "策略申请ID",
  1338. "name": "asapplyid",
  1339. "in": "query",
  1340. "required": true
  1341. },
  1342. {
  1343. "type": "integer",
  1344. "description": "现货合同ID",
  1345. "name": "spotcontractid",
  1346. "in": "query"
  1347. }
  1348. ],
  1349. "responses": {
  1350. "200": {
  1351. "description": "OK",
  1352. "schema": {
  1353. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1354. }
  1355. },
  1356. "500": {
  1357. "description": "Internal Server Error",
  1358. "schema": {
  1359. "$ref": "#/definitions/app.Response"
  1360. }
  1361. }
  1362. }
  1363. }
  1364. },
  1365. "/Erms3/AddErms2ASApply": {
  1366. "post": {
  1367. "security": [
  1368. {
  1369. "ApiKeyAuth": []
  1370. }
  1371. ],
  1372. "produces": [
  1373. "application/json"
  1374. ],
  1375. "tags": [
  1376. "风险管理v3"
  1377. ],
  1378. "summary": "新增期现套利业务申请",
  1379. "parameters": [
  1380. {
  1381. "description": "申请参数",
  1382. "name": "jsonBody",
  1383. "in": "body",
  1384. "required": true,
  1385. "schema": {
  1386. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1387. }
  1388. }
  1389. ],
  1390. "responses": {
  1391. "200": {
  1392. "description": "OK",
  1393. "schema": {
  1394. "$ref": "#/definitions/app.Response"
  1395. }
  1396. },
  1397. "500": {
  1398. "description": "Internal Server Error",
  1399. "schema": {
  1400. "$ref": "#/definitions/app.Response"
  1401. }
  1402. }
  1403. }
  1404. }
  1405. },
  1406. "/Erms3/AddErms2SpotTradeApply": {
  1407. "post": {
  1408. "security": [
  1409. {
  1410. "ApiKeyAuth": []
  1411. }
  1412. ],
  1413. "produces": [
  1414. "application/json"
  1415. ],
  1416. "tags": [
  1417. "风险管理v3"
  1418. ],
  1419. "summary": "新增现货贸易业务申请",
  1420. "parameters": [
  1421. {
  1422. "description": "申请参数",
  1423. "name": "jsonBody",
  1424. "in": "body",
  1425. "required": true,
  1426. "schema": {
  1427. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1428. }
  1429. }
  1430. ],
  1431. "responses": {
  1432. "200": {
  1433. "description": "OK",
  1434. "schema": {
  1435. "$ref": "#/definitions/app.Response"
  1436. }
  1437. },
  1438. "500": {
  1439. "description": "Internal Server Error",
  1440. "schema": {
  1441. "$ref": "#/definitions/app.Response"
  1442. }
  1443. }
  1444. }
  1445. }
  1446. },
  1447. "/Erms3/AddSpotContractApply": {
  1448. "post": {
  1449. "security": [
  1450. {
  1451. "ApiKeyAuth": []
  1452. }
  1453. ],
  1454. "produces": [
  1455. "application/json"
  1456. ],
  1457. "tags": [
  1458. "风险管理v3"
  1459. ],
  1460. "summary": "新增现货合同申请",
  1461. "parameters": [
  1462. {
  1463. "description": "申请参数",
  1464. "name": "jsonBody",
  1465. "in": "body",
  1466. "required": true,
  1467. "schema": {
  1468. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1469. }
  1470. }
  1471. ],
  1472. "responses": {
  1473. "200": {
  1474. "description": "OK",
  1475. "schema": {
  1476. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1477. }
  1478. },
  1479. "500": {
  1480. "description": "Internal Server Error",
  1481. "schema": {
  1482. "$ref": "#/definitions/app.Response"
  1483. }
  1484. }
  1485. }
  1486. }
  1487. },
  1488. "/Erms3/AddUserInfoApply": {
  1489. "post": {
  1490. "security": [
  1491. {
  1492. "ApiKeyAuth": []
  1493. }
  1494. ],
  1495. "produces": [
  1496. "application/json"
  1497. ],
  1498. "tags": [
  1499. "风险管理v3"
  1500. ],
  1501. "summary": "新增客户申请",
  1502. "parameters": [
  1503. {
  1504. "description": "申请参数",
  1505. "name": "jsonBody",
  1506. "in": "body",
  1507. "required": true,
  1508. "schema": {
  1509. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1510. }
  1511. }
  1512. ],
  1513. "responses": {
  1514. "200": {
  1515. "description": "OK",
  1516. "schema": {
  1517. "$ref": "#/definitions/app.Response"
  1518. }
  1519. },
  1520. "500": {
  1521. "description": "Internal Server Error",
  1522. "schema": {
  1523. "$ref": "#/definitions/app.Response"
  1524. }
  1525. }
  1526. }
  1527. }
  1528. },
  1529. "/Erms3/QueryBusinessInfo": {
  1530. "get": {
  1531. "security": [
  1532. {
  1533. "ApiKeyAuth": []
  1534. }
  1535. ],
  1536. "produces": [
  1537. "application/json"
  1538. ],
  1539. "tags": [
  1540. "风险管理v3"
  1541. ],
  1542. "summary": "查询业务表单数据",
  1543. "parameters": [
  1544. {
  1545. "type": "string",
  1546. "description": "资金账号ID列表,用逗号分隔",
  1547. "name": "accountids",
  1548. "in": "query",
  1549. "required": true
  1550. },
  1551. {
  1552. "type": "integer",
  1553. "description": "状态,0为未结束 1为已结束",
  1554. "name": "status",
  1555. "in": "query",
  1556. "required": true
  1557. }
  1558. ],
  1559. "responses": {
  1560. "200": {
  1561. "description": "OK",
  1562. "schema": {
  1563. "type": "array",
  1564. "items": {
  1565. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1566. }
  1567. }
  1568. },
  1569. "500": {
  1570. "description": "Internal Server Error",
  1571. "schema": {
  1572. "$ref": "#/definitions/app.Response"
  1573. }
  1574. }
  1575. }
  1576. }
  1577. },
  1578. "/Erms3/QueryPendingAuditContract": {
  1579. "get": {
  1580. "security": [
  1581. {
  1582. "ApiKeyAuth": []
  1583. }
  1584. ],
  1585. "produces": [
  1586. "application/json"
  1587. ],
  1588. "tags": [
  1589. "风险管理v3"
  1590. ],
  1591. "summary": "查询待审核合同",
  1592. "parameters": [
  1593. {
  1594. "type": "string",
  1595. "description": "资金账号ID列表,逗号隔开",
  1596. "name": "accountids",
  1597. "in": "query",
  1598. "required": true
  1599. },
  1600. {
  1601. "type": "integer",
  1602. "description": "合同类型 1-采购 -1-销售",
  1603. "name": "contracttype",
  1604. "in": "query",
  1605. "required": true
  1606. },
  1607. {
  1608. "type": "integer",
  1609. "description": "合同模式 1-普通 2-回购",
  1610. "name": "contractmode",
  1611. "in": "query",
  1612. "required": true
  1613. }
  1614. ],
  1615. "responses": {
  1616. "200": {
  1617. "description": "OK",
  1618. "schema": {
  1619. "type": "array",
  1620. "items": {
  1621. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1622. }
  1623. }
  1624. },
  1625. "500": {
  1626. "description": "Internal Server Error",
  1627. "schema": {
  1628. "$ref": "#/definitions/app.Response"
  1629. }
  1630. }
  1631. }
  1632. }
  1633. },
  1634. "/Erms3/QueryPendingBusiness": {
  1635. "get": {
  1636. "security": [
  1637. {
  1638. "ApiKeyAuth": []
  1639. }
  1640. ],
  1641. "produces": [
  1642. "application/json"
  1643. ],
  1644. "tags": [
  1645. "风险管理v3"
  1646. ],
  1647. "summary": "查询待审核基差贸易业务",
  1648. "parameters": [
  1649. {
  1650. "type": "string",
  1651. "description": "资金账号ID列表,逗号隔开",
  1652. "name": "accountids",
  1653. "in": "query",
  1654. "required": true
  1655. }
  1656. ],
  1657. "responses": {
  1658. "200": {
  1659. "description": "OK",
  1660. "schema": {
  1661. "type": "array",
  1662. "items": {
  1663. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1664. }
  1665. }
  1666. },
  1667. "500": {
  1668. "description": "Internal Server Error",
  1669. "schema": {
  1670. "$ref": "#/definitions/app.Response"
  1671. }
  1672. }
  1673. }
  1674. }
  1675. },
  1676. "/Erms3/QuerySpotContractAppleForm": {
  1677. "get": {
  1678. "security": [
  1679. {
  1680. "ApiKeyAuth": []
  1681. }
  1682. ],
  1683. "produces": [
  1684. "application/json"
  1685. ],
  1686. "tags": [
  1687. "风险管理v3"
  1688. ],
  1689. "summary": "查询合同申请表单数据",
  1690. "parameters": [
  1691. {
  1692. "type": "integer",
  1693. "description": "登录账号",
  1694. "name": "loginID",
  1695. "in": "query",
  1696. "required": true
  1697. }
  1698. ],
  1699. "responses": {
  1700. "200": {
  1701. "description": "OK",
  1702. "schema": {
  1703. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1704. }
  1705. },
  1706. "500": {
  1707. "description": "Internal Server Error",
  1708. "schema": {
  1709. "$ref": "#/definitions/app.Response"
  1710. }
  1711. }
  1712. }
  1713. }
  1714. },
  1715. "/Erms3/QuerySpotContractDetail": {
  1716. "get": {
  1717. "security": [
  1718. {
  1719. "ApiKeyAuth": []
  1720. }
  1721. ],
  1722. "produces": [
  1723. "application/json"
  1724. ],
  1725. "tags": [
  1726. "风险管理v3"
  1727. ],
  1728. "summary": "查询合同详细信息",
  1729. "parameters": [
  1730. {
  1731. "type": "string",
  1732. "description": "资金账号ID列表,用逗号分隔",
  1733. "name": "accountids",
  1734. "in": "query",
  1735. "required": true
  1736. },
  1737. {
  1738. "type": "integer",
  1739. "description": "合同类型,1为采购合同 -1为销售合同",
  1740. "name": "contracttype",
  1741. "in": "query",
  1742. "required": true
  1743. },
  1744. {
  1745. "type": "integer",
  1746. "description": "合同模式,1为普通合同 2为回购销售合同",
  1747. "name": "contractmode",
  1748. "in": "query",
  1749. "required": true
  1750. },
  1751. {
  1752. "type": "integer",
  1753. "description": "状态,0为履约中 1为已完成",
  1754. "name": "status",
  1755. "in": "query",
  1756. "required": true
  1757. }
  1758. ],
  1759. "responses": {
  1760. "200": {
  1761. "description": "OK",
  1762. "schema": {
  1763. "type": "array",
  1764. "items": {
  1765. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1766. }
  1767. }
  1768. },
  1769. "500": {
  1770. "description": "Internal Server Error",
  1771. "schema": {
  1772. "$ref": "#/definitions/app.Response"
  1773. }
  1774. }
  1775. }
  1776. }
  1777. },
  1778. "/Erms3/QueryUserInfoApplies": {
  1779. "get": {
  1780. "security": [
  1781. {
  1782. "ApiKeyAuth": []
  1783. }
  1784. ],
  1785. "produces": [
  1786. "application/json"
  1787. ],
  1788. "tags": [
  1789. "风险管理v3"
  1790. ],
  1791. "summary": "客户申请信息查询",
  1792. "parameters": [
  1793. {
  1794. "type": "integer",
  1795. "description": "页码",
  1796. "name": "page",
  1797. "in": "query"
  1798. },
  1799. {
  1800. "type": "integer",
  1801. "description": "每页条数",
  1802. "name": "pagesize",
  1803. "in": "query"
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "客户名称,支持模糊查询",
  1808. "name": "userName",
  1809. "in": "query"
  1810. }
  1811. ],
  1812. "responses": {
  1813. "200": {
  1814. "description": "OK",
  1815. "schema": {
  1816. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1817. }
  1818. },
  1819. "500": {
  1820. "description": "Internal Server Error",
  1821. "schema": {
  1822. "$ref": "#/definitions/app.Response"
  1823. }
  1824. }
  1825. }
  1826. }
  1827. },
  1828. "/Erms3/QueryUserInfos": {
  1829. "get": {
  1830. "security": [
  1831. {
  1832. "ApiKeyAuth": []
  1833. }
  1834. ],
  1835. "produces": [
  1836. "application/json"
  1837. ],
  1838. "tags": [
  1839. "风险管理v3"
  1840. ],
  1841. "summary": "客户信息查询",
  1842. "parameters": [
  1843. {
  1844. "type": "integer",
  1845. "description": "页码",
  1846. "name": "page",
  1847. "in": "query"
  1848. },
  1849. {
  1850. "type": "integer",
  1851. "description": "每页条数",
  1852. "name": "pagesize",
  1853. "in": "query"
  1854. },
  1855. {
  1856. "type": "string",
  1857. "description": "客户名称,支持模糊查询",
  1858. "name": "userName",
  1859. "in": "query"
  1860. }
  1861. ],
  1862. "responses": {
  1863. "200": {
  1864. "description": "OK",
  1865. "schema": {
  1866. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1867. }
  1868. },
  1869. "500": {
  1870. "description": "Internal Server Error",
  1871. "schema": {
  1872. "$ref": "#/definitions/app.Response"
  1873. }
  1874. }
  1875. }
  1876. }
  1877. },
  1878. "/HSBY/GetHsbyMyCount": {
  1879. "get": {
  1880. "security": [
  1881. {
  1882. "ApiKeyAuth": []
  1883. }
  1884. ],
  1885. "description": "说明: 不包括已完成的数量。",
  1886. "produces": [
  1887. "application/json"
  1888. ],
  1889. "tags": [
  1890. "定制【海商报业】"
  1891. ],
  1892. "summary": "获取我的订单与包裹数量",
  1893. "parameters": [
  1894. {
  1895. "type": "string",
  1896. "description": "资金账户列表,格式:1,2,3",
  1897. "name": "accountIDs",
  1898. "in": "query",
  1899. "required": true
  1900. }
  1901. ],
  1902. "responses": {
  1903. "200": {
  1904. "description": "OK",
  1905. "schema": {
  1906. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1907. }
  1908. },
  1909. "500": {
  1910. "description": "Internal Server Error",
  1911. "schema": {
  1912. "$ref": "#/definitions/app.Response"
  1913. }
  1914. }
  1915. }
  1916. }
  1917. },
  1918. "/HSBY/QueryClientFixedADConfigs": {
  1919. "get": {
  1920. "security": [
  1921. {
  1922. "ApiKeyAuth": []
  1923. }
  1924. ],
  1925. "produces": [
  1926. "application/json"
  1927. ],
  1928. "tags": [
  1929. "定制【海商报业】"
  1930. ],
  1931. "summary": "获取终端固定广告配置",
  1932. "responses": {
  1933. "200": {
  1934. "description": "OK",
  1935. "schema": {
  1936. "$ref": "#/definitions/models.Clientfixedadconfig"
  1937. }
  1938. },
  1939. "500": {
  1940. "description": "Internal Server Error",
  1941. "schema": {
  1942. "$ref": "#/definitions/app.Response"
  1943. }
  1944. }
  1945. }
  1946. }
  1947. },
  1948. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1949. "get": {
  1950. "security": [
  1951. {
  1952. "ApiKeyAuth": []
  1953. }
  1954. ],
  1955. "produces": [
  1956. "application/json"
  1957. ],
  1958. "tags": [
  1959. "定制【海商报业】"
  1960. ],
  1961. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1962. "parameters": [
  1963. {
  1964. "type": "integer",
  1965. "description": "页码",
  1966. "name": "page",
  1967. "in": "query"
  1968. },
  1969. {
  1970. "type": "integer",
  1971. "description": "每页条数",
  1972. "name": "pagesize",
  1973. "in": "query"
  1974. },
  1975. {
  1976. "type": "string",
  1977. "description": "资金账户列表,格式:1,2,3",
  1978. "name": "accountIDs",
  1979. "in": "query",
  1980. "required": true
  1981. }
  1982. ],
  1983. "responses": {
  1984. "200": {
  1985. "description": "OK",
  1986. "schema": {
  1987. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1988. }
  1989. },
  1990. "500": {
  1991. "description": "Internal Server Error",
  1992. "schema": {
  1993. "$ref": "#/definitions/app.Response"
  1994. }
  1995. }
  1996. }
  1997. }
  1998. },
  1999. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2000. "get": {
  2001. "security": [
  2002. {
  2003. "ApiKeyAuth": []
  2004. }
  2005. ],
  2006. "description": "说明:查询结果已按委托价格和委托时间排序",
  2007. "produces": [
  2008. "application/json"
  2009. ],
  2010. "tags": [
  2011. "定制【海商报业】"
  2012. ],
  2013. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2014. "parameters": [
  2015. {
  2016. "type": "integer",
  2017. "description": "商品ID",
  2018. "name": "goodsID",
  2019. "in": "query",
  2020. "required": true
  2021. },
  2022. {
  2023. "type": "string",
  2024. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2025. "name": "accountIDs",
  2026. "in": "query"
  2027. },
  2028. {
  2029. "type": "integer",
  2030. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2031. "name": "buyOrSell",
  2032. "in": "query"
  2033. },
  2034. {
  2035. "type": "number",
  2036. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2037. "name": "price",
  2038. "in": "query"
  2039. },
  2040. {
  2041. "type": "integer",
  2042. "description": "档位,不传则默认为3档",
  2043. "name": "speed",
  2044. "in": "query"
  2045. }
  2046. ],
  2047. "responses": {
  2048. "200": {
  2049. "description": "OK",
  2050. "schema": {
  2051. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2052. }
  2053. },
  2054. "500": {
  2055. "description": "Internal Server Error",
  2056. "schema": {
  2057. "$ref": "#/definitions/app.Response"
  2058. }
  2059. }
  2060. }
  2061. }
  2062. },
  2063. "/HSBY/QueryHsbyListingGoodsDetail": {
  2064. "get": {
  2065. "security": [
  2066. {
  2067. "ApiKeyAuth": []
  2068. }
  2069. ],
  2070. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2071. "produces": [
  2072. "application/json"
  2073. ],
  2074. "tags": [
  2075. "定制【海商报业】"
  2076. ],
  2077. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2078. "parameters": [
  2079. {
  2080. "type": "integer",
  2081. "description": "商品ID",
  2082. "name": "goodsID",
  2083. "in": "query",
  2084. "required": true
  2085. },
  2086. {
  2087. "type": "integer",
  2088. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2089. "name": "accountID",
  2090. "in": "query"
  2091. }
  2092. ],
  2093. "responses": {
  2094. "200": {
  2095. "description": "OK",
  2096. "schema": {
  2097. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2098. }
  2099. },
  2100. "500": {
  2101. "description": "Internal Server Error",
  2102. "schema": {
  2103. "$ref": "#/definitions/app.Response"
  2104. }
  2105. }
  2106. }
  2107. }
  2108. },
  2109. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2110. "get": {
  2111. "security": [
  2112. {
  2113. "ApiKeyAuth": []
  2114. }
  2115. ],
  2116. "produces": [
  2117. "application/json"
  2118. ],
  2119. "tags": [
  2120. "定制【海商报业】"
  2121. ],
  2122. "summary": "查询三级市场(商城)商品信息详情",
  2123. "parameters": [
  2124. {
  2125. "type": "integer",
  2126. "description": "委托单号",
  2127. "name": "orderID",
  2128. "in": "query",
  2129. "required": true
  2130. },
  2131. {
  2132. "type": "integer",
  2133. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2134. "name": "accountID",
  2135. "in": "query"
  2136. }
  2137. ],
  2138. "responses": {
  2139. "200": {
  2140. "description": "OK",
  2141. "schema": {
  2142. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2143. }
  2144. },
  2145. "500": {
  2146. "description": "Internal Server Error",
  2147. "schema": {
  2148. "$ref": "#/definitions/app.Response"
  2149. }
  2150. }
  2151. }
  2152. }
  2153. },
  2154. "/HSBY/QueryHsbyMarketGoodses": {
  2155. "get": {
  2156. "security": [
  2157. {
  2158. "ApiKeyAuth": []
  2159. }
  2160. ],
  2161. "produces": [
  2162. "application/json"
  2163. ],
  2164. "tags": [
  2165. "定制【海商报业】"
  2166. ],
  2167. "summary": "查询特卖商品列表(三级商城)",
  2168. "parameters": [
  2169. {
  2170. "type": "integer",
  2171. "description": "页码",
  2172. "name": "page",
  2173. "in": "query"
  2174. },
  2175. {
  2176. "type": "integer",
  2177. "description": "每页条数",
  2178. "name": "pagesize",
  2179. "in": "query"
  2180. },
  2181. {
  2182. "type": "string",
  2183. "description": "市场ID列表,格式:1,2,3",
  2184. "name": "marketIDs",
  2185. "in": "query",
  2186. "required": true
  2187. },
  2188. {
  2189. "type": "integer",
  2190. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2191. "name": "accountID",
  2192. "in": "query",
  2193. "required": true
  2194. },
  2195. {
  2196. "type": "integer",
  2197. "description": "类别ID",
  2198. "name": "categoryID",
  2199. "in": "query"
  2200. },
  2201. {
  2202. "type": "string",
  2203. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2204. "name": "goodsIDs",
  2205. "in": "query"
  2206. },
  2207. {
  2208. "type": "integer",
  2209. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2210. "name": "couponTypeID",
  2211. "in": "query"
  2212. }
  2213. ],
  2214. "responses": {
  2215. "200": {
  2216. "description": "OK",
  2217. "schema": {
  2218. "$ref": "#/definitions/models.HsbyMarketGoods"
  2219. }
  2220. },
  2221. "500": {
  2222. "description": "Internal Server Error",
  2223. "schema": {
  2224. "$ref": "#/definitions/app.Response"
  2225. }
  2226. }
  2227. }
  2228. }
  2229. },
  2230. "/HSBY/QueryHsbyMarkets": {
  2231. "get": {
  2232. "security": [
  2233. {
  2234. "ApiKeyAuth": []
  2235. }
  2236. ],
  2237. "produces": [
  2238. "application/json"
  2239. ],
  2240. "tags": [
  2241. "定制【海商报业】"
  2242. ],
  2243. "summary": "查询海商报业相关市场信息",
  2244. "responses": {
  2245. "200": {
  2246. "description": "OK",
  2247. "schema": {
  2248. "$ref": "#/definitions/models.HsbyMarketInfo"
  2249. }
  2250. },
  2251. "500": {
  2252. "description": "Internal Server Error",
  2253. "schema": {
  2254. "$ref": "#/definitions/app.Response"
  2255. }
  2256. }
  2257. }
  2258. }
  2259. },
  2260. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2261. "get": {
  2262. "security": [
  2263. {
  2264. "ApiKeyAuth": []
  2265. }
  2266. ],
  2267. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2268. "produces": [
  2269. "application/json"
  2270. ],
  2271. "tags": [
  2272. "定制【海商报业】"
  2273. ],
  2274. "summary": "查询“我的订单”信息",
  2275. "parameters": [
  2276. {
  2277. "type": "string",
  2278. "description": "资金账户列表,格式:1,2,3",
  2279. "name": "accountIDs",
  2280. "in": "query",
  2281. "required": true
  2282. },
  2283. {
  2284. "type": "integer",
  2285. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2286. "name": "myBuyStatus",
  2287. "in": "query"
  2288. }
  2289. ],
  2290. "responses": {
  2291. "200": {
  2292. "description": "OK",
  2293. "schema": {
  2294. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2295. }
  2296. },
  2297. "500": {
  2298. "description": "Internal Server Error",
  2299. "schema": {
  2300. "$ref": "#/definitions/app.Response"
  2301. }
  2302. }
  2303. }
  2304. }
  2305. },
  2306. "/HSBY/QueryHsbyMyGoods": {
  2307. "get": {
  2308. "security": [
  2309. {
  2310. "ApiKeyAuth": []
  2311. }
  2312. ],
  2313. "produces": [
  2314. "application/json"
  2315. ],
  2316. "tags": [
  2317. "定制【海商报业】"
  2318. ],
  2319. "summary": "查询“我的商品”信息",
  2320. "parameters": [
  2321. {
  2322. "type": "string",
  2323. "description": "资金账户列表,格式:1,2,3",
  2324. "name": "accountIDs",
  2325. "in": "query",
  2326. "required": true
  2327. }
  2328. ],
  2329. "responses": {
  2330. "200": {
  2331. "description": "OK",
  2332. "schema": {
  2333. "$ref": "#/definitions/models.HsbyMyGoods"
  2334. }
  2335. },
  2336. "500": {
  2337. "description": "Internal Server Error",
  2338. "schema": {
  2339. "$ref": "#/definitions/app.Response"
  2340. }
  2341. }
  2342. }
  2343. }
  2344. },
  2345. "/HSBY/QueryHsbyMyPackages": {
  2346. "get": {
  2347. "security": [
  2348. {
  2349. "ApiKeyAuth": []
  2350. }
  2351. ],
  2352. "produces": [
  2353. "application/json"
  2354. ],
  2355. "tags": [
  2356. "定制【海商报业】"
  2357. ],
  2358. "summary": "查询我的包裹信息",
  2359. "parameters": [
  2360. {
  2361. "type": "string",
  2362. "description": "资金账户列表,格式:1,2,3",
  2363. "name": "accountIDs",
  2364. "in": "query",
  2365. "required": true
  2366. },
  2367. {
  2368. "type": "integer",
  2369. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2370. "name": "takeOrderStatus",
  2371. "in": "query"
  2372. }
  2373. ],
  2374. "responses": {
  2375. "200": {
  2376. "description": "OK",
  2377. "schema": {
  2378. "$ref": "#/definitions/models.HsbyMyPackage"
  2379. }
  2380. },
  2381. "500": {
  2382. "description": "Internal Server Error",
  2383. "schema": {
  2384. "$ref": "#/definitions/app.Response"
  2385. }
  2386. }
  2387. }
  2388. }
  2389. },
  2390. "/HSBY/QueryHsbyPreGoodsDetail": {
  2391. "get": {
  2392. "security": [
  2393. {
  2394. "ApiKeyAuth": []
  2395. }
  2396. ],
  2397. "produces": [
  2398. "application/json"
  2399. ],
  2400. "tags": [
  2401. "定制【海商报业】"
  2402. ],
  2403. "summary": "查询一级市场(预售)商品信息详情",
  2404. "parameters": [
  2405. {
  2406. "type": "integer",
  2407. "description": "商品ID",
  2408. "name": "goodsID",
  2409. "in": "query",
  2410. "required": true
  2411. },
  2412. {
  2413. "type": "integer",
  2414. "description": "资金账户,主要用于获取预售商品购买上限",
  2415. "name": "accountID",
  2416. "in": "query"
  2417. }
  2418. ],
  2419. "responses": {
  2420. "200": {
  2421. "description": "OK",
  2422. "schema": {
  2423. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2424. }
  2425. },
  2426. "500": {
  2427. "description": "Internal Server Error",
  2428. "schema": {
  2429. "$ref": "#/definitions/app.Response"
  2430. }
  2431. }
  2432. }
  2433. }
  2434. },
  2435. "/HSBY/QueryHsbyPreGoodses": {
  2436. "get": {
  2437. "security": [
  2438. {
  2439. "ApiKeyAuth": []
  2440. }
  2441. ],
  2442. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2443. "produces": [
  2444. "application/json"
  2445. ],
  2446. "tags": [
  2447. "定制【海商报业】"
  2448. ],
  2449. "summary": "查询新品上市商品列表(一级市场预售)",
  2450. "parameters": [
  2451. {
  2452. "type": "integer",
  2453. "description": "页码",
  2454. "name": "page",
  2455. "in": "query"
  2456. },
  2457. {
  2458. "type": "integer",
  2459. "description": "每页条数",
  2460. "name": "pagesize",
  2461. "in": "query"
  2462. },
  2463. {
  2464. "type": "string",
  2465. "description": "市场ID列表,格式:1,2,3",
  2466. "name": "marketIDs",
  2467. "in": "query",
  2468. "required": true
  2469. },
  2470. {
  2471. "type": "integer",
  2472. "description": "目的地(省)ID",
  2473. "name": "descProvinceID",
  2474. "in": "query"
  2475. },
  2476. {
  2477. "type": "integer",
  2478. "description": "目的地(市)ID",
  2479. "name": "descCityID",
  2480. "in": "query"
  2481. }
  2482. ],
  2483. "responses": {
  2484. "200": {
  2485. "description": "OK",
  2486. "schema": {
  2487. "$ref": "#/definitions/models.HsbyPreGoods"
  2488. }
  2489. },
  2490. "500": {
  2491. "description": "Internal Server Error",
  2492. "schema": {
  2493. "$ref": "#/definitions/app.Response"
  2494. }
  2495. }
  2496. }
  2497. }
  2498. },
  2499. "/HSBY/QueryHsbySellMyDetails": {
  2500. "get": {
  2501. "security": [
  2502. {
  2503. "ApiKeyAuth": []
  2504. }
  2505. ],
  2506. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2507. "produces": [
  2508. "application/json"
  2509. ],
  2510. "tags": [
  2511. "定制【海商报业】"
  2512. ],
  2513. "summary": "查询\"我的闲置\"单据信息",
  2514. "parameters": [
  2515. {
  2516. "type": "integer",
  2517. "description": "页码",
  2518. "name": "page",
  2519. "in": "query"
  2520. },
  2521. {
  2522. "type": "integer",
  2523. "description": "每页条数",
  2524. "name": "pagesize",
  2525. "in": "query"
  2526. },
  2527. {
  2528. "type": "string",
  2529. "description": "资金账户列表,格式:1,2,3",
  2530. "name": "accountIDs",
  2531. "in": "query",
  2532. "required": true
  2533. },
  2534. {
  2535. "type": "integer",
  2536. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2537. "name": "orderType",
  2538. "in": "query"
  2539. }
  2540. ],
  2541. "responses": {
  2542. "200": {
  2543. "description": "OK",
  2544. "schema": {
  2545. "$ref": "#/definitions/models.HsbySellMyDetail"
  2546. }
  2547. },
  2548. "500": {
  2549. "description": "Internal Server Error",
  2550. "schema": {
  2551. "$ref": "#/definitions/app.Response"
  2552. }
  2553. }
  2554. }
  2555. }
  2556. },
  2557. "/HSBY/QueryHsbyTopGoodses": {
  2558. "get": {
  2559. "security": [
  2560. {
  2561. "ApiKeyAuth": []
  2562. }
  2563. ],
  2564. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2565. "produces": [
  2566. "application/json"
  2567. ],
  2568. "tags": [
  2569. "定制【海商报业】"
  2570. ],
  2571. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2572. "parameters": [
  2573. {
  2574. "type": "integer",
  2575. "description": "页码",
  2576. "name": "page",
  2577. "in": "query"
  2578. },
  2579. {
  2580. "type": "integer",
  2581. "description": "每页条数",
  2582. "name": "pagesize",
  2583. "in": "query"
  2584. },
  2585. {
  2586. "type": "string",
  2587. "description": "市场ID列表,格式:1,2,3",
  2588. "name": "marketIDs",
  2589. "in": "query",
  2590. "required": true
  2591. },
  2592. {
  2593. "type": "integer",
  2594. "description": "目的地(省)ID",
  2595. "name": "descProvinceID",
  2596. "in": "query"
  2597. },
  2598. {
  2599. "type": "integer",
  2600. "description": "目的地(市)ID",
  2601. "name": "descCityID",
  2602. "in": "query"
  2603. }
  2604. ],
  2605. "responses": {
  2606. "200": {
  2607. "description": "OK",
  2608. "schema": {
  2609. "$ref": "#/definitions/models.HsbyTopGoods"
  2610. }
  2611. },
  2612. "500": {
  2613. "description": "Internal Server Error",
  2614. "schema": {
  2615. "$ref": "#/definitions/app.Response"
  2616. }
  2617. }
  2618. }
  2619. }
  2620. },
  2621. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  2622. "get": {
  2623. "security": [
  2624. {
  2625. "ApiKeyAuth": []
  2626. }
  2627. ],
  2628. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  2629. "produces": [
  2630. "application/json"
  2631. ],
  2632. "tags": [
  2633. "定制【海商报业】"
  2634. ],
  2635. "summary": "查询游客特卖商品列表(三级商城)",
  2636. "parameters": [
  2637. {
  2638. "type": "integer",
  2639. "description": "页码",
  2640. "name": "page",
  2641. "in": "query"
  2642. },
  2643. {
  2644. "type": "integer",
  2645. "description": "每页条数",
  2646. "name": "pagesize",
  2647. "in": "query"
  2648. },
  2649. {
  2650. "type": "string",
  2651. "description": "市场ID列表,格式:1,2,3",
  2652. "name": "marketIDs",
  2653. "in": "query",
  2654. "required": true
  2655. },
  2656. {
  2657. "type": "integer",
  2658. "description": "类别ID",
  2659. "name": "categoryID",
  2660. "in": "query"
  2661. },
  2662. {
  2663. "type": "string",
  2664. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2665. "name": "goodsIDs",
  2666. "in": "query"
  2667. }
  2668. ],
  2669. "responses": {
  2670. "200": {
  2671. "description": "OK",
  2672. "schema": {
  2673. "$ref": "#/definitions/models.HsbyMarketGoods"
  2674. }
  2675. },
  2676. "500": {
  2677. "description": "Internal Server Error",
  2678. "schema": {
  2679. "$ref": "#/definitions/app.Response"
  2680. }
  2681. }
  2682. }
  2683. }
  2684. },
  2685. "/HSBY/QueryMyCollectionOrders": {
  2686. "get": {
  2687. "security": [
  2688. {
  2689. "ApiKeyAuth": []
  2690. }
  2691. ],
  2692. "produces": [
  2693. "application/json"
  2694. ],
  2695. "tags": [
  2696. "定制【海商报业】"
  2697. ],
  2698. "summary": "我的闲置中收款信息查询",
  2699. "parameters": [
  2700. {
  2701. "type": "integer",
  2702. "description": "页码",
  2703. "name": "page",
  2704. "in": "query"
  2705. },
  2706. {
  2707. "type": "integer",
  2708. "description": "每页条数",
  2709. "name": "pagesize",
  2710. "in": "query"
  2711. },
  2712. {
  2713. "type": "string",
  2714. "description": "资金账户,格式:1,2,3",
  2715. "name": "accountIDs",
  2716. "in": "query",
  2717. "required": true
  2718. }
  2719. ],
  2720. "responses": {
  2721. "200": {
  2722. "description": "OK",
  2723. "schema": {
  2724. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2725. }
  2726. },
  2727. "500": {
  2728. "description": "Internal Server Error",
  2729. "schema": {
  2730. "$ref": "#/definitions/app.Response"
  2731. }
  2732. }
  2733. }
  2734. }
  2735. },
  2736. "/HSBY/QueryMyCouponHolds": {
  2737. "get": {
  2738. "security": [
  2739. {
  2740. "ApiKeyAuth": []
  2741. }
  2742. ],
  2743. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  2744. "produces": [
  2745. "application/json"
  2746. ],
  2747. "tags": [
  2748. "定制【海商报业】"
  2749. ],
  2750. "summary": "我的优惠卷持仓查询",
  2751. "parameters": [
  2752. {
  2753. "type": "string",
  2754. "description": "资金账户列表,格式:1,2,3",
  2755. "name": "accountIDs",
  2756. "in": "query",
  2757. "required": true
  2758. },
  2759. {
  2760. "type": "string",
  2761. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2762. "name": "holdStatus",
  2763. "in": "query"
  2764. }
  2765. ],
  2766. "responses": {
  2767. "200": {
  2768. "description": "OK",
  2769. "schema": {
  2770. "$ref": "#/definitions/models.MyCouponHold"
  2771. }
  2772. },
  2773. "500": {
  2774. "description": "Internal Server Error",
  2775. "schema": {
  2776. "$ref": "#/definitions/app.Response"
  2777. }
  2778. }
  2779. }
  2780. }
  2781. },
  2782. "/HSBY/QueryMyCoupons": {
  2783. "get": {
  2784. "security": [
  2785. {
  2786. "ApiKeyAuth": []
  2787. }
  2788. ],
  2789. "produces": [
  2790. "application/json"
  2791. ],
  2792. "tags": [
  2793. "定制【海商报业】"
  2794. ],
  2795. "summary": "我的优惠卷查询",
  2796. "parameters": [
  2797. {
  2798. "type": "string",
  2799. "description": "资金账户列表,格式:1,2,3",
  2800. "name": "accountIDs",
  2801. "in": "query",
  2802. "required": true
  2803. },
  2804. {
  2805. "type": "integer",
  2806. "description": "商品ID, 一般与sellUserID配套传入",
  2807. "name": "goodsID",
  2808. "in": "query"
  2809. },
  2810. {
  2811. "type": "integer",
  2812. "description": "卖方UserID",
  2813. "name": "sellUserID",
  2814. "in": "query"
  2815. }
  2816. ],
  2817. "responses": {
  2818. "200": {
  2819. "description": "OK",
  2820. "schema": {
  2821. "$ref": "#/definitions/models.MyCoupon"
  2822. }
  2823. },
  2824. "500": {
  2825. "description": "Internal Server Error",
  2826. "schema": {
  2827. "$ref": "#/definitions/app.Response"
  2828. }
  2829. }
  2830. }
  2831. }
  2832. },
  2833. "/HSBY/QueryMyPayOrders": {
  2834. "get": {
  2835. "security": [
  2836. {
  2837. "ApiKeyAuth": []
  2838. }
  2839. ],
  2840. "produces": [
  2841. "application/json"
  2842. ],
  2843. "tags": [
  2844. "定制【海商报业】"
  2845. ],
  2846. "summary": "获取我的订单中待付款信息",
  2847. "parameters": [
  2848. {
  2849. "type": "integer",
  2850. "description": "页码",
  2851. "name": "page",
  2852. "in": "query"
  2853. },
  2854. {
  2855. "type": "integer",
  2856. "description": "每页条数",
  2857. "name": "pagesize",
  2858. "in": "query"
  2859. },
  2860. {
  2861. "type": "string",
  2862. "description": "资金账户列表,格式:1,2,3",
  2863. "name": "accountIDs",
  2864. "in": "query",
  2865. "required": true
  2866. },
  2867. {
  2868. "type": "integer",
  2869. "description": "买方委托单号",
  2870. "name": "buyOrderID",
  2871. "in": "query"
  2872. },
  2873. {
  2874. "type": "integer",
  2875. "description": "卖方委托单号",
  2876. "name": "sellOrderID",
  2877. "in": "query"
  2878. }
  2879. ],
  2880. "responses": {
  2881. "200": {
  2882. "description": "OK",
  2883. "schema": {
  2884. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2885. }
  2886. },
  2887. "500": {
  2888. "description": "Internal Server Error",
  2889. "schema": {
  2890. "$ref": "#/definitions/app.Response"
  2891. }
  2892. }
  2893. }
  2894. }
  2895. },
  2896. "/HSBY/QueryMyUsedCoupon": {
  2897. "get": {
  2898. "security": [
  2899. {
  2900. "ApiKeyAuth": []
  2901. }
  2902. ],
  2903. "produces": [
  2904. "application/json"
  2905. ],
  2906. "tags": [
  2907. "定制【海商报业】"
  2908. ],
  2909. "summary": "已使用优惠卷查询",
  2910. "parameters": [
  2911. {
  2912. "type": "string",
  2913. "description": "资金账户列表,格式:1,2,3",
  2914. "name": "accountIDs",
  2915. "in": "query",
  2916. "required": true
  2917. }
  2918. ],
  2919. "responses": {
  2920. "200": {
  2921. "description": "OK",
  2922. "schema": {
  2923. "$ref": "#/definitions/models.MyUsedCoupon"
  2924. }
  2925. },
  2926. "500": {
  2927. "description": "Internal Server Error",
  2928. "schema": {
  2929. "$ref": "#/definitions/app.Response"
  2930. }
  2931. }
  2932. }
  2933. }
  2934. },
  2935. "/HSBY/QueryProvincesAndCities": {
  2936. "get": {
  2937. "security": [
  2938. {
  2939. "ApiKeyAuth": []
  2940. }
  2941. ],
  2942. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2943. "produces": [
  2944. "application/json"
  2945. ],
  2946. "tags": [
  2947. "定制【海商报业】"
  2948. ],
  2949. "summary": "查询省市信息(不包括区)",
  2950. "parameters": [
  2951. {
  2952. "type": "integer",
  2953. "description": "省ID",
  2954. "name": "provinceID",
  2955. "in": "query"
  2956. }
  2957. ],
  2958. "responses": {
  2959. "200": {
  2960. "description": "OK",
  2961. "schema": {
  2962. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2963. }
  2964. },
  2965. "500": {
  2966. "description": "Internal Server Error",
  2967. "schema": {
  2968. "$ref": "#/definitions/app.Response"
  2969. }
  2970. }
  2971. }
  2972. }
  2973. },
  2974. "/HSBY/SetHsbyMyPackagesStatus": {
  2975. "post": {
  2976. "security": [
  2977. {
  2978. "ApiKeyAuth": []
  2979. }
  2980. ],
  2981. "produces": [
  2982. "application/json"
  2983. ],
  2984. "tags": [
  2985. "定制【海商报业】"
  2986. ],
  2987. "summary": "设置我的包裹已收货状态",
  2988. "parameters": [
  2989. {
  2990. "type": "string",
  2991. "description": "提货单号",
  2992. "name": "takeOrderID",
  2993. "in": "query",
  2994. "required": true
  2995. },
  2996. {
  2997. "type": "integer",
  2998. "description": "资金账号",
  2999. "name": "accountID",
  3000. "in": "query",
  3001. "required": true
  3002. }
  3003. ],
  3004. "responses": {
  3005. "200": {
  3006. "description": "OK",
  3007. "schema": {
  3008. "$ref": "#/definitions/app.Response"
  3009. }
  3010. },
  3011. "500": {
  3012. "description": "Internal Server Error",
  3013. "schema": {
  3014. "$ref": "#/definitions/app.Response"
  3015. }
  3016. }
  3017. }
  3018. }
  3019. },
  3020. "/Market/QueryMarketRun": {
  3021. "get": {
  3022. "security": [
  3023. {
  3024. "ApiKeyAuth": []
  3025. }
  3026. ],
  3027. "produces": [
  3028. "application/json"
  3029. ],
  3030. "tags": [
  3031. "通用市场"
  3032. ],
  3033. "summary": "查询市场运行信息",
  3034. "parameters": [
  3035. {
  3036. "type": "integer",
  3037. "description": "市场ID,不传返回所有",
  3038. "name": "marketID",
  3039. "in": "query"
  3040. }
  3041. ],
  3042. "responses": {
  3043. "200": {
  3044. "description": "OK",
  3045. "schema": {
  3046. "$ref": "#/definitions/models.Marketrun"
  3047. }
  3048. },
  3049. "500": {
  3050. "description": "Internal Server Error",
  3051. "schema": {
  3052. "$ref": "#/definitions/app.Response"
  3053. }
  3054. }
  3055. }
  3056. }
  3057. },
  3058. "/Order/QueryHisTradeDetail": {
  3059. "get": {
  3060. "security": [
  3061. {
  3062. "ApiKeyAuth": []
  3063. }
  3064. ],
  3065. "produces": [
  3066. "application/json"
  3067. ],
  3068. "tags": [
  3069. "通用单据"
  3070. ],
  3071. "summary": "历史成交单查询(合约市场)",
  3072. "parameters": [
  3073. {
  3074. "type": "string",
  3075. "description": "资金账户 - 格式:1,2,3",
  3076. "name": "accountID",
  3077. "in": "query",
  3078. "required": true
  3079. },
  3080. {
  3081. "type": "integer",
  3082. "description": "成交单号",
  3083. "name": "tradeID",
  3084. "in": "query"
  3085. },
  3086. {
  3087. "type": "integer",
  3088. "description": "委托单号",
  3089. "name": "orderID",
  3090. "in": "query"
  3091. },
  3092. {
  3093. "type": "string",
  3094. "description": "交易模式 - 格式:1,2,3",
  3095. "name": "tradeMode",
  3096. "in": "query"
  3097. },
  3098. {
  3099. "type": "integer",
  3100. "description": "委托单据类型",
  3101. "name": "buildType",
  3102. "in": "query"
  3103. },
  3104. {
  3105. "type": "string",
  3106. "description": "成交类别 - 格式:1,2,3",
  3107. "name": "tradeType",
  3108. "in": "query"
  3109. },
  3110. {
  3111. "type": "string",
  3112. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3113. "name": "startDate",
  3114. "in": "query"
  3115. },
  3116. {
  3117. "type": "string",
  3118. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3119. "name": "endDate",
  3120. "in": "query"
  3121. }
  3122. ],
  3123. "responses": {
  3124. "200": {
  3125. "description": "OK",
  3126. "schema": {
  3127. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3128. }
  3129. },
  3130. "500": {
  3131. "description": "Internal Server Error",
  3132. "schema": {
  3133. "$ref": "#/definitions/app.Response"
  3134. }
  3135. }
  3136. }
  3137. }
  3138. },
  3139. "/Order/QueryHisTradeOrderDetail": {
  3140. "get": {
  3141. "security": [
  3142. {
  3143. "ApiKeyAuth": []
  3144. }
  3145. ],
  3146. "produces": [
  3147. "application/json"
  3148. ],
  3149. "tags": [
  3150. "通用单据"
  3151. ],
  3152. "summary": "历史委托单查询请求(合约市场)",
  3153. "parameters": [
  3154. {
  3155. "type": "string",
  3156. "description": "资金账户 - 格式:1,2,3",
  3157. "name": "accountID",
  3158. "in": "query",
  3159. "required": true
  3160. },
  3161. {
  3162. "type": "string",
  3163. "description": "交易模式 - 格式:1,2,3",
  3164. "name": "tradeMode",
  3165. "in": "query"
  3166. },
  3167. {
  3168. "type": "string",
  3169. "description": "委托状态 - 格式:1,2,3",
  3170. "name": "orderStatus",
  3171. "in": "query"
  3172. },
  3173. {
  3174. "type": "integer",
  3175. "description": "委托单号",
  3176. "name": "orderID",
  3177. "in": "query"
  3178. },
  3179. {
  3180. "type": "string",
  3181. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3182. "name": "startDate",
  3183. "in": "query"
  3184. },
  3185. {
  3186. "type": "string",
  3187. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3188. "name": "endDate",
  3189. "in": "query"
  3190. }
  3191. ],
  3192. "responses": {
  3193. "200": {
  3194. "description": "OK",
  3195. "schema": {
  3196. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3197. }
  3198. },
  3199. "500": {
  3200. "description": "Internal Server Error",
  3201. "schema": {
  3202. "$ref": "#/definitions/app.Response"
  3203. }
  3204. }
  3205. }
  3206. }
  3207. },
  3208. "/Order/QueryTradeDetail": {
  3209. "get": {
  3210. "security": [
  3211. {
  3212. "ApiKeyAuth": []
  3213. }
  3214. ],
  3215. "produces": [
  3216. "application/json"
  3217. ],
  3218. "tags": [
  3219. "通用单据"
  3220. ],
  3221. "summary": "成交单查询(合约市场)",
  3222. "parameters": [
  3223. {
  3224. "type": "string",
  3225. "description": "资金账户 - 格式:1,2,3",
  3226. "name": "accountID",
  3227. "in": "query",
  3228. "required": true
  3229. },
  3230. {
  3231. "type": "integer",
  3232. "description": "成交单号",
  3233. "name": "tradeID",
  3234. "in": "query"
  3235. },
  3236. {
  3237. "type": "integer",
  3238. "description": "委托单号",
  3239. "name": "orderID",
  3240. "in": "query"
  3241. },
  3242. {
  3243. "type": "string",
  3244. "description": "交易模式 - 格式:1,2,3",
  3245. "name": "tradeMode",
  3246. "in": "query"
  3247. },
  3248. {
  3249. "type": "integer",
  3250. "description": "委托单据类型",
  3251. "name": "buildType",
  3252. "in": "query"
  3253. },
  3254. {
  3255. "type": "string",
  3256. "description": "成交类别 - 格式:1,2,3",
  3257. "name": "tradeType",
  3258. "in": "query"
  3259. }
  3260. ],
  3261. "responses": {
  3262. "200": {
  3263. "description": "OK",
  3264. "schema": {
  3265. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  3266. }
  3267. },
  3268. "500": {
  3269. "description": "Internal Server Error",
  3270. "schema": {
  3271. "$ref": "#/definitions/app.Response"
  3272. }
  3273. }
  3274. }
  3275. }
  3276. },
  3277. "/Order/QueryTradeOrderDetail": {
  3278. "get": {
  3279. "security": [
  3280. {
  3281. "ApiKeyAuth": []
  3282. }
  3283. ],
  3284. "produces": [
  3285. "application/json"
  3286. ],
  3287. "tags": [
  3288. "通用单据"
  3289. ],
  3290. "summary": "委托单查询请求(合约市场)",
  3291. "parameters": [
  3292. {
  3293. "type": "string",
  3294. "description": "资金账户 - 格式:1,2,3",
  3295. "name": "accountID",
  3296. "in": "query",
  3297. "required": true
  3298. },
  3299. {
  3300. "type": "string",
  3301. "description": "交易模式 - 格式:1,2,3",
  3302. "name": "tradeMode",
  3303. "in": "query"
  3304. },
  3305. {
  3306. "type": "string",
  3307. "description": "委托状态 - 格式:1,2,3",
  3308. "name": "orderStatus",
  3309. "in": "query"
  3310. },
  3311. {
  3312. "type": "integer",
  3313. "description": "委托单号",
  3314. "name": "orderID",
  3315. "in": "query"
  3316. }
  3317. ],
  3318. "responses": {
  3319. "200": {
  3320. "description": "OK",
  3321. "schema": {
  3322. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3323. }
  3324. },
  3325. "500": {
  3326. "description": "Internal Server Error",
  3327. "schema": {
  3328. "$ref": "#/definitions/app.Response"
  3329. }
  3330. }
  3331. }
  3332. }
  3333. },
  3334. "/Order/QueryTradePosition": {
  3335. "get": {
  3336. "security": [
  3337. {
  3338. "ApiKeyAuth": []
  3339. }
  3340. ],
  3341. "produces": [
  3342. "application/json"
  3343. ],
  3344. "tags": [
  3345. "通用单据"
  3346. ],
  3347. "summary": "持仓汇总查询(合约市场)",
  3348. "parameters": [
  3349. {
  3350. "type": "string",
  3351. "description": "资金账户 - 格式:1,2,3",
  3352. "name": "accountID",
  3353. "in": "query",
  3354. "required": true
  3355. },
  3356. {
  3357. "type": "string",
  3358. "description": "交易模式 - 格式:1,2,3",
  3359. "name": "tradeMode",
  3360. "in": "query"
  3361. }
  3362. ],
  3363. "responses": {
  3364. "200": {
  3365. "description": "OK",
  3366. "schema": {
  3367. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3368. }
  3369. },
  3370. "500": {
  3371. "description": "Internal Server Error",
  3372. "schema": {
  3373. "$ref": "#/definitions/app.Response"
  3374. }
  3375. }
  3376. }
  3377. }
  3378. },
  3379. "/Quote/QueryHistoryDatas": {
  3380. "get": {
  3381. "security": [
  3382. {
  3383. "ApiKeyAuth": []
  3384. }
  3385. ],
  3386. "produces": [
  3387. "application/json"
  3388. ],
  3389. "tags": [
  3390. "行情服务"
  3391. ],
  3392. "summary": "查询行情历史数据",
  3393. "parameters": [
  3394. {
  3395. "type": "integer",
  3396. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3397. "name": "cycleType",
  3398. "in": "query",
  3399. "required": true
  3400. },
  3401. {
  3402. "type": "string",
  3403. "description": "商品代码",
  3404. "name": "goodsCode",
  3405. "in": "query",
  3406. "required": true
  3407. },
  3408. {
  3409. "type": "string",
  3410. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3411. "name": "startTime",
  3412. "in": "query"
  3413. },
  3414. {
  3415. "type": "string",
  3416. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3417. "name": "endTime",
  3418. "in": "query"
  3419. },
  3420. {
  3421. "type": "integer",
  3422. "description": "条数",
  3423. "name": "count",
  3424. "in": "query"
  3425. },
  3426. {
  3427. "type": "boolean",
  3428. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3429. "name": "isAsc",
  3430. "in": "query"
  3431. }
  3432. ],
  3433. "responses": {
  3434. "200": {
  3435. "description": "OK",
  3436. "schema": {
  3437. "$ref": "#/definitions/quote.HistoryData"
  3438. }
  3439. },
  3440. "500": {
  3441. "description": "Internal Server Error",
  3442. "schema": {
  3443. "$ref": "#/definitions/app.Response"
  3444. }
  3445. }
  3446. }
  3447. }
  3448. },
  3449. "/Quote/QueryTSData": {
  3450. "get": {
  3451. "produces": [
  3452. "application/json"
  3453. ],
  3454. "tags": [
  3455. "行情服务"
  3456. ],
  3457. "summary": "分时图数据查询",
  3458. "parameters": [
  3459. {
  3460. "type": "string",
  3461. "description": "商品代码",
  3462. "name": "GoodsCode",
  3463. "in": "query",
  3464. "required": true
  3465. }
  3466. ],
  3467. "responses": {
  3468. "200": {
  3469. "description": "OK",
  3470. "schema": {
  3471. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3472. }
  3473. },
  3474. "500": {
  3475. "description": "Internal Server Error",
  3476. "schema": {
  3477. "$ref": "#/definitions/app.Response"
  3478. }
  3479. }
  3480. }
  3481. }
  3482. },
  3483. "/SZDZ/QueryConvertConfig": {
  3484. "get": {
  3485. "security": [
  3486. {
  3487. "ApiKeyAuth": []
  3488. }
  3489. ],
  3490. "produces": [
  3491. "application/json"
  3492. ],
  3493. "tags": [
  3494. "定制【尚志大宗】"
  3495. ],
  3496. "summary": "查询交易系统转换设置",
  3497. "parameters": [
  3498. {
  3499. "type": "integer",
  3500. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3501. "name": "convertType",
  3502. "in": "query"
  3503. },
  3504. {
  3505. "type": "string",
  3506. "description": "外部商品代码[JD\\PD]",
  3507. "name": "outerGoodsCode",
  3508. "in": "query"
  3509. },
  3510. {
  3511. "type": "string",
  3512. "description": "内部商品ID列表[交易],格式:1,2,3",
  3513. "name": "innerGoodsIDs",
  3514. "in": "query"
  3515. }
  3516. ],
  3517. "responses": {
  3518. "200": {
  3519. "description": "OK",
  3520. "schema": {
  3521. "$ref": "#/definitions/models.Szdz3convertconfig"
  3522. }
  3523. },
  3524. "500": {
  3525. "description": "Internal Server Error",
  3526. "schema": {
  3527. "$ref": "#/definitions/app.Response"
  3528. }
  3529. }
  3530. }
  3531. }
  3532. },
  3533. "/SZDZ/QueryConvertLog": {
  3534. "get": {
  3535. "security": [
  3536. {
  3537. "ApiKeyAuth": []
  3538. }
  3539. ],
  3540. "produces": [
  3541. "application/json"
  3542. ],
  3543. "tags": [
  3544. "定制【尚志大宗】"
  3545. ],
  3546. "summary": "交易系统转换流水查询",
  3547. "parameters": [
  3548. {
  3549. "type": "string",
  3550. "description": "资金账户 - 格式:1,2,3",
  3551. "name": "accountID",
  3552. "in": "query",
  3553. "required": true
  3554. },
  3555. {
  3556. "type": "string",
  3557. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3558. "name": "startDate",
  3559. "in": "query"
  3560. },
  3561. {
  3562. "type": "string",
  3563. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3564. "name": "endDate",
  3565. "in": "query"
  3566. }
  3567. ],
  3568. "responses": {
  3569. "200": {
  3570. "description": "OK",
  3571. "schema": {
  3572. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3573. }
  3574. },
  3575. "500": {
  3576. "description": "Internal Server Error",
  3577. "schema": {
  3578. "$ref": "#/definitions/app.Response"
  3579. }
  3580. }
  3581. }
  3582. }
  3583. },
  3584. "/SZDZ/QueryGoodsPickup": {
  3585. "get": {
  3586. "security": [
  3587. {
  3588. "ApiKeyAuth": []
  3589. }
  3590. ],
  3591. "produces": [
  3592. "application/json"
  3593. ],
  3594. "tags": [
  3595. "定制【尚志大宗】"
  3596. ],
  3597. "summary": "商品提货单查询",
  3598. "parameters": [
  3599. {
  3600. "type": "string",
  3601. "description": "资金账户 - 格式:1,2,3",
  3602. "name": "accountID",
  3603. "in": "query",
  3604. "required": true
  3605. },
  3606. {
  3607. "type": "integer",
  3608. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3609. "name": "takeOrderStatus",
  3610. "in": "query"
  3611. }
  3612. ],
  3613. "responses": {
  3614. "200": {
  3615. "description": "OK",
  3616. "schema": {
  3617. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3618. }
  3619. },
  3620. "500": {
  3621. "description": "Internal Server Error",
  3622. "schema": {
  3623. "$ref": "#/definitions/app.Response"
  3624. }
  3625. }
  3626. }
  3627. }
  3628. },
  3629. "/SZDZ/QueryRecieptOrder": {
  3630. "get": {
  3631. "security": [
  3632. {
  3633. "ApiKeyAuth": []
  3634. }
  3635. ],
  3636. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3637. "produces": [
  3638. "application/json"
  3639. ],
  3640. "tags": [
  3641. "定制【尚志大宗】"
  3642. ],
  3643. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3644. "parameters": [
  3645. {
  3646. "type": "integer",
  3647. "description": "页码",
  3648. "name": "page",
  3649. "in": "query"
  3650. },
  3651. {
  3652. "type": "integer",
  3653. "description": "每页条数",
  3654. "name": "pagesize",
  3655. "in": "query"
  3656. },
  3657. {
  3658. "type": "integer",
  3659. "description": "商品ID",
  3660. "name": "goodsID",
  3661. "in": "query",
  3662. "required": true
  3663. },
  3664. {
  3665. "type": "string",
  3666. "description": "所属账户名称",
  3667. "name": "accountName",
  3668. "in": "query"
  3669. },
  3670. {
  3671. "type": "integer",
  3672. "description": "市场ID",
  3673. "name": "marketID",
  3674. "in": "query"
  3675. },
  3676. {
  3677. "type": "integer",
  3678. "description": "方向 - 0:买 1:卖",
  3679. "name": "buyorsell",
  3680. "in": "query",
  3681. "required": true
  3682. }
  3683. ],
  3684. "responses": {
  3685. "200": {
  3686. "description": "OK",
  3687. "schema": {
  3688. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3689. }
  3690. },
  3691. "500": {
  3692. "description": "Internal Server Error",
  3693. "schema": {
  3694. "$ref": "#/definitions/app.Response"
  3695. }
  3696. }
  3697. }
  3698. }
  3699. },
  3700. "/SZDZ/QuerySZDZTradePosition": {
  3701. "get": {
  3702. "security": [
  3703. {
  3704. "ApiKeyAuth": []
  3705. }
  3706. ],
  3707. "produces": [
  3708. "application/json"
  3709. ],
  3710. "tags": [
  3711. "定制【尚志大宗】"
  3712. ],
  3713. "summary": "持仓汇总查询(尚志大宗)",
  3714. "parameters": [
  3715. {
  3716. "type": "integer",
  3717. "description": "资金账户",
  3718. "name": "accountID",
  3719. "in": "query",
  3720. "required": true
  3721. }
  3722. ],
  3723. "responses": {
  3724. "200": {
  3725. "description": "OK",
  3726. "schema": {
  3727. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3728. }
  3729. },
  3730. "500": {
  3731. "description": "Internal Server Error",
  3732. "schema": {
  3733. "$ref": "#/definitions/app.Response"
  3734. }
  3735. }
  3736. }
  3737. }
  3738. },
  3739. "/SZDZ/SearchWhite": {
  3740. "get": {
  3741. "security": [
  3742. {
  3743. "ApiKeyAuth": []
  3744. }
  3745. ],
  3746. "produces": [
  3747. "application/json"
  3748. ],
  3749. "tags": [
  3750. "定制【尚志大宗】"
  3751. ],
  3752. "summary": "搜索白名单",
  3753. "parameters": [
  3754. {
  3755. "type": "integer",
  3756. "description": "用户ID",
  3757. "name": "userID",
  3758. "in": "query",
  3759. "required": true
  3760. }
  3761. ],
  3762. "responses": {
  3763. "200": {
  3764. "description": "OK",
  3765. "schema": {
  3766. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3767. }
  3768. },
  3769. "500": {
  3770. "description": "Internal Server Error",
  3771. "schema": {
  3772. "$ref": "#/definitions/app.Response"
  3773. }
  3774. }
  3775. }
  3776. }
  3777. },
  3778. "/Search/SearchGoodses": {
  3779. "get": {
  3780. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3781. "produces": [
  3782. "application/json"
  3783. ],
  3784. "tags": [
  3785. "检索服务"
  3786. ],
  3787. "summary": "检索商品信息",
  3788. "parameters": [
  3789. {
  3790. "type": "string",
  3791. "description": "检索内容",
  3792. "name": "content",
  3793. "in": "query",
  3794. "required": true
  3795. },
  3796. {
  3797. "type": "string",
  3798. "description": "交易模式,格式:1,2,3",
  3799. "name": "tradeModes",
  3800. "in": "query"
  3801. }
  3802. ],
  3803. "responses": {
  3804. "200": {
  3805. "description": "OK",
  3806. "schema": {
  3807. "$ref": "#/definitions/models.SearchGoods"
  3808. }
  3809. },
  3810. "500": {
  3811. "description": "Internal Server Error",
  3812. "schema": {
  3813. "$ref": "#/definitions/app.Response"
  3814. }
  3815. }
  3816. }
  3817. }
  3818. },
  3819. "/TaAccount/QueryAmountLog": {
  3820. "get": {
  3821. "security": [
  3822. {
  3823. "ApiKeyAuth": []
  3824. }
  3825. ],
  3826. "produces": [
  3827. "application/json"
  3828. ],
  3829. "tags": [
  3830. "资金账户"
  3831. ],
  3832. "summary": "资金流水查询(当前)",
  3833. "parameters": [
  3834. {
  3835. "type": "integer",
  3836. "description": "页码",
  3837. "name": "page",
  3838. "in": "query"
  3839. },
  3840. {
  3841. "type": "integer",
  3842. "description": "每页条数",
  3843. "name": "pagesize",
  3844. "in": "query"
  3845. },
  3846. {
  3847. "type": "string",
  3848. "description": "资金账户 - 格式:1,2,3",
  3849. "name": "accountID",
  3850. "in": "query",
  3851. "required": true
  3852. },
  3853. {
  3854. "type": "string",
  3855. "description": "资金操作类型 - 格式:1,2,3",
  3856. "name": "OperateType",
  3857. "in": "query"
  3858. }
  3859. ],
  3860. "responses": {
  3861. "200": {
  3862. "description": "OK",
  3863. "schema": {
  3864. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3865. }
  3866. },
  3867. "500": {
  3868. "description": "Internal Server Error",
  3869. "schema": {
  3870. "$ref": "#/definitions/app.Response"
  3871. }
  3872. }
  3873. }
  3874. }
  3875. },
  3876. "/TaAccount/QueryHisAmountLog": {
  3877. "get": {
  3878. "security": [
  3879. {
  3880. "ApiKeyAuth": []
  3881. }
  3882. ],
  3883. "produces": [
  3884. "application/json"
  3885. ],
  3886. "tags": [
  3887. "资金账户"
  3888. ],
  3889. "summary": "资金流水查询(历史)",
  3890. "parameters": [
  3891. {
  3892. "type": "integer",
  3893. "description": "页码",
  3894. "name": "page",
  3895. "in": "query"
  3896. },
  3897. {
  3898. "type": "integer",
  3899. "description": "每页条数",
  3900. "name": "pagesize",
  3901. "in": "query"
  3902. },
  3903. {
  3904. "type": "string",
  3905. "description": "资金账户 - 格式:1,2,3",
  3906. "name": "accountID",
  3907. "in": "query",
  3908. "required": true
  3909. },
  3910. {
  3911. "type": "string",
  3912. "description": "资金操作类型 - 格式:1,2,3",
  3913. "name": "OperateType",
  3914. "in": "query"
  3915. },
  3916. {
  3917. "type": "string",
  3918. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3919. "name": "startDate",
  3920. "in": "query"
  3921. },
  3922. {
  3923. "type": "string",
  3924. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3925. "name": "endDate",
  3926. "in": "query"
  3927. }
  3928. ],
  3929. "responses": {
  3930. "200": {
  3931. "description": "OK",
  3932. "schema": {
  3933. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3934. }
  3935. },
  3936. "500": {
  3937. "description": "Internal Server Error",
  3938. "schema": {
  3939. "$ref": "#/definitions/app.Response"
  3940. }
  3941. }
  3942. }
  3943. }
  3944. },
  3945. "/Trade/QueryRecieptOrder": {
  3946. "get": {
  3947. "security": [
  3948. {
  3949. "ApiKeyAuth": []
  3950. }
  3951. ],
  3952. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3953. "produces": [
  3954. "application/json"
  3955. ],
  3956. "tags": [
  3957. "通用交易"
  3958. ],
  3959. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3960. "parameters": [
  3961. {
  3962. "type": "integer",
  3963. "description": "页码",
  3964. "name": "page",
  3965. "in": "query"
  3966. },
  3967. {
  3968. "type": "integer",
  3969. "description": "每页条数",
  3970. "name": "pagesize",
  3971. "in": "query"
  3972. },
  3973. {
  3974. "type": "integer",
  3975. "description": "商品ID",
  3976. "name": "goodsID",
  3977. "in": "query",
  3978. "required": true
  3979. },
  3980. {
  3981. "type": "string",
  3982. "description": "所属账户名称",
  3983. "name": "accountName",
  3984. "in": "query"
  3985. },
  3986. {
  3987. "type": "integer",
  3988. "description": "市场ID",
  3989. "name": "marketID",
  3990. "in": "query"
  3991. },
  3992. {
  3993. "type": "integer",
  3994. "description": "方向 - 0:买 1:卖",
  3995. "name": "buyorsell",
  3996. "in": "query",
  3997. "required": true
  3998. }
  3999. ],
  4000. "responses": {
  4001. "200": {
  4002. "description": "OK",
  4003. "schema": {
  4004. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4005. }
  4006. },
  4007. "500": {
  4008. "description": "Internal Server Error",
  4009. "schema": {
  4010. "$ref": "#/definitions/app.Response"
  4011. }
  4012. }
  4013. }
  4014. }
  4015. },
  4016. "/User/AddMessageBoard": {
  4017. "post": {
  4018. "security": [
  4019. {
  4020. "ApiKeyAuth": []
  4021. }
  4022. ],
  4023. "produces": [
  4024. "application/json"
  4025. ],
  4026. "tags": [
  4027. "用户信息"
  4028. ],
  4029. "summary": "添加用户留言板信息",
  4030. "parameters": [
  4031. {
  4032. "type": "integer",
  4033. "description": "用户ID",
  4034. "name": "userID",
  4035. "in": "query",
  4036. "required": true
  4037. },
  4038. {
  4039. "type": "string",
  4040. "description": "留言信息",
  4041. "name": "message",
  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/AddUserFavoriteGoods": {
  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. "/User/GetLoginID": {
  4109. "get": {
  4110. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4111. "produces": [
  4112. "application/json"
  4113. ],
  4114. "tags": [
  4115. "用户信息"
  4116. ],
  4117. "summary": "获取登录ID",
  4118. "parameters": [
  4119. {
  4120. "type": "string",
  4121. "description": "登录代码",
  4122. "name": "username",
  4123. "in": "query",
  4124. "required": true
  4125. }
  4126. ],
  4127. "responses": {
  4128. "200": {
  4129. "description": "OK",
  4130. "schema": {
  4131. "$ref": "#/definitions/app.Response"
  4132. }
  4133. },
  4134. "500": {
  4135. "description": "Internal Server Error",
  4136. "schema": {
  4137. "$ref": "#/definitions/app.Response"
  4138. }
  4139. }
  4140. }
  4141. }
  4142. },
  4143. "/User/GetUserAccount": {
  4144. "get": {
  4145. "security": [
  4146. {
  4147. "ApiKeyAuth": []
  4148. }
  4149. ],
  4150. "produces": [
  4151. "application/json"
  4152. ],
  4153. "tags": [
  4154. "用户信息"
  4155. ],
  4156. "summary": "获取用户账号信息",
  4157. "parameters": [
  4158. {
  4159. "type": "integer",
  4160. "description": "用户ID",
  4161. "name": "userID",
  4162. "in": "query",
  4163. "required": true
  4164. }
  4165. ],
  4166. "responses": {
  4167. "200": {
  4168. "description": "OK",
  4169. "schema": {
  4170. "$ref": "#/definitions/models.Useraccount"
  4171. }
  4172. },
  4173. "500": {
  4174. "description": "Internal Server Error",
  4175. "schema": {
  4176. "$ref": "#/definitions/app.Response"
  4177. }
  4178. }
  4179. }
  4180. }
  4181. },
  4182. "/User/GetUserAuthStatus": {
  4183. "get": {
  4184. "security": [
  4185. {
  4186. "ApiKeyAuth": []
  4187. }
  4188. ],
  4189. "produces": [
  4190. "application/json"
  4191. ],
  4192. "tags": [
  4193. "用户信息"
  4194. ],
  4195. "summary": "获取用户实名认证状态",
  4196. "parameters": [
  4197. {
  4198. "type": "integer",
  4199. "description": "用户ID",
  4200. "name": "userID",
  4201. "in": "query",
  4202. "required": true
  4203. }
  4204. ],
  4205. "responses": {
  4206. "200": {
  4207. "description": "OK",
  4208. "schema": {
  4209. "$ref": "#/definitions/app.Response"
  4210. }
  4211. },
  4212. "500": {
  4213. "description": "Internal Server Error",
  4214. "schema": {
  4215. "$ref": "#/definitions/app.Response"
  4216. }
  4217. }
  4218. }
  4219. }
  4220. },
  4221. "/User/QueryMessageBoard": {
  4222. "get": {
  4223. "security": [
  4224. {
  4225. "ApiKeyAuth": []
  4226. }
  4227. ],
  4228. "produces": [
  4229. "application/json"
  4230. ],
  4231. "tags": [
  4232. "用户信息"
  4233. ],
  4234. "summary": "获取用户留言板信息",
  4235. "parameters": [
  4236. {
  4237. "type": "integer",
  4238. "description": "用户ID",
  4239. "name": "userID",
  4240. "in": "query",
  4241. "required": true
  4242. }
  4243. ],
  4244. "responses": {
  4245. "200": {
  4246. "description": "OK",
  4247. "schema": {
  4248. "$ref": "#/definitions/models.Messageboard"
  4249. }
  4250. },
  4251. "500": {
  4252. "description": "Internal Server Error",
  4253. "schema": {
  4254. "$ref": "#/definitions/app.Response"
  4255. }
  4256. }
  4257. }
  4258. }
  4259. },
  4260. "/User/QueryUserFavoriteGoodses": {
  4261. "get": {
  4262. "security": [
  4263. {
  4264. "ApiKeyAuth": []
  4265. }
  4266. ],
  4267. "produces": [
  4268. "application/json"
  4269. ],
  4270. "tags": [
  4271. "用户信息"
  4272. ],
  4273. "summary": "获取用户商品收藏信息",
  4274. "parameters": [
  4275. {
  4276. "type": "integer",
  4277. "description": "用户ID",
  4278. "name": "userID",
  4279. "in": "query",
  4280. "required": true
  4281. }
  4282. ],
  4283. "responses": {
  4284. "200": {
  4285. "description": "OK",
  4286. "schema": {
  4287. "$ref": "#/definitions/models.Userfavoritegoods"
  4288. }
  4289. },
  4290. "500": {
  4291. "description": "Internal Server Error",
  4292. "schema": {
  4293. "$ref": "#/definitions/app.Response"
  4294. }
  4295. }
  4296. }
  4297. }
  4298. },
  4299. "/User/QueryUserInfo": {
  4300. "get": {
  4301. "security": [
  4302. {
  4303. "ApiKeyAuth": []
  4304. }
  4305. ],
  4306. "produces": [
  4307. "application/json"
  4308. ],
  4309. "tags": [
  4310. "用户信息"
  4311. ],
  4312. "summary": "获取用户信息",
  4313. "parameters": [
  4314. {
  4315. "type": "integer",
  4316. "description": "用户ID",
  4317. "name": "userID",
  4318. "in": "query",
  4319. "required": true
  4320. }
  4321. ],
  4322. "responses": {
  4323. "200": {
  4324. "description": "OK",
  4325. "schema": {
  4326. "$ref": "#/definitions/models.Userinfo"
  4327. }
  4328. },
  4329. "500": {
  4330. "description": "Internal Server Error",
  4331. "schema": {
  4332. "$ref": "#/definitions/app.Response"
  4333. }
  4334. }
  4335. }
  4336. }
  4337. },
  4338. "/User/QueryUserReferNum": {
  4339. "get": {
  4340. "produces": [
  4341. "application/json"
  4342. ],
  4343. "tags": [
  4344. "用户信息"
  4345. ],
  4346. "summary": "获取用户邀请码",
  4347. "parameters": [
  4348. {
  4349. "type": "integer",
  4350. "description": "用户ID",
  4351. "name": "userID",
  4352. "in": "query",
  4353. "required": true
  4354. }
  4355. ],
  4356. "responses": {
  4357. "200": {
  4358. "description": "OK",
  4359. "schema": {
  4360. "$ref": "#/definitions/app.Response"
  4361. }
  4362. },
  4363. "500": {
  4364. "description": "Internal Server Error",
  4365. "schema": {
  4366. "$ref": "#/definitions/app.Response"
  4367. }
  4368. }
  4369. }
  4370. }
  4371. },
  4372. "/User/RemoveUserFavoriteGoods": {
  4373. "post": {
  4374. "security": [
  4375. {
  4376. "ApiKeyAuth": []
  4377. }
  4378. ],
  4379. "produces": [
  4380. "application/json"
  4381. ],
  4382. "tags": [
  4383. "用户信息"
  4384. ],
  4385. "summary": "移除用户商品收藏信息",
  4386. "parameters": [
  4387. {
  4388. "type": "integer",
  4389. "description": "用户ID",
  4390. "name": "userID",
  4391. "in": "query",
  4392. "required": true
  4393. },
  4394. {
  4395. "type": "integer",
  4396. "description": "商品ID",
  4397. "name": "goodsID",
  4398. "in": "query",
  4399. "required": true
  4400. }
  4401. ],
  4402. "responses": {
  4403. "200": {
  4404. "description": "OK",
  4405. "schema": {
  4406. "$ref": "#/definitions/app.Response"
  4407. }
  4408. },
  4409. "500": {
  4410. "description": "Internal Server Error",
  4411. "schema": {
  4412. "$ref": "#/definitions/app.Response"
  4413. }
  4414. }
  4415. }
  4416. }
  4417. },
  4418. "/WR/GetWRCategoryInfo": {
  4419. "get": {
  4420. "produces": [
  4421. "application/json"
  4422. ],
  4423. "tags": [
  4424. "仓单服务"
  4425. ],
  4426. "summary": "获取现货分类信息",
  4427. "responses": {
  4428. "200": {
  4429. "description": "OK",
  4430. "schema": {
  4431. "$ref": "#/definitions/models.WRCategoryTree"
  4432. }
  4433. },
  4434. "500": {
  4435. "description": "Internal Server Error",
  4436. "schema": {
  4437. "$ref": "#/definitions/app.Response"
  4438. }
  4439. }
  4440. }
  4441. }
  4442. },
  4443. "/WRTrade/GetAllDeliveryGoods": {
  4444. "get": {
  4445. "security": [
  4446. {
  4447. "ApiKeyAuth": []
  4448. },
  4449. {
  4450. "ApiKeyAuth": []
  4451. }
  4452. ],
  4453. "produces": [
  4454. "application/json",
  4455. "application/json"
  4456. ],
  4457. "tags": [
  4458. "仓单贸易",
  4459. "仓单贸易"
  4460. ],
  4461. "summary": "获取带仓单分类的种类信息",
  4462. "responses": {
  4463. "200": {
  4464. "description": "OK",
  4465. "schema": {
  4466. "$ref": "#/definitions/app.Response"
  4467. }
  4468. },
  4469. "500": {
  4470. "description": "Internal Server Error",
  4471. "schema": {
  4472. "$ref": "#/definitions/app.Response"
  4473. }
  4474. }
  4475. }
  4476. }
  4477. }
  4478. },
  4479. "definitions": {
  4480. "app.Response": {
  4481. "type": "object",
  4482. "properties": {
  4483. "code": {
  4484. "type": "integer"
  4485. },
  4486. "data": {
  4487. "type": "object"
  4488. },
  4489. "msg": {
  4490. "type": "string"
  4491. },
  4492. "page": {
  4493. "description": "页码",
  4494. "type": "integer"
  4495. },
  4496. "pagesize": {
  4497. "description": "每页条数",
  4498. "type": "integer"
  4499. },
  4500. "total": {
  4501. "description": "总条数",
  4502. "type": "integer"
  4503. }
  4504. }
  4505. },
  4506. "common.QueryNoticeRsp": {
  4507. "type": "object",
  4508. "required": [
  4509. "autoid"
  4510. ],
  4511. "properties": {
  4512. "auditoruserid": {
  4513. "description": "审核人",
  4514. "type": "integer"
  4515. },
  4516. "auditremark": {
  4517. "description": "审核备注",
  4518. "type": "string"
  4519. },
  4520. "audittime": {
  4521. "description": "审核日期",
  4522. "type": "string"
  4523. },
  4524. "autoid": {
  4525. "description": "自增ID",
  4526. "type": "integer"
  4527. },
  4528. "content": {
  4529. "description": "内容",
  4530. "type": "string"
  4531. },
  4532. "createtime": {
  4533. "description": "创建时间",
  4534. "type": "string"
  4535. },
  4536. "creatorid": {
  4537. "description": "建仓人",
  4538. "type": "integer"
  4539. },
  4540. "endtime": {
  4541. "description": "结束时间",
  4542. "type": "string"
  4543. },
  4544. "istop": {
  4545. "description": "是否置顶 - 0:不置顶 1:置顶",
  4546. "type": "integer"
  4547. },
  4548. "msgiconurl": {
  4549. "description": "消息图标Url",
  4550. "type": "string"
  4551. },
  4552. "msgtype": {
  4553. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4554. "type": "integer"
  4555. },
  4556. "publisher": {
  4557. "description": "消息发布者",
  4558. "type": "string"
  4559. },
  4560. "readed": {
  4561. "description": "是否已读",
  4562. "type": "boolean"
  4563. },
  4564. "scheduletime": {
  4565. "description": "计划发送时间",
  4566. "type": "string"
  4567. },
  4568. "sendtype": {
  4569. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4570. "type": "integer"
  4571. },
  4572. "sentstatus": {
  4573. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4574. "type": "integer"
  4575. },
  4576. "title": {
  4577. "description": "标题",
  4578. "type": "string"
  4579. },
  4580. "userid": {
  4581. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4582. "type": "integer"
  4583. }
  4584. }
  4585. },
  4586. "common.QueryProvincesAndCitiesRsp": {
  4587. "type": "object",
  4588. "properties": {
  4589. "cities": {
  4590. "description": "市",
  4591. "type": "array",
  4592. "items": {
  4593. "$ref": "#/definitions/models.Division"
  4594. }
  4595. },
  4596. "province": {
  4597. "description": "省",
  4598. "$ref": "#/definitions/models.Division"
  4599. }
  4600. }
  4601. },
  4602. "common.QueryTableDefineRsp": {
  4603. "type": "object",
  4604. "required": [
  4605. "tablekey"
  4606. ],
  4607. "properties": {
  4608. "columns": {
  4609. "description": "列头信息数组",
  4610. "type": "array",
  4611. "items": {
  4612. "$ref": "#/definitions/models.Tablecolumnconfig"
  4613. }
  4614. },
  4615. "remark": {
  4616. "description": "Remark",
  4617. "type": "string"
  4618. },
  4619. "tabelmenu": {
  4620. "description": "列表菜单",
  4621. "type": "string"
  4622. },
  4623. "tablekey": {
  4624. "description": "列表Key",
  4625. "type": "string"
  4626. },
  4627. "tablename": {
  4628. "description": "列表名称",
  4629. "type": "string"
  4630. },
  4631. "tabletype": {
  4632. "description": "列表类型 - 1:管理端 2:终端",
  4633. "type": "integer"
  4634. }
  4635. }
  4636. },
  4637. "common.QueryTraderMenuRsp": {
  4638. "type": "object",
  4639. "properties": {
  4640. "OperationMenu": {
  4641. "description": "功能菜单",
  4642. "type": "array",
  4643. "items": {
  4644. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4645. }
  4646. },
  4647. "QuoteMenu": {
  4648. "description": "报价牌分类菜单",
  4649. "type": "array",
  4650. "items": {
  4651. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4652. }
  4653. }
  4654. }
  4655. },
  4656. "cptrade.Cptradepositioncancel": {
  4657. "type": "object",
  4658. "required": [
  4659. "cancelid"
  4660. ],
  4661. "properties": {
  4662. "accountid": {
  4663. "description": "申请人账户ID",
  4664. "type": "integer"
  4665. },
  4666. "applystatus": {
  4667. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4668. "type": "integer"
  4669. },
  4670. "applytime": {
  4671. "description": "申请时间",
  4672. "type": "string"
  4673. },
  4674. "cancelid": {
  4675. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4676. "type": "integer"
  4677. },
  4678. "cancelqty": {
  4679. "description": "注销数量",
  4680. "type": "integer"
  4681. },
  4682. "createtime": {
  4683. "description": "创建时间",
  4684. "type": "string"
  4685. },
  4686. "creatorid": {
  4687. "description": "创建人ID",
  4688. "type": "integer"
  4689. },
  4690. "creatorname": {
  4691. "description": "创建人",
  4692. "type": "string"
  4693. },
  4694. "goodscode": {
  4695. "description": "订单商品代码",
  4696. "type": "string"
  4697. },
  4698. "goodsid": {
  4699. "description": "商品ID",
  4700. "type": "integer"
  4701. },
  4702. "goodsname": {
  4703. "description": "订单商品名称",
  4704. "type": "string"
  4705. },
  4706. "goodunit": {
  4707. "description": "报价单位",
  4708. "type": "string"
  4709. },
  4710. "handlestatus": {
  4711. "description": "处理状态",
  4712. "type": "integer"
  4713. },
  4714. "marketid": {
  4715. "description": "市场ID",
  4716. "type": "integer"
  4717. },
  4718. "marketname": {
  4719. "description": "市场名称",
  4720. "type": "string"
  4721. },
  4722. "tradedate": {
  4723. "description": "交易日(yyyyMMdd)",
  4724. "type": "string"
  4725. },
  4726. "userid": {
  4727. "description": "申请人ID",
  4728. "type": "integer"
  4729. }
  4730. }
  4731. },
  4732. "cptrade.Cptradepresaleapply": {
  4733. "type": "object",
  4734. "required": [
  4735. "applyid"
  4736. ],
  4737. "properties": {
  4738. "accountid": {
  4739. "description": "申请人账户ID",
  4740. "type": "integer"
  4741. },
  4742. "applyid": {
  4743. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4744. "type": "integer"
  4745. },
  4746. "applyremark": {
  4747. "description": "申请备注",
  4748. "type": "string"
  4749. },
  4750. "applystatus": {
  4751. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4752. "type": "integer"
  4753. },
  4754. "applytime": {
  4755. "description": "申请时间",
  4756. "type": "string"
  4757. },
  4758. "attachmenturl": {
  4759. "description": "附件地址",
  4760. "type": "string"
  4761. },
  4762. "endtime": {
  4763. "description": "预售结束时间",
  4764. "type": "string"
  4765. },
  4766. "goodscode": {
  4767. "description": "商品代码",
  4768. "type": "string"
  4769. },
  4770. "goodsid": {
  4771. "description": "商品ID",
  4772. "type": "integer"
  4773. },
  4774. "goodsname": {
  4775. "description": "商品名称",
  4776. "type": "string"
  4777. },
  4778. "goodunit": {
  4779. "description": "报价单位",
  4780. "type": "string"
  4781. },
  4782. "handlestatus": {
  4783. "description": "处理状态",
  4784. "type": "integer"
  4785. },
  4786. "marketid": {
  4787. "description": "预售市场ID",
  4788. "type": "integer"
  4789. },
  4790. "marketname": {
  4791. "description": "预售市场名称",
  4792. "type": "string"
  4793. },
  4794. "presaleqty": {
  4795. "description": "预售数量",
  4796. "type": "integer"
  4797. },
  4798. "relatedgoodscode": {
  4799. "description": "关联交易合约代码",
  4800. "type": "string"
  4801. },
  4802. "relatedgoodsid": {
  4803. "description": "关联交易合约ID",
  4804. "type": "integer"
  4805. },
  4806. "relatedgoodsname": {
  4807. "description": "关联交易合约名称",
  4808. "type": "string"
  4809. },
  4810. "starttime": {
  4811. "description": "预售开始时间",
  4812. "type": "string"
  4813. },
  4814. "tradedate": {
  4815. "description": "交易日(yyyyMMdd)",
  4816. "type": "string"
  4817. },
  4818. "trademode": {
  4819. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4820. "type": "integer"
  4821. },
  4822. "userid": {
  4823. "description": "申请人ID",
  4824. "type": "integer"
  4825. }
  4826. }
  4827. },
  4828. "cptrade.Cptradeusergoodsdata": {
  4829. "type": "object",
  4830. "required": [
  4831. "accountid",
  4832. "goodsid"
  4833. ],
  4834. "properties": {
  4835. "EnabledQty": {
  4836. "description": "可用量",
  4837. "type": "integer"
  4838. },
  4839. "GoodsCode": {
  4840. "description": "订单商品代码",
  4841. "type": "string"
  4842. },
  4843. "GoodsName": {
  4844. "description": "订单商品名称",
  4845. "type": "string"
  4846. },
  4847. "WRStandardCode": {
  4848. "description": "仓单标准代码",
  4849. "type": "string"
  4850. },
  4851. "WRStandardName": {
  4852. "description": "仓单标准名称",
  4853. "type": "string"
  4854. },
  4855. "accountid": {
  4856. "description": "账户ID",
  4857. "type": "integer"
  4858. },
  4859. "cancelqty": {
  4860. "description": "注销量",
  4861. "type": "integer"
  4862. },
  4863. "curpresaleqty": {
  4864. "description": "当前预售量",
  4865. "type": "integer"
  4866. },
  4867. "deliveryqty": {
  4868. "description": "交割量",
  4869. "type": "integer"
  4870. },
  4871. "freezeamount": {
  4872. "description": "冻结金额",
  4873. "type": "number"
  4874. },
  4875. "goodsid": {
  4876. "description": "商品ID",
  4877. "type": "integer"
  4878. },
  4879. "goodunit": {
  4880. "description": "报价单位",
  4881. "type": "string"
  4882. },
  4883. "hasspotfreeze": {
  4884. "description": "是否有现货冻结 - 0:否 1:有",
  4885. "type": "integer"
  4886. },
  4887. "inqty": {
  4888. "description": "转入量(总数量)",
  4889. "type": "integer"
  4890. },
  4891. "marketid": {
  4892. "description": "市场ID",
  4893. "type": "integer"
  4894. },
  4895. "presaledamount": {
  4896. "description": "已预售总金额",
  4897. "type": "integer"
  4898. },
  4899. "presaledqty": {
  4900. "description": "已预售量",
  4901. "type": "integer"
  4902. },
  4903. "userid": {
  4904. "description": "用户ID",
  4905. "type": "integer"
  4906. },
  4907. "wrstandardid": {
  4908. "description": "仓单标准ID",
  4909. "type": "integer"
  4910. }
  4911. }
  4912. },
  4913. "cptrade.QueryCPTradeMyBidRsp": {
  4914. "type": "object",
  4915. "required": [
  4916. "accountid",
  4917. "goodsid",
  4918. "marketid",
  4919. "orderid",
  4920. "orderqty",
  4921. "ordertime",
  4922. "tradeprice",
  4923. "tradeqty"
  4924. ],
  4925. "properties": {
  4926. "accountid": {
  4927. "description": "账户ID[报价币种]",
  4928. "type": "integer"
  4929. },
  4930. "goodsid": {
  4931. "description": "商品ID",
  4932. "type": "integer"
  4933. },
  4934. "goodunit": {
  4935. "description": "报价单位",
  4936. "type": "string"
  4937. },
  4938. "marketid": {
  4939. "description": "市场ID",
  4940. "type": "integer"
  4941. },
  4942. "orderid": {
  4943. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4944. "type": "integer"
  4945. },
  4946. "orderprice": {
  4947. "description": "委托价格",
  4948. "type": "number"
  4949. },
  4950. "orderqty": {
  4951. "description": "委托数量",
  4952. "type": "integer"
  4953. },
  4954. "ordertime": {
  4955. "description": "委托时间",
  4956. "type": "string"
  4957. },
  4958. "ordertotalprice": {
  4959. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4960. "type": "number"
  4961. },
  4962. "ordertotalweight": {
  4963. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4964. "type": "integer"
  4965. },
  4966. "totaltotalprice": {
  4967. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4968. "type": "number"
  4969. },
  4970. "tradeprice": {
  4971. "description": "成交价格",
  4972. "type": "number"
  4973. },
  4974. "tradeqty": {
  4975. "description": "成交数量",
  4976. "type": "integer"
  4977. }
  4978. }
  4979. },
  4980. "cptrade.QueryCPTradeOrderDetailRsq": {
  4981. "type": "object",
  4982. "required": [
  4983. "accountid",
  4984. "buildtype",
  4985. "buyorsell",
  4986. "goodsid",
  4987. "marketid",
  4988. "memberuserid",
  4989. "operatetype",
  4990. "orderqty",
  4991. "ordertime",
  4992. "pricemode",
  4993. "strorderid",
  4994. "tradedate",
  4995. "validtype"
  4996. ],
  4997. "properties": {
  4998. "accountid": {
  4999. "description": "账户ID[报价币种]",
  5000. "type": "integer"
  5001. },
  5002. "buildtype": {
  5003. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5004. "type": "integer"
  5005. },
  5006. "buyorsell": {
  5007. "description": "买卖 - 0:买 1:卖",
  5008. "type": "integer"
  5009. },
  5010. "cancelorderid": {
  5011. "description": "撤单单号(撤单时填写)",
  5012. "type": "integer"
  5013. },
  5014. "cancelqty": {
  5015. "description": "撤单数量",
  5016. "type": "integer"
  5017. },
  5018. "clientordertime": {
  5019. "description": "客户端委托时间",
  5020. "type": "string"
  5021. },
  5022. "clientticket": {
  5023. "description": "客户端流水号",
  5024. "type": "string"
  5025. },
  5026. "clienttype": {
  5027. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5028. "type": "integer"
  5029. },
  5030. "closeexchagechargevalue": {
  5031. "description": "平仓交易所手续费设置值",
  5032. "type": "number"
  5033. },
  5034. "closefeealgorithm": {
  5035. "description": "平仓手续费收取方式 1:比率 2:固定",
  5036. "type": "integer"
  5037. },
  5038. "closefreezecharge": {
  5039. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5040. "type": "number"
  5041. },
  5042. "closememberchargevalue": {
  5043. "description": "平仓会员手续费设置值",
  5044. "type": "number"
  5045. },
  5046. "closeqty": {
  5047. "description": "平仓数量(先建后平操作 需要记录)",
  5048. "type": "integer"
  5049. },
  5050. "closetradeqty": {
  5051. "description": "平仓成交数量(先建后平操作,需要记录)",
  5052. "type": "integer"
  5053. },
  5054. "closeunfreezecharge": {
  5055. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5056. "type": "number"
  5057. },
  5058. "delistingtype": {
  5059. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5060. "type": "integer"
  5061. },
  5062. "freezecharge": {
  5063. "description": "冻结手续费",
  5064. "type": "number"
  5065. },
  5066. "freezemargin": {
  5067. "description": "冻结保证金(冻结交易金额)",
  5068. "type": "number"
  5069. },
  5070. "gcaccountid": {
  5071. "description": "账户ID[合约币种]",
  5072. "type": "integer"
  5073. },
  5074. "goodsid": {
  5075. "description": "商品ID",
  5076. "type": "integer"
  5077. },
  5078. "isconfirmexercise": {
  5079. "description": "是否确认行权- 0:否 1:是",
  5080. "type": "integer"
  5081. },
  5082. "ispreexercise": {
  5083. "description": "是否预申报- 0:否 1:是",
  5084. "type": "integer"
  5085. },
  5086. "listingselecttype": {
  5087. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5088. "type": "integer"
  5089. },
  5090. "marginalgorithm": {
  5091. "description": "保证金收取方式 1:比率 2:固定",
  5092. "type": "integer"
  5093. },
  5094. "marginvalue": {
  5095. "description": "即市保证金设置值",
  5096. "type": "number"
  5097. },
  5098. "marketid": {
  5099. "description": "市场ID",
  5100. "type": "integer"
  5101. },
  5102. "marketmaxsub": {
  5103. "description": "市价最大偏移范围",
  5104. "type": "number"
  5105. },
  5106. "memberuserid": {
  5107. "description": "所属会员UserID",
  5108. "type": "integer"
  5109. },
  5110. "openexchagechargevalue": {
  5111. "description": "建仓交易所手续费设置值",
  5112. "type": "number"
  5113. },
  5114. "openfeealgorithm": {
  5115. "description": "建仓手续费收取方式 1:比率 2:固定",
  5116. "type": "integer"
  5117. },
  5118. "openfreezecharge": {
  5119. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5120. "type": "number"
  5121. },
  5122. "openmemberchargevalue": {
  5123. "description": "建仓会员手续费设置值",
  5124. "type": "number"
  5125. },
  5126. "openqty": {
  5127. "description": "开仓数量(先建后平操作,需要记录)",
  5128. "type": "integer"
  5129. },
  5130. "opentradeqty": {
  5131. "description": "开仓成交数量(先建后平操作,需要记录)",
  5132. "type": "integer"
  5133. },
  5134. "openunfreezecharge": {
  5135. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5136. "type": "number"
  5137. },
  5138. "operatetype": {
  5139. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5140. "type": "integer"
  5141. },
  5142. "operatorid": {
  5143. "description": "登录账号(LoginID)",
  5144. "type": "integer"
  5145. },
  5146. "optiontype": {
  5147. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5148. "type": "integer"
  5149. },
  5150. "orderprice": {
  5151. "description": "委托价格",
  5152. "type": "number"
  5153. },
  5154. "orderqty": {
  5155. "description": "委托数量",
  5156. "type": "integer"
  5157. },
  5158. "ordersrc": {
  5159. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5160. "type": "integer"
  5161. },
  5162. "orderstatus": {
  5163. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5164. "type": "integer"
  5165. },
  5166. "ordertime": {
  5167. "description": "委托时间",
  5168. "type": "string"
  5169. },
  5170. "preexerciseprice": {
  5171. "description": "预申报价格",
  5172. "type": "number"
  5173. },
  5174. "premium": {
  5175. "description": "权利金",
  5176. "type": "number"
  5177. },
  5178. "preorderid": {
  5179. "description": "关联预埋单号(止盈止损单时填写)",
  5180. "type": "integer"
  5181. },
  5182. "pricemode": {
  5183. "description": "取价方式 - 1:市价 2: 限价",
  5184. "type": "integer"
  5185. },
  5186. "quoteid": {
  5187. "description": "报价单ID",
  5188. "type": "integer"
  5189. },
  5190. "relatedid": {
  5191. "description": "关联单号(交割单)",
  5192. "type": "integer"
  5193. },
  5194. "retcode": {
  5195. "description": "错误代码",
  5196. "type": "integer"
  5197. },
  5198. "sessionid": {
  5199. "description": "会话ID",
  5200. "type": "integer"
  5201. },
  5202. "strorderid": {
  5203. "description": "委托单号",
  5204. "type": "string"
  5205. },
  5206. "tradedate": {
  5207. "description": "交易日(yyyyMMdd)",
  5208. "type": "string"
  5209. },
  5210. "tradeproperty": {
  5211. "description": "交易属性",
  5212. "type": "integer"
  5213. },
  5214. "tradeqty": {
  5215. "description": "成交数量",
  5216. "type": "integer"
  5217. },
  5218. "unfreezecharge": {
  5219. "description": "解冻手续费",
  5220. "type": "number"
  5221. },
  5222. "unfreezemargin": {
  5223. "description": "解冻保证金",
  5224. "type": "number"
  5225. },
  5226. "updatetime": {
  5227. "description": "更新时间",
  5228. "type": "string"
  5229. },
  5230. "uuid": {
  5231. "description": "发起端唯一id",
  5232. "type": "string"
  5233. },
  5234. "validtime": {
  5235. "description": "有效期限",
  5236. "type": "string"
  5237. },
  5238. "validtype": {
  5239. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5240. "type": "integer"
  5241. },
  5242. "volumetype": {
  5243. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5244. "type": "integer"
  5245. }
  5246. }
  5247. },
  5248. "cptrade.QueryMyCPTradeGoodsRsp": {
  5249. "type": "object",
  5250. "required": [
  5251. "goodscode",
  5252. "goodsid",
  5253. "goodsname",
  5254. "marketid",
  5255. "relatedgoodscode",
  5256. "relatedgoodsname"
  5257. ],
  5258. "properties": {
  5259. "accountid": {
  5260. "description": "卖方账户ID",
  5261. "type": "integer"
  5262. },
  5263. "agreeunit": {
  5264. "description": "合约单位",
  5265. "type": "number"
  5266. },
  5267. "applyid": {
  5268. "description": "关联申请ID",
  5269. "type": "integer"
  5270. },
  5271. "attachmenturl": {
  5272. "description": "附件地址",
  5273. "type": "string"
  5274. },
  5275. "createtime": {
  5276. "description": "创建时间",
  5277. "type": "string"
  5278. },
  5279. "currencyid": {
  5280. "description": "报价货币ID",
  5281. "type": "integer"
  5282. },
  5283. "decimalplace": {
  5284. "description": "报价小数位",
  5285. "type": "integer"
  5286. },
  5287. "endtime": {
  5288. "description": "预售结束时间",
  5289. "type": "string"
  5290. },
  5291. "floorprice": {
  5292. "description": "底价[大宗式竞拍]",
  5293. "type": "number"
  5294. },
  5295. "goodscode": {
  5296. "description": "商品代码(预售)",
  5297. "type": "string"
  5298. },
  5299. "goodsdetail": {
  5300. "description": "详情[大宗]",
  5301. "type": "string"
  5302. },
  5303. "goodsid": {
  5304. "description": "商品ID(自增ID SEQ_GOODS)",
  5305. "type": "integer"
  5306. },
  5307. "goodsname": {
  5308. "description": "商品名称(预售)",
  5309. "type": "string"
  5310. },
  5311. "goodunit": {
  5312. "description": "报价单位",
  5313. "type": "string"
  5314. },
  5315. "goodunitid": {
  5316. "description": "报价单位ID",
  5317. "type": "integer"
  5318. },
  5319. "marketid": {
  5320. "description": "所属市场ID",
  5321. "type": "integer"
  5322. },
  5323. "marketname": {
  5324. "description": "预售市场名称",
  5325. "type": "string"
  5326. },
  5327. "presaledamount": {
  5328. "description": "已预售总金额(预售结束时更新)",
  5329. "type": "number"
  5330. },
  5331. "presaledqty": {
  5332. "description": "已预售量(预售结束时更新)",
  5333. "type": "integer"
  5334. },
  5335. "presalemode": {
  5336. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5337. "type": "integer"
  5338. },
  5339. "presaleqty": {
  5340. "description": "预售数量",
  5341. "type": "integer"
  5342. },
  5343. "refprice": {
  5344. "description": "参考价格[一口价]",
  5345. "type": "number"
  5346. },
  5347. "relatedgoodscode": {
  5348. "description": "商品代码(订单)",
  5349. "type": "string"
  5350. },
  5351. "relatedgoodsid": {
  5352. "description": "关联交易合约ID",
  5353. "type": "integer"
  5354. },
  5355. "relatedgoodsname": {
  5356. "description": "商品名称(订单)",
  5357. "type": "string"
  5358. },
  5359. "relatedmarketid": {
  5360. "description": "关联交易合约市场ID",
  5361. "type": "integer"
  5362. },
  5363. "sellstatus": {
  5364. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5365. "type": "integer"
  5366. },
  5367. "startprice": {
  5368. "description": "起拍价[大宗式竞拍]",
  5369. "type": "number"
  5370. },
  5371. "starttime": {
  5372. "description": "预售开始时间",
  5373. "type": "string"
  5374. },
  5375. "tradedate": {
  5376. "description": "交易日(yyyyMMdd)",
  5377. "type": "string"
  5378. },
  5379. "tradeprice": {
  5380. "description": "成交价[大宗]",
  5381. "type": "number"
  5382. },
  5383. "userid": {
  5384. "description": "卖方用户ID",
  5385. "type": "integer"
  5386. }
  5387. }
  5388. },
  5389. "cptrade.QueryPresaleGoodsExRsp": {
  5390. "type": "object",
  5391. "required": [
  5392. "goodsid"
  5393. ],
  5394. "properties": {
  5395. "attachmenturl": {
  5396. "description": "附件地址",
  5397. "type": "string"
  5398. },
  5399. "createtime": {
  5400. "description": "创建时间",
  5401. "type": "string"
  5402. },
  5403. "endtime": {
  5404. "description": "预售结束时间",
  5405. "type": "string"
  5406. },
  5407. "floorprice": {
  5408. "description": "底价[大宗式竞拍]",
  5409. "type": "number"
  5410. },
  5411. "goodsdetail": {
  5412. "description": "详情[大宗]",
  5413. "type": "string"
  5414. },
  5415. "goodsid": {
  5416. "description": "商品ID(预售)",
  5417. "type": "integer"
  5418. },
  5419. "goodunit": {
  5420. "description": "报价单位",
  5421. "type": "string"
  5422. },
  5423. "marketid": {
  5424. "description": "预售市场ID - 根据预售模式选择市场",
  5425. "type": "integer"
  5426. },
  5427. "presaledamount": {
  5428. "description": "已预售总金额(预售结束时更新)",
  5429. "type": "number"
  5430. },
  5431. "presaledqty": {
  5432. "description": "已预售量(预售结束时更新)",
  5433. "type": "integer"
  5434. },
  5435. "presalemode": {
  5436. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5437. "type": "integer"
  5438. },
  5439. "presaleqty": {
  5440. "description": "预售数量",
  5441. "type": "integer"
  5442. },
  5443. "refprice": {
  5444. "description": "参考价格[一口价]",
  5445. "type": "number"
  5446. },
  5447. "relatedgoodsid": {
  5448. "description": "关联交易合约ID",
  5449. "type": "integer"
  5450. },
  5451. "relatedmarketid": {
  5452. "description": "关联交易合约市场ID",
  5453. "type": "integer"
  5454. },
  5455. "sellstatus": {
  5456. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5457. "type": "integer"
  5458. },
  5459. "startprice": {
  5460. "description": "起拍价[大宗式竞拍]",
  5461. "type": "number"
  5462. },
  5463. "starttime": {
  5464. "description": "预售开始时间",
  5465. "type": "string"
  5466. },
  5467. "tradedate": {
  5468. "description": "交易日(yyyyMMdd)",
  5469. "type": "string"
  5470. },
  5471. "tradeprice": {
  5472. "description": "成交价[大宗]",
  5473. "type": "number"
  5474. }
  5475. }
  5476. },
  5477. "delivery.QueryDeliveryRelationRsp": {
  5478. "type": "object",
  5479. "required": [
  5480. "begindate",
  5481. "enddate",
  5482. "goodsid",
  5483. "mindeliveryqty",
  5484. "xdeliveryratio"
  5485. ],
  5486. "properties": {
  5487. "begindate": {
  5488. "description": "起始日期(yyyyMMdd)",
  5489. "type": "string"
  5490. },
  5491. "buytemplateid": {
  5492. "description": "买履约计划模板ID",
  5493. "type": "integer"
  5494. },
  5495. "deliverygoodscode": {
  5496. "description": "品种代码",
  5497. "type": "string"
  5498. },
  5499. "deliverygoodsid": {
  5500. "description": "交割商品",
  5501. "type": "integer"
  5502. },
  5503. "deliverygoodsname": {
  5504. "description": "品种名称",
  5505. "type": "string"
  5506. },
  5507. "deliverymode": {
  5508. "description": "交割方式 - 1:点选式 2:申报式",
  5509. "type": "integer"
  5510. },
  5511. "deliverypricerule": {
  5512. "description": "交割价规则- 1:行情价 2:建仓价",
  5513. "type": "integer"
  5514. },
  5515. "deliverytype": {
  5516. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5517. "type": "integer"
  5518. },
  5519. "enddate": {
  5520. "description": "结束日期(yyyyMMdd)",
  5521. "type": "string"
  5522. },
  5523. "goodscode": {
  5524. "description": "商品代码",
  5525. "type": "string"
  5526. },
  5527. "goodsid": {
  5528. "description": "交易合约ID",
  5529. "type": "integer"
  5530. },
  5531. "goodsname": {
  5532. "description": "商品名称",
  5533. "type": "string"
  5534. },
  5535. "marketid": {
  5536. "description": "市场ID",
  5537. "type": "integer"
  5538. },
  5539. "mindeliveryqty": {
  5540. "description": "最小交割系数(K)",
  5541. "type": "integer"
  5542. },
  5543. "p2deliveryprice": {
  5544. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5545. "type": "number"
  5546. },
  5547. "p2deliveryratio": {
  5548. "description": "P2合约系数(p)",
  5549. "type": "integer"
  5550. },
  5551. "p2goodsid": {
  5552. "description": "P2合约ID",
  5553. "type": "integer"
  5554. },
  5555. "p2pricemode": {
  5556. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5557. "type": "integer"
  5558. },
  5559. "pdeliveryprice": {
  5560. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5561. "type": "number"
  5562. },
  5563. "pdeliveryratio": {
  5564. "description": "P合约系数(n)",
  5565. "type": "integer"
  5566. },
  5567. "pgoodsid": {
  5568. "description": "P合约ID",
  5569. "type": "integer"
  5570. },
  5571. "ppricemode": {
  5572. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5573. "type": "integer"
  5574. },
  5575. "rratio": {
  5576. "description": "兑换系数(R)",
  5577. "type": "integer"
  5578. },
  5579. "rratio1": {
  5580. "description": "兑换系数(交易合约)(R1)",
  5581. "type": "integer"
  5582. },
  5583. "rratio2": {
  5584. "description": "兑换系数(仓单标准)(R2)",
  5585. "type": "integer"
  5586. },
  5587. "selltemplateid": {
  5588. "description": "卖履约计划模板ID",
  5589. "type": "integer"
  5590. },
  5591. "wrstandardid": {
  5592. "description": "仓单标准ID",
  5593. "type": "integer"
  5594. },
  5595. "xdeliveryratio": {
  5596. "description": "交易合约系数(m)",
  5597. "type": "integer"
  5598. }
  5599. }
  5600. },
  5601. "ermcp.QryBusinessDjRsp": {
  5602. "type": "object",
  5603. "properties": {
  5604. "amount": {
  5605. "description": "点价金额=(点价价格+升贴水)*点价数量",
  5606. "type": "number"
  5607. },
  5608. "applyid": {
  5609. "description": "申请人",
  5610. "type": "string"
  5611. },
  5612. "applyname": {
  5613. "description": "申请人名称",
  5614. "type": "string"
  5615. },
  5616. "applystatus": {
  5617. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5618. "type": "integer"
  5619. },
  5620. "applytime": {
  5621. "description": "申请时间",
  5622. "type": "string"
  5623. },
  5624. "auditname": {
  5625. "description": "审核人名称",
  5626. "type": "string"
  5627. },
  5628. "audittime": {
  5629. "description": "审核时间",
  5630. "type": "string"
  5631. },
  5632. "buyusername": {
  5633. "description": "采购方名称",
  5634. "type": "string"
  5635. },
  5636. "contractno": {
  5637. "description": "合同编号",
  5638. "type": "string"
  5639. },
  5640. "contracttype": {
  5641. "description": "现货合同类型 - 1:采购 -1:销售",
  5642. "type": "integer"
  5643. },
  5644. "enumdicname": {
  5645. "description": "单位名称",
  5646. "type": "string"
  5647. },
  5648. "goodscode": {
  5649. "description": "点价合约",
  5650. "type": "string"
  5651. },
  5652. "goodsname": {
  5653. "description": "商品名称",
  5654. "type": "string"
  5655. },
  5656. "operateapplyid": {
  5657. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5658. "type": "string"
  5659. },
  5660. "operateapplytype": {
  5661. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5662. "type": "integer"
  5663. },
  5664. "pricedPrice": {
  5665. "description": "点价价格(非必填)",
  5666. "type": "number"
  5667. },
  5668. "pricedQty": {
  5669. "description": "点价数量(非必填)",
  5670. "type": "number"
  5671. },
  5672. "pricemove": {
  5673. "description": "升贴水",
  5674. "type": "number"
  5675. },
  5676. "pricetype": {
  5677. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5678. "type": "integer"
  5679. },
  5680. "relatedid": {
  5681. "description": "现货合同ID",
  5682. "type": "string"
  5683. },
  5684. "sellusername": {
  5685. "description": "销售方名字",
  5686. "type": "string"
  5687. },
  5688. "userid": {
  5689. "description": "用户ID",
  5690. "type": "integer"
  5691. }
  5692. }
  5693. },
  5694. "ermcp.QryBussinessFpRsp": {
  5695. "type": "object",
  5696. "properties": {
  5697. "applyid": {
  5698. "description": "申请人",
  5699. "type": "string"
  5700. },
  5701. "applyname": {
  5702. "description": "申请人名称",
  5703. "type": "string"
  5704. },
  5705. "applystatus": {
  5706. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5707. "type": "integer"
  5708. },
  5709. "applytime": {
  5710. "description": "申请时间",
  5711. "type": "string"
  5712. },
  5713. "auditname": {
  5714. "description": "审核人名称",
  5715. "type": "string"
  5716. },
  5717. "audittime": {
  5718. "description": "审核时间",
  5719. "type": "string"
  5720. },
  5721. "buyusername": {
  5722. "description": "采购方名称",
  5723. "type": "string"
  5724. },
  5725. "contractno": {
  5726. "description": "合同编号",
  5727. "type": "string"
  5728. },
  5729. "contracttype": {
  5730. "description": "现货合同类型 - 1:采购 -1:销售",
  5731. "type": "integer"
  5732. },
  5733. "enumdicname": {
  5734. "description": "单位名称",
  5735. "type": "string"
  5736. },
  5737. "goodscode": {
  5738. "description": "点价合约",
  5739. "type": "string"
  5740. },
  5741. "goodsname": {
  5742. "description": "商品名称",
  5743. "type": "string"
  5744. },
  5745. "invoiceAmount": {
  5746. "description": "已开收票金额(销售为开票,采购为收票)",
  5747. "type": "number"
  5748. },
  5749. "operateapplyid": {
  5750. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5751. "type": "string"
  5752. },
  5753. "operateapplytype": {
  5754. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5755. "type": "integer"
  5756. },
  5757. "pricemove": {
  5758. "description": "升贴水",
  5759. "type": "number"
  5760. },
  5761. "pricetype": {
  5762. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5763. "type": "integer"
  5764. },
  5765. "relatedid": {
  5766. "description": "现货合同ID",
  5767. "type": "string"
  5768. },
  5769. "sellusername": {
  5770. "description": "销售方名字",
  5771. "type": "string"
  5772. },
  5773. "userid": {
  5774. "description": "用户ID",
  5775. "type": "integer"
  5776. }
  5777. }
  5778. },
  5779. "ermcp.QryBussinessJsRsp": {
  5780. "type": "object",
  5781. "properties": {
  5782. "addmargin": {
  5783. "description": "追加保证金(非必填)",
  5784. "type": "number"
  5785. },
  5786. "applyid": {
  5787. "description": "申请人",
  5788. "type": "string"
  5789. },
  5790. "applyname": {
  5791. "description": "申请人名称",
  5792. "type": "string"
  5793. },
  5794. "applystatus": {
  5795. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5796. "type": "integer"
  5797. },
  5798. "applytime": {
  5799. "description": "申请时间",
  5800. "type": "string"
  5801. },
  5802. "auditname": {
  5803. "description": "审核人名称",
  5804. "type": "string"
  5805. },
  5806. "audittime": {
  5807. "description": "审核时间",
  5808. "type": "string"
  5809. },
  5810. "buyusername": {
  5811. "description": "采购方名称",
  5812. "type": "string"
  5813. },
  5814. "contractno": {
  5815. "description": "合同编号",
  5816. "type": "string"
  5817. },
  5818. "contracttype": {
  5819. "description": "现货合同类型 - 1:采购 -1:销售",
  5820. "type": "integer"
  5821. },
  5822. "decmargin": {
  5823. "description": "减少保证金(非必填)",
  5824. "type": "number"
  5825. },
  5826. "enumdicname": {
  5827. "description": "单位名称",
  5828. "type": "string"
  5829. },
  5830. "goodscode": {
  5831. "description": "点价合约",
  5832. "type": "string"
  5833. },
  5834. "goodsname": {
  5835. "description": "商品名称",
  5836. "type": "string"
  5837. },
  5838. "operateapplyid": {
  5839. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5840. "type": "string"
  5841. },
  5842. "operateapplytype": {
  5843. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5844. "type": "integer"
  5845. },
  5846. "pricemove": {
  5847. "description": "升贴水",
  5848. "type": "number"
  5849. },
  5850. "pricetype": {
  5851. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5852. "type": "integer"
  5853. },
  5854. "reckonadjustamount": {
  5855. "description": "结算调整金额(非必填)",
  5856. "type": "number"
  5857. },
  5858. "reckonosamount": {
  5859. "description": "结算溢短金额(非必填)",
  5860. "type": "number"
  5861. },
  5862. "reckonotheramount": {
  5863. "description": "结算其他费用(非必填)",
  5864. "type": "number"
  5865. },
  5866. "reckonrealqty": {
  5867. "description": "结算实际数量(非必填)",
  5868. "type": "number"
  5869. },
  5870. "relatedid": {
  5871. "description": "现货合同ID",
  5872. "type": "string"
  5873. },
  5874. "sellusername": {
  5875. "description": "销售方名字",
  5876. "type": "string"
  5877. },
  5878. "userid": {
  5879. "description": "用户ID",
  5880. "type": "integer"
  5881. }
  5882. }
  5883. },
  5884. "ermcp.QryBussinessKxRsp": {
  5885. "type": "object",
  5886. "properties": {
  5887. "applyid": {
  5888. "description": "申请人",
  5889. "type": "string"
  5890. },
  5891. "applyname": {
  5892. "description": "申请人名称",
  5893. "type": "string"
  5894. },
  5895. "applystatus": {
  5896. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5897. "type": "integer"
  5898. },
  5899. "applytime": {
  5900. "description": "申请时间",
  5901. "type": "string"
  5902. },
  5903. "auditname": {
  5904. "description": "审核人名称",
  5905. "type": "string"
  5906. },
  5907. "audittime": {
  5908. "description": "审核时间",
  5909. "type": "string"
  5910. },
  5911. "buyusername": {
  5912. "description": "采购方名称",
  5913. "type": "string"
  5914. },
  5915. "contractno": {
  5916. "description": "合同编号",
  5917. "type": "string"
  5918. },
  5919. "contracttype": {
  5920. "description": "现货合同类型 - 1:采购 -1:销售",
  5921. "type": "integer"
  5922. },
  5923. "deductamount": {
  5924. "description": "退款(非必填)",
  5925. "type": "number"
  5926. },
  5927. "enumdicname": {
  5928. "description": "单位名称",
  5929. "type": "string"
  5930. },
  5931. "goodscode": {
  5932. "description": "点价合约",
  5933. "type": "string"
  5934. },
  5935. "goodsname": {
  5936. "description": "商品名称",
  5937. "type": "string"
  5938. },
  5939. "operateapplyid": {
  5940. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5941. "type": "string"
  5942. },
  5943. "operateapplytype": {
  5944. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5945. "type": "integer"
  5946. },
  5947. "payamount": {
  5948. "description": "收付款(非必填)",
  5949. "type": "number"
  5950. },
  5951. "pricemove": {
  5952. "description": "升贴水",
  5953. "type": "number"
  5954. },
  5955. "pricetype": {
  5956. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5957. "type": "integer"
  5958. },
  5959. "relatedid": {
  5960. "description": "现货合同ID",
  5961. "type": "string"
  5962. },
  5963. "sellusername": {
  5964. "description": "销售方名字",
  5965. "type": "string"
  5966. },
  5967. "userid": {
  5968. "description": "用户ID",
  5969. "type": "integer"
  5970. }
  5971. }
  5972. },
  5973. "ermcp.QryErmcpRsp": {
  5974. "type": "object",
  5975. "properties": {
  5976. "accountid": {
  5977. "description": "账户ID",
  5978. "type": "string"
  5979. },
  5980. "accountname": {
  5981. "description": "账户名称",
  5982. "type": "string"
  5983. },
  5984. "contracctstatus": {
  5985. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5986. "type": "integer"
  5987. },
  5988. "contracttype": {
  5989. "description": "合同类型 1-采购, -1-销售",
  5990. "type": "number"
  5991. },
  5992. "convertfactor": {
  5993. "description": "标仓系数",
  5994. "type": "number"
  5995. },
  5996. "daikaiamount": {
  5997. "description": "待开票额",
  5998. "type": "number"
  5999. },
  6000. "deliveryenddate": {
  6001. "description": "交割结束日",
  6002. "type": "string"
  6003. },
  6004. "deliverygoodscode": {
  6005. "description": "现货商品代码",
  6006. "type": "string"
  6007. },
  6008. "deliverygoodsid": {
  6009. "description": "现货商品ID",
  6010. "type": "integer"
  6011. },
  6012. "deliverygoodsname": {
  6013. "description": "现货商品名称",
  6014. "type": "string"
  6015. },
  6016. "deliverystartdate": {
  6017. "description": "交割开始日",
  6018. "type": "string"
  6019. },
  6020. "enddate": {
  6021. "description": "点价结束日",
  6022. "type": "string"
  6023. },
  6024. "enumdicname": {
  6025. "description": "单位名称",
  6026. "type": "string"
  6027. },
  6028. "goodscode": {
  6029. "description": "点价商品代码",
  6030. "type": "string"
  6031. },
  6032. "goodsid": {
  6033. "description": "点价商品ID",
  6034. "type": "integer"
  6035. },
  6036. "invoiceamount": {
  6037. "description": "已开票额",
  6038. "type": "number"
  6039. },
  6040. "payamount": {
  6041. "description": "已收付额(收款或付款)",
  6042. "type": "number"
  6043. },
  6044. "pricedamount": {
  6045. "description": "已定价额",
  6046. "type": "number"
  6047. },
  6048. "pricedavg": {
  6049. "description": "已点均价",
  6050. "type": "number"
  6051. },
  6052. "pricedqty": {
  6053. "description": "已定价量",
  6054. "type": "number"
  6055. },
  6056. "pricemove": {
  6057. "description": "升贴水",
  6058. "type": "number"
  6059. },
  6060. "pricetype": {
  6061. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6062. "type": "integer"
  6063. },
  6064. "producttype": {
  6065. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6066. "type": "integer"
  6067. },
  6068. "qty": {
  6069. "description": "合同量",
  6070. "type": "number"
  6071. },
  6072. "remark": {
  6073. "description": "备注",
  6074. "type": "string"
  6075. },
  6076. "spotcontractid": {
  6077. "description": "合同ID",
  6078. "type": "string"
  6079. },
  6080. "spotgoodsdesc": {
  6081. "description": "商品型号(商品规格)",
  6082. "type": "string"
  6083. },
  6084. "startdate": {
  6085. "description": "点价开始日",
  6086. "type": "string"
  6087. },
  6088. "unpayamount": {
  6089. "description": "待支收额(支付或收款)",
  6090. "type": "number"
  6091. },
  6092. "unpricedqty": {
  6093. "description": "未定价量",
  6094. "type": "number"
  6095. },
  6096. "unsureqty": {
  6097. "description": "未确定量",
  6098. "type": "number"
  6099. },
  6100. "userid": {
  6101. "description": "用户ID",
  6102. "type": "integer"
  6103. }
  6104. }
  6105. },
  6106. "ermcp.QryHedgePlanRsp": {
  6107. "type": "object",
  6108. "properties": {
  6109. "areauserid": {
  6110. "description": "用户ID",
  6111. "type": "integer"
  6112. },
  6113. "contracttype": {
  6114. "description": "计划类型 - 1:采购 -1:销售",
  6115. "type": "integer"
  6116. },
  6117. "convertfactor": {
  6118. "description": "标仓系数",
  6119. "type": "number"
  6120. },
  6121. "deliverygoodsid": {
  6122. "description": "现货品种ID",
  6123. "type": "integer"
  6124. },
  6125. "deliverygoodsname": {
  6126. "description": "现货品种名称",
  6127. "type": "string"
  6128. },
  6129. "hedgeplanid": {
  6130. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  6131. "type": "string"
  6132. },
  6133. "hedgeplanno": {
  6134. "description": "套保计划编号",
  6135. "type": "string"
  6136. },
  6137. "hedgeplanstatus": {
  6138. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6139. "type": "integer"
  6140. },
  6141. "planqty": {
  6142. "description": "计划数量",
  6143. "type": "number"
  6144. },
  6145. "plantime": {
  6146. "description": "计划时间",
  6147. "type": "string"
  6148. },
  6149. "producttype": {
  6150. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6151. "type": "integer"
  6152. },
  6153. "remark": {
  6154. "description": "备注",
  6155. "type": "string"
  6156. },
  6157. "spotgoodsdesc": {
  6158. "description": "商品型号",
  6159. "type": "string"
  6160. },
  6161. "wrstandardid": {
  6162. "description": "现货商品ID",
  6163. "type": "integer"
  6164. },
  6165. "wrstandardname": {
  6166. "description": "现货商品名称",
  6167. "type": "string"
  6168. }
  6169. }
  6170. },
  6171. "ermcp.QryOPLogRsp": {
  6172. "type": "object",
  6173. "properties": {
  6174. "aftervalue": {
  6175. "description": "变更后",
  6176. "type": "number"
  6177. },
  6178. "applyid": {
  6179. "description": "操作人ID",
  6180. "type": "string"
  6181. },
  6182. "applyname": {
  6183. "description": "操作人名称",
  6184. "type": "string"
  6185. },
  6186. "beforevalue": {
  6187. "description": "变更前",
  6188. "type": "number"
  6189. },
  6190. "biztype": {
  6191. "description": "业务类型 - 1:套保计划 2:现货合同",
  6192. "type": "integer"
  6193. },
  6194. "contracttype": {
  6195. "description": "现货合同类型 - 1:采购 -1:销售",
  6196. "type": "integer"
  6197. },
  6198. "logvalue": {
  6199. "description": "数值",
  6200. "type": "number"
  6201. },
  6202. "operatelogtype": {
  6203. "description": "操作流水类型",
  6204. "type": "integer"
  6205. },
  6206. "operatelogtypedesc": {
  6207. "description": "操作流水类型名称",
  6208. "type": "string"
  6209. },
  6210. "relatedid": {
  6211. "description": "现货合同ID\\套保计划",
  6212. "type": "string"
  6213. },
  6214. "updatetime": {
  6215. "description": "更新时间",
  6216. "type": "string"
  6217. }
  6218. }
  6219. },
  6220. "ermcp.QrySpotContractRsp": {
  6221. "type": "object",
  6222. "properties": {
  6223. "amount": {
  6224. "description": "金额 [1:一口价、3:暂定价]",
  6225. "type": "number"
  6226. },
  6227. "buyuserid": {
  6228. "description": "采购方ID",
  6229. "type": "integer"
  6230. },
  6231. "buyusername": {
  6232. "description": "采购方名称",
  6233. "type": "string"
  6234. },
  6235. "contracctstatus": {
  6236. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6237. "type": "integer"
  6238. },
  6239. "contractno": {
  6240. "description": "现货合同编号",
  6241. "type": "string"
  6242. },
  6243. "contracttype": {
  6244. "description": "现货合同类型 - 1:采购 -1:销售",
  6245. "type": "integer"
  6246. },
  6247. "convertfactor": {
  6248. "description": "标仓系数",
  6249. "type": "number"
  6250. },
  6251. "deliveryenddate": {
  6252. "description": "交收期(结束)",
  6253. "type": "string"
  6254. },
  6255. "deliverygoodscode": {
  6256. "description": "现货品种代码",
  6257. "type": "string"
  6258. },
  6259. "deliverygoodsid": {
  6260. "description": "现货品种ID",
  6261. "type": "integer"
  6262. },
  6263. "deliverygoodsname": {
  6264. "description": "现货品种名称",
  6265. "type": "string"
  6266. },
  6267. "deliverystartdate": {
  6268. "description": "交收期(开始)",
  6269. "type": "string"
  6270. },
  6271. "enddate": {
  6272. "description": "点价结束日期 [2:点价 3:暂定价]",
  6273. "type": "string"
  6274. },
  6275. "enumdicname": {
  6276. "description": "单位名称",
  6277. "type": "string"
  6278. },
  6279. "goodscode": {
  6280. "description": "点价合约代码",
  6281. "type": "string"
  6282. },
  6283. "goodsid": {
  6284. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  6285. "type": "integer"
  6286. },
  6287. "margin": {
  6288. "description": "当前保证金",
  6289. "type": "number"
  6290. },
  6291. "price": {
  6292. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  6293. "type": "number"
  6294. },
  6295. "pricemove": {
  6296. "description": "升贴水 [2:点价 3:暂定价]",
  6297. "type": "number"
  6298. },
  6299. "pricetype": {
  6300. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6301. "type": "integer"
  6302. },
  6303. "producttype": {
  6304. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6305. "type": "integer"
  6306. },
  6307. "qty": {
  6308. "description": "数量",
  6309. "type": "number"
  6310. },
  6311. "remark": {
  6312. "description": "备注",
  6313. "type": "string"
  6314. },
  6315. "selluserid": {
  6316. "description": "销售方ID",
  6317. "type": "integer"
  6318. },
  6319. "sellusername": {
  6320. "description": "销售方名称",
  6321. "type": "string"
  6322. },
  6323. "spotcontractid": {
  6324. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  6325. "type": "string"
  6326. },
  6327. "spotgoodsdesc": {
  6328. "description": "商品型号",
  6329. "type": "string"
  6330. },
  6331. "startdate": {
  6332. "description": "点价开始日期 [2:点价 3:暂定价]",
  6333. "type": "string"
  6334. },
  6335. "userid": {
  6336. "description": "机构ID",
  6337. "type": "integer"
  6338. }
  6339. }
  6340. },
  6341. "ermcp.QryUserInfoRsp": {
  6342. "type": "object",
  6343. "properties": {
  6344. "address": {
  6345. "description": "通讯地址",
  6346. "type": "string"
  6347. },
  6348. "attachment1": {
  6349. "description": "附件1",
  6350. "type": "string"
  6351. },
  6352. "cardfrontphotourl": {
  6353. "description": "证件正面图片地址",
  6354. "type": "string"
  6355. },
  6356. "cardnum": {
  6357. "description": "证件号码",
  6358. "type": "string"
  6359. },
  6360. "cardtype": {
  6361. "description": "证件类型",
  6362. "type": "integer"
  6363. },
  6364. "cardtypename": {
  6365. "description": "证件类型名称",
  6366. "type": "string"
  6367. },
  6368. "cityid": {
  6369. "description": "市",
  6370. "type": "integer"
  6371. },
  6372. "countryid": {
  6373. "description": "国家",
  6374. "type": "integer"
  6375. },
  6376. "customername": {
  6377. "description": "企业名称",
  6378. "type": "string"
  6379. },
  6380. "memberuserid": {
  6381. "description": "所属机构ID",
  6382. "type": "integer"
  6383. },
  6384. "mobile": {
  6385. "description": "手机号码",
  6386. "type": "string"
  6387. },
  6388. "provinceid": {
  6389. "description": "省",
  6390. "type": "integer"
  6391. },
  6392. "remark": {
  6393. "description": "备注",
  6394. "type": "string"
  6395. },
  6396. "status": {
  6397. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  6398. "type": "integer"
  6399. },
  6400. "statusdesc": {
  6401. "description": "账户状态中文描述",
  6402. "type": "string"
  6403. },
  6404. "telphone": {
  6405. "description": "联系电话",
  6406. "type": "string"
  6407. },
  6408. "userid": {
  6409. "description": "用户ID",
  6410. "type": "integer"
  6411. },
  6412. "userinfotype": {
  6413. "description": "客户类型",
  6414. "type": "string"
  6415. }
  6416. }
  6417. },
  6418. "ermcp.QryWrStandardRsp": {
  6419. "type": "object",
  6420. "properties": {
  6421. "areauserid": {
  6422. "description": "所属机构",
  6423. "type": "integer"
  6424. },
  6425. "createtime": {
  6426. "description": "创建时间",
  6427. "type": "string"
  6428. },
  6429. "creatorid": {
  6430. "description": "创建人",
  6431. "type": "integer"
  6432. },
  6433. "deliverygoodsid": {
  6434. "description": "品种ID",
  6435. "type": "integer"
  6436. },
  6437. "enumdicname": {
  6438. "description": "单位名称",
  6439. "type": "string"
  6440. },
  6441. "minivalue": {
  6442. "description": "最小变动值",
  6443. "type": "integer"
  6444. },
  6445. "minivaluedp": {
  6446. "description": "最小变动值小数位",
  6447. "type": "integer"
  6448. },
  6449. "realminivalue": {
  6450. "description": "实际最小变动值",
  6451. "type": "integer"
  6452. },
  6453. "realminivaluedp": {
  6454. "description": "实际最小变动值小数位",
  6455. "type": "integer"
  6456. },
  6457. "unitid": {
  6458. "description": "单位ID",
  6459. "type": "integer"
  6460. },
  6461. "wrstandardcode": {
  6462. "description": "现货商品代码",
  6463. "type": "string"
  6464. },
  6465. "wrstandardid": {
  6466. "description": "现货商品ID(SEQ_WRSTANDARD)",
  6467. "type": "integer"
  6468. },
  6469. "wrstandardname": {
  6470. "description": "现货商品名称",
  6471. "type": "string"
  6472. }
  6473. }
  6474. },
  6475. "ermcp.RealtimeExposureRsp": {
  6476. "type": "object",
  6477. "properties": {
  6478. "areaUserID": {
  6479. "description": "所属机构",
  6480. "type": "integer"
  6481. },
  6482. "buyFutureQty": {
  6483. "description": "买入期货数量",
  6484. "type": "number"
  6485. },
  6486. "buyPlanQty": {
  6487. "description": "采购计划数量",
  6488. "type": "number"
  6489. },
  6490. "buyPricedQty": {
  6491. "description": "采购合同已定价数量",
  6492. "type": "number"
  6493. },
  6494. "middleGoodsCode": {
  6495. "description": "套保品种代码",
  6496. "type": "string"
  6497. },
  6498. "middleGoodsHedgeRatio": {
  6499. "description": "应套保比例",
  6500. "type": "number"
  6501. },
  6502. "middleGoodsID": {
  6503. "description": "套保品种",
  6504. "type": "integer"
  6505. },
  6506. "middleGoodsName": {
  6507. "description": "************以下需计算或非redis数据************//",
  6508. "type": "string"
  6509. },
  6510. "needHedgeExposoure": {
  6511. "description": "应套保敞口",
  6512. "type": "number"
  6513. },
  6514. "needHedgeRatio": {
  6515. "description": "应套保敞口比例",
  6516. "type": "number"
  6517. },
  6518. "oriBuyFutureQty": {
  6519. "description": "期初买入期货数量",
  6520. "type": "integer"
  6521. },
  6522. "oriBuyPlanQty": {
  6523. "description": "期初采购计划数量",
  6524. "type": "number"
  6525. },
  6526. "oriBuyPricedQty": {
  6527. "description": "期初采购合同已定价数量",
  6528. "type": "number"
  6529. },
  6530. "oriSellFutureQty": {
  6531. "description": "期初卖出期货数量",
  6532. "type": "integer"
  6533. },
  6534. "oriSellPlanQty": {
  6535. "description": "期初销售计划数量",
  6536. "type": "number"
  6537. },
  6538. "oriSellPricedQty": {
  6539. "description": "期初销售合同已定价数量",
  6540. "type": "number"
  6541. },
  6542. "oriTotalFutuQty": {
  6543. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  6544. "type": "integer"
  6545. },
  6546. "oriTotalSpotQty": {
  6547. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  6548. "type": "number"
  6549. },
  6550. "sellFutureQty": {
  6551. "description": "卖出期货数量",
  6552. "type": "number"
  6553. },
  6554. "sellPlanQty": {
  6555. "description": "销售计划数量",
  6556. "type": "number"
  6557. },
  6558. "sellPricedQty": {
  6559. "description": "销售合同已定价数量",
  6560. "type": "number"
  6561. },
  6562. "totalExposure": {
  6563. "description": "总敞口",
  6564. "type": "number"
  6565. },
  6566. "totalFutureQty": {
  6567. "description": "期货数量",
  6568. "type": "number"
  6569. },
  6570. "totalHedgeRatio": {
  6571. "description": "敞口比例",
  6572. "type": "number"
  6573. },
  6574. "totalNeedHedgeQty": {
  6575. "description": "期货应套保量",
  6576. "type": "number"
  6577. },
  6578. "totalSpotQty": {
  6579. "description": "现货数量",
  6580. "type": "number"
  6581. }
  6582. }
  6583. },
  6584. "erms2.QueryArbitrageStrategyRsp": {
  6585. "type": "object",
  6586. "required": [
  6587. "asapplyid"
  6588. ],
  6589. "properties": {
  6590. "applybasis": {
  6591. "description": "申请基差",
  6592. "type": "number"
  6593. },
  6594. "asapplyid": {
  6595. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  6596. "type": "string"
  6597. },
  6598. "asname": {
  6599. "description": "策略名称",
  6600. "type": "string"
  6601. },
  6602. "asno": {
  6603. "description": "策略编号",
  6604. "type": "string"
  6605. },
  6606. "basischangepl": {
  6607. "description": "基差变动损益[结算更新]",
  6608. "type": "number"
  6609. },
  6610. "biztype": {
  6611. "description": "业务类型 - 1:正向套利 -1:反向套利",
  6612. "type": "integer"
  6613. },
  6614. "closetradedate": {
  6615. "description": "完结交易日(yyyyMMdd)",
  6616. "type": "string"
  6617. },
  6618. "curbasis": {
  6619. "description": "当前基差[结算更新]",
  6620. "type": "number"
  6621. },
  6622. "deliverygoodsid": {
  6623. "description": "现货品种ID",
  6624. "type": "integer"
  6625. },
  6626. "futureavgprice": {
  6627. "description": "期货建仓均价",
  6628. "type": "number"
  6629. },
  6630. "futurecloseamount": {
  6631. "description": "期货平仓金额",
  6632. "type": "number"
  6633. },
  6634. "futurecloseqty": {
  6635. "description": "期货平仓数量",
  6636. "type": "number"
  6637. },
  6638. "futureopenamount": {
  6639. "description": "期货开仓金额",
  6640. "type": "number"
  6641. },
  6642. "futureopenqty": {
  6643. "description": "期货开仓数量",
  6644. "type": "number"
  6645. },
  6646. "futurepl": {
  6647. "description": "期货总盈亏[结算更新]",
  6648. "type": "number"
  6649. },
  6650. "futureqty": {
  6651. "description": "期货持仓数量",
  6652. "type": "number"
  6653. },
  6654. "futurequote": {
  6655. "description": "期货额度",
  6656. "type": "number"
  6657. },
  6658. "goodsgroupid": {
  6659. "description": "期货品种ID",
  6660. "type": "integer"
  6661. },
  6662. "marketid": {
  6663. "description": "市场ID",
  6664. "type": "integer"
  6665. },
  6666. "netexposure": {
  6667. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6668. "type": "number"
  6669. },
  6670. "netexposurepl": {
  6671. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6672. "type": "number"
  6673. },
  6674. "netexposurerate": {
  6675. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6676. "type": "number"
  6677. },
  6678. "openbasis": {
  6679. "description": "建仓基差",
  6680. "type": "number"
  6681. },
  6682. "pricedspotqty": {
  6683. "description": "已定价现货数量",
  6684. "type": "number"
  6685. },
  6686. "pricedspotqtynotax": {
  6687. "description": "已定价现货不含税数量",
  6688. "type": "number"
  6689. },
  6690. "remark": {
  6691. "description": "备注",
  6692. "type": "string"
  6693. },
  6694. "spotavgprice": {
  6695. "description": "现货均价",
  6696. "type": "number"
  6697. },
  6698. "spotbuyamount": {
  6699. "description": "现货采购金额",
  6700. "type": "number"
  6701. },
  6702. "spotbuyqty": {
  6703. "description": "现货采购数量",
  6704. "type": "number"
  6705. },
  6706. "spotpl": {
  6707. "description": "现货总盈亏[结算更新]",
  6708. "type": "number"
  6709. },
  6710. "spotquota": {
  6711. "description": "现货额度",
  6712. "type": "number"
  6713. },
  6714. "spotsellamount": {
  6715. "description": "现货销售金额",
  6716. "type": "number"
  6717. },
  6718. "spotsellqty": {
  6719. "description": "现货销售数量",
  6720. "type": "number"
  6721. },
  6722. "spotusedquota": {
  6723. "description": "现货占用资金",
  6724. "type": "number"
  6725. },
  6726. "strategystatus": {
  6727. "description": "策略状态 - 0:未结束 1:已结束",
  6728. "type": "integer"
  6729. },
  6730. "totalpl": {
  6731. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6732. "type": "number"
  6733. },
  6734. "tradedate": {
  6735. "description": "交易日(yyyyMMdd)",
  6736. "type": "string"
  6737. },
  6738. "updatetime": {
  6739. "description": "更新时间",
  6740. "type": "string"
  6741. },
  6742. "usedquota": {
  6743. "description": "已占用资金",
  6744. "type": "number"
  6745. },
  6746. "userid": {
  6747. "description": "所属机构",
  6748. "type": "integer"
  6749. }
  6750. }
  6751. },
  6752. "erms2.QueryInnerTradeDetailRsp": {
  6753. "type": "object",
  6754. "required": [
  6755. "asapplyid",
  6756. "buyorsell",
  6757. "goodscode",
  6758. "goodsgroupid",
  6759. "goodsgroupname",
  6760. "goodsname",
  6761. "tradeid"
  6762. ],
  6763. "properties": {
  6764. "accountid": {
  6765. "description": "账号ID",
  6766. "type": "integer"
  6767. },
  6768. "agreeunit": {
  6769. "description": "合约单位",
  6770. "type": "number"
  6771. },
  6772. "asapplyid": {
  6773. "description": "策略申请ID",
  6774. "type": "integer"
  6775. },
  6776. "asname": {
  6777. "description": "策略名称",
  6778. "type": "string"
  6779. },
  6780. "asno": {
  6781. "description": "策略编号",
  6782. "type": "string"
  6783. },
  6784. "buyorsell": {
  6785. "description": "方向 - 0:买 1:卖",
  6786. "type": "integer"
  6787. },
  6788. "channelbuildtype": {
  6789. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  6790. "type": "integer"
  6791. },
  6792. "closetype": {
  6793. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  6794. "type": "integer"
  6795. },
  6796. "decimalplace": {
  6797. "description": "报价小数位",
  6798. "type": "integer"
  6799. },
  6800. "detailtype": {
  6801. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  6802. "type": "integer"
  6803. },
  6804. "exexchangecode": {
  6805. "description": "外部交易所代码",
  6806. "type": "string"
  6807. },
  6808. "exexchangename": {
  6809. "description": "外部交易所名称",
  6810. "type": "string"
  6811. },
  6812. "goodscode": {
  6813. "description": "商品代码(合约)",
  6814. "type": "string"
  6815. },
  6816. "goodsgroupid": {
  6817. "description": "商品组ID(品种ID)",
  6818. "type": "integer"
  6819. },
  6820. "goodsgroupname": {
  6821. "description": "商品组名称(品种)",
  6822. "type": "string"
  6823. },
  6824. "goodsid": {
  6825. "description": "商品ID",
  6826. "type": "integer"
  6827. },
  6828. "goodsname": {
  6829. "description": "商品名称(合约)",
  6830. "type": "string"
  6831. },
  6832. "goodunit": {
  6833. "description": "报价单位",
  6834. "type": "string"
  6835. },
  6836. "marketid": {
  6837. "description": "市场ID",
  6838. "type": "integer"
  6839. },
  6840. "orderid": {
  6841. "description": "委托单号",
  6842. "type": "string"
  6843. },
  6844. "outgoodscode": {
  6845. "description": "商品代码(外部)",
  6846. "type": "string"
  6847. },
  6848. "relatedouttradeid": {
  6849. "description": "关联外部成交单ID",
  6850. "type": "string"
  6851. },
  6852. "remark": {
  6853. "description": "备注",
  6854. "type": "string"
  6855. },
  6856. "spotcontractid": {
  6857. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  6858. "type": "integer"
  6859. },
  6860. "spotcontractno": {
  6861. "description": "现货合同编号",
  6862. "type": "string"
  6863. },
  6864. "tradeid": {
  6865. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6866. "type": "string"
  6867. },
  6868. "tradeprice": {
  6869. "description": "成交价格",
  6870. "type": "number"
  6871. },
  6872. "tradeqty": {
  6873. "description": "成交数量",
  6874. "type": "integer"
  6875. },
  6876. "tradetime": {
  6877. "description": "成交时间",
  6878. "type": "string"
  6879. },
  6880. "updatetime": {
  6881. "description": "更新时间",
  6882. "type": "string"
  6883. }
  6884. }
  6885. },
  6886. "erms2.QuerySpotContractRsp": {
  6887. "type": "object",
  6888. "required": [
  6889. "spotcontractid"
  6890. ],
  6891. "properties": {
  6892. "accountid": {
  6893. "description": "资金账户ID",
  6894. "type": "integer"
  6895. },
  6896. "areauserid": {
  6897. "description": "所属机构",
  6898. "type": "integer"
  6899. },
  6900. "closedate": {
  6901. "description": "终止日期",
  6902. "type": "string"
  6903. },
  6904. "closeremark": {
  6905. "description": "结束备注",
  6906. "type": "string"
  6907. },
  6908. "closetradedate": {
  6909. "description": "完结交易日(yyyyMMdd)",
  6910. "type": "string"
  6911. },
  6912. "closetype": {
  6913. "description": "终止类型 - 1:违约 2:提前终止",
  6914. "type": "integer"
  6915. },
  6916. "contractamount": {
  6917. "description": "合同金额",
  6918. "type": "number"
  6919. },
  6920. "contractattachment": {
  6921. "description": "合同附件",
  6922. "type": "string"
  6923. },
  6924. "contractno": {
  6925. "description": "现货合同编号",
  6926. "type": "string"
  6927. },
  6928. "contractqty": {
  6929. "description": "合同数量(数值) (用于计算)",
  6930. "type": "number"
  6931. },
  6932. "contractqtychar": {
  6933. "description": "合同数量\\已订价数量 (用于显示)",
  6934. "type": "string"
  6935. },
  6936. "contractstatus": {
  6937. "description": "合同状态 - 0:未结束 1:已结束",
  6938. "type": "integer"
  6939. },
  6940. "contracttype": {
  6941. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  6942. "type": "integer"
  6943. },
  6944. "customeraccountid": {
  6945. "description": "客户资金账户ID",
  6946. "type": "integer"
  6947. },
  6948. "customeruserid": {
  6949. "description": "客户ID",
  6950. "type": "integer"
  6951. },
  6952. "deliverygoodsdesc": {
  6953. "description": "品种说明",
  6954. "type": "string"
  6955. },
  6956. "deliverygoodsid": {
  6957. "description": "现货品种ID",
  6958. "type": "integer"
  6959. },
  6960. "handlestatus": {
  6961. "description": "处理状态",
  6962. "type": "integer"
  6963. },
  6964. "invoiceatt": {
  6965. "description": "发票附件",
  6966. "type": "string"
  6967. },
  6968. "invoicedatetime": {
  6969. "description": "开收票更新时间",
  6970. "type": "string"
  6971. },
  6972. "invoiceopentime": {
  6973. "description": "开票时间",
  6974. "type": "string"
  6975. },
  6976. "invoiceremark": {
  6977. "description": "发票备注",
  6978. "type": "string"
  6979. },
  6980. "invoicestatus": {
  6981. "description": "开收票状态 - 0:未开票 1:已开票",
  6982. "type": "integer"
  6983. },
  6984. "lastdate": {
  6985. "description": "交货时间",
  6986. "type": "string"
  6987. },
  6988. "marketid": {
  6989. "description": "市场ID",
  6990. "type": "integer"
  6991. },
  6992. "paydatetime": {
  6993. "description": "收付款更新时间",
  6994. "type": "string"
  6995. },
  6996. "payremark": {
  6997. "description": "收付款备注",
  6998. "type": "string"
  6999. },
  7000. "paystatus": {
  7001. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  7002. "type": "integer"
  7003. },
  7004. "positionqty": {
  7005. "description": "头寸数量 - 合同数量去小数部分",
  7006. "type": "integer"
  7007. },
  7008. "producttype": {
  7009. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7010. "type": "integer"
  7011. },
  7012. "relatedqty": {
  7013. "description": "已关联数量",
  7014. "type": "number"
  7015. },
  7016. "relatedstatus": {
  7017. "description": "关联完结状态 - 0:未结束 1:已结束",
  7018. "type": "integer"
  7019. },
  7020. "remark": {
  7021. "description": "备注",
  7022. "type": "string"
  7023. },
  7024. "signdate": {
  7025. "description": "签订日期",
  7026. "type": "string"
  7027. },
  7028. "spotcontractid": {
  7029. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  7030. "type": "string"
  7031. },
  7032. "spotdatetime": {
  7033. "description": "收发货更新时间",
  7034. "type": "string"
  7035. },
  7036. "spotprice": {
  7037. "description": "价格",
  7038. "type": "number"
  7039. },
  7040. "spotremark": {
  7041. "description": "收发货备注",
  7042. "type": "string"
  7043. },
  7044. "spotstatus": {
  7045. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  7046. "type": "integer"
  7047. },
  7048. "tradedate": {
  7049. "description": "交易日(yyyyMMdd)",
  7050. "type": "string"
  7051. },
  7052. "userid": {
  7053. "description": "业务员用户ID",
  7054. "type": "integer"
  7055. },
  7056. "warehouseid": {
  7057. "description": "仓库ID",
  7058. "type": "integer"
  7059. },
  7060. "wrfactortypeid": {
  7061. "description": "仓单要素类型ID",
  7062. "type": "integer"
  7063. },
  7064. "wrstandardid": {
  7065. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7066. "type": "integer"
  7067. }
  7068. }
  7069. },
  7070. "erms3.AddErms2ASApplyReq": {
  7071. "type": "object",
  7072. "required": [
  7073. "asapplyid"
  7074. ],
  7075. "properties": {
  7076. "applybasis": {
  7077. "description": "申请基差",
  7078. "type": "number"
  7079. },
  7080. "applystatus": {
  7081. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7082. "type": "integer"
  7083. },
  7084. "asapplyid": {
  7085. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  7086. "type": "integer"
  7087. },
  7088. "asname": {
  7089. "description": "策略名称",
  7090. "type": "string"
  7091. },
  7092. "asno": {
  7093. "description": "策略编号",
  7094. "type": "string"
  7095. },
  7096. "auditid": {
  7097. "description": "审核人",
  7098. "type": "integer"
  7099. },
  7100. "auditremark": {
  7101. "description": "审核备注",
  7102. "type": "string"
  7103. },
  7104. "audittime": {
  7105. "description": "审核时间",
  7106. "type": "string"
  7107. },
  7108. "biztype": {
  7109. "description": "业务类型 - 1:正向套利 2:反向套利",
  7110. "type": "integer"
  7111. },
  7112. "createtime": {
  7113. "description": "创建时间",
  7114. "type": "string"
  7115. },
  7116. "creatorid": {
  7117. "description": "创建人",
  7118. "type": "integer"
  7119. },
  7120. "deliverygoodsid": {
  7121. "description": "现货品种ID",
  7122. "type": "integer"
  7123. },
  7124. "futurequote": {
  7125. "description": "期货额度",
  7126. "type": "number"
  7127. },
  7128. "goodsgroupid": {
  7129. "description": "期货品种ID",
  7130. "type": "integer"
  7131. },
  7132. "marketid": {
  7133. "description": "市场ID",
  7134. "type": "integer"
  7135. },
  7136. "remark": {
  7137. "description": "备注",
  7138. "type": "string"
  7139. },
  7140. "spotquota": {
  7141. "description": "现货额度",
  7142. "type": "number"
  7143. },
  7144. "tradedate": {
  7145. "description": "交易日(yyyyMMdd)",
  7146. "type": "string"
  7147. },
  7148. "userid": {
  7149. "description": "所属机构",
  7150. "type": "integer"
  7151. }
  7152. }
  7153. },
  7154. "erms3.AddErms2SpotTradeApplyReq": {
  7155. "type": "object",
  7156. "required": [
  7157. "spottradeid"
  7158. ],
  7159. "properties": {
  7160. "applyjsondetail": {
  7161. "description": "申请明细(JSON)",
  7162. "type": "string"
  7163. },
  7164. "applystatus": {
  7165. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7166. "type": "integer"
  7167. },
  7168. "areauserid": {
  7169. "description": "所属机构",
  7170. "type": "integer"
  7171. },
  7172. "auditid": {
  7173. "description": "审核人",
  7174. "type": "integer"
  7175. },
  7176. "auditremark": {
  7177. "description": "审核备注",
  7178. "type": "string"
  7179. },
  7180. "audittime": {
  7181. "description": "审核时间",
  7182. "type": "string"
  7183. },
  7184. "createtime": {
  7185. "description": "创建时间",
  7186. "type": "string"
  7187. },
  7188. "creatorid": {
  7189. "description": "创建人",
  7190. "type": "integer"
  7191. },
  7192. "deliverygoodsid": {
  7193. "description": "现货品种ID",
  7194. "type": "integer"
  7195. },
  7196. "futureaccountid": {
  7197. "description": "期货资金账户",
  7198. "type": "integer"
  7199. },
  7200. "goodsgroupid": {
  7201. "description": "期货品种",
  7202. "type": "integer"
  7203. },
  7204. "marketid": {
  7205. "description": "市场ID",
  7206. "type": "integer"
  7207. },
  7208. "remark": {
  7209. "description": "备注",
  7210. "type": "string"
  7211. },
  7212. "spotaccountid": {
  7213. "description": "现货资金账户",
  7214. "type": "integer"
  7215. },
  7216. "spottradeid": {
  7217. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  7218. "type": "integer"
  7219. },
  7220. "spottradename": {
  7221. "description": "业务名称",
  7222. "type": "string"
  7223. },
  7224. "spottradeno": {
  7225. "description": "业务编号",
  7226. "type": "string"
  7227. },
  7228. "tradedate": {
  7229. "description": "交易日(yyyyMMdd)",
  7230. "type": "string"
  7231. },
  7232. "wrstandardid": {
  7233. "description": "仓单标准ID",
  7234. "type": "integer"
  7235. }
  7236. }
  7237. },
  7238. "erms3.AddSpotContractApplyReq": {
  7239. "type": "object",
  7240. "required": [
  7241. "accountid",
  7242. "areauserid",
  7243. "contractno",
  7244. "contracttype",
  7245. "customeraccountid",
  7246. "customeruserid",
  7247. "details",
  7248. "orimargin",
  7249. "signdate"
  7250. ],
  7251. "properties": {
  7252. "accountid": {
  7253. "description": "资金账户ID",
  7254. "type": "integer"
  7255. },
  7256. "areauserid": {
  7257. "description": "所属机构",
  7258. "type": "integer"
  7259. },
  7260. "contractattachment": {
  7261. "description": "合同附件",
  7262. "type": "string"
  7263. },
  7264. "contractno": {
  7265. "description": "现货合同编号",
  7266. "type": "string"
  7267. },
  7268. "contracttype": {
  7269. "description": "现货合同类型 - 1:采购 -1:销售",
  7270. "type": "integer"
  7271. },
  7272. "creatorid": {
  7273. "description": "申请人",
  7274. "type": "integer"
  7275. },
  7276. "customeraccountid": {
  7277. "description": "客户资金账户ID",
  7278. "type": "integer"
  7279. },
  7280. "customeruserid": {
  7281. "description": "客户ID",
  7282. "type": "integer"
  7283. },
  7284. "details": {
  7285. "description": "明细",
  7286. "type": "array",
  7287. "items": {
  7288. "$ref": "#/definitions/erms3.SoptContractDetail"
  7289. }
  7290. },
  7291. "orimargin": {
  7292. "description": "初始保证金",
  7293. "type": "number"
  7294. },
  7295. "remark": {
  7296. "description": "备注",
  7297. "type": "string"
  7298. },
  7299. "signdate": {
  7300. "description": "签订日期",
  7301. "type": "string"
  7302. }
  7303. }
  7304. },
  7305. "erms3.AddSpotContractApplyRsp": {
  7306. "type": "object",
  7307. "required": [
  7308. "contractno"
  7309. ],
  7310. "properties": {
  7311. "contractno": {
  7312. "description": "现货合同编号",
  7313. "type": "string"
  7314. },
  7315. "spotcontractid": {
  7316. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  7317. "type": "integer"
  7318. }
  7319. }
  7320. },
  7321. "erms3.AddUserInfoApplyReq": {
  7322. "type": "object",
  7323. "required": [
  7324. "userid"
  7325. ],
  7326. "properties": {
  7327. "accountid": {
  7328. "description": "交易系统帐号Id (加密存储)",
  7329. "type": "integer"
  7330. },
  7331. "areacode": {
  7332. "description": "机构代码",
  7333. "type": "string"
  7334. },
  7335. "areaid": {
  7336. "description": "机构Id",
  7337. "type": "integer"
  7338. },
  7339. "attachment1": {
  7340. "description": "附件1",
  7341. "type": "string"
  7342. },
  7343. "attachment2": {
  7344. "description": "附件2",
  7345. "type": "string"
  7346. },
  7347. "attachment3": {
  7348. "description": "附件3",
  7349. "type": "string"
  7350. },
  7351. "attachment4": {
  7352. "description": "附件4",
  7353. "type": "string"
  7354. },
  7355. "attachment5": {
  7356. "description": "附件5",
  7357. "type": "string"
  7358. },
  7359. "auditedby": {
  7360. "description": "审核人",
  7361. "type": "string"
  7362. },
  7363. "auditime": {
  7364. "description": "审核时间",
  7365. "type": "string"
  7366. },
  7367. "bankaccount": {
  7368. "description": "银行帐号 (加密存储)",
  7369. "type": "string"
  7370. },
  7371. "bankaccountname": {
  7372. "description": "收款人名称",
  7373. "type": "string"
  7374. },
  7375. "bankcardbackphotourl": {
  7376. "description": "银行卡背面照地址",
  7377. "type": "string"
  7378. },
  7379. "bankcardfrontphotourl": {
  7380. "description": "银行卡正面照地址",
  7381. "type": "string"
  7382. },
  7383. "bankid": {
  7384. "description": "银行编码",
  7385. "type": "string"
  7386. },
  7387. "bankname": {
  7388. "description": "银行名称",
  7389. "type": "string"
  7390. },
  7391. "bankpictureurl": {
  7392. "description": "银行卡正面地址",
  7393. "type": "string"
  7394. },
  7395. "biznature": {
  7396. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7397. "type": "integer"
  7398. },
  7399. "bizscope": {
  7400. "description": "企业经营范围(企业)",
  7401. "type": "string"
  7402. },
  7403. "biztype": {
  7404. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  7405. "type": "integer"
  7406. },
  7407. "brokerid": {
  7408. "description": "经纪人ID(加密存储)",
  7409. "type": "string"
  7410. },
  7411. "cardaddress": {
  7412. "description": "证件地址 (加密存储)",
  7413. "type": "string"
  7414. },
  7415. "cardbackphotourl": {
  7416. "description": "背面证件照地址",
  7417. "type": "string"
  7418. },
  7419. "cardfrontphotourl": {
  7420. "description": "正面证件照地址",
  7421. "type": "string"
  7422. },
  7423. "cardnum": {
  7424. "description": "证件号码 (加密存储)",
  7425. "type": "string"
  7426. },
  7427. "cardtype": {
  7428. "description": "证件类型",
  7429. "type": "integer"
  7430. },
  7431. "cityid": {
  7432. "description": "市",
  7433. "type": "integer"
  7434. },
  7435. "company": {
  7436. "description": "公司(个人)",
  7437. "type": "string"
  7438. },
  7439. "contactcardbackphotourl": {
  7440. "description": "联系人证件背面图片地址",
  7441. "type": "string"
  7442. },
  7443. "contactcardfrontphotourl": {
  7444. "description": "联系人证件正面图片地址",
  7445. "type": "string"
  7446. },
  7447. "contactname": {
  7448. "description": "联系人",
  7449. "type": "string"
  7450. },
  7451. "countryid": {
  7452. "description": "国家",
  7453. "type": "integer"
  7454. },
  7455. "createtime": {
  7456. "description": "开户申请时间",
  7457. "type": "string"
  7458. },
  7459. "cusbankid": {
  7460. "description": "签约类型",
  7461. "type": "string"
  7462. },
  7463. "cusbankname": {
  7464. "description": "签约类型名称",
  7465. "type": "string"
  7466. },
  7467. "customername": {
  7468. "description": "客户名称(企业名称)",
  7469. "type": "string"
  7470. },
  7471. "districtid": {
  7472. "description": "地区",
  7473. "type": "integer"
  7474. },
  7475. "email": {
  7476. "description": "Email地址(加密存储)",
  7477. "type": "string"
  7478. },
  7479. "halfbodyphotourl": {
  7480. "description": "半身照地址",
  7481. "type": "string"
  7482. },
  7483. "headurl": {
  7484. "description": "头像地址",
  7485. "type": "string"
  7486. },
  7487. "ipaddress": {
  7488. "description": "IP地址",
  7489. "type": "string"
  7490. },
  7491. "isvalidate": {
  7492. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7493. "type": "string"
  7494. },
  7495. "legalcardbackphotourl": {
  7496. "description": "法人身份证背面照地址",
  7497. "type": "string"
  7498. },
  7499. "legalcardfrontphotourl": {
  7500. "description": "法人身份证正面照地址",
  7501. "type": "string"
  7502. },
  7503. "legalpersonname": {
  7504. "description": "法人姓名(企业)",
  7505. "type": "string"
  7506. },
  7507. "logincode": {
  7508. "description": "登录帐号 (加密存储)",
  7509. "type": "string"
  7510. },
  7511. "memberareaid": {
  7512. "description": "所属会员ID",
  7513. "type": "integer"
  7514. },
  7515. "mobile2": {
  7516. "description": "手机号码[明文-尚志]",
  7517. "type": "string"
  7518. },
  7519. "mobilephone": {
  7520. "description": "手机号码 (加密存储)",
  7521. "type": "string"
  7522. },
  7523. "modifiedby": {
  7524. "description": "修改人帐号",
  7525. "type": "integer"
  7526. },
  7527. "modifiedtime": {
  7528. "description": "修改时间",
  7529. "type": "string"
  7530. },
  7531. "nickname": {
  7532. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7533. "type": "string"
  7534. },
  7535. "openmode": {
  7536. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7537. "type": "integer"
  7538. },
  7539. "otherurl": {
  7540. "description": "其它图片地址[使用分号分隔]",
  7541. "type": "string"
  7542. },
  7543. "postalcode": {
  7544. "description": "邮政编码",
  7545. "type": "string"
  7546. },
  7547. "provinceid": {
  7548. "description": "省",
  7549. "type": "integer"
  7550. },
  7551. "proxystatementurl": {
  7552. "description": "授权委托书",
  7553. "type": "string"
  7554. },
  7555. "qq": {
  7556. "description": "QQ(加密存储",
  7557. "type": "string"
  7558. },
  7559. "referral": {
  7560. "description": "推荐人编码",
  7561. "type": "string"
  7562. },
  7563. "remark": {
  7564. "description": "备注",
  7565. "type": "string"
  7566. },
  7567. "removebeforestatus": {
  7568. "description": "REMOVEBEFORESTATUS",
  7569. "type": "integer"
  7570. },
  7571. "sex": {
  7572. "description": "性别 - 0:女 1:男",
  7573. "type": "integer"
  7574. },
  7575. "signedstatus": {
  7576. "description": "账户一号签签约状态",
  7577. "type": "integer"
  7578. },
  7579. "signpdfurl": {
  7580. "description": "签约pdf文件",
  7581. "type": "string"
  7582. },
  7583. "subbranch": {
  7584. "description": "开户支行",
  7585. "type": "string"
  7586. },
  7587. "telphone": {
  7588. "description": "联系电话(加密存储)",
  7589. "type": "string"
  7590. },
  7591. "userid": {
  7592. "description": "用户ID(自增ID)",
  7593. "type": "integer"
  7594. },
  7595. "userinfotype": {
  7596. "description": "用户信息类型 - 1:个人 2:企业",
  7597. "type": "integer"
  7598. },
  7599. "username": {
  7600. "description": "用户姓名",
  7601. "type": "string"
  7602. },
  7603. "userstate": {
  7604. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7605. "type": "integer"
  7606. },
  7607. "usertype": {
  7608. "description": "用户类型 - 1:投资者 2:机构",
  7609. "type": "integer"
  7610. },
  7611. "videourl": {
  7612. "description": "视频地址",
  7613. "type": "string"
  7614. },
  7615. "wechat": {
  7616. "description": "微信号 (加密存储)",
  7617. "type": "string"
  7618. }
  7619. }
  7620. },
  7621. "erms3.CustomerInfo": {
  7622. "type": "object",
  7623. "required": [
  7624. "userid"
  7625. ],
  7626. "properties": {
  7627. "accountids": {
  7628. "description": "资金账户ID列表",
  7629. "type": "array",
  7630. "items": {
  7631. "type": "integer"
  7632. }
  7633. },
  7634. "customername": {
  7635. "description": "名称(企业名称)",
  7636. "type": "string"
  7637. },
  7638. "mobile": {
  7639. "description": "手机号码",
  7640. "type": "string"
  7641. },
  7642. "userid": {
  7643. "description": "用户ID",
  7644. "type": "integer"
  7645. }
  7646. }
  7647. },
  7648. "erms3.QryAuditContractRsp": {
  7649. "type": "object",
  7650. "required": [
  7651. "matchcustomername",
  7652. "spotcontractid"
  7653. ],
  7654. "properties": {
  7655. "accountid": {
  7656. "description": "交易员ID",
  7657. "type": "string"
  7658. },
  7659. "applystatus": {
  7660. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7661. "type": "integer"
  7662. },
  7663. "curdeliveryqty": {
  7664. "description": "未交收量",
  7665. "type": "integer"
  7666. },
  7667. "customername": {
  7668. "description": "采购方ID",
  7669. "type": "string"
  7670. },
  7671. "deliverygoodsid": {
  7672. "description": "品种ID",
  7673. "type": "string"
  7674. },
  7675. "deliveryqty": {
  7676. "description": "交收量",
  7677. "type": "integer"
  7678. },
  7679. "enumdicname": {
  7680. "description": "单位名称",
  7681. "type": "string"
  7682. },
  7683. "matchaccountid": {
  7684. "description": "业务员ID",
  7685. "type": "string"
  7686. },
  7687. "matchcustomername": {
  7688. "description": "销售方ID",
  7689. "type": "string"
  7690. },
  7691. "pricedqty": {
  7692. "description": "定价量",
  7693. "type": "number"
  7694. },
  7695. "signdate": {
  7696. "description": "签订日期",
  7697. "type": "string"
  7698. },
  7699. "spotcontractid": {
  7700. "description": "合同ID",
  7701. "type": "string"
  7702. },
  7703. "totaldqty": {
  7704. "description": "合同量",
  7705. "type": "number"
  7706. },
  7707. "unpricedqty": {
  7708. "description": "未定价量",
  7709. "type": "number"
  7710. },
  7711. "wrstandardname": {
  7712. "description": "商品名称",
  7713. "type": "string"
  7714. }
  7715. }
  7716. },
  7717. "erms3.QryPendingBizRsp": {
  7718. "type": "object",
  7719. "properties": {
  7720. "accountid": {
  7721. "description": "现货账户",
  7722. "type": "string"
  7723. },
  7724. "areaname": {
  7725. "description": "所属部门",
  7726. "type": "string"
  7727. },
  7728. "bizid": {
  7729. "description": "业务ID",
  7730. "type": "string"
  7731. },
  7732. "bizname": {
  7733. "description": "业务名称",
  7734. "type": "string"
  7735. },
  7736. "status": {
  7737. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7738. "type": "integer"
  7739. },
  7740. "type": {
  7741. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  7742. "type": "integer"
  7743. }
  7744. }
  7745. },
  7746. "erms3.QueryBusinessInfoRsp": {
  7747. "type": "object",
  7748. "properties": {
  7749. "businessid": {
  7750. "description": "业务ID.",
  7751. "type": "integer"
  7752. },
  7753. "buyamount": {
  7754. "description": "采购额.",
  7755. "type": "number"
  7756. },
  7757. "buyqty": {
  7758. "description": "采购量.",
  7759. "type": "string"
  7760. },
  7761. "futurepl": {
  7762. "description": "期货盈亏.",
  7763. "type": "number"
  7764. },
  7765. "futureqty": {
  7766. "description": "期货敞口.",
  7767. "type": "string"
  7768. },
  7769. "goodsid": {
  7770. "description": "商品名称/商品代码.",
  7771. "type": "string"
  7772. },
  7773. "hedgingqty": {
  7774. "description": "套保量.",
  7775. "type": "string"
  7776. },
  7777. "sellamount": {
  7778. "description": "销售额.",
  7779. "type": "number"
  7780. },
  7781. "sellqty": {
  7782. "description": "销售量.",
  7783. "type": "string"
  7784. },
  7785. "spotmarketvalue": {
  7786. "description": "现货市值.",
  7787. "type": "number"
  7788. },
  7789. "spotpl": {
  7790. "description": "浮动权益.",
  7791. "type": "number"
  7792. },
  7793. "spotqty": {
  7794. "description": "现货量.",
  7795. "type": "string"
  7796. },
  7797. "statu": {
  7798. "description": "状态,0-未结束 1-已结束.",
  7799. "type": "integer"
  7800. },
  7801. "totalpl": {
  7802. "description": "总盈亏.",
  7803. "type": "number"
  7804. },
  7805. "totalqty": {
  7806. "description": "总敞口.",
  7807. "type": "string"
  7808. },
  7809. "type": {
  7810. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  7811. "type": "integer"
  7812. }
  7813. }
  7814. },
  7815. "erms3.QuerySpotContractAppleFormRsp": {
  7816. "type": "object",
  7817. "properties": {
  7818. "goodses": {
  7819. "description": "合约列表",
  7820. "type": "array",
  7821. "items": {
  7822. "$ref": "#/definitions/models.GoodsIDAndName"
  7823. }
  7824. },
  7825. "oppositeusers": {
  7826. "description": "对方账号列表",
  7827. "type": "array",
  7828. "items": {
  7829. "$ref": "#/definitions/erms3.CustomerInfo"
  7830. }
  7831. },
  7832. "ouruser": {
  7833. "description": "我方账号",
  7834. "$ref": "#/definitions/erms3.CustomerInfo"
  7835. },
  7836. "warehouseinfos": {
  7837. "description": "仓库信息列表",
  7838. "type": "array",
  7839. "items": {
  7840. "$ref": "#/definitions/models.Warehouseinfo"
  7841. }
  7842. },
  7843. "wrstandards": {
  7844. "description": "仓单标准列表",
  7845. "type": "array",
  7846. "items": {
  7847. "$ref": "#/definitions/models.WRStandardInfo"
  7848. }
  7849. }
  7850. }
  7851. },
  7852. "erms3.QuerySpotContractInfoRsp": {
  7853. "type": "object",
  7854. "properties": {
  7855. "accountid": {
  7856. "description": "表示交易员ID.",
  7857. "type": "integer"
  7858. },
  7859. "curdeliveryqty": {
  7860. "description": "表示未交收量.",
  7861. "type": "number"
  7862. },
  7863. "customername": {
  7864. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  7865. "type": "string"
  7866. },
  7867. "deliverygoodsid": {
  7868. "description": "表示品种ID.",
  7869. "type": "string"
  7870. },
  7871. "deliveryqty": {
  7872. "description": "表示交收量.",
  7873. "type": "number"
  7874. },
  7875. "matchaccountid": {
  7876. "description": "表示业务员ID.",
  7877. "type": "integer"
  7878. },
  7879. "matchcustomername": {
  7880. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  7881. "type": "string"
  7882. },
  7883. "priceqty": {
  7884. "description": "表示定价量.",
  7885. "type": "number"
  7886. },
  7887. "relatedbizid": {
  7888. "description": "表示业务ID.",
  7889. "type": "string"
  7890. },
  7891. "signdate": {
  7892. "description": "表示签订日期.",
  7893. "type": "string"
  7894. },
  7895. "spotcontractid": {
  7896. "description": "合同ID",
  7897. "type": "string"
  7898. },
  7899. "status": {
  7900. "description": "表示状态,0-履约中 1-已完成.",
  7901. "type": "integer"
  7902. },
  7903. "totalqty": {
  7904. "description": "表示合同量.",
  7905. "type": "number"
  7906. },
  7907. "unpricedqty": {
  7908. "description": "表示未定价量.",
  7909. "type": "number"
  7910. },
  7911. "wrstandardname": {
  7912. "description": "表示商品ID.",
  7913. "type": "string"
  7914. }
  7915. }
  7916. },
  7917. "erms3.QueryUserInfoAppliesRsp": {
  7918. "type": "object",
  7919. "required": [
  7920. "userid"
  7921. ],
  7922. "properties": {
  7923. "biznature": {
  7924. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7925. "type": "integer"
  7926. },
  7927. "contactname": {
  7928. "description": "联系人",
  7929. "type": "string"
  7930. },
  7931. "createtime": {
  7932. "description": "开户申请时间",
  7933. "type": "string"
  7934. },
  7935. "userid": {
  7936. "description": "用户ID(自增ID)",
  7937. "type": "integer"
  7938. },
  7939. "userinfotype": {
  7940. "description": "用户信息类型 - 1:个人 2:企业",
  7941. "type": "integer"
  7942. },
  7943. "username": {
  7944. "description": "用户姓名",
  7945. "type": "string"
  7946. },
  7947. "userstate": {
  7948. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7949. "type": "integer"
  7950. }
  7951. }
  7952. },
  7953. "erms3.QueryUserInfosRsp": {
  7954. "type": "object",
  7955. "required": [
  7956. "userid"
  7957. ],
  7958. "properties": {
  7959. "biznature": {
  7960. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7961. "type": "integer"
  7962. },
  7963. "contactname": {
  7964. "description": "联系人",
  7965. "type": "string"
  7966. },
  7967. "customername": {
  7968. "description": "客户名称(企业名称)",
  7969. "type": "string"
  7970. },
  7971. "userid": {
  7972. "description": "用户ID",
  7973. "type": "integer"
  7974. },
  7975. "userinfotype": {
  7976. "description": "用户信息类型 - 1:个人 2:企业",
  7977. "type": "integer"
  7978. },
  7979. "userstatus": {
  7980. "description": "用户状态 - 1:正常 2:注销",
  7981. "type": "integer"
  7982. }
  7983. }
  7984. },
  7985. "erms3.SoptContractDetail": {
  7986. "type": "object",
  7987. "required": [
  7988. "deliverygoodsid",
  7989. "producttype",
  7990. "unitname",
  7991. "warehouseid",
  7992. "wrstandardid",
  7993. "wrstandardname"
  7994. ],
  7995. "properties": {
  7996. "deliverygoodsdesc": {
  7997. "description": "现货品种说明",
  7998. "type": "string"
  7999. },
  8000. "deliverygoodsid": {
  8001. "description": "现货品种ID",
  8002. "type": "integer"
  8003. },
  8004. "deliverygoodsname": {
  8005. "description": "现货品种名称",
  8006. "type": "string"
  8007. },
  8008. "pointdesc": {
  8009. "description": "点价描述",
  8010. "type": "string"
  8011. },
  8012. "producttype": {
  8013. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  8014. "type": "integer"
  8015. },
  8016. "producttypename": {
  8017. "description": "产品类型名称",
  8018. "type": "string"
  8019. },
  8020. "spotPointOrderVoList": {
  8021. "description": "点价列表",
  8022. "type": "array",
  8023. "items": {
  8024. "$ref": "#/definitions/erms3.SpotPointOrder"
  8025. }
  8026. },
  8027. "spotPriceOrderList": {
  8028. "description": "定价列表",
  8029. "type": "array",
  8030. "items": {
  8031. "$ref": "#/definitions/erms3.SpotPriceOrder"
  8032. }
  8033. },
  8034. "unitname": {
  8035. "description": "单位名称",
  8036. "type": "string"
  8037. },
  8038. "warehouseid": {
  8039. "description": "仓库ID",
  8040. "type": "integer"
  8041. },
  8042. "warehousename": {
  8043. "description": "仓库名称",
  8044. "type": "string"
  8045. },
  8046. "wrstandardid": {
  8047. "description": "交易标的ID",
  8048. "type": "integer"
  8049. },
  8050. "wrstandardname": {
  8051. "description": "交易标的名称",
  8052. "type": "string"
  8053. }
  8054. }
  8055. },
  8056. "erms3.SpotPointOrder": {
  8057. "type": "object",
  8058. "required": [
  8059. "basic",
  8060. "goodsid",
  8061. "qty"
  8062. ],
  8063. "properties": {
  8064. "basic": {
  8065. "description": "基差",
  8066. "type": "number"
  8067. },
  8068. "deliveryenddate": {
  8069. "description": "交收结束日期",
  8070. "type": "string"
  8071. },
  8072. "deliverystartdate": {
  8073. "description": "交收开始日期",
  8074. "type": "string"
  8075. },
  8076. "enddate": {
  8077. "description": "点价结束日期",
  8078. "type": "string"
  8079. },
  8080. "goodsid": {
  8081. "description": "商品ID",
  8082. "type": "integer"
  8083. },
  8084. "goodsname": {
  8085. "description": "商品名称",
  8086. "type": "string"
  8087. },
  8088. "qty": {
  8089. "description": "数量",
  8090. "type": "number"
  8091. },
  8092. "startdate": {
  8093. "description": "点价开始日期",
  8094. "type": "string"
  8095. }
  8096. }
  8097. },
  8098. "erms3.SpotPriceOrder": {
  8099. "type": "object",
  8100. "required": [
  8101. "amount",
  8102. "price",
  8103. "qty"
  8104. ],
  8105. "properties": {
  8106. "amount": {
  8107. "description": "金额",
  8108. "type": "number"
  8109. },
  8110. "deliveryenddate": {
  8111. "description": "交收结束日期",
  8112. "type": "string"
  8113. },
  8114. "deliverystartdate": {
  8115. "description": "交收开始日期",
  8116. "type": "string"
  8117. },
  8118. "price": {
  8119. "description": "价格",
  8120. "type": "number"
  8121. },
  8122. "qty": {
  8123. "description": "数量",
  8124. "type": "number"
  8125. }
  8126. }
  8127. },
  8128. "hsby.GetHsbyMyCountRsp": {
  8129. "type": "object",
  8130. "properties": {
  8131. "myCouponCount": {
  8132. "description": "我的优惠卷数量",
  8133. "type": "integer"
  8134. },
  8135. "myOrderDetailListingCount": {
  8136. "description": "我的订单求购中数量",
  8137. "type": "integer"
  8138. },
  8139. "myOrderDetailPreCount": {
  8140. "description": "我的订单抢购中数量",
  8141. "type": "integer"
  8142. },
  8143. "myPackageUnReceiveCount": {
  8144. "description": "我的包裹待收货数量",
  8145. "type": "integer"
  8146. },
  8147. "myPackageUnSendCount": {
  8148. "description": "我的包裹待发货数量",
  8149. "type": "integer"
  8150. },
  8151. "myPayOrderCount": {
  8152. "description": "我的订单待付款数量",
  8153. "type": "integer"
  8154. }
  8155. }
  8156. },
  8157. "hsby.QueryProvincesAndCitiesRsp": {
  8158. "type": "object",
  8159. "properties": {
  8160. "cities": {
  8161. "description": "市",
  8162. "type": "array",
  8163. "items": {
  8164. "$ref": "#/definitions/models.Division"
  8165. }
  8166. },
  8167. "province": {
  8168. "description": "省",
  8169. "$ref": "#/definitions/models.Division"
  8170. }
  8171. }
  8172. },
  8173. "models.Clientfixedadconfig": {
  8174. "type": "object",
  8175. "required": [
  8176. "adsort",
  8177. "adtype"
  8178. ],
  8179. "properties": {
  8180. "adsort": {
  8181. "description": "排序",
  8182. "type": "integer"
  8183. },
  8184. "adtype": {
  8185. "description": "广告位类型 - 1:新品抢购(HSBY)",
  8186. "type": "integer"
  8187. },
  8188. "areauserid": {
  8189. "description": "所属机构ID",
  8190. "type": "integer"
  8191. },
  8192. "createdate": {
  8193. "description": "创建时间",
  8194. "type": "string"
  8195. },
  8196. "creatorid": {
  8197. "description": "创建人",
  8198. "type": "integer"
  8199. },
  8200. "imagepath": {
  8201. "description": "图片",
  8202. "type": "string"
  8203. },
  8204. "isshow": {
  8205. "description": "是否展示 - 0:不展示 1:展示",
  8206. "type": "integer"
  8207. },
  8208. "modifierid": {
  8209. "description": "操作人",
  8210. "type": "integer"
  8211. },
  8212. "recsize": {
  8213. "description": "推荐尺寸",
  8214. "type": "string"
  8215. },
  8216. "title": {
  8217. "description": "标题",
  8218. "type": "string"
  8219. },
  8220. "updatedate": {
  8221. "description": "更新时间",
  8222. "type": "string"
  8223. },
  8224. "urlcontent": {
  8225. "description": "链接(地址或商品ID)",
  8226. "type": "string"
  8227. },
  8228. "urltype": {
  8229. "description": "链接类型 - 1:直接地址 2:商品ID",
  8230. "type": "integer"
  8231. }
  8232. }
  8233. },
  8234. "models.Division": {
  8235. "type": "object",
  8236. "required": [
  8237. "autoid",
  8238. "divisioncode"
  8239. ],
  8240. "properties": {
  8241. "autoid": {
  8242. "description": "自增ID",
  8243. "type": "integer"
  8244. },
  8245. "divisioncode": {
  8246. "description": "行政代码",
  8247. "type": "string"
  8248. },
  8249. "divisionlevel": {
  8250. "description": "行政级别",
  8251. "type": "string"
  8252. },
  8253. "divisionname": {
  8254. "description": "行政名称",
  8255. "type": "string"
  8256. },
  8257. "modifierid": {
  8258. "description": "修改人",
  8259. "type": "integer"
  8260. },
  8261. "modifytime": {
  8262. "description": "修改时间",
  8263. "type": "string"
  8264. },
  8265. "parentcode": {
  8266. "description": "上级行政代码",
  8267. "type": "string"
  8268. },
  8269. "pathname": {
  8270. "description": "路径名称",
  8271. "type": "string"
  8272. },
  8273. "postcode": {
  8274. "description": "邮政编码",
  8275. "type": "string"
  8276. },
  8277. "separablename": {
  8278. "description": "可拆分的全称",
  8279. "type": "string"
  8280. },
  8281. "shortcode": {
  8282. "description": "地区简码",
  8283. "type": "string"
  8284. }
  8285. }
  8286. },
  8287. "models.Enumdicitem": {
  8288. "type": "object",
  8289. "required": [
  8290. "autoid",
  8291. "enumdiccode",
  8292. "enumdicid",
  8293. "enumitemname"
  8294. ],
  8295. "properties": {
  8296. "autoid": {
  8297. "description": "自增ID",
  8298. "type": "integer"
  8299. },
  8300. "bankmappedvalue": {
  8301. "description": "银行服务对应值",
  8302. "type": "string"
  8303. },
  8304. "enumdiccode": {
  8305. "description": "所属枚举代码",
  8306. "type": "string"
  8307. },
  8308. "enumdicid": {
  8309. "description": "所属枚举ID",
  8310. "type": "integer"
  8311. },
  8312. "enumdicname": {
  8313. "description": "枚举项名称",
  8314. "type": "string"
  8315. },
  8316. "enumitemname": {
  8317. "description": "枚举项值",
  8318. "type": "integer"
  8319. },
  8320. "enumitemstatus": {
  8321. "description": "枚举项状态 - 1.启用 2.不启用",
  8322. "type": "integer"
  8323. },
  8324. "enumitemvalue": {
  8325. "description": "通用值 - [币种通用简写]",
  8326. "type": "string"
  8327. },
  8328. "param1": {
  8329. "description": "参数1[币种:币种小数位]",
  8330. "type": "string"
  8331. },
  8332. "param2": {
  8333. "description": "参数1[币种:币种显示单位]",
  8334. "type": "string"
  8335. },
  8336. "remark": {
  8337. "description": "备注",
  8338. "type": "string"
  8339. }
  8340. }
  8341. },
  8342. "models.GoodsIDAndName": {
  8343. "type": "object",
  8344. "required": [
  8345. "goodscode",
  8346. "goodsid",
  8347. "goodsname",
  8348. "marketid"
  8349. ],
  8350. "properties": {
  8351. "goodscode": {
  8352. "description": "商品代码(内部)",
  8353. "type": "string"
  8354. },
  8355. "goodsid": {
  8356. "description": "商品ID(自增ID SEQ_GOODS)",
  8357. "type": "integer"
  8358. },
  8359. "goodsname": {
  8360. "description": "商品名称",
  8361. "type": "string"
  8362. },
  8363. "marketid": {
  8364. "description": "所属市场ID",
  8365. "type": "integer"
  8366. }
  8367. }
  8368. },
  8369. "models.HsbyBuyMyPayOrder": {
  8370. "type": "object",
  8371. "required": [
  8372. "goodscode",
  8373. "goodsname",
  8374. "tradeid",
  8375. "trademode"
  8376. ],
  8377. "properties": {
  8378. "agreeunit": {
  8379. "description": "合约单位",
  8380. "type": "number"
  8381. },
  8382. "buyaccountid": {
  8383. "description": "买方账号ID[报价币种]",
  8384. "type": "integer"
  8385. },
  8386. "buyorderid": {
  8387. "description": "买方委托单号",
  8388. "type": "string"
  8389. },
  8390. "createtime": {
  8391. "description": "创建时间",
  8392. "type": "string"
  8393. },
  8394. "currencysign": {
  8395. "description": "货币符号",
  8396. "type": "string"
  8397. },
  8398. "decimalplace": {
  8399. "description": "报价小数位",
  8400. "type": "integer"
  8401. },
  8402. "goodscode": {
  8403. "description": "商品代码(内部)",
  8404. "type": "string"
  8405. },
  8406. "goodsid": {
  8407. "description": "商品ID",
  8408. "type": "integer"
  8409. },
  8410. "goodsname": {
  8411. "description": "商品名称",
  8412. "type": "string"
  8413. },
  8414. "marketid": {
  8415. "description": "市场ID",
  8416. "type": "integer"
  8417. },
  8418. "offamount": {
  8419. "description": "优惠金额",
  8420. "type": "number"
  8421. },
  8422. "payamount": {
  8423. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8424. "type": "number"
  8425. },
  8426. "payflag": {
  8427. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8428. "type": "integer"
  8429. },
  8430. "paylimitedtime": {
  8431. "description": "支付期限",
  8432. "type": "string"
  8433. },
  8434. "paytime": {
  8435. "description": "付款时间",
  8436. "type": "string"
  8437. },
  8438. "picurls1": {
  8439. "description": "预售商品介绍图片[多张用逗号分隔]",
  8440. "type": "string"
  8441. },
  8442. "picurls2": {
  8443. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8444. "type": "string"
  8445. },
  8446. "sellaccountid": {
  8447. "description": "卖方账号ID[报价币种]",
  8448. "type": "integer"
  8449. },
  8450. "sellorderid": {
  8451. "description": "卖方委托单号",
  8452. "type": "string"
  8453. },
  8454. "tradeamount": {
  8455. "description": "成交金额",
  8456. "type": "number"
  8457. },
  8458. "tradecharge": {
  8459. "description": "成交手续费(买方)",
  8460. "type": "number"
  8461. },
  8462. "tradedate": {
  8463. "description": "交易日(yyyyMMdd)",
  8464. "type": "string"
  8465. },
  8466. "tradeid": {
  8467. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8468. "type": "string"
  8469. },
  8470. "trademode": {
  8471. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8472. "type": "integer"
  8473. },
  8474. "tradeprice": {
  8475. "description": "成交价格",
  8476. "type": "number"
  8477. },
  8478. "tradeqty": {
  8479. "description": "成交数量",
  8480. "type": "integer"
  8481. },
  8482. "vendorname1": {
  8483. "description": "预售商品供应商名称",
  8484. "type": "string"
  8485. },
  8486. "vendorname2": {
  8487. "description": "挂牌商品供应商名称",
  8488. "type": "string"
  8489. }
  8490. }
  8491. },
  8492. "models.HsbyBuyMyTradeDetail": {
  8493. "type": "object",
  8494. "required": [
  8495. "accountid",
  8496. "buyorsell",
  8497. "goodscode",
  8498. "goodsid",
  8499. "goodsname",
  8500. "marketid",
  8501. "orderid",
  8502. "qty",
  8503. "time",
  8504. "trademode"
  8505. ],
  8506. "properties": {
  8507. "accountid": {
  8508. "description": "账户ID[报价币种]",
  8509. "type": "integer"
  8510. },
  8511. "agreeunit": {
  8512. "description": "合约单位",
  8513. "type": "number"
  8514. },
  8515. "amount": {
  8516. "description": "金额 = 价格 * 数量 * 合约单位",
  8517. "type": "number"
  8518. },
  8519. "buyorsell": {
  8520. "description": "买卖 - 0:买 1:卖",
  8521. "type": "integer"
  8522. },
  8523. "currencysign": {
  8524. "description": "货币符号",
  8525. "type": "string"
  8526. },
  8527. "decimalplace": {
  8528. "description": "报价小数位",
  8529. "type": "integer"
  8530. },
  8531. "goodscode": {
  8532. "description": "商品代码(内部)",
  8533. "type": "string"
  8534. },
  8535. "goodsid": {
  8536. "description": "商品ID",
  8537. "type": "integer"
  8538. },
  8539. "goodsname": {
  8540. "description": "商品名称",
  8541. "type": "string"
  8542. },
  8543. "marketid": {
  8544. "description": "市场ID",
  8545. "type": "integer"
  8546. },
  8547. "orderid": {
  8548. "description": "单号(成交单号)",
  8549. "type": "string"
  8550. },
  8551. "picurls1": {
  8552. "description": "预售商品介绍图片[多张用逗号分隔]",
  8553. "type": "string"
  8554. },
  8555. "picurls2": {
  8556. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8557. "type": "string"
  8558. },
  8559. "price": {
  8560. "description": "价格",
  8561. "type": "number"
  8562. },
  8563. "qty": {
  8564. "description": "数量",
  8565. "type": "integer"
  8566. },
  8567. "time": {
  8568. "description": "时间",
  8569. "type": "string"
  8570. },
  8571. "trademode": {
  8572. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8573. "type": "integer"
  8574. },
  8575. "vendorname1": {
  8576. "description": "预售商品供应商名称",
  8577. "type": "string"
  8578. },
  8579. "vendorname2": {
  8580. "description": "挂牌商品供应商名称",
  8581. "type": "string"
  8582. }
  8583. }
  8584. },
  8585. "models.HsbyGoodsOrderDetail": {
  8586. "type": "object",
  8587. "required": [
  8588. "buyorsell",
  8589. "orderid",
  8590. "ordertime"
  8591. ],
  8592. "properties": {
  8593. "buyorsell": {
  8594. "description": "买卖 - 0:买 1:卖",
  8595. "type": "integer"
  8596. },
  8597. "currencysign": {
  8598. "description": "货币符号",
  8599. "type": "string"
  8600. },
  8601. "customername": {
  8602. "description": "客户名称(企业名称),已脱敏",
  8603. "type": "string"
  8604. },
  8605. "enableqty": {
  8606. "description": "可用数量",
  8607. "type": "integer"
  8608. },
  8609. "goodunit": {
  8610. "description": "报价单位",
  8611. "type": "string"
  8612. },
  8613. "orderid": {
  8614. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8615. "type": "string"
  8616. },
  8617. "orderprice": {
  8618. "description": "委托价格",
  8619. "type": "number"
  8620. },
  8621. "ordertime": {
  8622. "description": "委托时间",
  8623. "type": "string"
  8624. }
  8625. }
  8626. },
  8627. "models.HsbyListingGoodsDetail": {
  8628. "type": "object",
  8629. "required": [
  8630. "goodscode",
  8631. "goodsid",
  8632. "goodsname",
  8633. "marketid",
  8634. "trademode"
  8635. ],
  8636. "properties": {
  8637. "agreeunit": {
  8638. "description": "合约单位",
  8639. "type": "number"
  8640. },
  8641. "buymaxqty": {
  8642. "description": "购买上限 [71] - 0为不限",
  8643. "type": "integer"
  8644. },
  8645. "currency": {
  8646. "description": "货币",
  8647. "type": "string"
  8648. },
  8649. "currencysign": {
  8650. "description": "货币符号",
  8651. "type": "string"
  8652. },
  8653. "decimalplace": {
  8654. "description": "报价小数位",
  8655. "type": "integer"
  8656. },
  8657. "desccityid": {
  8658. "description": "目的地(市)ID",
  8659. "type": "integer"
  8660. },
  8661. "descprovinceid": {
  8662. "description": "目的地(省)ID",
  8663. "type": "integer"
  8664. },
  8665. "goodscode": {
  8666. "description": "商品代码(内部)",
  8667. "type": "string"
  8668. },
  8669. "goodsdesc": {
  8670. "description": "商品详情",
  8671. "type": "string"
  8672. },
  8673. "goodsid": {
  8674. "description": "商品ID(自增ID SEQ_GOODS)",
  8675. "type": "integer"
  8676. },
  8677. "goodsname": {
  8678. "description": "商品名称",
  8679. "type": "string"
  8680. },
  8681. "goodsprice": {
  8682. "description": "商品价格",
  8683. "type": "number"
  8684. },
  8685. "hotindex": {
  8686. "description": "景点热度",
  8687. "type": "integer"
  8688. },
  8689. "last": {
  8690. "description": "现价",
  8691. "type": "number"
  8692. },
  8693. "limitdown": {
  8694. "description": "跌停价",
  8695. "type": "number"
  8696. },
  8697. "limitup": {
  8698. "description": "涨停价",
  8699. "type": "number"
  8700. },
  8701. "lotsize": {
  8702. "description": "手数最小变动单位",
  8703. "type": "integer"
  8704. },
  8705. "marketid": {
  8706. "description": "所属市场ID",
  8707. "type": "integer"
  8708. },
  8709. "picurls": {
  8710. "description": "介绍图片[多张用逗号分隔]",
  8711. "type": "string"
  8712. },
  8713. "quoteminunit": {
  8714. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8715. "type": "integer"
  8716. },
  8717. "stepvalue": {
  8718. "description": "价格最小变动单位",
  8719. "type": "number"
  8720. },
  8721. "trademode": {
  8722. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8723. "type": "integer"
  8724. },
  8725. "vendorattr": {
  8726. "description": "供应商附件(多张,逗号分隔)",
  8727. "type": "string"
  8728. },
  8729. "vendorname": {
  8730. "description": "供应商名称",
  8731. "type": "string"
  8732. },
  8733. "vendorphone": {
  8734. "description": "供应商客服电话",
  8735. "type": "string"
  8736. },
  8737. "videourls": {
  8738. "description": "介绍视频[多张用逗号分隔]",
  8739. "type": "string"
  8740. }
  8741. }
  8742. },
  8743. "models.HsbyMarketGoods": {
  8744. "type": "object",
  8745. "required": [
  8746. "accountid",
  8747. "buyorsell",
  8748. "goodscode",
  8749. "goodsid",
  8750. "goodsname",
  8751. "marketid",
  8752. "orderid",
  8753. "trademode"
  8754. ],
  8755. "properties": {
  8756. "accountid": {
  8757. "description": "账户ID[报价币种]",
  8758. "type": "integer"
  8759. },
  8760. "agreeunit": {
  8761. "description": "合约单位",
  8762. "type": "number"
  8763. },
  8764. "buyorsell": {
  8765. "description": "买卖 - 0:买 1:卖",
  8766. "type": "integer"
  8767. },
  8768. "categoryid": {
  8769. "description": "类别ID(WRCATEGORY)",
  8770. "type": "integer"
  8771. },
  8772. "currency": {
  8773. "description": "货币",
  8774. "type": "string"
  8775. },
  8776. "currencysign": {
  8777. "description": "货币符号",
  8778. "type": "string"
  8779. },
  8780. "customername": {
  8781. "description": "卖家名称",
  8782. "type": "string"
  8783. },
  8784. "decimalplace": {
  8785. "description": "报价小数位",
  8786. "type": "integer"
  8787. },
  8788. "goodscode": {
  8789. "description": "商品代码(内部)",
  8790. "type": "string"
  8791. },
  8792. "goodsid": {
  8793. "description": "商品ID",
  8794. "type": "integer"
  8795. },
  8796. "goodsname": {
  8797. "description": "商品名称",
  8798. "type": "string"
  8799. },
  8800. "hascoupon": {
  8801. "description": "是否可用优惠卷",
  8802. "type": "boolean"
  8803. },
  8804. "hotindex": {
  8805. "description": "景点热度",
  8806. "type": "integer"
  8807. },
  8808. "marketid": {
  8809. "description": "市场ID",
  8810. "type": "integer"
  8811. },
  8812. "orderid": {
  8813. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8814. "type": "string"
  8815. },
  8816. "orderprice": {
  8817. "description": "委托价格",
  8818. "type": "number"
  8819. },
  8820. "orderstatus": {
  8821. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8822. "type": "integer"
  8823. },
  8824. "picurls": {
  8825. "description": "介绍图片[多张用逗号分隔]",
  8826. "type": "string"
  8827. },
  8828. "quoteminunit": {
  8829. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8830. "type": "integer"
  8831. },
  8832. "sellUserID": {
  8833. "description": "卖方UserID",
  8834. "type": "integer"
  8835. },
  8836. "trademode": {
  8837. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8838. "type": "integer"
  8839. },
  8840. "videourls": {
  8841. "description": "介绍视频[多张用逗号分隔]",
  8842. "type": "string"
  8843. }
  8844. }
  8845. },
  8846. "models.HsbyMarketGoodsDetail": {
  8847. "type": "object",
  8848. "required": [
  8849. "accountid",
  8850. "buyorsell",
  8851. "goodscode",
  8852. "goodsid",
  8853. "goodsname",
  8854. "marketid",
  8855. "orderid",
  8856. "orderqty",
  8857. "trademode"
  8858. ],
  8859. "properties": {
  8860. "accountid": {
  8861. "description": "账户ID[报价币种]",
  8862. "type": "integer"
  8863. },
  8864. "agreeunit": {
  8865. "description": "合约单位",
  8866. "type": "number"
  8867. },
  8868. "buymaxqty": {
  8869. "description": "购买上限 [71] - 0为不限",
  8870. "type": "integer"
  8871. },
  8872. "buyorsell": {
  8873. "description": "买卖 - 0:买 1:卖",
  8874. "type": "integer"
  8875. },
  8876. "cancelqty": {
  8877. "description": "撤单数量",
  8878. "type": "integer"
  8879. },
  8880. "categoryid": {
  8881. "description": "类别ID(WRCATEGORY)",
  8882. "type": "integer"
  8883. },
  8884. "currency": {
  8885. "description": "货币",
  8886. "type": "string"
  8887. },
  8888. "currencysign": {
  8889. "description": "货币符号",
  8890. "type": "string"
  8891. },
  8892. "customername": {
  8893. "description": "卖家名称",
  8894. "type": "string"
  8895. },
  8896. "decimalplace": {
  8897. "description": "报价小数位",
  8898. "type": "integer"
  8899. },
  8900. "goodscode": {
  8901. "description": "商品代码(内部)",
  8902. "type": "string"
  8903. },
  8904. "goodsdesc": {
  8905. "description": "商品详情",
  8906. "type": "string"
  8907. },
  8908. "goodsid": {
  8909. "description": "商品ID",
  8910. "type": "integer"
  8911. },
  8912. "goodsname": {
  8913. "description": "商品名称",
  8914. "type": "string"
  8915. },
  8916. "hotindex": {
  8917. "description": "景点热度",
  8918. "type": "integer"
  8919. },
  8920. "lotsize": {
  8921. "description": "手数最小变动单位",
  8922. "type": "integer"
  8923. },
  8924. "marketid": {
  8925. "description": "市场ID",
  8926. "type": "integer"
  8927. },
  8928. "orderid": {
  8929. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8930. "type": "string"
  8931. },
  8932. "orderprice": {
  8933. "description": "委托价格",
  8934. "type": "number"
  8935. },
  8936. "orderqty": {
  8937. "description": "委托数量",
  8938. "type": "integer"
  8939. },
  8940. "orderstatus": {
  8941. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8942. "type": "integer"
  8943. },
  8944. "picurls": {
  8945. "description": "介绍图片[多张用逗号分隔]",
  8946. "type": "string"
  8947. },
  8948. "quoteminunit": {
  8949. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8950. "type": "integer"
  8951. },
  8952. "sellUserID": {
  8953. "description": "卖方UserID",
  8954. "type": "integer"
  8955. },
  8956. "trademode": {
  8957. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8958. "type": "integer"
  8959. },
  8960. "tradeqty": {
  8961. "description": "成交数量",
  8962. "type": "integer"
  8963. },
  8964. "vendorattr": {
  8965. "description": "供应商附件(多张,逗号分隔)",
  8966. "type": "string"
  8967. },
  8968. "vendorname": {
  8969. "description": "供应商名称",
  8970. "type": "string"
  8971. },
  8972. "vendorphone": {
  8973. "description": "供应商客服电话",
  8974. "type": "string"
  8975. },
  8976. "videourls": {
  8977. "description": "介绍视频[多张用逗号分隔]",
  8978. "type": "string"
  8979. }
  8980. }
  8981. },
  8982. "models.HsbyMarketInfo": {
  8983. "type": "object",
  8984. "required": [
  8985. "marketid",
  8986. "marketstatus",
  8987. "trademode"
  8988. ],
  8989. "properties": {
  8990. "marketid": {
  8991. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  8992. "type": "integer"
  8993. },
  8994. "marketname": {
  8995. "description": "市场名称",
  8996. "type": "string"
  8997. },
  8998. "marketstatus": {
  8999. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  9000. "type": "integer"
  9001. },
  9002. "trademode": {
  9003. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9004. "type": "integer"
  9005. }
  9006. }
  9007. },
  9008. "models.HsbyMyGoods": {
  9009. "type": "object",
  9010. "required": [
  9011. "accountid",
  9012. "goodscode",
  9013. "goodsid",
  9014. "goodsname",
  9015. "marketid",
  9016. "trademode"
  9017. ],
  9018. "properties": {
  9019. "accountid": {
  9020. "description": "账号Id",
  9021. "type": "integer"
  9022. },
  9023. "agreeunit": {
  9024. "description": "合约单位",
  9025. "type": "number"
  9026. },
  9027. "buyaverageprice": {
  9028. "description": "持仓均价",
  9029. "type": "number"
  9030. },
  9031. "buycurholderamount": {
  9032. "description": "买当前持仓总金额[商品币种]",
  9033. "type": "number"
  9034. },
  9035. "buycurpositionqty": {
  9036. "description": "买当前持仓总数量",
  9037. "type": "integer"
  9038. },
  9039. "buymaxqty": {
  9040. "description": "购买上限 [71] - 0为不限",
  9041. "type": "integer"
  9042. },
  9043. "currencysign": {
  9044. "description": "货币符号",
  9045. "type": "string"
  9046. },
  9047. "decimalplace": {
  9048. "description": "报价小数位",
  9049. "type": "integer"
  9050. },
  9051. "enableqty": {
  9052. "description": "可用数量",
  9053. "type": "integer"
  9054. },
  9055. "goodscode": {
  9056. "description": "商品代码(内部)",
  9057. "type": "string"
  9058. },
  9059. "goodsid": {
  9060. "description": "商品Id",
  9061. "type": "integer"
  9062. },
  9063. "goodsname": {
  9064. "description": "商品名称",
  9065. "type": "string"
  9066. },
  9067. "goodsprice": {
  9068. "description": "商品价格",
  9069. "type": "number"
  9070. },
  9071. "goodsstatus": {
  9072. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  9073. "type": "integer"
  9074. },
  9075. "last": {
  9076. "description": "现价(仅使用于挂牌点选)",
  9077. "type": "number"
  9078. },
  9079. "limitdown": {
  9080. "description": "跌停价(仅使用于挂牌点选)",
  9081. "type": "number"
  9082. },
  9083. "limitup": {
  9084. "description": "涨停价(仅使用于挂牌点选)",
  9085. "type": "number"
  9086. },
  9087. "lotsize": {
  9088. "description": "手数最小变动单位",
  9089. "type": "integer"
  9090. },
  9091. "marketid": {
  9092. "description": "所属市场ID",
  9093. "type": "integer"
  9094. },
  9095. "picurls": {
  9096. "description": "介绍图片[多张用逗号分隔]",
  9097. "type": "string"
  9098. },
  9099. "quoteminunit": {
  9100. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9101. "type": "integer"
  9102. },
  9103. "stepvalue": {
  9104. "description": "价格最小变动单位",
  9105. "type": "number"
  9106. },
  9107. "trademode": {
  9108. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9109. "type": "integer"
  9110. }
  9111. }
  9112. },
  9113. "models.HsbyMyPackage": {
  9114. "type": "object",
  9115. "required": [
  9116. "goodscode",
  9117. "goodsname",
  9118. "takeorderid"
  9119. ],
  9120. "properties": {
  9121. "accountid": {
  9122. "description": "账户ID",
  9123. "type": "integer"
  9124. },
  9125. "address": {
  9126. "description": "提货人详细地址",
  9127. "type": "string"
  9128. },
  9129. "agreeunit": {
  9130. "description": "合约单位",
  9131. "type": "number"
  9132. },
  9133. "amount": {
  9134. "description": "提货金额",
  9135. "type": "number"
  9136. },
  9137. "auditer": {
  9138. "description": "审核人",
  9139. "type": "integer"
  9140. },
  9141. "audittime": {
  9142. "description": "审核时间",
  9143. "type": "string"
  9144. },
  9145. "averageprice": {
  9146. "description": "均价",
  9147. "type": "number"
  9148. },
  9149. "cardnum": {
  9150. "description": "提货人证件号码",
  9151. "type": "string"
  9152. },
  9153. "cardtypeid": {
  9154. "description": "提货人证件类型",
  9155. "type": "integer"
  9156. },
  9157. "checkremark": {
  9158. "description": "审核备注",
  9159. "type": "string"
  9160. },
  9161. "currencysign": {
  9162. "description": "货币符号",
  9163. "type": "string"
  9164. },
  9165. "decimalplace": {
  9166. "description": "报价小数位",
  9167. "type": "integer"
  9168. },
  9169. "goodscode": {
  9170. "description": "商品代码(内部)",
  9171. "type": "string"
  9172. },
  9173. "goodsid": {
  9174. "description": "商品ID",
  9175. "type": "integer"
  9176. },
  9177. "goodsname": {
  9178. "description": "商品名称",
  9179. "type": "string"
  9180. },
  9181. "handlestatus": {
  9182. "description": "处理状态",
  9183. "type": "integer"
  9184. },
  9185. "marketid": {
  9186. "description": "市场ID",
  9187. "type": "integer"
  9188. },
  9189. "phonenum": {
  9190. "description": "提货人联系方式",
  9191. "type": "string"
  9192. },
  9193. "picurls": {
  9194. "description": "介绍图片[多张用逗号分隔]",
  9195. "type": "string"
  9196. },
  9197. "qty": {
  9198. "description": "提货数量",
  9199. "type": "number"
  9200. },
  9201. "recivername": {
  9202. "description": "提货人姓名",
  9203. "type": "string"
  9204. },
  9205. "reqtime": {
  9206. "description": "更新时间",
  9207. "type": "string"
  9208. },
  9209. "takemode": {
  9210. "description": "提货方式 - 2:自提 3:配送",
  9211. "type": "integer"
  9212. },
  9213. "takeorderid": {
  9214. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  9215. "type": "string"
  9216. },
  9217. "takeorderstatus": {
  9218. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9219. "type": "integer"
  9220. },
  9221. "takeremark": {
  9222. "description": "提货备注",
  9223. "type": "string"
  9224. },
  9225. "tradedate": {
  9226. "description": "交易日(yyyyMMdd)",
  9227. "type": "string"
  9228. },
  9229. "userid": {
  9230. "description": "用户ID",
  9231. "type": "integer"
  9232. },
  9233. "vendorname": {
  9234. "description": "供应商名称",
  9235. "type": "string"
  9236. }
  9237. }
  9238. },
  9239. "models.HsbyPreGoods": {
  9240. "type": "object",
  9241. "required": [
  9242. "goodscode",
  9243. "goodsid",
  9244. "goodsname",
  9245. "marketid",
  9246. "trademode"
  9247. ],
  9248. "properties": {
  9249. "agreeunit": {
  9250. "description": "合约单位",
  9251. "type": "number"
  9252. },
  9253. "currency": {
  9254. "description": "货币",
  9255. "type": "string"
  9256. },
  9257. "currencysign": {
  9258. "description": "货币符号",
  9259. "type": "string"
  9260. },
  9261. "decimalplace": {
  9262. "description": "报价小数位",
  9263. "type": "integer"
  9264. },
  9265. "enableqty": {
  9266. "description": "剩余数量",
  9267. "type": "integer"
  9268. },
  9269. "goodscode": {
  9270. "description": "商品代码(内部)",
  9271. "type": "string"
  9272. },
  9273. "goodsid": {
  9274. "description": "商品ID(自增ID SEQ_GOODS)",
  9275. "type": "integer"
  9276. },
  9277. "goodsname": {
  9278. "description": "商品名称",
  9279. "type": "string"
  9280. },
  9281. "goodsstatus": {
  9282. "description": "商品状态- 2:未上市 3:上市",
  9283. "type": "integer"
  9284. },
  9285. "lasttradedate": {
  9286. "description": "最后交易日期(状态:待退市)",
  9287. "type": "string"
  9288. },
  9289. "listingdate": {
  9290. "description": "交易开始日期",
  9291. "type": "string"
  9292. },
  9293. "marketid": {
  9294. "description": "所属市场ID",
  9295. "type": "integer"
  9296. },
  9297. "picurls": {
  9298. "description": "介绍图片[多张用逗号分隔]",
  9299. "type": "string"
  9300. },
  9301. "presaledqty": {
  9302. "description": "已预售量(预售结束时更新)",
  9303. "type": "integer"
  9304. },
  9305. "presaleqty": {
  9306. "description": "预售数量",
  9307. "type": "integer"
  9308. },
  9309. "quoteminunit": {
  9310. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9311. "type": "integer"
  9312. },
  9313. "refprice": {
  9314. "description": "参考价格[一口价]",
  9315. "type": "number"
  9316. },
  9317. "relatedgoodsid": {
  9318. "description": "关联交易合约ID",
  9319. "type": "integer"
  9320. },
  9321. "trademode": {
  9322. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9323. "type": "integer"
  9324. },
  9325. "videourls": {
  9326. "description": "介绍视频[多张用逗号分隔]",
  9327. "type": "string"
  9328. }
  9329. }
  9330. },
  9331. "models.HsbyPreGoodsDetail": {
  9332. "type": "object",
  9333. "required": [
  9334. "goodscode",
  9335. "goodsid",
  9336. "goodsname",
  9337. "marketid",
  9338. "trademode"
  9339. ],
  9340. "properties": {
  9341. "agreeunit": {
  9342. "description": "合约单位",
  9343. "type": "number"
  9344. },
  9345. "buymaxqty": {
  9346. "description": "购买上限 [71] - 0为不限",
  9347. "type": "integer"
  9348. },
  9349. "currency": {
  9350. "description": "货币",
  9351. "type": "string"
  9352. },
  9353. "currencysign": {
  9354. "description": "货币符号",
  9355. "type": "string"
  9356. },
  9357. "customername": {
  9358. "description": "发行单位",
  9359. "type": "string"
  9360. },
  9361. "decimalplace": {
  9362. "description": "报价小数位",
  9363. "type": "integer"
  9364. },
  9365. "desccityid": {
  9366. "description": "目的地(市)ID",
  9367. "type": "integer"
  9368. },
  9369. "descprovinceid": {
  9370. "description": "目的地(省)ID",
  9371. "type": "integer"
  9372. },
  9373. "enableqty": {
  9374. "description": "剩余数量",
  9375. "type": "integer"
  9376. },
  9377. "goodscode": {
  9378. "description": "商品代码(内部)",
  9379. "type": "string"
  9380. },
  9381. "goodsdesc": {
  9382. "description": "商品详情",
  9383. "type": "string"
  9384. },
  9385. "goodsid": {
  9386. "description": "商品ID(自增ID SEQ_GOODS)",
  9387. "type": "integer"
  9388. },
  9389. "goodsname": {
  9390. "description": "商品名称",
  9391. "type": "string"
  9392. },
  9393. "goodsstatus": {
  9394. "description": "商品状态- 2:未上市 3:上市",
  9395. "type": "integer"
  9396. },
  9397. "goodunit": {
  9398. "description": "报价单位",
  9399. "type": "string"
  9400. },
  9401. "lasttradedate": {
  9402. "description": "最后交易日期(状态:待退市)",
  9403. "type": "string"
  9404. },
  9405. "listingdate": {
  9406. "description": "交易开始日期",
  9407. "type": "string"
  9408. },
  9409. "lotsize": {
  9410. "description": "手数最小变动单位",
  9411. "type": "integer"
  9412. },
  9413. "marketid": {
  9414. "description": "所属市场ID",
  9415. "type": "integer"
  9416. },
  9417. "picurls": {
  9418. "description": "介绍图片[多张用逗号分隔]",
  9419. "type": "string"
  9420. },
  9421. "presaledqty": {
  9422. "description": "已预售量(预售结束时更新)",
  9423. "type": "integer"
  9424. },
  9425. "presaleqty": {
  9426. "description": "预售数量",
  9427. "type": "integer"
  9428. },
  9429. "quoteminunit": {
  9430. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9431. "type": "integer"
  9432. },
  9433. "refprice": {
  9434. "description": "参考价格[一口价]",
  9435. "type": "number"
  9436. },
  9437. "relatedgoodsid": {
  9438. "description": "关联交易合约ID",
  9439. "type": "integer"
  9440. },
  9441. "stepvalue": {
  9442. "description": "价格最小变动单位",
  9443. "type": "number"
  9444. },
  9445. "trademode": {
  9446. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9447. "type": "integer"
  9448. },
  9449. "vendorattr": {
  9450. "description": "供应商附件(多张,逗号分隔)",
  9451. "type": "string"
  9452. },
  9453. "vendorname": {
  9454. "description": "供应商名称",
  9455. "type": "string"
  9456. },
  9457. "vendorphone": {
  9458. "description": "供应商客服电话",
  9459. "type": "string"
  9460. },
  9461. "videourls": {
  9462. "description": "介绍视频[多张用逗号分隔]",
  9463. "type": "string"
  9464. }
  9465. }
  9466. },
  9467. "models.HsbySellCollectionOrder": {
  9468. "type": "object",
  9469. "required": [
  9470. "goodscode",
  9471. "goodsname",
  9472. "tradeid",
  9473. "trademode"
  9474. ],
  9475. "properties": {
  9476. "agreeunit": {
  9477. "description": "合约单位",
  9478. "type": "number"
  9479. },
  9480. "buyaccountid": {
  9481. "description": "买方账号ID[报价币种]",
  9482. "type": "integer"
  9483. },
  9484. "buyorderid": {
  9485. "description": "买方委托单号",
  9486. "type": "string"
  9487. },
  9488. "createtime": {
  9489. "description": "创建时间",
  9490. "type": "string"
  9491. },
  9492. "currencysign": {
  9493. "description": "货币符号",
  9494. "type": "string"
  9495. },
  9496. "decimalplace": {
  9497. "description": "报价小数位",
  9498. "type": "integer"
  9499. },
  9500. "goodscode": {
  9501. "description": "商品代码(内部)",
  9502. "type": "string"
  9503. },
  9504. "goodsid": {
  9505. "description": "商品ID",
  9506. "type": "integer"
  9507. },
  9508. "goodsname": {
  9509. "description": "商品名称",
  9510. "type": "string"
  9511. },
  9512. "marketid": {
  9513. "description": "市场ID",
  9514. "type": "integer"
  9515. },
  9516. "offamount": {
  9517. "description": "优惠金额",
  9518. "type": "number"
  9519. },
  9520. "payamount": {
  9521. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  9522. "type": "number"
  9523. },
  9524. "payflag": {
  9525. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9526. "type": "integer"
  9527. },
  9528. "paylimitedtime": {
  9529. "description": "支付期限",
  9530. "type": "string"
  9531. },
  9532. "paytime": {
  9533. "description": "付款时间",
  9534. "type": "string"
  9535. },
  9536. "picurls": {
  9537. "description": "商品介绍图片[多张用逗号分隔]",
  9538. "type": "string"
  9539. },
  9540. "sellaccountid": {
  9541. "description": "卖方账号ID[报价币种]",
  9542. "type": "integer"
  9543. },
  9544. "sellorderid": {
  9545. "description": "卖方委托单号",
  9546. "type": "string"
  9547. },
  9548. "tradeamount": {
  9549. "description": "成交金额",
  9550. "type": "number"
  9551. },
  9552. "tradecharge": {
  9553. "description": "成交手续费(买方)",
  9554. "type": "number"
  9555. },
  9556. "tradedate": {
  9557. "description": "交易日(yyyyMMdd)",
  9558. "type": "string"
  9559. },
  9560. "tradeid": {
  9561. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9562. "type": "string"
  9563. },
  9564. "trademode": {
  9565. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9566. "type": "integer"
  9567. },
  9568. "tradeprice": {
  9569. "description": "成交价格",
  9570. "type": "number"
  9571. },
  9572. "tradeqty": {
  9573. "description": "成交数量",
  9574. "type": "integer"
  9575. }
  9576. }
  9577. },
  9578. "models.HsbySellMyDetail": {
  9579. "type": "object",
  9580. "required": [
  9581. "accountid",
  9582. "buyorsell",
  9583. "goodscode",
  9584. "goodsid",
  9585. "goodsname",
  9586. "marketid",
  9587. "orderid",
  9588. "time",
  9589. "trademode"
  9590. ],
  9591. "properties": {
  9592. "accountid": {
  9593. "description": "账户ID[报价币种]",
  9594. "type": "integer"
  9595. },
  9596. "agreeunit": {
  9597. "description": "合约单位",
  9598. "type": "number"
  9599. },
  9600. "buyorsell": {
  9601. "description": "买卖 - 0:买 1:卖",
  9602. "type": "integer"
  9603. },
  9604. "currencysign": {
  9605. "description": "货币符号",
  9606. "type": "string"
  9607. },
  9608. "decimalplace": {
  9609. "description": "报价小数位",
  9610. "type": "integer"
  9611. },
  9612. "goodscode": {
  9613. "description": "商品代码(内部)",
  9614. "type": "string"
  9615. },
  9616. "goodsid": {
  9617. "description": "商品ID",
  9618. "type": "integer"
  9619. },
  9620. "goodsname": {
  9621. "description": "商品名称",
  9622. "type": "string"
  9623. },
  9624. "marketid": {
  9625. "description": "市场ID",
  9626. "type": "integer"
  9627. },
  9628. "orderid": {
  9629. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  9630. "type": "string"
  9631. },
  9632. "ordertype": {
  9633. "description": "单据类型:0 - 发布中, 1 - 已完成",
  9634. "type": "integer"
  9635. },
  9636. "picurls": {
  9637. "description": "介绍图片[多张用逗号分隔]",
  9638. "type": "string"
  9639. },
  9640. "price": {
  9641. "description": "价格",
  9642. "type": "number"
  9643. },
  9644. "qty": {
  9645. "description": "数量",
  9646. "type": "integer"
  9647. },
  9648. "time": {
  9649. "description": "时间",
  9650. "type": "string"
  9651. },
  9652. "trademode": {
  9653. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9654. "type": "integer"
  9655. },
  9656. "vendorname": {
  9657. "description": "供应商名称",
  9658. "type": "string"
  9659. }
  9660. }
  9661. },
  9662. "models.HsbyTopGoods": {
  9663. "type": "object",
  9664. "required": [
  9665. "goodscode",
  9666. "goodsid",
  9667. "goodsname",
  9668. "marketid",
  9669. "trademode"
  9670. ],
  9671. "properties": {
  9672. "agreeunit": {
  9673. "description": "合约单位",
  9674. "type": "number"
  9675. },
  9676. "currency": {
  9677. "description": "货币",
  9678. "type": "string"
  9679. },
  9680. "currencysign": {
  9681. "description": "货币符号",
  9682. "type": "string"
  9683. },
  9684. "decimalplace": {
  9685. "description": "报价小数位",
  9686. "type": "integer"
  9687. },
  9688. "goodscode": {
  9689. "description": "商品代码(内部)",
  9690. "type": "string"
  9691. },
  9692. "goodsid": {
  9693. "description": "商品ID(自增ID SEQ_GOODS)",
  9694. "type": "integer"
  9695. },
  9696. "goodsname": {
  9697. "description": "商品名称",
  9698. "type": "string"
  9699. },
  9700. "hotindex": {
  9701. "description": "景点热度",
  9702. "type": "integer"
  9703. },
  9704. "last": {
  9705. "description": "现价",
  9706. "type": "number"
  9707. },
  9708. "marketid": {
  9709. "description": "所属市场ID",
  9710. "type": "integer"
  9711. },
  9712. "picurls": {
  9713. "description": "介绍图片[多张用逗号分隔]",
  9714. "type": "string"
  9715. },
  9716. "quoteminunit": {
  9717. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9718. "type": "integer"
  9719. },
  9720. "trademode": {
  9721. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9722. "type": "integer"
  9723. },
  9724. "videourls": {
  9725. "description": "介绍视频[多张用逗号分隔]",
  9726. "type": "string"
  9727. }
  9728. }
  9729. },
  9730. "models.HybsMyBuyOrderDetail": {
  9731. "type": "object",
  9732. "required": [
  9733. "accountid",
  9734. "buyorsell",
  9735. "goodscode",
  9736. "goodsid",
  9737. "goodsname",
  9738. "marketid",
  9739. "orderid",
  9740. "orderqty",
  9741. "ordertime",
  9742. "trademode"
  9743. ],
  9744. "properties": {
  9745. "accountid": {
  9746. "description": "账户ID[报价币种]",
  9747. "type": "integer"
  9748. },
  9749. "agreeunit": {
  9750. "description": "合约单位",
  9751. "type": "number"
  9752. },
  9753. "buyorsell": {
  9754. "description": "买卖 - 0:买 1:卖",
  9755. "type": "integer"
  9756. },
  9757. "cancelqty": {
  9758. "description": "撤单数量",
  9759. "type": "integer"
  9760. },
  9761. "currencysign": {
  9762. "description": "货币符号",
  9763. "type": "string"
  9764. },
  9765. "decimalplace": {
  9766. "description": "报价小数位",
  9767. "type": "integer"
  9768. },
  9769. "goodscode": {
  9770. "description": "商品代码(内部)",
  9771. "type": "string"
  9772. },
  9773. "goodsid": {
  9774. "description": "商品ID",
  9775. "type": "integer"
  9776. },
  9777. "goodsname": {
  9778. "description": "商品名称",
  9779. "type": "string"
  9780. },
  9781. "listingselecttype": {
  9782. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9783. "type": "integer"
  9784. },
  9785. "marketid": {
  9786. "description": "市场ID",
  9787. "type": "integer"
  9788. },
  9789. "mybuystatus": {
  9790. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  9791. "type": "integer"
  9792. },
  9793. "orderamount": {
  9794. "description": "委托金额",
  9795. "type": "number"
  9796. },
  9797. "orderid": {
  9798. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9799. "type": "string"
  9800. },
  9801. "orderprice": {
  9802. "description": "委托价格",
  9803. "type": "number"
  9804. },
  9805. "orderqty": {
  9806. "description": "委托数量",
  9807. "type": "integer"
  9808. },
  9809. "orderstatus": {
  9810. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9811. "type": "integer"
  9812. },
  9813. "ordertime": {
  9814. "description": "委托时间",
  9815. "type": "string"
  9816. },
  9817. "picurls1": {
  9818. "description": "预售商品介绍图片[多张用逗号分隔]",
  9819. "type": "string"
  9820. },
  9821. "picurls2": {
  9822. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9823. "type": "string"
  9824. },
  9825. "trademode": {
  9826. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9827. "type": "integer"
  9828. },
  9829. "tradeqty": {
  9830. "description": "成交数量",
  9831. "type": "integer"
  9832. },
  9833. "vendorname1": {
  9834. "description": "预售商品供应商名称",
  9835. "type": "string"
  9836. },
  9837. "vendorname2": {
  9838. "description": "挂牌商品供应商名称",
  9839. "type": "string"
  9840. }
  9841. }
  9842. },
  9843. "models.Marketrun": {
  9844. "type": "object",
  9845. "required": [
  9846. "marketid",
  9847. "nexttradedate",
  9848. "reckonflag",
  9849. "runstatus",
  9850. "tradedate",
  9851. "tradedate2"
  9852. ],
  9853. "properties": {
  9854. "afternexttradedate": {
  9855. "description": "下下交易日",
  9856. "type": "string"
  9857. },
  9858. "clearquoteflag": {
  9859. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  9860. "type": "integer"
  9861. },
  9862. "lastreckondate": {
  9863. "description": "最新交易日(结算成功)",
  9864. "type": "string"
  9865. },
  9866. "machinedate": {
  9867. "description": "机器时间",
  9868. "type": "string"
  9869. },
  9870. "manualflag": {
  9871. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  9872. "type": "integer"
  9873. },
  9874. "marketid": {
  9875. "description": "市场ID",
  9876. "type": "integer"
  9877. },
  9878. "nexttradedate": {
  9879. "description": "下一交易日",
  9880. "type": "string"
  9881. },
  9882. "pretradedate": {
  9883. "description": "上一交易日",
  9884. "type": "string"
  9885. },
  9886. "reckonflag": {
  9887. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  9888. "type": "integer"
  9889. },
  9890. "runstatus": {
  9891. "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.今日免清算",
  9892. "type": "integer"
  9893. },
  9894. "sectionid": {
  9895. "description": "时间段号[多时段时用]",
  9896. "type": "integer"
  9897. },
  9898. "tradedate": {
  9899. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  9900. "type": "string"
  9901. },
  9902. "tradedate2": {
  9903. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  9904. "type": "string"
  9905. },
  9906. "updatetime": {
  9907. "description": "更新时间",
  9908. "type": "string"
  9909. }
  9910. }
  9911. },
  9912. "models.Messageboard": {
  9913. "type": "object",
  9914. "required": [
  9915. "messageboardid"
  9916. ],
  9917. "properties": {
  9918. "createtime": {
  9919. "description": "创建时间",
  9920. "type": "string"
  9921. },
  9922. "message": {
  9923. "description": "留言信息",
  9924. "type": "string"
  9925. },
  9926. "messageboardid": {
  9927. "description": "留言簿ID(SEQ_MessageBoard)",
  9928. "type": "integer"
  9929. },
  9930. "userid": {
  9931. "description": "用户ID",
  9932. "type": "integer"
  9933. }
  9934. }
  9935. },
  9936. "models.MyCoupon": {
  9937. "type": "object",
  9938. "required": [
  9939. "accountid",
  9940. "coupontypeid"
  9941. ],
  9942. "properties": {
  9943. "accountid": {
  9944. "description": "资金账户ID",
  9945. "type": "integer"
  9946. },
  9947. "areauserid": {
  9948. "description": "所属机构",
  9949. "type": "integer"
  9950. },
  9951. "conditionvalue": {
  9952. "description": "条件阈值(可为0)",
  9953. "type": "number"
  9954. },
  9955. "couponcategroy": {
  9956. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  9957. "type": "integer"
  9958. },
  9959. "couponname": {
  9960. "description": "优惠券名称",
  9961. "type": "string"
  9962. },
  9963. "coupontypeid": {
  9964. "description": "优惠券类型ID",
  9965. "type": "string"
  9966. },
  9967. "couponvalue": {
  9968. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9969. "type": "number"
  9970. },
  9971. "curfreezeqty": {
  9972. "description": "期末冻结数量",
  9973. "type": "integer"
  9974. },
  9975. "curqty": {
  9976. "description": "期末数量",
  9977. "type": "integer"
  9978. },
  9979. "isgeneral": {
  9980. "description": "是否通用券 - 0:否 1:是",
  9981. "type": "integer"
  9982. },
  9983. "isunusable": {
  9984. "description": "是否不可用",
  9985. "type": "boolean"
  9986. },
  9987. "limitedflag": {
  9988. "description": "是否指定商品 - 0:不限 1:限制",
  9989. "type": "integer"
  9990. },
  9991. "limitedgoodsids": {
  9992. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  9993. "type": "string"
  9994. },
  9995. "orifreezeqty": {
  9996. "description": "期初冻结数量",
  9997. "type": "integer"
  9998. },
  9999. "oriqty": {
  10000. "description": "期初数量",
  10001. "type": "integer"
  10002. },
  10003. "reasontype": {
  10004. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  10005. "type": "integer"
  10006. },
  10007. "todaydecrease": {
  10008. "description": "今日减少",
  10009. "type": "integer"
  10010. },
  10011. "todayincrease": {
  10012. "description": "今日增加",
  10013. "type": "integer"
  10014. },
  10015. "userid": {
  10016. "description": "用户ID",
  10017. "type": "integer"
  10018. },
  10019. "userscope": {
  10020. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  10021. "type": "string"
  10022. }
  10023. }
  10024. },
  10025. "models.MyCouponHold": {
  10026. "type": "object",
  10027. "required": [
  10028. "couponholdid"
  10029. ],
  10030. "properties": {
  10031. "accountid": {
  10032. "description": "资金账户ID",
  10033. "type": "integer"
  10034. },
  10035. "conditionvalue": {
  10036. "description": "条件阈值(可为0)",
  10037. "type": "number"
  10038. },
  10039. "couponcategroy": {
  10040. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  10041. "type": "integer"
  10042. },
  10043. "couponholdid": {
  10044. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  10045. "type": "string"
  10046. },
  10047. "couponname": {
  10048. "description": "优惠券名称",
  10049. "type": "string"
  10050. },
  10051. "coupontypeid": {
  10052. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  10053. "type": "string"
  10054. },
  10055. "couponvalue": {
  10056. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  10057. "type": "number"
  10058. },
  10059. "createtime": {
  10060. "description": "创建时间",
  10061. "type": "string"
  10062. },
  10063. "enddate": {
  10064. "description": "结束日期",
  10065. "type": "string"
  10066. },
  10067. "giveapplyid": {
  10068. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  10069. "type": "integer"
  10070. },
  10071. "holdstatus": {
  10072. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  10073. "type": "integer"
  10074. },
  10075. "isgeneral": {
  10076. "description": "是否通用券 - 0:否 1:是",
  10077. "type": "integer"
  10078. },
  10079. "limitedflag": {
  10080. "description": "是否指定商品 - 0:不限 1:限制",
  10081. "type": "integer"
  10082. },
  10083. "limitedgoodsids": {
  10084. "description": "指定商品IDs[逗号分隔]",
  10085. "type": "string"
  10086. },
  10087. "qty": {
  10088. "description": "数量(按1平铺)",
  10089. "type": "integer"
  10090. },
  10091. "startdate": {
  10092. "description": "开始日期",
  10093. "type": "string"
  10094. },
  10095. "userid": {
  10096. "description": "用户ID",
  10097. "type": "integer"
  10098. },
  10099. "userscope": {
  10100. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  10101. "type": "string"
  10102. }
  10103. }
  10104. },
  10105. "models.MyUsedCoupon": {
  10106. "type": "object",
  10107. "required": [
  10108. "coupontypeid",
  10109. "orderid"
  10110. ],
  10111. "properties": {
  10112. "accountid": {
  10113. "description": "资金账户ID(买方)",
  10114. "type": "integer"
  10115. },
  10116. "conditionvalue": {
  10117. "description": "条件阈值(可为0)",
  10118. "type": "number"
  10119. },
  10120. "couponcategroy": {
  10121. "description": "种类 - 1:现金券 2:折扣券",
  10122. "type": "integer"
  10123. },
  10124. "couponname": {
  10125. "description": "优惠券名称",
  10126. "type": "string"
  10127. },
  10128. "coupontypeid": {
  10129. "description": "优惠券类型ID(买方)",
  10130. "type": "string"
  10131. },
  10132. "couponvalue": {
  10133. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  10134. "type": "number"
  10135. },
  10136. "createtime": {
  10137. "description": "创建时间",
  10138. "type": "string"
  10139. },
  10140. "goodsid": {
  10141. "description": "商品ID",
  10142. "type": "integer"
  10143. },
  10144. "handlestatus": {
  10145. "description": "处理状态",
  10146. "type": "integer"
  10147. },
  10148. "marketid": {
  10149. "description": "市场ID",
  10150. "type": "integer"
  10151. },
  10152. "offamount": {
  10153. "description": "优惠金额",
  10154. "type": "number"
  10155. },
  10156. "orderid": {
  10157. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10158. "type": "string"
  10159. },
  10160. "sellaccountid": {
  10161. "description": "资金账户ID(卖方)",
  10162. "type": "integer"
  10163. },
  10164. "tradeamount": {
  10165. "description": "成交金额",
  10166. "type": "number"
  10167. },
  10168. "tradeid": {
  10169. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10170. "type": "string"
  10171. },
  10172. "usedqty": {
  10173. "description": "使用数量",
  10174. "type": "integer"
  10175. }
  10176. }
  10177. },
  10178. "models.OperationPrimaryMenu": {
  10179. "type": "object",
  10180. "properties": {
  10181. "Children": {
  10182. "description": "二级功能菜单",
  10183. "type": "array",
  10184. "items": {
  10185. "$ref": "#/definitions/models.OperationSecondaryMenu"
  10186. }
  10187. },
  10188. "Key": {
  10189. "description": "菜单KEY",
  10190. "type": "string"
  10191. },
  10192. "Label": {
  10193. "description": "菜单标题",
  10194. "type": "string"
  10195. }
  10196. }
  10197. },
  10198. "models.OperationSecondaryMenu": {
  10199. "type": "object",
  10200. "properties": {
  10201. "Key": {
  10202. "description": "菜单KEY",
  10203. "type": "string"
  10204. },
  10205. "Label": {
  10206. "description": "菜单标题",
  10207. "type": "string"
  10208. },
  10209. "TabList": {
  10210. "description": "三级功能菜单",
  10211. "type": "array",
  10212. "items": {
  10213. "$ref": "#/definitions/models.OperationTabMenu"
  10214. }
  10215. }
  10216. }
  10217. },
  10218. "models.OperationTabMenu": {
  10219. "type": "object",
  10220. "properties": {
  10221. "Key": {
  10222. "description": "菜单KEY",
  10223. "type": "string"
  10224. },
  10225. "Label": {
  10226. "description": "菜单标题",
  10227. "type": "string"
  10228. }
  10229. }
  10230. },
  10231. "models.QuotePrimaryMenu": {
  10232. "type": "object",
  10233. "properties": {
  10234. "Index": {
  10235. "description": "序号",
  10236. "type": "integer"
  10237. },
  10238. "Key": {
  10239. "description": "键名",
  10240. "type": "string"
  10241. },
  10242. "Name": {
  10243. "description": "菜单名称",
  10244. "type": "string"
  10245. },
  10246. "SubMenus": {
  10247. "description": "子菜单",
  10248. "type": "array",
  10249. "items": {
  10250. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  10251. }
  10252. },
  10253. "SubTitleType": {
  10254. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  10255. "type": "integer"
  10256. },
  10257. "TradeModes": {
  10258. "description": "包含市场交易类型",
  10259. "type": "string"
  10260. }
  10261. }
  10262. },
  10263. "models.QuoteSecondaryMenu": {
  10264. "type": "object",
  10265. "properties": {
  10266. "ExExchangeCode": {
  10267. "description": "外部交易所代码",
  10268. "type": "string"
  10269. },
  10270. "ExExchangeID": {
  10271. "description": "外部交易所ID",
  10272. "type": "integer"
  10273. },
  10274. "GoodsGroupIDs": {
  10275. "description": "商品组ID列表",
  10276. "type": "array",
  10277. "items": {
  10278. "type": "integer"
  10279. }
  10280. },
  10281. "Index": {
  10282. "description": "序号",
  10283. "type": "integer"
  10284. },
  10285. "MarketID": {
  10286. "description": "市场ID",
  10287. "type": "integer"
  10288. },
  10289. "MenuTitle": {
  10290. "description": "菜单标题(市场名称或外部交易所名称)",
  10291. "type": "string"
  10292. },
  10293. "TradeMode": {
  10294. "description": "交易模式",
  10295. "type": "integer"
  10296. }
  10297. }
  10298. },
  10299. "models.SearchGoods": {
  10300. "type": "object",
  10301. "required": [
  10302. "goodscode",
  10303. "goodsid",
  10304. "goodsname",
  10305. "marketid",
  10306. "trademode"
  10307. ],
  10308. "properties": {
  10309. "goodscode": {
  10310. "description": "商品代码(内部)",
  10311. "type": "string"
  10312. },
  10313. "goodsid": {
  10314. "description": "商品ID(自增ID SEQ_GOODS)",
  10315. "type": "integer"
  10316. },
  10317. "goodsname": {
  10318. "description": "商品名称",
  10319. "type": "string"
  10320. },
  10321. "marketid": {
  10322. "description": "所属市场ID",
  10323. "type": "integer"
  10324. },
  10325. "marketname": {
  10326. "description": "市场名称",
  10327. "type": "string"
  10328. },
  10329. "trademode": {
  10330. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10331. "type": "integer"
  10332. }
  10333. }
  10334. },
  10335. "models.Szdz2imageconfig": {
  10336. "type": "object",
  10337. "required": [
  10338. "configid"
  10339. ],
  10340. "properties": {
  10341. "configid": {
  10342. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10343. "type": "integer"
  10344. },
  10345. "imagepath": {
  10346. "description": "图片",
  10347. "type": "string"
  10348. },
  10349. "imagetype": {
  10350. "description": "类型 - 1:App首页轮播 2:我的",
  10351. "type": "integer"
  10352. },
  10353. "sort": {
  10354. "description": "排序",
  10355. "type": "integer"
  10356. },
  10357. "title": {
  10358. "description": "标题",
  10359. "type": "string"
  10360. },
  10361. "url": {
  10362. "description": "链接",
  10363. "type": "string"
  10364. }
  10365. }
  10366. },
  10367. "models.Szdz3convertconfig": {
  10368. "type": "object",
  10369. "required": [
  10370. "converttype",
  10371. "innergoodsid",
  10372. "outergoodscode"
  10373. ],
  10374. "properties": {
  10375. "canin": {
  10376. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  10377. "type": "integer"
  10378. },
  10379. "canout": {
  10380. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  10381. "type": "integer"
  10382. },
  10383. "converttype": {
  10384. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10385. "type": "integer"
  10386. },
  10387. "createtime": {
  10388. "description": "创建时间",
  10389. "type": "string"
  10390. },
  10391. "creatorid": {
  10392. "description": "创建人",
  10393. "type": "integer"
  10394. },
  10395. "daymaxvalue": {
  10396. "description": "当日最大转入限制",
  10397. "type": "number"
  10398. },
  10399. "freezedays": {
  10400. "description": "冻结天数 [5:花生米转交易]",
  10401. "type": "integer"
  10402. },
  10403. "innergoodsid": {
  10404. "description": "内部商品ID[交易]",
  10405. "type": "integer"
  10406. },
  10407. "inratio": {
  10408. "description": "目标值",
  10409. "type": "integer"
  10410. },
  10411. "modifierid": {
  10412. "description": "修改人",
  10413. "type": "integer"
  10414. },
  10415. "modifytime": {
  10416. "description": "修改时间",
  10417. "type": "string"
  10418. },
  10419. "outergoodscode": {
  10420. "description": "外部商品代码[JD\\PD]",
  10421. "type": "string"
  10422. },
  10423. "outratio": {
  10424. "description": "源值",
  10425. "type": "integer"
  10426. },
  10427. "pddecimalplace": {
  10428. "description": "PD小数位",
  10429. "type": "integer"
  10430. },
  10431. "timemaxvalue": {
  10432. "description": "单次最大转入限制",
  10433. "type": "number"
  10434. },
  10435. "timeminvalue": {
  10436. "description": "单次最小转入限制",
  10437. "type": "number"
  10438. }
  10439. }
  10440. },
  10441. "models.Szdz3searchwhitelist": {
  10442. "type": "object",
  10443. "required": [
  10444. "userid"
  10445. ],
  10446. "properties": {
  10447. "createtime": {
  10448. "description": "创建时间",
  10449. "type": "string"
  10450. },
  10451. "creatorid": {
  10452. "description": "创建人",
  10453. "type": "integer"
  10454. },
  10455. "modifierid": {
  10456. "description": "修改人",
  10457. "type": "integer"
  10458. },
  10459. "modifytime": {
  10460. "description": "修改时间",
  10461. "type": "string"
  10462. },
  10463. "userid": {
  10464. "description": "用户ID",
  10465. "type": "integer"
  10466. }
  10467. }
  10468. },
  10469. "models.Tablecolumnconfig": {
  10470. "type": "object",
  10471. "required": [
  10472. "autoid"
  10473. ],
  10474. "properties": {
  10475. "aligntype": {
  10476. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  10477. "type": "integer"
  10478. },
  10479. "autoid": {
  10480. "description": "AutoID",
  10481. "type": "integer"
  10482. },
  10483. "columnfield": {
  10484. "description": "列字段",
  10485. "type": "string"
  10486. },
  10487. "columntitle": {
  10488. "description": "列Title",
  10489. "type": "string"
  10490. },
  10491. "columnwidth": {
  10492. "description": "列宽",
  10493. "type": "string"
  10494. },
  10495. "formatterstring": {
  10496. "description": "格式化字符",
  10497. "type": "string"
  10498. },
  10499. "formattertype": {
  10500. "description": "格式化类型",
  10501. "type": "string"
  10502. },
  10503. "groupname": {
  10504. "description": "表头分组名称",
  10505. "type": "string"
  10506. },
  10507. "isshow": {
  10508. "description": "是否显示 - 0:不显示 1:显示",
  10509. "type": "integer"
  10510. },
  10511. "needsummary": {
  10512. "description": "是否需要汇总 - 0:不需要 1:需要",
  10513. "type": "integer"
  10514. },
  10515. "orderindex": {
  10516. "description": "顺序",
  10517. "type": "integer"
  10518. },
  10519. "remark": {
  10520. "description": "备注",
  10521. "type": "string"
  10522. },
  10523. "summarytype": {
  10524. "description": "汇总类型 - 1:加总 2:最后一个",
  10525. "type": "integer"
  10526. },
  10527. "tablekey": {
  10528. "description": "列表Key",
  10529. "type": "string"
  10530. }
  10531. }
  10532. },
  10533. "models.Useraccount": {
  10534. "type": "object",
  10535. "required": [
  10536. "userid"
  10537. ],
  10538. "properties": {
  10539. "accountname": {
  10540. "description": "账户名称(机构名称)",
  10541. "type": "string"
  10542. },
  10543. "accountstatus": {
  10544. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10545. "type": "integer"
  10546. },
  10547. "auditremark": {
  10548. "description": "审核备注",
  10549. "type": "string"
  10550. },
  10551. "audittime": {
  10552. "description": "审核时间",
  10553. "type": "string"
  10554. },
  10555. "audituserid": {
  10556. "description": "审核人",
  10557. "type": "integer"
  10558. },
  10559. "broker": {
  10560. "description": "所属经纪人ID",
  10561. "type": "integer"
  10562. },
  10563. "canceltime": {
  10564. "description": "销户时间",
  10565. "type": "string"
  10566. },
  10567. "canceluserid": {
  10568. "description": "销户人",
  10569. "type": "integer"
  10570. },
  10571. "createtime": {
  10572. "description": "创建时间",
  10573. "type": "string"
  10574. },
  10575. "creatorid": {
  10576. "description": "创建人",
  10577. "type": "integer"
  10578. },
  10579. "hasauth": {
  10580. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  10581. "type": "integer"
  10582. },
  10583. "isanonymous": {
  10584. "description": "是否匿名下单 - 0:否 1:是",
  10585. "type": "integer"
  10586. },
  10587. "maxinvestornum": {
  10588. "description": "最大用户数(经纪会员下投资者个数)",
  10589. "type": "integer"
  10590. },
  10591. "memberuserid": {
  10592. "description": "所属会员ID",
  10593. "type": "integer"
  10594. },
  10595. "modifierid": {
  10596. "description": "修改人",
  10597. "type": "integer"
  10598. },
  10599. "modifyremark": {
  10600. "description": "变更备注",
  10601. "type": "string"
  10602. },
  10603. "modifystatus": {
  10604. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  10605. "type": "integer"
  10606. },
  10607. "modifytime": {
  10608. "description": "修改时间",
  10609. "type": "string"
  10610. },
  10611. "parentuserid": {
  10612. "description": "所属机构ID",
  10613. "type": "integer"
  10614. },
  10615. "reckonaccountid": {
  10616. "description": "默认结算资金账号ID(机构分润使用) 作废",
  10617. "type": "integer"
  10618. },
  10619. "refercount": {
  10620. "description": "推荐总人数",
  10621. "type": "integer"
  10622. },
  10623. "refereeuserid": {
  10624. "description": "推荐人ID",
  10625. "type": "integer"
  10626. },
  10627. "refernum": {
  10628. "description": "推荐码",
  10629. "type": "string"
  10630. },
  10631. "subarealevelpath": {
  10632. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  10633. "type": "string"
  10634. },
  10635. "userid": {
  10636. "description": "用户ID",
  10637. "type": "integer"
  10638. },
  10639. "usertype": {
  10640. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10641. "type": "integer"
  10642. }
  10643. }
  10644. },
  10645. "models.Userfavoritegoods": {
  10646. "type": "object",
  10647. "required": [
  10648. "goodsid"
  10649. ],
  10650. "properties": {
  10651. "goodsid": {
  10652. "description": "商品ID",
  10653. "type": "integer"
  10654. }
  10655. }
  10656. },
  10657. "models.Userinfo": {
  10658. "type": "object",
  10659. "required": [
  10660. "userid"
  10661. ],
  10662. "properties": {
  10663. "address": {
  10664. "description": "地址",
  10665. "type": "string"
  10666. },
  10667. "attachment1": {
  10668. "description": "附件1",
  10669. "type": "string"
  10670. },
  10671. "attachment2": {
  10672. "description": "附件2",
  10673. "type": "string"
  10674. },
  10675. "bankaccount": {
  10676. "description": "银行帐号 (加密存储)",
  10677. "type": "string"
  10678. },
  10679. "bankaccountname": {
  10680. "description": "收款人名称",
  10681. "type": "string"
  10682. },
  10683. "bankcardfrontphotourl": {
  10684. "description": "银行卡正面照地址",
  10685. "type": "string"
  10686. },
  10687. "bankid": {
  10688. "description": "银行编码",
  10689. "type": "string"
  10690. },
  10691. "bankname": {
  10692. "description": "银行名称",
  10693. "type": "string"
  10694. },
  10695. "biznature": {
  10696. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10697. "type": "integer"
  10698. },
  10699. "bizscope": {
  10700. "description": "企业经营范围(企业)",
  10701. "type": "string"
  10702. },
  10703. "cardbackphotourl": {
  10704. "description": "证件背面图片地址",
  10705. "type": "string"
  10706. },
  10707. "cardfrontphotourl": {
  10708. "description": "证件正面图片地址",
  10709. "type": "string"
  10710. },
  10711. "cardnum": {
  10712. "description": "证件号码(加密存储)",
  10713. "type": "string"
  10714. },
  10715. "cardtypeid": {
  10716. "description": "证件类型ID",
  10717. "type": "integer"
  10718. },
  10719. "cityid": {
  10720. "description": "市",
  10721. "type": "integer"
  10722. },
  10723. "company": {
  10724. "description": "公司(个人)",
  10725. "type": "string"
  10726. },
  10727. "contactname": {
  10728. "description": "联系人",
  10729. "type": "string"
  10730. },
  10731. "countryid": {
  10732. "description": "国家",
  10733. "type": "integer"
  10734. },
  10735. "createtime": {
  10736. "description": "创建时间",
  10737. "type": "string"
  10738. },
  10739. "creatorid": {
  10740. "description": "创建人",
  10741. "type": "integer"
  10742. },
  10743. "customername": {
  10744. "description": "客户名称(企业名称)",
  10745. "type": "string"
  10746. },
  10747. "districtid": {
  10748. "description": "地区",
  10749. "type": "integer"
  10750. },
  10751. "email": {
  10752. "description": "邮件(加密存储)",
  10753. "type": "string"
  10754. },
  10755. "fax": {
  10756. "description": "传真(加密存储)",
  10757. "type": "string"
  10758. },
  10759. "halfbodyphotourl": {
  10760. "description": "半身照地址",
  10761. "type": "string"
  10762. },
  10763. "hasencrypt": {
  10764. "description": "数据是否已加密 - 0:未加密 1:已加密",
  10765. "type": "integer"
  10766. },
  10767. "headurl": {
  10768. "description": "头像地址",
  10769. "type": "string"
  10770. },
  10771. "legalcardbackphotourl": {
  10772. "description": "法人身份证背面照地址",
  10773. "type": "string"
  10774. },
  10775. "legalcardfrontphotourl": {
  10776. "description": "法人身份证正面照地址",
  10777. "type": "string"
  10778. },
  10779. "legalpersonname": {
  10780. "description": "法人姓名(企业)",
  10781. "type": "string"
  10782. },
  10783. "mobile": {
  10784. "description": "手机号码(加密存储)",
  10785. "type": "string"
  10786. },
  10787. "mobile2": {
  10788. "description": "手机号码[明文-尚志]",
  10789. "type": "string"
  10790. },
  10791. "modifierid": {
  10792. "description": "修改人",
  10793. "type": "integer"
  10794. },
  10795. "modifiertime": {
  10796. "description": "修改时间",
  10797. "type": "string"
  10798. },
  10799. "needinvoice": {
  10800. "description": "是否需要发票 - 0:不需要 1:需要",
  10801. "type": "integer"
  10802. },
  10803. "nickname": {
  10804. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  10805. "type": "string"
  10806. },
  10807. "openmode": {
  10808. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  10809. "type": "integer"
  10810. },
  10811. "otherurl": {
  10812. "description": "其它图片地址[使用分号分隔]",
  10813. "type": "string"
  10814. },
  10815. "postalcode": {
  10816. "description": "邮政编码",
  10817. "type": "string"
  10818. },
  10819. "provinceid": {
  10820. "description": "省",
  10821. "type": "integer"
  10822. },
  10823. "qq": {
  10824. "description": "QQ(加密存储",
  10825. "type": "string"
  10826. },
  10827. "remark": {
  10828. "description": "备注",
  10829. "type": "string"
  10830. },
  10831. "sex": {
  10832. "description": "用户性别 0: 女 1: 男",
  10833. "type": "integer"
  10834. },
  10835. "signpdfurl": {
  10836. "description": "签约pdf文件",
  10837. "type": "string"
  10838. },
  10839. "telphone": {
  10840. "description": "联系电话(加密存储)",
  10841. "type": "string"
  10842. },
  10843. "userid": {
  10844. "description": "用户ID",
  10845. "type": "integer"
  10846. },
  10847. "userinfotype": {
  10848. "description": "用户信息类型 - 1:个人 2:企业",
  10849. "type": "integer"
  10850. },
  10851. "userstatus": {
  10852. "description": "用户状态 - 1:正常 2:注销",
  10853. "type": "integer"
  10854. },
  10855. "usertype": {
  10856. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10857. "type": "integer"
  10858. },
  10859. "wechat": {
  10860. "description": "微信(加密存储)",
  10861. "type": "string"
  10862. },
  10863. "wskhinfo": {
  10864. "description": "开户申请信息(JSON)",
  10865. "type": "string"
  10866. }
  10867. }
  10868. },
  10869. "models.WRCategoryTree": {
  10870. "type": "object",
  10871. "required": [
  10872. "categoryid"
  10873. ],
  10874. "properties": {
  10875. "areauserid": {
  10876. "description": "所属机构",
  10877. "type": "integer"
  10878. },
  10879. "categorydesc": {
  10880. "description": "类别描述",
  10881. "type": "string"
  10882. },
  10883. "categoryid": {
  10884. "description": "类别ID(SEQ_WRCATEGORY)",
  10885. "type": "integer"
  10886. },
  10887. "categoryname": {
  10888. "description": "类别名称",
  10889. "type": "string"
  10890. },
  10891. "iconurl": {
  10892. "description": "图标地址",
  10893. "type": "string"
  10894. },
  10895. "orderindex": {
  10896. "description": "顺序",
  10897. "type": "integer"
  10898. },
  10899. "parentcategoryid": {
  10900. "description": "父类别ID",
  10901. "type": "integer"
  10902. },
  10903. "subcategory": {
  10904. "description": "子分类",
  10905. "type": "array",
  10906. "items": {
  10907. "$ref": "#/definitions/models.WRCategoryTree"
  10908. }
  10909. }
  10910. }
  10911. },
  10912. "models.WRStandardInfo": {
  10913. "type": "object",
  10914. "required": [
  10915. "wrstandardid"
  10916. ],
  10917. "properties": {
  10918. "createtime": {
  10919. "description": "创建时间",
  10920. "type": "string"
  10921. },
  10922. "creatorid": {
  10923. "description": "创建人",
  10924. "type": "integer"
  10925. },
  10926. "deliverygoodsid": {
  10927. "description": "品种ID",
  10928. "type": "integer"
  10929. },
  10930. "deliverygoodsname": {
  10931. "description": "交割商品名称",
  10932. "type": "string"
  10933. },
  10934. "factoryitemjson": {
  10935. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  10936. "type": "string"
  10937. },
  10938. "isvalid": {
  10939. "description": "是否有效 - 0:无效 1:有效",
  10940. "type": "integer"
  10941. },
  10942. "minivalue": {
  10943. "description": "最小变动值",
  10944. "type": "integer"
  10945. },
  10946. "minivaluedp": {
  10947. "description": "最小变动值小数位",
  10948. "type": "integer"
  10949. },
  10950. "realminivalue": {
  10951. "description": "实际最小变动值",
  10952. "type": "integer"
  10953. },
  10954. "realminivaluedp": {
  10955. "description": "实际最小变动值小数位",
  10956. "type": "integer"
  10957. },
  10958. "unitid": {
  10959. "description": "单位ID",
  10960. "type": "integer"
  10961. },
  10962. "unitname": {
  10963. "description": "单位",
  10964. "type": "string"
  10965. },
  10966. "updatetime": {
  10967. "description": "更新时间",
  10968. "type": "string"
  10969. },
  10970. "updatorid": {
  10971. "description": "更新人",
  10972. "type": "integer"
  10973. },
  10974. "wrsstatus": {
  10975. "description": "状态 - 作废 - 0:未激活 1:正常",
  10976. "type": "integer"
  10977. },
  10978. "wrstandardcode": {
  10979. "description": "仓单标准代码",
  10980. "type": "string"
  10981. },
  10982. "wrstandardid": {
  10983. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10984. "type": "integer"
  10985. },
  10986. "wrstandardname": {
  10987. "description": "仓单标准名称",
  10988. "type": "string"
  10989. }
  10990. }
  10991. },
  10992. "models.Warehouseinfo": {
  10993. "type": "object",
  10994. "required": [
  10995. "autoid",
  10996. "warehousecode"
  10997. ],
  10998. "properties": {
  10999. "address": {
  11000. "description": "详细地址",
  11001. "type": "string"
  11002. },
  11003. "areauserid": {
  11004. "description": "所属机构",
  11005. "type": "integer"
  11006. },
  11007. "autoid": {
  11008. "description": "自增ID",
  11009. "type": "integer"
  11010. },
  11011. "cityid": {
  11012. "description": "市",
  11013. "type": "integer"
  11014. },
  11015. "contactname": {
  11016. "description": "联系人",
  11017. "type": "string"
  11018. },
  11019. "contactnum": {
  11020. "description": "联系电话",
  11021. "type": "string"
  11022. },
  11023. "countryid": {
  11024. "description": "国家",
  11025. "type": "integer"
  11026. },
  11027. "createtime": {
  11028. "description": "创建时间",
  11029. "type": "string"
  11030. },
  11031. "districtid": {
  11032. "description": "区",
  11033. "type": "integer"
  11034. },
  11035. "hasvideo": {
  11036. "description": "是否有视频 - 0:无 1:有",
  11037. "type": "integer"
  11038. },
  11039. "provinceid": {
  11040. "description": "省",
  11041. "type": "integer"
  11042. },
  11043. "remark": {
  11044. "description": "审核备注",
  11045. "type": "string"
  11046. },
  11047. "videourl": {
  11048. "description": "视频地址",
  11049. "type": "string"
  11050. },
  11051. "warehousecode": {
  11052. "description": "仓库代码",
  11053. "type": "string"
  11054. },
  11055. "warehousename": {
  11056. "description": "仓库名称",
  11057. "type": "string"
  11058. },
  11059. "warehousestatus": {
  11060. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  11061. "type": "integer"
  11062. },
  11063. "warehousetype": {
  11064. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11065. "type": "integer"
  11066. }
  11067. }
  11068. },
  11069. "order.QueryHisTradeDetailRsp": {
  11070. "type": "object",
  11071. "required": [
  11072. "accountid",
  11073. "buyorsell",
  11074. "goodsid",
  11075. "histradedate",
  11076. "marketid",
  11077. "memberuserid",
  11078. "orderid",
  11079. "tradeamount",
  11080. "tradedate",
  11081. "tradeid",
  11082. "tradeprice",
  11083. "tradeqty",
  11084. "tradetime"
  11085. ],
  11086. "properties": {
  11087. "accountid": {
  11088. "description": "账户ID[报价币种]",
  11089. "type": "integer"
  11090. },
  11091. "buildtype": {
  11092. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11093. "type": "integer"
  11094. },
  11095. "buyorsell": {
  11096. "description": "方向 - 0:买 1:卖",
  11097. "type": "integer"
  11098. },
  11099. "charge": {
  11100. "description": "手续费",
  11101. "type": "number"
  11102. },
  11103. "closecharge": {
  11104. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11105. "type": "number"
  11106. },
  11107. "closeexchagechargevalue": {
  11108. "description": "平仓交易所手续费设置值",
  11109. "type": "number"
  11110. },
  11111. "closefeealgorithm": {
  11112. "description": "平仓手续费收取方式 1:比率 2:固定",
  11113. "type": "integer"
  11114. },
  11115. "closememberchargevalue": {
  11116. "description": "平仓会员手续费设置值",
  11117. "type": "number"
  11118. },
  11119. "closepl": {
  11120. "description": "平仓盈亏",
  11121. "type": "number"
  11122. },
  11123. "closepl2": {
  11124. "description": "平仓盈亏[逐笔]",
  11125. "type": "number"
  11126. },
  11127. "closeqty": {
  11128. "description": "平仓数量(先建后平操作 需要记录)",
  11129. "type": "integer"
  11130. },
  11131. "creditamount": {
  11132. "description": "授信金额",
  11133. "type": "number"
  11134. },
  11135. "gcaccountid": {
  11136. "description": "账户ID[合约币种]",
  11137. "type": "integer"
  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. "histradedate": {
  11152. "description": "历史交易日",
  11153. "type": "string"
  11154. },
  11155. "intclosepl": {
  11156. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11157. "type": "integer"
  11158. },
  11159. "isconfirmexercise": {
  11160. "description": "是否确认行权- 0:否 1:是",
  11161. "type": "integer"
  11162. },
  11163. "ismain": {
  11164. "description": "是否主单 - 0:不是 1:是",
  11165. "type": "integer"
  11166. },
  11167. "ispreexercise": {
  11168. "description": "是否预申报- 0:否 1:是",
  11169. "type": "integer"
  11170. },
  11171. "isreckoned": {
  11172. "description": "是否结算 - 0:未结算 1:已结算",
  11173. "type": "integer"
  11174. },
  11175. "isvaliddata": {
  11176. "description": "是否有效 - 0:无效 1:有效",
  11177. "type": "integer"
  11178. },
  11179. "listingselecttype": {
  11180. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11181. "type": "integer"
  11182. },
  11183. "marketid": {
  11184. "description": "市场ID",
  11185. "type": "integer"
  11186. },
  11187. "marketname": {
  11188. "description": "市场名称",
  11189. "type": "string"
  11190. },
  11191. "matchaccountid": {
  11192. "description": "对手账号id",
  11193. "type": "integer"
  11194. },
  11195. "memberuserid": {
  11196. "description": "会员id 个人投资者 需要填写",
  11197. "type": "integer"
  11198. },
  11199. "opencharge": {
  11200. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11201. "type": "number"
  11202. },
  11203. "openexchagechargevalue": {
  11204. "description": "建仓交易所手续费设置值",
  11205. "type": "number"
  11206. },
  11207. "openfeealgorithm": {
  11208. "description": "建仓手续费收取方式 1:比率 2:固定",
  11209. "type": "integer"
  11210. },
  11211. "openmemberchargevalue": {
  11212. "description": "建仓会员手续费设置值",
  11213. "type": "number"
  11214. },
  11215. "openqty": {
  11216. "description": "开仓数量(先建后平操作 需要记录)",
  11217. "type": "integer"
  11218. },
  11219. "optiontype": {
  11220. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11221. "type": "integer"
  11222. },
  11223. "orderid": {
  11224. "description": "委托单号",
  11225. "type": "string"
  11226. },
  11227. "performanceplanid": {
  11228. "description": "履约计划ID[期权]",
  11229. "type": "integer"
  11230. },
  11231. "performancestatus": {
  11232. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11233. "type": "integer"
  11234. },
  11235. "preexerciseprice": {
  11236. "description": "预申报价格",
  11237. "type": "number"
  11238. },
  11239. "premium": {
  11240. "description": "权利金 - [持仓单的权利金]",
  11241. "type": "number"
  11242. },
  11243. "relatedouttradeid": {
  11244. "description": "关联外部成交单ID",
  11245. "type": "integer"
  11246. },
  11247. "status": {
  11248. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11249. "type": "integer"
  11250. },
  11251. "tradeamount": {
  11252. "description": "成交金额[账户币种,用于所有权]",
  11253. "type": "number"
  11254. },
  11255. "tradedate": {
  11256. "description": "交易日(yyyyMMdd)",
  11257. "type": "string"
  11258. },
  11259. "tradeid": {
  11260. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11261. "type": "string"
  11262. },
  11263. "trademode": {
  11264. "description": "交易模式",
  11265. "type": "integer"
  11266. },
  11267. "tradeprice": {
  11268. "description": "成交价格",
  11269. "type": "number"
  11270. },
  11271. "tradeproperty": {
  11272. "description": "交易属性",
  11273. "type": "integer"
  11274. },
  11275. "tradeqty": {
  11276. "description": "成交数量",
  11277. "type": "integer"
  11278. },
  11279. "tradetime": {
  11280. "description": "成交时间",
  11281. "type": "string"
  11282. },
  11283. "tradetype": {
  11284. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11285. "type": "integer"
  11286. }
  11287. }
  11288. },
  11289. "order.QueryHisTradeOrderDetailRsp": {
  11290. "type": "object",
  11291. "required": [
  11292. "accountid",
  11293. "buildtype",
  11294. "buyorsell",
  11295. "goodsid",
  11296. "histradedate",
  11297. "marketid",
  11298. "memberuserid",
  11299. "operatetype",
  11300. "orderid",
  11301. "orderqty",
  11302. "ordertime",
  11303. "pricemode",
  11304. "tradedate",
  11305. "validtype"
  11306. ],
  11307. "properties": {
  11308. "accountid": {
  11309. "description": "账户ID[报价币种]",
  11310. "type": "integer"
  11311. },
  11312. "buildtype": {
  11313. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11314. "type": "integer"
  11315. },
  11316. "buyorsell": {
  11317. "description": "买卖 - 0:买 1:卖",
  11318. "type": "integer"
  11319. },
  11320. "cancelorderid": {
  11321. "description": "撤单单号(撤单时填写)",
  11322. "type": "string"
  11323. },
  11324. "cancelqty": {
  11325. "description": "撤单数量",
  11326. "type": "integer"
  11327. },
  11328. "clientordertime": {
  11329. "description": "客户端委托时间",
  11330. "type": "string"
  11331. },
  11332. "clientticket": {
  11333. "description": "客户端流水号",
  11334. "type": "string"
  11335. },
  11336. "clienttype": {
  11337. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11338. "type": "integer"
  11339. },
  11340. "closeexchagechargevalue": {
  11341. "description": "平仓交易所手续费设置值",
  11342. "type": "number"
  11343. },
  11344. "closefeealgorithm": {
  11345. "description": "平仓手续费收取方式 1:比率 2:固定",
  11346. "type": "integer"
  11347. },
  11348. "closefreezecharge": {
  11349. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11350. "type": "number"
  11351. },
  11352. "closememberchargevalue": {
  11353. "description": "平仓会员手续费设置值",
  11354. "type": "number"
  11355. },
  11356. "closeqty": {
  11357. "description": "平仓数量(先建后平操作 需要记录)",
  11358. "type": "integer"
  11359. },
  11360. "closetradeqty": {
  11361. "description": "平仓成交数量(先建后平操作,需要记录)",
  11362. "type": "integer"
  11363. },
  11364. "closeunfreezecharge": {
  11365. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11366. "type": "number"
  11367. },
  11368. "delistingtype": {
  11369. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11370. "type": "integer"
  11371. },
  11372. "freezecharge": {
  11373. "description": "冻结手续费",
  11374. "type": "number"
  11375. },
  11376. "freezemargin": {
  11377. "description": "冻结保证金(冻结交易金额)",
  11378. "type": "number"
  11379. },
  11380. "gcaccountid": {
  11381. "description": "账户ID[合约币种]",
  11382. "type": "integer"
  11383. },
  11384. "goodscode": {
  11385. "description": "商品代码",
  11386. "type": "string"
  11387. },
  11388. "goodsid": {
  11389. "description": "商品ID",
  11390. "type": "integer"
  11391. },
  11392. "goodsname": {
  11393. "description": "商品名称",
  11394. "type": "string"
  11395. },
  11396. "histradedate": {
  11397. "description": "历史交易日",
  11398. "type": "string"
  11399. },
  11400. "isconfirmexercise": {
  11401. "description": "是否确认行权- 0:否 1:是",
  11402. "type": "integer"
  11403. },
  11404. "ispreexercise": {
  11405. "description": "是否预申报- 0:否 1:是",
  11406. "type": "integer"
  11407. },
  11408. "isvaliddata": {
  11409. "description": "是否有效 - 0:无效 1:有效",
  11410. "type": "integer"
  11411. },
  11412. "listingselecttype": {
  11413. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11414. "type": "integer"
  11415. },
  11416. "marginalgorithm": {
  11417. "description": "保证金收取方式 1:比率 2:固定",
  11418. "type": "integer"
  11419. },
  11420. "marginvalue": {
  11421. "description": "即市保证金设置值",
  11422. "type": "number"
  11423. },
  11424. "marketid": {
  11425. "description": "市场ID",
  11426. "type": "integer"
  11427. },
  11428. "marketmaxsub": {
  11429. "description": "市价最大偏移范围",
  11430. "type": "number"
  11431. },
  11432. "marketname": {
  11433. "description": "市场名称",
  11434. "type": "string"
  11435. },
  11436. "memberuserid": {
  11437. "description": "所属会员UserID",
  11438. "type": "integer"
  11439. },
  11440. "openexchagechargevalue": {
  11441. "description": "建仓交易所手续费设置值",
  11442. "type": "number"
  11443. },
  11444. "openfeealgorithm": {
  11445. "description": "建仓手续费收取方式 1:比率 2:固定",
  11446. "type": "integer"
  11447. },
  11448. "openfreezecharge": {
  11449. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11450. "type": "number"
  11451. },
  11452. "openmemberchargevalue": {
  11453. "description": "建仓会员手续费设置值",
  11454. "type": "number"
  11455. },
  11456. "openqty": {
  11457. "description": "开仓数量(先建后平操作,需要记录)",
  11458. "type": "integer"
  11459. },
  11460. "opentradeqty": {
  11461. "description": "开仓成交数量(先建后平操作,需要记录)",
  11462. "type": "integer"
  11463. },
  11464. "openunfreezecharge": {
  11465. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11466. "type": "number"
  11467. },
  11468. "operatetype": {
  11469. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11470. "type": "integer"
  11471. },
  11472. "operatorid": {
  11473. "description": "登录账号(LoginID)",
  11474. "type": "integer"
  11475. },
  11476. "optiontype": {
  11477. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11478. "type": "integer"
  11479. },
  11480. "orderid": {
  11481. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11482. "type": "string"
  11483. },
  11484. "orderprice": {
  11485. "description": "委托价格",
  11486. "type": "number"
  11487. },
  11488. "orderqty": {
  11489. "description": "委托数量",
  11490. "type": "integer"
  11491. },
  11492. "ordersrc": {
  11493. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11494. "type": "integer"
  11495. },
  11496. "orderstatus": {
  11497. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11498. "type": "integer"
  11499. },
  11500. "ordertime": {
  11501. "description": "委托时间",
  11502. "type": "string"
  11503. },
  11504. "preexerciseprice": {
  11505. "description": "预申报价格",
  11506. "type": "number"
  11507. },
  11508. "premium": {
  11509. "description": "权利金",
  11510. "type": "number"
  11511. },
  11512. "preorderid": {
  11513. "description": "关联预埋单号(止盈止损单时填写)",
  11514. "type": "string"
  11515. },
  11516. "pricemode": {
  11517. "description": "取价方式 - 1:市价 2: 限价",
  11518. "type": "integer"
  11519. },
  11520. "quoteid": {
  11521. "description": "报价单ID",
  11522. "type": "integer"
  11523. },
  11524. "relatedid": {
  11525. "description": "关联单号(交割单)",
  11526. "type": "string"
  11527. },
  11528. "retcode": {
  11529. "description": "错误代码",
  11530. "type": "integer"
  11531. },
  11532. "sessionid": {
  11533. "description": "会话ID",
  11534. "type": "integer"
  11535. },
  11536. "tradedate": {
  11537. "description": "交易日(yyyyMMdd)",
  11538. "type": "string"
  11539. },
  11540. "trademode": {
  11541. "description": "交易模式",
  11542. "type": "integer"
  11543. },
  11544. "tradeproperty": {
  11545. "description": "交易属性",
  11546. "type": "integer"
  11547. },
  11548. "tradeqty": {
  11549. "description": "成交数量",
  11550. "type": "integer"
  11551. },
  11552. "unfreezecharge": {
  11553. "description": "解冻手续费",
  11554. "type": "number"
  11555. },
  11556. "unfreezemargin": {
  11557. "description": "解冻保证金",
  11558. "type": "number"
  11559. },
  11560. "updatetime": {
  11561. "description": "更新时间",
  11562. "type": "string"
  11563. },
  11564. "uuid": {
  11565. "description": "发起端唯一id",
  11566. "type": "string"
  11567. },
  11568. "validtime": {
  11569. "description": "有效期限",
  11570. "type": "string"
  11571. },
  11572. "validtype": {
  11573. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11574. "type": "integer"
  11575. },
  11576. "volumetype": {
  11577. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11578. "type": "integer"
  11579. }
  11580. }
  11581. },
  11582. "order.QueryTradeDetailRsp": {
  11583. "type": "object",
  11584. "required": [
  11585. "accountid",
  11586. "buyorsell",
  11587. "goodsid",
  11588. "marketid",
  11589. "memberuserid",
  11590. "orderid",
  11591. "tradeamount",
  11592. "tradedate",
  11593. "tradeid",
  11594. "tradeprice",
  11595. "tradeqty",
  11596. "tradetime"
  11597. ],
  11598. "properties": {
  11599. "accountid": {
  11600. "description": "账户ID[报价币种]",
  11601. "type": "integer"
  11602. },
  11603. "buildtype": {
  11604. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11605. "type": "integer"
  11606. },
  11607. "buyorsell": {
  11608. "description": "方向 - 0:买 1:卖",
  11609. "type": "integer"
  11610. },
  11611. "charge": {
  11612. "description": "手续费",
  11613. "type": "number"
  11614. },
  11615. "closecharge": {
  11616. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11617. "type": "number"
  11618. },
  11619. "closeexchagechargevalue": {
  11620. "description": "平仓交易所手续费设置值",
  11621. "type": "number"
  11622. },
  11623. "closefeealgorithm": {
  11624. "description": "平仓手续费收取方式 1:比率 2:固定",
  11625. "type": "integer"
  11626. },
  11627. "closememberchargevalue": {
  11628. "description": "平仓会员手续费设置值",
  11629. "type": "number"
  11630. },
  11631. "closepl": {
  11632. "description": "平仓盈亏",
  11633. "type": "number"
  11634. },
  11635. "closepl2": {
  11636. "description": "平仓盈亏[逐笔]",
  11637. "type": "number"
  11638. },
  11639. "closeqty": {
  11640. "description": "平仓数量(先建后平操作 需要记录)",
  11641. "type": "integer"
  11642. },
  11643. "creditamount": {
  11644. "description": "授信金额",
  11645. "type": "number"
  11646. },
  11647. "gcaccountid": {
  11648. "description": "账户ID[合约币种]",
  11649. "type": "integer"
  11650. },
  11651. "goodscode": {
  11652. "description": "商品代码",
  11653. "type": "string"
  11654. },
  11655. "goodsid": {
  11656. "description": "商品ID",
  11657. "type": "integer"
  11658. },
  11659. "goodsname": {
  11660. "description": "商品名称",
  11661. "type": "string"
  11662. },
  11663. "intclosepl": {
  11664. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11665. "type": "integer"
  11666. },
  11667. "isconfirmexercise": {
  11668. "description": "是否确认行权- 0:否 1:是",
  11669. "type": "integer"
  11670. },
  11671. "ismain": {
  11672. "description": "是否主单 - 0:不是 1:是",
  11673. "type": "integer"
  11674. },
  11675. "ispreexercise": {
  11676. "description": "是否预申报- 0:否 1:是",
  11677. "type": "integer"
  11678. },
  11679. "isreckoned": {
  11680. "description": "是否结算 - 0:未结算 1:已结算",
  11681. "type": "integer"
  11682. },
  11683. "listingselecttype": {
  11684. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11685. "type": "integer"
  11686. },
  11687. "marketid": {
  11688. "description": "市场ID",
  11689. "type": "integer"
  11690. },
  11691. "marketname": {
  11692. "description": "市场名称",
  11693. "type": "string"
  11694. },
  11695. "matchaccountid": {
  11696. "description": "对手账号id",
  11697. "type": "integer"
  11698. },
  11699. "memberuserid": {
  11700. "description": "会员id 个人投资者 需要填写",
  11701. "type": "integer"
  11702. },
  11703. "opencharge": {
  11704. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11705. "type": "number"
  11706. },
  11707. "openexchagechargevalue": {
  11708. "description": "建仓交易所手续费设置值",
  11709. "type": "number"
  11710. },
  11711. "openfeealgorithm": {
  11712. "description": "建仓手续费收取方式 1:比率 2:固定",
  11713. "type": "integer"
  11714. },
  11715. "openmemberchargevalue": {
  11716. "description": "建仓会员手续费设置值",
  11717. "type": "number"
  11718. },
  11719. "openqty": {
  11720. "description": "开仓数量(先建后平操作 需要记录)",
  11721. "type": "integer"
  11722. },
  11723. "optiontype": {
  11724. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11725. "type": "integer"
  11726. },
  11727. "orderid": {
  11728. "description": "委托单号",
  11729. "type": "string"
  11730. },
  11731. "performanceplanid": {
  11732. "description": "履约计划ID[期权]",
  11733. "type": "integer"
  11734. },
  11735. "performancestatus": {
  11736. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11737. "type": "integer"
  11738. },
  11739. "preexerciseprice": {
  11740. "description": "预申报价格",
  11741. "type": "number"
  11742. },
  11743. "premium": {
  11744. "description": "权利金 - [持仓单的权利金]",
  11745. "type": "number"
  11746. },
  11747. "relatedouttradeid": {
  11748. "description": "关联外部成交单ID",
  11749. "type": "integer"
  11750. },
  11751. "status": {
  11752. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11753. "type": "integer"
  11754. },
  11755. "tradeamount": {
  11756. "description": "成交金额[账户币种,用于所有权]",
  11757. "type": "number"
  11758. },
  11759. "tradedate": {
  11760. "description": "交易日(yyyyMMdd)",
  11761. "type": "string"
  11762. },
  11763. "tradeid": {
  11764. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11765. "type": "string"
  11766. },
  11767. "trademode": {
  11768. "description": "交易模式",
  11769. "type": "integer"
  11770. },
  11771. "tradeprice": {
  11772. "description": "成交价格",
  11773. "type": "number"
  11774. },
  11775. "tradeproperty": {
  11776. "description": "交易属性",
  11777. "type": "integer"
  11778. },
  11779. "tradeqty": {
  11780. "description": "成交数量",
  11781. "type": "integer"
  11782. },
  11783. "tradetime": {
  11784. "description": "成交时间",
  11785. "type": "string"
  11786. },
  11787. "tradetype": {
  11788. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11789. "type": "integer"
  11790. }
  11791. }
  11792. },
  11793. "order.QueryTradeOrderDetailRsp": {
  11794. "type": "object",
  11795. "required": [
  11796. "accountid",
  11797. "buildtype",
  11798. "buyorsell",
  11799. "goodsid",
  11800. "marketid",
  11801. "operatetype",
  11802. "orderqty",
  11803. "ordertime",
  11804. "pricemode",
  11805. "tradedate",
  11806. "validtype"
  11807. ],
  11808. "properties": {
  11809. "accountid": {
  11810. "description": "账户ID[报价币种]",
  11811. "type": "integer"
  11812. },
  11813. "buildtype": {
  11814. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11815. "type": "integer"
  11816. },
  11817. "buyorsell": {
  11818. "description": "买卖 - 0:买 1:卖",
  11819. "type": "integer"
  11820. },
  11821. "cancelorderid": {
  11822. "description": "撤单单号(撤单时填写)",
  11823. "type": "string"
  11824. },
  11825. "cancelqty": {
  11826. "description": "撤单数量",
  11827. "type": "integer"
  11828. },
  11829. "clienttype": {
  11830. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11831. "type": "integer"
  11832. },
  11833. "closefreezecharge": {
  11834. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11835. "type": "number"
  11836. },
  11837. "closeqty": {
  11838. "description": "平仓数量(先建后平操作 需要记录)",
  11839. "type": "integer"
  11840. },
  11841. "closetradeqty": {
  11842. "description": "平仓成交数量(先建后平操作,需要记录)",
  11843. "type": "integer"
  11844. },
  11845. "closeunfreezecharge": {
  11846. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11847. "type": "number"
  11848. },
  11849. "delistingtype": {
  11850. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11851. "type": "integer"
  11852. },
  11853. "enableqty": {
  11854. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  11855. "type": "integer"
  11856. },
  11857. "freezecharge": {
  11858. "description": "冻结手续费",
  11859. "type": "number"
  11860. },
  11861. "freezemargin": {
  11862. "description": "冻结保证金(冻结交易金额)",
  11863. "type": "number"
  11864. },
  11865. "goodscode": {
  11866. "description": "商品代码",
  11867. "type": "string"
  11868. },
  11869. "goodsid": {
  11870. "description": "商品ID",
  11871. "type": "integer"
  11872. },
  11873. "goodsname": {
  11874. "description": "商品名称",
  11875. "type": "string"
  11876. },
  11877. "listingselecttype": {
  11878. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11879. "type": "integer"
  11880. },
  11881. "marketid": {
  11882. "description": "市场ID",
  11883. "type": "integer"
  11884. },
  11885. "marketname": {
  11886. "description": "市场名称",
  11887. "type": "string"
  11888. },
  11889. "openfreezecharge": {
  11890. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11891. "type": "number"
  11892. },
  11893. "openqty": {
  11894. "description": "开仓数量(先建后平操作,需要记录)",
  11895. "type": "integer"
  11896. },
  11897. "opentradeqty": {
  11898. "description": "开仓成交数量(先建后平操作,需要记录)",
  11899. "type": "integer"
  11900. },
  11901. "openunfreezecharge": {
  11902. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11903. "type": "number"
  11904. },
  11905. "operatetype": {
  11906. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11907. "type": "integer"
  11908. },
  11909. "operatorid": {
  11910. "description": "登录账号(LoginID)",
  11911. "type": "integer"
  11912. },
  11913. "orderid": {
  11914. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11915. "type": "string"
  11916. },
  11917. "orderprice": {
  11918. "description": "委托价格",
  11919. "type": "number"
  11920. },
  11921. "orderqty": {
  11922. "description": "委托数量",
  11923. "type": "integer"
  11924. },
  11925. "ordersrc": {
  11926. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11927. "type": "integer"
  11928. },
  11929. "orderstatus": {
  11930. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11931. "type": "integer"
  11932. },
  11933. "ordertime": {
  11934. "description": "委托时间",
  11935. "type": "string"
  11936. },
  11937. "preorderid": {
  11938. "description": "关联预埋单号(止盈止损单时填写)",
  11939. "type": "string"
  11940. },
  11941. "pricemode": {
  11942. "description": "取价方式 - 1:市价 2: 限价",
  11943. "type": "integer"
  11944. },
  11945. "relatedid": {
  11946. "description": "关联单号(交割单)",
  11947. "type": "string"
  11948. },
  11949. "tradedate": {
  11950. "description": "交易日(yyyyMMdd)",
  11951. "type": "string"
  11952. },
  11953. "trademode": {
  11954. "description": "交易模式",
  11955. "type": "integer"
  11956. },
  11957. "tradeqty": {
  11958. "description": "成交数量",
  11959. "type": "integer"
  11960. },
  11961. "unfreezecharge": {
  11962. "description": "解冻手续费",
  11963. "type": "number"
  11964. },
  11965. "unfreezemargin": {
  11966. "description": "解冻保证金",
  11967. "type": "number"
  11968. },
  11969. "validtime": {
  11970. "description": "有效期限",
  11971. "type": "string"
  11972. },
  11973. "validtype": {
  11974. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11975. "type": "integer"
  11976. },
  11977. "volumetype": {
  11978. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11979. "type": "integer"
  11980. }
  11981. }
  11982. },
  11983. "order.QueryTradePositionRsp": {
  11984. "type": "object",
  11985. "required": [
  11986. "goodsid"
  11987. ],
  11988. "properties": {
  11989. "accountid": {
  11990. "description": "资金账户",
  11991. "type": "integer"
  11992. },
  11993. "agreeunit": {
  11994. "description": "合约单位",
  11995. "type": "number"
  11996. },
  11997. "averageprice": {
  11998. "description": "持仓均价",
  11999. "type": "number"
  12000. },
  12001. "buyorsell": {
  12002. "description": "方向 - 0:买 1:卖",
  12003. "type": "integer"
  12004. },
  12005. "closetotalqty": {
  12006. "description": "平仓总数量",
  12007. "type": "integer"
  12008. },
  12009. "curholderamount": {
  12010. "description": "当前持仓总金额[商品币种]",
  12011. "type": "number"
  12012. },
  12013. "curpositionqty": {
  12014. "description": "当前持仓总数量",
  12015. "type": "integer"
  12016. },
  12017. "currencyid": {
  12018. "description": "报价货币ID",
  12019. "type": "integer"
  12020. },
  12021. "curtdposition": {
  12022. "description": "期末今日头寸",
  12023. "type": "integer"
  12024. },
  12025. "decimalplace": {
  12026. "description": "报价小数位",
  12027. "type": "integer"
  12028. },
  12029. "enableqty": {
  12030. "description": "可用量",
  12031. "type": "integer"
  12032. },
  12033. "fretdposition": {
  12034. "description": "冻结今日头寸",
  12035. "type": "integer"
  12036. },
  12037. "frozenqty": {
  12038. "description": "持仓冻结数量",
  12039. "type": "integer"
  12040. },
  12041. "goodscode": {
  12042. "description": "商品代码",
  12043. "type": "string"
  12044. },
  12045. "goodsid": {
  12046. "description": "商品Id",
  12047. "type": "integer"
  12048. },
  12049. "goodsname": {
  12050. "description": "商品名称",
  12051. "type": "string"
  12052. },
  12053. "goodunit": {
  12054. "description": "报价单位",
  12055. "type": "string"
  12056. },
  12057. "goodunitid": {
  12058. "description": "报价单位ID",
  12059. "type": "integer"
  12060. },
  12061. "holderamount": {
  12062. "description": "期初持仓总金额[商品币种]",
  12063. "type": "number"
  12064. },
  12065. "marketid": {
  12066. "description": "所属市场ID",
  12067. "type": "integer"
  12068. },
  12069. "openreqqty": {
  12070. "description": "开仓申请数量(用于比较最大持仓数量)",
  12071. "type": "integer"
  12072. },
  12073. "opentotalqty": {
  12074. "description": "开仓总数量",
  12075. "type": "integer"
  12076. },
  12077. "otherfrozenqty": {
  12078. "description": "持仓其他冻结数量(交割冻结)",
  12079. "type": "integer"
  12080. },
  12081. "positionqty": {
  12082. "description": "期初持仓数量",
  12083. "type": "integer"
  12084. },
  12085. "tnqty": {
  12086. "description": "T+N冻结总量",
  12087. "type": "integer"
  12088. },
  12089. "tnusedqty": {
  12090. "description": "T+N使用量(可以使用T+N的冻结数量)",
  12091. "type": "integer"
  12092. },
  12093. "trademode": {
  12094. "description": "交易模式",
  12095. "type": "integer"
  12096. },
  12097. "usedmargin": {
  12098. "description": "占用保证金[商品币种]",
  12099. "type": "number"
  12100. }
  12101. }
  12102. },
  12103. "quote.HistoryData": {
  12104. "type": "object",
  12105. "properties": {
  12106. "c": {
  12107. "description": "收盘价",
  12108. "type": "number"
  12109. },
  12110. "h": {
  12111. "description": "最高价",
  12112. "type": "number"
  12113. },
  12114. "hv": {
  12115. "description": "持仓量",
  12116. "type": "integer"
  12117. },
  12118. "l": {
  12119. "description": "最低价",
  12120. "type": "number"
  12121. },
  12122. "o": {
  12123. "description": "开盘价",
  12124. "type": "number"
  12125. },
  12126. "s": {
  12127. "description": "结算价,日线周期(包括)以上才有",
  12128. "type": "number"
  12129. },
  12130. "ts": {
  12131. "description": "时间",
  12132. "type": "string"
  12133. },
  12134. "tt": {
  12135. "description": "总金额",
  12136. "type": "number"
  12137. },
  12138. "tv": {
  12139. "description": "总量",
  12140. "type": "integer"
  12141. }
  12142. }
  12143. },
  12144. "quote.QueryTSDataRsp": {
  12145. "type": "object",
  12146. "properties": {
  12147. "decimalPlace": {
  12148. "description": "小数位",
  12149. "type": "integer"
  12150. },
  12151. "endTime": {
  12152. "description": "结束时间",
  12153. "type": "string"
  12154. },
  12155. "goodsCode": {
  12156. "description": "商品代码",
  12157. "type": "string"
  12158. },
  12159. "historyDatas": {
  12160. "description": "历史数据",
  12161. "type": "array",
  12162. "items": {
  12163. "$ref": "#/definitions/quote.HistoryData"
  12164. }
  12165. },
  12166. "preSettle": {
  12167. "description": "昨结",
  12168. "type": "number"
  12169. },
  12170. "startTime": {
  12171. "description": "开始时间",
  12172. "type": "string"
  12173. },
  12174. "tradeDate": {
  12175. "description": "交易日",
  12176. "type": "string"
  12177. }
  12178. }
  12179. },
  12180. "szdz.QueryConvertLogRsp": {
  12181. "type": "object",
  12182. "required": [
  12183. "logid"
  12184. ],
  12185. "properties": {
  12186. "accountid": {
  12187. "description": "资金账户ID",
  12188. "type": "integer"
  12189. },
  12190. "clientticket": {
  12191. "description": "客户端流水号",
  12192. "type": "string"
  12193. },
  12194. "converttype": {
  12195. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  12196. "type": "integer"
  12197. },
  12198. "createtime": {
  12199. "description": "记账时间",
  12200. "type": "string"
  12201. },
  12202. "daymaxvalue": {
  12203. "description": "配置当日最大转入限制",
  12204. "type": "number"
  12205. },
  12206. "daymaxvalue2": {
  12207. "description": "配置当日最大转入限制(转入)",
  12208. "type": "number"
  12209. },
  12210. "goodscode": {
  12211. "description": "商品代码",
  12212. "type": "string"
  12213. },
  12214. "goodsname": {
  12215. "description": "商品名称",
  12216. "type": "string"
  12217. },
  12218. "handlestatus": {
  12219. "description": "处理状态",
  12220. "type": "integer"
  12221. },
  12222. "innergoodsid": {
  12223. "description": "内部商品ID",
  12224. "type": "integer"
  12225. },
  12226. "inratio": {
  12227. "description": "配置转入比值",
  12228. "type": "integer"
  12229. },
  12230. "invalue": {
  12231. "description": "目标值",
  12232. "type": "number"
  12233. },
  12234. "logid": {
  12235. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12236. "type": "integer"
  12237. },
  12238. "mobile": {
  12239. "description": "手机号码(加密存储)",
  12240. "type": "string"
  12241. },
  12242. "outergoodscode": {
  12243. "description": "外部商品代码[JD\\PD]",
  12244. "type": "string"
  12245. },
  12246. "outratio": {
  12247. "description": "配置转出比值",
  12248. "type": "integer"
  12249. },
  12250. "outvalue": {
  12251. "description": "源值",
  12252. "type": "number"
  12253. },
  12254. "pddecimalplace": {
  12255. "description": "PD小数位",
  12256. "type": "integer"
  12257. },
  12258. "qty": {
  12259. "description": "数量",
  12260. "type": "string"
  12261. },
  12262. "remark": {
  12263. "description": "备注",
  12264. "type": "string"
  12265. },
  12266. "sessionid": {
  12267. "description": "会话ID",
  12268. "type": "integer"
  12269. },
  12270. "timemaxvalue": {
  12271. "description": "配置单次最大转入限制",
  12272. "type": "number"
  12273. },
  12274. "timemaxvalue2": {
  12275. "description": "配置单次最大转入限制(转入)",
  12276. "type": "number"
  12277. },
  12278. "timeminvalue": {
  12279. "description": "配置单次最小数量限制",
  12280. "type": "number"
  12281. },
  12282. "timeminvalue2": {
  12283. "description": "配置单次最小数量限制(转入)",
  12284. "type": "number"
  12285. },
  12286. "tradedate": {
  12287. "description": "交易日(yyyyMMdd)",
  12288. "type": "string"
  12289. },
  12290. "userid": {
  12291. "description": "用户ID",
  12292. "type": "integer"
  12293. }
  12294. }
  12295. },
  12296. "szdz.QueryGoodsPickupRsp": {
  12297. "type": "object",
  12298. "required": [
  12299. "takeorderid"
  12300. ],
  12301. "properties": {
  12302. "accountid": {
  12303. "description": "账户ID",
  12304. "type": "integer"
  12305. },
  12306. "address": {
  12307. "description": "提货人详细地址",
  12308. "type": "string"
  12309. },
  12310. "auditer": {
  12311. "description": "审核人",
  12312. "type": "integer"
  12313. },
  12314. "audittime": {
  12315. "description": "审核时间",
  12316. "type": "string"
  12317. },
  12318. "cardnum": {
  12319. "description": "提货人证件号码",
  12320. "type": "string"
  12321. },
  12322. "cardtypeid": {
  12323. "description": "提货人证件类型",
  12324. "type": "integer"
  12325. },
  12326. "checkremark": {
  12327. "description": "审核备注",
  12328. "type": "string"
  12329. },
  12330. "goodscode": {
  12331. "description": "商品代码",
  12332. "type": "string"
  12333. },
  12334. "goodsid": {
  12335. "description": "商品ID",
  12336. "type": "integer"
  12337. },
  12338. "goodsname": {
  12339. "description": "商品名称",
  12340. "type": "string"
  12341. },
  12342. "handlestatus": {
  12343. "description": "处理状态",
  12344. "type": "integer"
  12345. },
  12346. "marketid": {
  12347. "description": "市场ID",
  12348. "type": "integer"
  12349. },
  12350. "phonenum": {
  12351. "description": "提货人联系方式",
  12352. "type": "string"
  12353. },
  12354. "qty": {
  12355. "description": "提货数量",
  12356. "type": "number"
  12357. },
  12358. "recivername": {
  12359. "description": "提货人姓名",
  12360. "type": "string"
  12361. },
  12362. "reqtime": {
  12363. "description": "更新时间",
  12364. "type": "string"
  12365. },
  12366. "takemode": {
  12367. "description": "提货方式 - 2:自提 3:配送",
  12368. "type": "integer"
  12369. },
  12370. "takeorderid": {
  12371. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12372. "type": "string"
  12373. },
  12374. "takeorderstatus": {
  12375. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12376. "type": "integer"
  12377. },
  12378. "takeremark": {
  12379. "description": "提货备注",
  12380. "type": "string"
  12381. },
  12382. "tradedate": {
  12383. "description": "交易日(yyyyMMdd)",
  12384. "type": "string"
  12385. },
  12386. "userid": {
  12387. "description": "用户ID",
  12388. "type": "integer"
  12389. }
  12390. }
  12391. },
  12392. "szdz.QueryRecieptOrderRsp": {
  12393. "type": "object",
  12394. "required": [
  12395. "ordertime"
  12396. ],
  12397. "properties": {
  12398. "accountName": {
  12399. "description": "所属账号名称(已脱敏)",
  12400. "type": "string"
  12401. },
  12402. "accountid": {
  12403. "description": "资金账号",
  12404. "type": "integer"
  12405. },
  12406. "buyorsell": {
  12407. "description": "方向 - 0:买 1:卖",
  12408. "type": "integer"
  12409. },
  12410. "enableqty": {
  12411. "description": "可摘数量",
  12412. "type": "integer"
  12413. },
  12414. "goodscode": {
  12415. "description": "商品代码",
  12416. "type": "string"
  12417. },
  12418. "goodsid": {
  12419. "description": "商品ID",
  12420. "type": "integer"
  12421. },
  12422. "goodsname": {
  12423. "description": "商品名称",
  12424. "type": "string"
  12425. },
  12426. "orderid": {
  12427. "description": "委托单号",
  12428. "type": "string"
  12429. },
  12430. "orderprice": {
  12431. "description": "委托价格",
  12432. "type": "number"
  12433. },
  12434. "ordertime": {
  12435. "description": "委托时间",
  12436. "type": "string"
  12437. },
  12438. "tradedate": {
  12439. "description": "交易日(yyyyMMdd)",
  12440. "type": "string"
  12441. }
  12442. }
  12443. },
  12444. "szdz.QuerySZDZTradePositionRsp": {
  12445. "type": "object",
  12446. "properties": {
  12447. "accountid": {
  12448. "description": "账号Id",
  12449. "type": "integer"
  12450. },
  12451. "agreeunit": {
  12452. "description": "合约单位",
  12453. "type": "number"
  12454. },
  12455. "averageprice": {
  12456. "description": "持仓均价",
  12457. "type": "number"
  12458. },
  12459. "buyorsell": {
  12460. "description": "方向 - 0:买 1:卖",
  12461. "type": "integer"
  12462. },
  12463. "closetotalqty": {
  12464. "description": "平仓总数量",
  12465. "type": "integer"
  12466. },
  12467. "curholderamount": {
  12468. "description": "当前持仓总金额",
  12469. "type": "number"
  12470. },
  12471. "curpositionqty": {
  12472. "description": "当前持仓总数量",
  12473. "type": "integer"
  12474. },
  12475. "currencyid": {
  12476. "description": "报价货币ID",
  12477. "type": "integer"
  12478. },
  12479. "curtdposition": {
  12480. "description": "期末今日头寸",
  12481. "type": "integer"
  12482. },
  12483. "decimalplace": {
  12484. "description": "报价小数位",
  12485. "type": "integer"
  12486. },
  12487. "enableqty": {
  12488. "description": "可用量",
  12489. "type": "integer"
  12490. },
  12491. "fretdposition": {
  12492. "description": "冻结今日头寸",
  12493. "type": "integer"
  12494. },
  12495. "frozenqty": {
  12496. "description": "持仓冻结数量",
  12497. "type": "integer"
  12498. },
  12499. "goodscode": {
  12500. "description": "商品代码(内部)",
  12501. "type": "string"
  12502. },
  12503. "goodsid": {
  12504. "description": "商品Id",
  12505. "type": "integer"
  12506. },
  12507. "goodsname": {
  12508. "description": "商品名称",
  12509. "type": "string"
  12510. },
  12511. "goodunit": {
  12512. "description": "报价单位",
  12513. "type": "string"
  12514. },
  12515. "goodunitid": {
  12516. "description": "报价单位ID",
  12517. "type": "integer"
  12518. },
  12519. "holderamount": {
  12520. "description": "期初持仓总金额",
  12521. "type": "number"
  12522. },
  12523. "marketid": {
  12524. "description": "市场ID",
  12525. "type": "integer"
  12526. },
  12527. "openreqqty": {
  12528. "description": "开仓申请数量",
  12529. "type": "integer"
  12530. },
  12531. "opentotalqty": {
  12532. "description": "开仓总数量",
  12533. "type": "integer"
  12534. },
  12535. "otherfrozenqty": {
  12536. "description": "持仓其他冻结数量(交割冻结)",
  12537. "type": "integer"
  12538. },
  12539. "positionqty": {
  12540. "description": "期初持仓数量",
  12541. "type": "integer"
  12542. },
  12543. "szdz3freezqty": {
  12544. "description": "尚志大宗转换冻结总数量",
  12545. "type": "integer"
  12546. },
  12547. "tnqty": {
  12548. "description": "T+N冻结总量",
  12549. "type": "integer"
  12550. },
  12551. "tnusedqty": {
  12552. "description": "T+N使用量",
  12553. "type": "integer"
  12554. },
  12555. "trademode": {
  12556. "description": "交易模式",
  12557. "type": "integer"
  12558. },
  12559. "usedmargin": {
  12560. "description": "占用保证金",
  12561. "type": "number"
  12562. }
  12563. }
  12564. },
  12565. "taaccount.QueryAmountLogRsp": {
  12566. "type": "object",
  12567. "required": [
  12568. "accountid",
  12569. "amount",
  12570. "amountadjusttype",
  12571. "autoid",
  12572. "balance",
  12573. "createtime",
  12574. "currentbalance",
  12575. "operatetype"
  12576. ],
  12577. "properties": {
  12578. "OPERATETYPENAME": {
  12579. "description": "资金操作类型名称",
  12580. "type": "string"
  12581. },
  12582. "accountid": {
  12583. "description": "资金账户ID",
  12584. "type": "integer"
  12585. },
  12586. "agoodscode": {
  12587. "description": "竞拍商品代码",
  12588. "type": "string"
  12589. },
  12590. "agoodsname": {
  12591. "description": "竞拍商品名称",
  12592. "type": "string"
  12593. },
  12594. "amount": {
  12595. "description": "资金金额",
  12596. "type": "number"
  12597. },
  12598. "amountadjusttype": {
  12599. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12600. "type": "integer"
  12601. },
  12602. "autoid": {
  12603. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12604. "type": "integer"
  12605. },
  12606. "balance": {
  12607. "description": "期初余额",
  12608. "type": "number"
  12609. },
  12610. "businesscode": {
  12611. "description": "业务编号",
  12612. "type": "integer"
  12613. },
  12614. "createtime": {
  12615. "description": "发生时间",
  12616. "type": "string"
  12617. },
  12618. "currencyid": {
  12619. "description": "币种ID",
  12620. "type": "integer"
  12621. },
  12622. "currentbalance": {
  12623. "description": "期末余额(变动后金额)",
  12624. "type": "number"
  12625. },
  12626. "dgoodscode": {
  12627. "description": "交割商品代码",
  12628. "type": "string"
  12629. },
  12630. "dgoodsname": {
  12631. "description": "交割商品名称",
  12632. "type": "string"
  12633. },
  12634. "goodscode": {
  12635. "description": "商品代码",
  12636. "type": "string"
  12637. },
  12638. "goodsid": {
  12639. "description": "商品ID",
  12640. "type": "integer"
  12641. },
  12642. "goodsname": {
  12643. "description": "商品名称",
  12644. "type": "string"
  12645. },
  12646. "marketid": {
  12647. "description": "市场ID",
  12648. "type": "integer"
  12649. },
  12650. "marketname": {
  12651. "description": "市场名称",
  12652. "type": "string"
  12653. },
  12654. "moneyticket": {
  12655. "description": "资金流水号:银行端流水号",
  12656. "type": "integer"
  12657. },
  12658. "operatetype": {
  12659. "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:营销收款",
  12660. "type": "integer"
  12661. },
  12662. "relationorderid": {
  12663. "description": "关联单号",
  12664. "type": "string"
  12665. },
  12666. "remark": {
  12667. "description": "备注",
  12668. "type": "string"
  12669. },
  12670. "trademode": {
  12671. "description": "交易模式",
  12672. "type": "integer"
  12673. }
  12674. }
  12675. },
  12676. "taaccount.QueryHisAmountLogRsp": {
  12677. "type": "object",
  12678. "required": [
  12679. "accountid",
  12680. "amount",
  12681. "amountadjusttype",
  12682. "autoid",
  12683. "balance",
  12684. "createtime",
  12685. "currentbalance",
  12686. "histradedate",
  12687. "operatetype"
  12688. ],
  12689. "properties": {
  12690. "OPERATETYPENAME": {
  12691. "description": "资金操作类型名称",
  12692. "type": "string"
  12693. },
  12694. "accountid": {
  12695. "description": "资金账户ID",
  12696. "type": "integer"
  12697. },
  12698. "agoodscode": {
  12699. "description": "竞拍商品代码",
  12700. "type": "string"
  12701. },
  12702. "agoodsname": {
  12703. "description": "竞拍商品名称",
  12704. "type": "string"
  12705. },
  12706. "amount": {
  12707. "description": "资金金额",
  12708. "type": "number"
  12709. },
  12710. "amountadjusttype": {
  12711. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12712. "type": "integer"
  12713. },
  12714. "autoid": {
  12715. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12716. "type": "integer"
  12717. },
  12718. "balance": {
  12719. "description": "期初余额",
  12720. "type": "number"
  12721. },
  12722. "businesscode": {
  12723. "description": "业务编号",
  12724. "type": "integer"
  12725. },
  12726. "createtime": {
  12727. "description": "发生时间",
  12728. "type": "string"
  12729. },
  12730. "currencyid": {
  12731. "description": "币种ID",
  12732. "type": "integer"
  12733. },
  12734. "currentbalance": {
  12735. "description": "期末余额(变动后金额)",
  12736. "type": "number"
  12737. },
  12738. "dgoodscode": {
  12739. "description": "交割商品代码",
  12740. "type": "string"
  12741. },
  12742. "dgoodsname": {
  12743. "description": "交割商品名称",
  12744. "type": "string"
  12745. },
  12746. "goodscode": {
  12747. "description": "商品代码",
  12748. "type": "string"
  12749. },
  12750. "goodsid": {
  12751. "description": "商品ID",
  12752. "type": "integer"
  12753. },
  12754. "goodsname": {
  12755. "description": "商品名称",
  12756. "type": "string"
  12757. },
  12758. "histradedate": {
  12759. "description": "历史交易日",
  12760. "type": "string"
  12761. },
  12762. "isvaliddata": {
  12763. "description": "是否有效 - 0:无效 1:有效",
  12764. "type": "integer"
  12765. },
  12766. "marketid": {
  12767. "description": "市场ID",
  12768. "type": "integer"
  12769. },
  12770. "marketname": {
  12771. "description": "市场名称",
  12772. "type": "string"
  12773. },
  12774. "moneyticket": {
  12775. "description": "资金流水号:银行端流水号",
  12776. "type": "integer"
  12777. },
  12778. "operatetype": {
  12779. "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:营销收款",
  12780. "type": "integer"
  12781. },
  12782. "relationorderid": {
  12783. "description": "关联单号",
  12784. "type": "string"
  12785. },
  12786. "remark": {
  12787. "description": "备注",
  12788. "type": "string"
  12789. },
  12790. "trademode": {
  12791. "description": "交易模式",
  12792. "type": "integer"
  12793. }
  12794. }
  12795. },
  12796. "trade.QueryRecieptOrderRsp": {
  12797. "type": "object",
  12798. "required": [
  12799. "ordertime"
  12800. ],
  12801. "properties": {
  12802. "accountName": {
  12803. "description": "所属账号名称(已脱敏)",
  12804. "type": "string"
  12805. },
  12806. "accountid": {
  12807. "description": "资金账号",
  12808. "type": "integer"
  12809. },
  12810. "buyorsell": {
  12811. "description": "方向 - 0:买 1:卖",
  12812. "type": "integer"
  12813. },
  12814. "enableqty": {
  12815. "description": "可摘数量",
  12816. "type": "integer"
  12817. },
  12818. "goodscode": {
  12819. "description": "商品代码",
  12820. "type": "string"
  12821. },
  12822. "goodsid": {
  12823. "description": "商品ID",
  12824. "type": "integer"
  12825. },
  12826. "goodsname": {
  12827. "description": "商品名称",
  12828. "type": "string"
  12829. },
  12830. "orderid": {
  12831. "description": "委托单号",
  12832. "type": "string"
  12833. },
  12834. "orderprice": {
  12835. "description": "委托价格",
  12836. "type": "number"
  12837. },
  12838. "ordertime": {
  12839. "description": "委托时间",
  12840. "type": "string"
  12841. },
  12842. "tradedate": {
  12843. "description": "交易日(yyyyMMdd)",
  12844. "type": "string"
  12845. }
  12846. }
  12847. }
  12848. },
  12849. "securityDefinitions": {
  12850. "ApiKeyAuth": {
  12851. "type": "apiKey",
  12852. "name": "Authorization",
  12853. "in": "header"
  12854. }
  12855. }
  12856. }`
  12857. type swaggerInfo struct {
  12858. Version string
  12859. Host string
  12860. BasePath string
  12861. Schemes []string
  12862. Title string
  12863. Description string
  12864. }
  12865. // SwaggerInfo holds exported Swagger Info so clients can modify it
  12866. var SwaggerInfo = swaggerInfo{
  12867. Version: "1.0",
  12868. Host: "",
  12869. BasePath: "/api",
  12870. Schemes: []string{},
  12871. Title: "MTP2.0 查询服务 API",
  12872. Description: "新的查询服务,替代原通用查询服务。",
  12873. }
  12874. type s struct{}
  12875. func (s *s) ReadDoc() string {
  12876. sInfo := SwaggerInfo
  12877. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  12878. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  12879. "marshal": func(v interface{}) string {
  12880. a, _ := json.Marshal(v)
  12881. return string(a)
  12882. },
  12883. }).Parse(doc)
  12884. if err != nil {
  12885. return doc
  12886. }
  12887. var tpl bytes.Buffer
  12888. if err := t.Execute(&tpl, sInfo); err != nil {
  12889. return doc
  12890. }
  12891. return tpl.String()
  12892. }
  12893. func init() {
  12894. swag.Register(swag.Name, &s{})
  12895. }