docs.go 456 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "responses": {
  378. "200": {
  379. "description": "OK",
  380. "schema": {
  381. "$ref": "#/definitions/models.Enumdicitem"
  382. }
  383. },
  384. "500": {
  385. "description": "Internal Server Error",
  386. "schema": {
  387. "$ref": "#/definitions/app.Response"
  388. }
  389. }
  390. }
  391. }
  392. },
  393. "/Common/GetServerTime": {
  394. "get": {
  395. "produces": [
  396. "application/json"
  397. ],
  398. "tags": [
  399. "通用服务"
  400. ],
  401. "summary": "获取服务器时间",
  402. "responses": {
  403. "200": {
  404. "description": "OK",
  405. "schema": {
  406. "$ref": "#/definitions/app.Response"
  407. }
  408. },
  409. "500": {
  410. "description": "Internal Server Error",
  411. "schema": {
  412. "$ref": "#/definitions/app.Response"
  413. }
  414. }
  415. }
  416. }
  417. },
  418. "/Common/NoticeReaded": {
  419. "post": {
  420. "security": [
  421. {
  422. "ApiKeyAuth": []
  423. }
  424. ],
  425. "produces": [
  426. "application/json"
  427. ],
  428. "tags": [
  429. "通用服务"
  430. ],
  431. "summary": "通知公告设置已读请求",
  432. "parameters": [
  433. {
  434. "type": "integer",
  435. "description": "登录账号",
  436. "name": "loginID",
  437. "in": "query",
  438. "required": true
  439. },
  440. {
  441. "type": "integer",
  442. "description": "通知公告ID",
  443. "name": "noticeID",
  444. "in": "query",
  445. "required": true
  446. }
  447. ],
  448. "responses": {
  449. "200": {
  450. "description": "OK",
  451. "schema": {
  452. "$ref": "#/definitions/app.Response"
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/QueryImageConfigs": {
  465. "get": {
  466. "produces": [
  467. "application/json"
  468. ],
  469. "tags": [
  470. "通用服务"
  471. ],
  472. "summary": "查询轮播图配置信息",
  473. "parameters": [
  474. {
  475. "type": "integer",
  476. "description": "类型 - 1:App首页轮播 2:我的",
  477. "name": "imageType",
  478. "in": "query"
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/models.Szdz2imageconfig"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryNotice": {
  498. "get": {
  499. "security": [
  500. {
  501. "ApiKeyAuth": []
  502. }
  503. ],
  504. "produces": [
  505. "application/json"
  506. ],
  507. "tags": [
  508. "通用服务"
  509. ],
  510. "summary": "通知公告系统消息查询",
  511. "parameters": [
  512. {
  513. "type": "integer",
  514. "description": "页码",
  515. "name": "page",
  516. "in": "query"
  517. },
  518. {
  519. "type": "integer",
  520. "description": "每页条数",
  521. "name": "pagesize",
  522. "in": "query"
  523. },
  524. {
  525. "type": "integer",
  526. "description": "登录账号",
  527. "name": "loginID",
  528. "in": "query",
  529. "required": true
  530. },
  531. {
  532. "type": "integer",
  533. "description": "消息类型 - 1:公告通知 2:系统消息",
  534. "name": "msgType",
  535. "in": "query"
  536. },
  537. {
  538. "type": "boolean",
  539. "description": "是否只获取未读信息",
  540. "name": "onlyUnRead",
  541. "in": "query"
  542. }
  543. ],
  544. "responses": {
  545. "200": {
  546. "description": "OK",
  547. "schema": {
  548. "$ref": "#/definitions/common.QueryNoticeRsp"
  549. }
  550. },
  551. "500": {
  552. "description": "Internal Server Error",
  553. "schema": {
  554. "$ref": "#/definitions/app.Response"
  555. }
  556. }
  557. }
  558. }
  559. },
  560. "/Common/QueryProvincesAndCities": {
  561. "get": {
  562. "produces": [
  563. "application/json"
  564. ],
  565. "tags": [
  566. "通用服务"
  567. ],
  568. "summary": "查询省市信息(不包括区)",
  569. "parameters": [
  570. {
  571. "type": "integer",
  572. "description": "省ID",
  573. "name": "provinceID",
  574. "in": "query"
  575. }
  576. ],
  577. "responses": {
  578. "200": {
  579. "description": "OK",
  580. "schema": {
  581. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  582. }
  583. },
  584. "500": {
  585. "description": "Internal Server Error",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. }
  590. }
  591. }
  592. },
  593. "/Common/QueryTableDefine": {
  594. "get": {
  595. "produces": [
  596. "application/json"
  597. ],
  598. "tags": [
  599. "通用服务"
  600. ],
  601. "summary": "查询交易端列表头信息",
  602. "parameters": [
  603. {
  604. "type": "string",
  605. "description": "表key",
  606. "name": "tableKey",
  607. "in": "query"
  608. },
  609. {
  610. "type": "integer",
  611. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  612. "name": "tableType",
  613. "in": "query"
  614. }
  615. ],
  616. "responses": {
  617. "200": {
  618. "description": "OK",
  619. "schema": {
  620. "$ref": "#/definitions/common.QueryTableDefineRsp"
  621. }
  622. },
  623. "500": {
  624. "description": "Internal Server Error",
  625. "schema": {
  626. "$ref": "#/definitions/app.Response"
  627. }
  628. }
  629. }
  630. }
  631. },
  632. "/Common/QueryTraderMenu": {
  633. "get": {
  634. "produces": [
  635. "application/json"
  636. ],
  637. "tags": [
  638. "通用服务"
  639. ],
  640. "summary": "查询交易端菜单",
  641. "parameters": [
  642. {
  643. "type": "integer",
  644. "description": "登录账号",
  645. "name": "loginid",
  646. "in": "query",
  647. "required": true
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Delivery/QueryDeliveryRelation": {
  667. "get": {
  668. "security": [
  669. {
  670. "ApiKeyAuth": []
  671. }
  672. ],
  673. "produces": [
  674. "application/json"
  675. ],
  676. "tags": [
  677. "交割服务"
  678. ],
  679. "summary": "查询商品交割关系表",
  680. "parameters": [
  681. {
  682. "type": "integer",
  683. "description": "商品ID",
  684. "name": "goodsid",
  685. "in": "query"
  686. },
  687. {
  688. "type": "integer",
  689. "description": "品种ID",
  690. "name": "deliverygoodsid",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "市场ID",
  696. "name": "marketid",
  697. "in": "query"
  698. }
  699. ],
  700. "responses": {
  701. "200": {
  702. "description": "OK",
  703. "schema": {
  704. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  705. }
  706. },
  707. "500": {
  708. "description": "Internal Server Error",
  709. "schema": {
  710. "$ref": "#/definitions/app.Response"
  711. }
  712. }
  713. }
  714. }
  715. },
  716. "/Ermcp/QueryBusinessDj": {
  717. "get": {
  718. "security": [
  719. {
  720. "ApiKeyAuth": []
  721. }
  722. ],
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "企业风险管理(app)"
  728. ],
  729. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  730. "parameters": [
  731. {
  732. "type": "integer",
  733. "description": "用户ID",
  734. "name": "UserId",
  735. "in": "query",
  736. "required": true
  737. },
  738. {
  739. "type": "string",
  740. "description": "现货合同ID, 不填则查所有",
  741. "name": "relatedid",
  742. "in": "query"
  743. }
  744. ],
  745. "responses": {
  746. "200": {
  747. "description": "OK",
  748. "schema": {
  749. "type": "array",
  750. "items": {
  751. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  752. }
  753. }
  754. },
  755. "500": {
  756. "description": "Internal Server Error",
  757. "schema": {
  758. "$ref": "#/definitions/app.Response"
  759. }
  760. }
  761. }
  762. }
  763. },
  764. "/Ermcp/QueryBusinessFp": {
  765. "get": {
  766. "security": [
  767. {
  768. "ApiKeyAuth": []
  769. }
  770. ],
  771. "produces": [
  772. "application/json"
  773. ],
  774. "tags": [
  775. "企业风险管理(app)"
  776. ],
  777. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  778. "parameters": [
  779. {
  780. "type": "integer",
  781. "description": "用户ID",
  782. "name": "UserId",
  783. "in": "query",
  784. "required": true
  785. },
  786. {
  787. "type": "string",
  788. "description": "现货合同ID, 不填则查所有",
  789. "name": "relatedid",
  790. "in": "query"
  791. }
  792. ],
  793. "responses": {
  794. "200": {
  795. "description": "OK",
  796. "schema": {
  797. "type": "array",
  798. "items": {
  799. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  800. }
  801. }
  802. },
  803. "500": {
  804. "description": "Internal Server Error",
  805. "schema": {
  806. "$ref": "#/definitions/app.Response"
  807. }
  808. }
  809. }
  810. }
  811. },
  812. "/Ermcp/QueryBusinessJs": {
  813. "get": {
  814. "security": [
  815. {
  816. "ApiKeyAuth": []
  817. }
  818. ],
  819. "produces": [
  820. "application/json"
  821. ],
  822. "tags": [
  823. "企业风险管理(app)"
  824. ],
  825. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  826. "parameters": [
  827. {
  828. "type": "integer",
  829. "description": "用户ID",
  830. "name": "UserId",
  831. "in": "query",
  832. "required": true
  833. },
  834. {
  835. "type": "string",
  836. "description": "现货合同ID, 不填则查所有",
  837. "name": "relatedid",
  838. "in": "query"
  839. }
  840. ],
  841. "responses": {
  842. "200": {
  843. "description": "OK",
  844. "schema": {
  845. "type": "array",
  846. "items": {
  847. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  848. }
  849. }
  850. },
  851. "500": {
  852. "description": "Internal Server Error",
  853. "schema": {
  854. "$ref": "#/definitions/app.Response"
  855. }
  856. }
  857. }
  858. }
  859. },
  860. "/Ermcp/QueryBusinessKx": {
  861. "get": {
  862. "security": [
  863. {
  864. "ApiKeyAuth": []
  865. }
  866. ],
  867. "produces": [
  868. "application/json"
  869. ],
  870. "tags": [
  871. "企业风险管理(app)"
  872. ],
  873. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  874. "parameters": [
  875. {
  876. "type": "integer",
  877. "description": "用户ID",
  878. "name": "UserId",
  879. "in": "query",
  880. "required": true
  881. },
  882. {
  883. "type": "string",
  884. "description": "现货合同ID, 不填则查所有",
  885. "name": "relatedid",
  886. "in": "query"
  887. }
  888. ],
  889. "responses": {
  890. "200": {
  891. "description": "OK",
  892. "schema": {
  893. "type": "array",
  894. "items": {
  895. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  896. }
  897. }
  898. },
  899. "500": {
  900. "description": "Internal Server Error",
  901. "schema": {
  902. "$ref": "#/definitions/app.Response"
  903. }
  904. }
  905. }
  906. }
  907. },
  908. "/Ermcp/QueryChangeLog": {
  909. "get": {
  910. "security": [
  911. {
  912. "ApiKeyAuth": []
  913. }
  914. ],
  915. "produces": [
  916. "application/json"
  917. ],
  918. "tags": [
  919. "企业风险管理(app)"
  920. ],
  921. "summary": "查询变更记录",
  922. "parameters": [
  923. {
  924. "type": "string",
  925. "description": "用户ID",
  926. "name": "RelatedId",
  927. "in": "query",
  928. "required": true
  929. }
  930. ],
  931. "responses": {
  932. "200": {
  933. "description": "OK",
  934. "schema": {
  935. "type": "array",
  936. "items": {
  937. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  938. }
  939. }
  940. },
  941. "500": {
  942. "description": "Internal Server Error",
  943. "schema": {
  944. "$ref": "#/definitions/app.Response"
  945. }
  946. }
  947. }
  948. }
  949. },
  950. "/Ermcp/QueryContract": {
  951. "get": {
  952. "security": [
  953. {
  954. "ApiKeyAuth": []
  955. }
  956. ],
  957. "produces": [
  958. "application/json"
  959. ],
  960. "tags": [
  961. "企业风险管理(app)"
  962. ],
  963. "summary": "查询合同(采购和销售)",
  964. "parameters": [
  965. {
  966. "type": "integer",
  967. "description": "用户ID",
  968. "name": "userId",
  969. "in": "query",
  970. "required": true
  971. },
  972. {
  973. "type": "integer",
  974. "description": "合同类型 1-采购, -1-销售",
  975. "name": "contracttype",
  976. "in": "query",
  977. "required": true
  978. },
  979. {
  980. "type": "integer",
  981. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  982. "name": "querytype",
  983. "in": "query",
  984. "required": true
  985. }
  986. ],
  987. "responses": {
  988. "200": {
  989. "description": "OK",
  990. "schema": {
  991. "type": "array",
  992. "items": {
  993. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  994. }
  995. }
  996. },
  997. "500": {
  998. "description": "Internal Server Error",
  999. "schema": {
  1000. "$ref": "#/definitions/app.Response"
  1001. }
  1002. }
  1003. }
  1004. }
  1005. },
  1006. "/Ermcp/QueryHedgePlan": {
  1007. "get": {
  1008. "security": [
  1009. {
  1010. "ApiKeyAuth": []
  1011. }
  1012. ],
  1013. "produces": [
  1014. "application/json"
  1015. ],
  1016. "tags": [
  1017. "企业风险管理(app)"
  1018. ],
  1019. "summary": "查询套保计划",
  1020. "parameters": [
  1021. {
  1022. "type": "integer",
  1023. "description": "用户ID",
  1024. "name": "userId",
  1025. "in": "query",
  1026. "required": true
  1027. },
  1028. {
  1029. "type": "integer",
  1030. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1031. "name": "HedgePlanStatus",
  1032. "in": "query",
  1033. "required": true
  1034. }
  1035. ],
  1036. "responses": {
  1037. "200": {
  1038. "description": "OK",
  1039. "schema": {
  1040. "type": "array",
  1041. "items": {
  1042. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1043. }
  1044. }
  1045. },
  1046. "500": {
  1047. "description": "Internal Server Error",
  1048. "schema": {
  1049. "$ref": "#/definitions/app.Response"
  1050. }
  1051. }
  1052. }
  1053. }
  1054. },
  1055. "/Ermcp/QuerySpotContract": {
  1056. "get": {
  1057. "security": [
  1058. {
  1059. "ApiKeyAuth": []
  1060. }
  1061. ],
  1062. "produces": [
  1063. "application/json"
  1064. ],
  1065. "tags": [
  1066. "企业风险管理(app)"
  1067. ],
  1068. "summary": "查询现货合同(对应现货合同菜单)",
  1069. "parameters": [
  1070. {
  1071. "type": "integer",
  1072. "description": "用户ID",
  1073. "name": "userId",
  1074. "in": "query",
  1075. "required": true
  1076. },
  1077. {
  1078. "type": "integer",
  1079. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1080. "name": "QueryType",
  1081. "in": "query",
  1082. "required": true
  1083. }
  1084. ],
  1085. "responses": {
  1086. "200": {
  1087. "description": "OK",
  1088. "schema": {
  1089. "type": "array",
  1090. "items": {
  1091. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1092. }
  1093. }
  1094. },
  1095. "500": {
  1096. "description": "Internal Server Error",
  1097. "schema": {
  1098. "$ref": "#/definitions/app.Response"
  1099. }
  1100. }
  1101. }
  1102. }
  1103. },
  1104. "/Ermcp/QueryUserInfo": {
  1105. "get": {
  1106. "security": [
  1107. {
  1108. "ApiKeyAuth": []
  1109. }
  1110. ],
  1111. "produces": [
  1112. "application/json"
  1113. ],
  1114. "tags": [
  1115. "企业风险管理(app)"
  1116. ],
  1117. "summary": "查询客户资料",
  1118. "parameters": [
  1119. {
  1120. "type": "integer",
  1121. "description": "所属机构用户ID",
  1122. "name": "MemberUserID",
  1123. "in": "query",
  1124. "required": true
  1125. },
  1126. {
  1127. "type": "integer",
  1128. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1129. "name": "queryType",
  1130. "in": "query",
  1131. "required": true
  1132. }
  1133. ],
  1134. "responses": {
  1135. "200": {
  1136. "description": "OK",
  1137. "schema": {
  1138. "type": "array",
  1139. "items": {
  1140. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1141. }
  1142. }
  1143. },
  1144. "500": {
  1145. "description": "Internal Server Error",
  1146. "schema": {
  1147. "$ref": "#/definitions/app.Response"
  1148. }
  1149. }
  1150. }
  1151. }
  1152. },
  1153. "/Ermcp/QueryWrStandard": {
  1154. "get": {
  1155. "security": [
  1156. {
  1157. "ApiKeyAuth": []
  1158. }
  1159. ],
  1160. "produces": [
  1161. "application/json"
  1162. ],
  1163. "tags": [
  1164. "企业风险管理(app)"
  1165. ],
  1166. "summary": "查询现货商品",
  1167. "parameters": [
  1168. {
  1169. "type": "integer",
  1170. "description": "所属机构ID",
  1171. "name": "userid",
  1172. "in": "query",
  1173. "required": true
  1174. }
  1175. ],
  1176. "responses": {
  1177. "200": {
  1178. "description": "OK",
  1179. "schema": {
  1180. "type": "array",
  1181. "items": {
  1182. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1183. }
  1184. }
  1185. },
  1186. "500": {
  1187. "description": "Internal Server Error",
  1188. "schema": {
  1189. "$ref": "#/definitions/app.Response"
  1190. }
  1191. }
  1192. }
  1193. }
  1194. },
  1195. "/Erms2/QueryArbitrageStrategy": {
  1196. "get": {
  1197. "security": [
  1198. {
  1199. "ApiKeyAuth": []
  1200. }
  1201. ],
  1202. "produces": [
  1203. "application/json"
  1204. ],
  1205. "tags": [
  1206. "风险管理"
  1207. ],
  1208. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1209. "parameters": [
  1210. {
  1211. "type": "integer",
  1212. "description": "账户ID",
  1213. "name": "userid",
  1214. "in": "query",
  1215. "required": true
  1216. },
  1217. {
  1218. "type": "string",
  1219. "description": "商品组ID(品种ID)",
  1220. "name": "goodsgroupid",
  1221. "in": "query"
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1229. }
  1230. },
  1231. "500": {
  1232. "description": "Internal Server Error",
  1233. "schema": {
  1234. "$ref": "#/definitions/app.Response"
  1235. }
  1236. }
  1237. }
  1238. }
  1239. },
  1240. "/Erms2/QueryInnerTradeDetail": {
  1241. "get": {
  1242. "security": [
  1243. {
  1244. "ApiKeyAuth": []
  1245. }
  1246. ],
  1247. "produces": [
  1248. "application/json"
  1249. ],
  1250. "tags": [
  1251. "风险管理"
  1252. ],
  1253. "summary": "查询内部成交单信息",
  1254. "parameters": [
  1255. {
  1256. "type": "integer",
  1257. "description": "资金账户",
  1258. "name": "accountid",
  1259. "in": "query",
  1260. "required": true
  1261. }
  1262. ],
  1263. "responses": {
  1264. "200": {
  1265. "description": "OK",
  1266. "schema": {
  1267. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1268. }
  1269. },
  1270. "500": {
  1271. "description": "Internal Server Error",
  1272. "schema": {
  1273. "$ref": "#/definitions/app.Response"
  1274. }
  1275. }
  1276. }
  1277. }
  1278. },
  1279. "/Erms2/QuerySpotContract": {
  1280. "get": {
  1281. "security": [
  1282. {
  1283. "ApiKeyAuth": []
  1284. }
  1285. ],
  1286. "produces": [
  1287. "application/json"
  1288. ],
  1289. "tags": [
  1290. "风险管理"
  1291. ],
  1292. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1293. "parameters": [
  1294. {
  1295. "type": "integer",
  1296. "description": "策略申请ID",
  1297. "name": "asapplyid",
  1298. "in": "query",
  1299. "required": true
  1300. },
  1301. {
  1302. "type": "integer",
  1303. "description": "现货合同ID",
  1304. "name": "spotcontractid",
  1305. "in": "query"
  1306. }
  1307. ],
  1308. "responses": {
  1309. "200": {
  1310. "description": "OK",
  1311. "schema": {
  1312. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1313. }
  1314. },
  1315. "500": {
  1316. "description": "Internal Server Error",
  1317. "schema": {
  1318. "$ref": "#/definitions/app.Response"
  1319. }
  1320. }
  1321. }
  1322. }
  1323. },
  1324. "/Erms3/AddErms2ASApply": {
  1325. "post": {
  1326. "security": [
  1327. {
  1328. "ApiKeyAuth": []
  1329. }
  1330. ],
  1331. "produces": [
  1332. "application/json"
  1333. ],
  1334. "tags": [
  1335. "风险管理v3"
  1336. ],
  1337. "summary": "新增期现套利业务申请",
  1338. "parameters": [
  1339. {
  1340. "description": "申请参数",
  1341. "name": "jsonBody",
  1342. "in": "body",
  1343. "required": true,
  1344. "schema": {
  1345. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1346. }
  1347. }
  1348. ],
  1349. "responses": {
  1350. "200": {
  1351. "description": "OK",
  1352. "schema": {
  1353. "$ref": "#/definitions/app.Response"
  1354. }
  1355. },
  1356. "500": {
  1357. "description": "Internal Server Error",
  1358. "schema": {
  1359. "$ref": "#/definitions/app.Response"
  1360. }
  1361. }
  1362. }
  1363. }
  1364. },
  1365. "/Erms3/AddErms2SpotTradeApply": {
  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.AddErms2SpotTradeApplyReq"
  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/AddSpotContractApply": {
  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.AddSpotContractApplyReq"
  1428. }
  1429. }
  1430. ],
  1431. "responses": {
  1432. "200": {
  1433. "description": "OK",
  1434. "schema": {
  1435. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1436. }
  1437. },
  1438. "500": {
  1439. "description": "Internal Server Error",
  1440. "schema": {
  1441. "$ref": "#/definitions/app.Response"
  1442. }
  1443. }
  1444. }
  1445. }
  1446. },
  1447. "/Erms3/AddUserInfoApply": {
  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.AddUserInfoApplyReq"
  1469. }
  1470. }
  1471. ],
  1472. "responses": {
  1473. "200": {
  1474. "description": "OK",
  1475. "schema": {
  1476. "$ref": "#/definitions/app.Response"
  1477. }
  1478. },
  1479. "500": {
  1480. "description": "Internal Server Error",
  1481. "schema": {
  1482. "$ref": "#/definitions/app.Response"
  1483. }
  1484. }
  1485. }
  1486. }
  1487. },
  1488. "/Erms3/QueryBusinessInfo": {
  1489. "get": {
  1490. "security": [
  1491. {
  1492. "ApiKeyAuth": []
  1493. }
  1494. ],
  1495. "produces": [
  1496. "application/json"
  1497. ],
  1498. "tags": [
  1499. "风险管理v3"
  1500. ],
  1501. "summary": "查询业务表单数据",
  1502. "parameters": [
  1503. {
  1504. "type": "string",
  1505. "description": "资金账号ID列表,用逗号分隔",
  1506. "name": "accountids",
  1507. "in": "query",
  1508. "required": true
  1509. },
  1510. {
  1511. "type": "integer",
  1512. "description": "状态,0为未结束 1为已结束",
  1513. "name": "status",
  1514. "in": "query",
  1515. "required": true
  1516. }
  1517. ],
  1518. "responses": {
  1519. "200": {
  1520. "description": "OK",
  1521. "schema": {
  1522. "type": "array",
  1523. "items": {
  1524. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1525. }
  1526. }
  1527. },
  1528. "500": {
  1529. "description": "Internal Server Error",
  1530. "schema": {
  1531. "$ref": "#/definitions/app.Response"
  1532. }
  1533. }
  1534. }
  1535. }
  1536. },
  1537. "/Erms3/QueryPendingAuditContract": {
  1538. "get": {
  1539. "security": [
  1540. {
  1541. "ApiKeyAuth": []
  1542. }
  1543. ],
  1544. "produces": [
  1545. "application/json"
  1546. ],
  1547. "tags": [
  1548. "风险管理v3"
  1549. ],
  1550. "summary": "查询待审核合同",
  1551. "parameters": [
  1552. {
  1553. "type": "string",
  1554. "description": "资金账号ID列表,逗号隔开",
  1555. "name": "accountids",
  1556. "in": "query",
  1557. "required": true
  1558. },
  1559. {
  1560. "type": "integer",
  1561. "description": "合同类型 1-采购 -1-销售",
  1562. "name": "contracttype",
  1563. "in": "query",
  1564. "required": true
  1565. },
  1566. {
  1567. "type": "integer",
  1568. "description": "合同模式 1-普通 2-回购",
  1569. "name": "contractmode",
  1570. "in": "query",
  1571. "required": true
  1572. }
  1573. ],
  1574. "responses": {
  1575. "200": {
  1576. "description": "OK",
  1577. "schema": {
  1578. "type": "array",
  1579. "items": {
  1580. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1581. }
  1582. }
  1583. },
  1584. "500": {
  1585. "description": "Internal Server Error",
  1586. "schema": {
  1587. "$ref": "#/definitions/app.Response"
  1588. }
  1589. }
  1590. }
  1591. }
  1592. },
  1593. "/Erms3/QueryPendingBusiness": {
  1594. "get": {
  1595. "security": [
  1596. {
  1597. "ApiKeyAuth": []
  1598. }
  1599. ],
  1600. "produces": [
  1601. "application/json"
  1602. ],
  1603. "tags": [
  1604. "风险管理v3"
  1605. ],
  1606. "summary": "查询待审核基差贸易业务",
  1607. "parameters": [
  1608. {
  1609. "type": "string",
  1610. "description": "资金账号ID列表,逗号隔开",
  1611. "name": "accountids",
  1612. "in": "query",
  1613. "required": true
  1614. }
  1615. ],
  1616. "responses": {
  1617. "200": {
  1618. "description": "OK",
  1619. "schema": {
  1620. "type": "array",
  1621. "items": {
  1622. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1623. }
  1624. }
  1625. },
  1626. "500": {
  1627. "description": "Internal Server Error",
  1628. "schema": {
  1629. "$ref": "#/definitions/app.Response"
  1630. }
  1631. }
  1632. }
  1633. }
  1634. },
  1635. "/Erms3/QuerySpotContractAppleForm": {
  1636. "get": {
  1637. "security": [
  1638. {
  1639. "ApiKeyAuth": []
  1640. }
  1641. ],
  1642. "produces": [
  1643. "application/json"
  1644. ],
  1645. "tags": [
  1646. "风险管理v3"
  1647. ],
  1648. "summary": "查询合同申请表单数据",
  1649. "parameters": [
  1650. {
  1651. "type": "integer",
  1652. "description": "登录账号",
  1653. "name": "loginID",
  1654. "in": "query",
  1655. "required": true
  1656. }
  1657. ],
  1658. "responses": {
  1659. "200": {
  1660. "description": "OK",
  1661. "schema": {
  1662. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1663. }
  1664. },
  1665. "500": {
  1666. "description": "Internal Server Error",
  1667. "schema": {
  1668. "$ref": "#/definitions/app.Response"
  1669. }
  1670. }
  1671. }
  1672. }
  1673. },
  1674. "/Erms3/QuerySpotContractDetail": {
  1675. "get": {
  1676. "security": [
  1677. {
  1678. "ApiKeyAuth": []
  1679. }
  1680. ],
  1681. "produces": [
  1682. "application/json"
  1683. ],
  1684. "tags": [
  1685. "风险管理v3"
  1686. ],
  1687. "summary": "查询合同详细信息",
  1688. "parameters": [
  1689. {
  1690. "type": "string",
  1691. "description": "资金账号ID列表,用逗号分隔",
  1692. "name": "accountids",
  1693. "in": "query",
  1694. "required": true
  1695. },
  1696. {
  1697. "type": "integer",
  1698. "description": "合同类型,1为采购合同 -1为销售合同",
  1699. "name": "contracttype",
  1700. "in": "query",
  1701. "required": true
  1702. },
  1703. {
  1704. "type": "integer",
  1705. "description": "合同模式,1为普通合同 2为回购销售合同",
  1706. "name": "contractmode",
  1707. "in": "query",
  1708. "required": true
  1709. },
  1710. {
  1711. "type": "integer",
  1712. "description": "状态,0为履约中 1为已完成",
  1713. "name": "status",
  1714. "in": "query",
  1715. "required": true
  1716. }
  1717. ],
  1718. "responses": {
  1719. "200": {
  1720. "description": "OK",
  1721. "schema": {
  1722. "type": "array",
  1723. "items": {
  1724. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1725. }
  1726. }
  1727. },
  1728. "500": {
  1729. "description": "Internal Server Error",
  1730. "schema": {
  1731. "$ref": "#/definitions/app.Response"
  1732. }
  1733. }
  1734. }
  1735. }
  1736. },
  1737. "/Erms3/QueryUserInfoApplies": {
  1738. "get": {
  1739. "security": [
  1740. {
  1741. "ApiKeyAuth": []
  1742. }
  1743. ],
  1744. "produces": [
  1745. "application/json"
  1746. ],
  1747. "tags": [
  1748. "风险管理v3"
  1749. ],
  1750. "summary": "客户申请信息查询",
  1751. "parameters": [
  1752. {
  1753. "type": "integer",
  1754. "description": "页码",
  1755. "name": "page",
  1756. "in": "query"
  1757. },
  1758. {
  1759. "type": "integer",
  1760. "description": "每页条数",
  1761. "name": "pagesize",
  1762. "in": "query"
  1763. },
  1764. {
  1765. "type": "string",
  1766. "description": "客户名称,支持模糊查询",
  1767. "name": "userName",
  1768. "in": "query"
  1769. }
  1770. ],
  1771. "responses": {
  1772. "200": {
  1773. "description": "OK",
  1774. "schema": {
  1775. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1776. }
  1777. },
  1778. "500": {
  1779. "description": "Internal Server Error",
  1780. "schema": {
  1781. "$ref": "#/definitions/app.Response"
  1782. }
  1783. }
  1784. }
  1785. }
  1786. },
  1787. "/Erms3/QueryUserInfos": {
  1788. "get": {
  1789. "security": [
  1790. {
  1791. "ApiKeyAuth": []
  1792. }
  1793. ],
  1794. "produces": [
  1795. "application/json"
  1796. ],
  1797. "tags": [
  1798. "风险管理v3"
  1799. ],
  1800. "summary": "客户信息查询",
  1801. "parameters": [
  1802. {
  1803. "type": "integer",
  1804. "description": "页码",
  1805. "name": "page",
  1806. "in": "query"
  1807. },
  1808. {
  1809. "type": "integer",
  1810. "description": "每页条数",
  1811. "name": "pagesize",
  1812. "in": "query"
  1813. },
  1814. {
  1815. "type": "string",
  1816. "description": "客户名称,支持模糊查询",
  1817. "name": "userName",
  1818. "in": "query"
  1819. }
  1820. ],
  1821. "responses": {
  1822. "200": {
  1823. "description": "OK",
  1824. "schema": {
  1825. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1826. }
  1827. },
  1828. "500": {
  1829. "description": "Internal Server Error",
  1830. "schema": {
  1831. "$ref": "#/definitions/app.Response"
  1832. }
  1833. }
  1834. }
  1835. }
  1836. },
  1837. "/HSBY/GetHsbyMyCount": {
  1838. "get": {
  1839. "security": [
  1840. {
  1841. "ApiKeyAuth": []
  1842. }
  1843. ],
  1844. "description": "说明: 不包括已完成的数量。",
  1845. "produces": [
  1846. "application/json"
  1847. ],
  1848. "tags": [
  1849. "定制【海商报业】"
  1850. ],
  1851. "summary": "获取我的订单与包裹数量",
  1852. "parameters": [
  1853. {
  1854. "type": "string",
  1855. "description": "资金账户列表,格式:1,2,3",
  1856. "name": "accountIDs",
  1857. "in": "query",
  1858. "required": true
  1859. }
  1860. ],
  1861. "responses": {
  1862. "200": {
  1863. "description": "OK",
  1864. "schema": {
  1865. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1866. }
  1867. },
  1868. "500": {
  1869. "description": "Internal Server Error",
  1870. "schema": {
  1871. "$ref": "#/definitions/app.Response"
  1872. }
  1873. }
  1874. }
  1875. }
  1876. },
  1877. "/HSBY/QueryClientFixedADConfigs": {
  1878. "get": {
  1879. "security": [
  1880. {
  1881. "ApiKeyAuth": []
  1882. }
  1883. ],
  1884. "produces": [
  1885. "application/json"
  1886. ],
  1887. "tags": [
  1888. "定制【海商报业】"
  1889. ],
  1890. "summary": "获取终端固定广告配置",
  1891. "responses": {
  1892. "200": {
  1893. "description": "OK",
  1894. "schema": {
  1895. "$ref": "#/definitions/models.Clientfixedadconfig"
  1896. }
  1897. },
  1898. "500": {
  1899. "description": "Internal Server Error",
  1900. "schema": {
  1901. "$ref": "#/definitions/app.Response"
  1902. }
  1903. }
  1904. }
  1905. }
  1906. },
  1907. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1908. "get": {
  1909. "security": [
  1910. {
  1911. "ApiKeyAuth": []
  1912. }
  1913. ],
  1914. "produces": [
  1915. "application/json"
  1916. ],
  1917. "tags": [
  1918. "定制【海商报业】"
  1919. ],
  1920. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1921. "parameters": [
  1922. {
  1923. "type": "integer",
  1924. "description": "页码",
  1925. "name": "page",
  1926. "in": "query"
  1927. },
  1928. {
  1929. "type": "integer",
  1930. "description": "每页条数",
  1931. "name": "pagesize",
  1932. "in": "query"
  1933. },
  1934. {
  1935. "type": "string",
  1936. "description": "资金账户列表,格式:1,2,3",
  1937. "name": "accountIDs",
  1938. "in": "query",
  1939. "required": true
  1940. }
  1941. ],
  1942. "responses": {
  1943. "200": {
  1944. "description": "OK",
  1945. "schema": {
  1946. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1947. }
  1948. },
  1949. "500": {
  1950. "description": "Internal Server Error",
  1951. "schema": {
  1952. "$ref": "#/definitions/app.Response"
  1953. }
  1954. }
  1955. }
  1956. }
  1957. },
  1958. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1959. "get": {
  1960. "security": [
  1961. {
  1962. "ApiKeyAuth": []
  1963. }
  1964. ],
  1965. "description": "说明:查询结果已按委托价格和委托时间排序",
  1966. "produces": [
  1967. "application/json"
  1968. ],
  1969. "tags": [
  1970. "定制【海商报业】"
  1971. ],
  1972. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1973. "parameters": [
  1974. {
  1975. "type": "integer",
  1976. "description": "商品ID",
  1977. "name": "goodsID",
  1978. "in": "query",
  1979. "required": true
  1980. },
  1981. {
  1982. "type": "string",
  1983. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1984. "name": "accountIDs",
  1985. "in": "query"
  1986. },
  1987. {
  1988. "type": "integer",
  1989. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1990. "name": "buyOrSell",
  1991. "in": "query"
  1992. },
  1993. {
  1994. "type": "number",
  1995. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1996. "name": "price",
  1997. "in": "query"
  1998. },
  1999. {
  2000. "type": "integer",
  2001. "description": "档位,不传则默认为3档",
  2002. "name": "speed",
  2003. "in": "query"
  2004. }
  2005. ],
  2006. "responses": {
  2007. "200": {
  2008. "description": "OK",
  2009. "schema": {
  2010. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2011. }
  2012. },
  2013. "500": {
  2014. "description": "Internal Server Error",
  2015. "schema": {
  2016. "$ref": "#/definitions/app.Response"
  2017. }
  2018. }
  2019. }
  2020. }
  2021. },
  2022. "/HSBY/QueryHsbyListingGoodsDetail": {
  2023. "get": {
  2024. "security": [
  2025. {
  2026. "ApiKeyAuth": []
  2027. }
  2028. ],
  2029. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2030. "produces": [
  2031. "application/json"
  2032. ],
  2033. "tags": [
  2034. "定制【海商报业】"
  2035. ],
  2036. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2037. "parameters": [
  2038. {
  2039. "type": "integer",
  2040. "description": "商品ID",
  2041. "name": "goodsID",
  2042. "in": "query",
  2043. "required": true
  2044. },
  2045. {
  2046. "type": "integer",
  2047. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2048. "name": "accountID",
  2049. "in": "query"
  2050. }
  2051. ],
  2052. "responses": {
  2053. "200": {
  2054. "description": "OK",
  2055. "schema": {
  2056. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2057. }
  2058. },
  2059. "500": {
  2060. "description": "Internal Server Error",
  2061. "schema": {
  2062. "$ref": "#/definitions/app.Response"
  2063. }
  2064. }
  2065. }
  2066. }
  2067. },
  2068. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2069. "get": {
  2070. "security": [
  2071. {
  2072. "ApiKeyAuth": []
  2073. }
  2074. ],
  2075. "produces": [
  2076. "application/json"
  2077. ],
  2078. "tags": [
  2079. "定制【海商报业】"
  2080. ],
  2081. "summary": "查询三级市场(商城)商品信息详情",
  2082. "parameters": [
  2083. {
  2084. "type": "integer",
  2085. "description": "委托单号",
  2086. "name": "orderID",
  2087. "in": "query",
  2088. "required": true
  2089. },
  2090. {
  2091. "type": "integer",
  2092. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2093. "name": "accountID",
  2094. "in": "query"
  2095. }
  2096. ],
  2097. "responses": {
  2098. "200": {
  2099. "description": "OK",
  2100. "schema": {
  2101. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2102. }
  2103. },
  2104. "500": {
  2105. "description": "Internal Server Error",
  2106. "schema": {
  2107. "$ref": "#/definitions/app.Response"
  2108. }
  2109. }
  2110. }
  2111. }
  2112. },
  2113. "/HSBY/QueryHsbyMarketGoodses": {
  2114. "get": {
  2115. "security": [
  2116. {
  2117. "ApiKeyAuth": []
  2118. }
  2119. ],
  2120. "produces": [
  2121. "application/json"
  2122. ],
  2123. "tags": [
  2124. "定制【海商报业】"
  2125. ],
  2126. "summary": "查询特卖商品列表(三级商城)",
  2127. "parameters": [
  2128. {
  2129. "type": "integer",
  2130. "description": "页码",
  2131. "name": "page",
  2132. "in": "query"
  2133. },
  2134. {
  2135. "type": "integer",
  2136. "description": "每页条数",
  2137. "name": "pagesize",
  2138. "in": "query"
  2139. },
  2140. {
  2141. "type": "string",
  2142. "description": "市场ID列表,格式:1,2,3",
  2143. "name": "marketIDs",
  2144. "in": "query",
  2145. "required": true
  2146. },
  2147. {
  2148. "type": "integer",
  2149. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2150. "name": "accountID",
  2151. "in": "query",
  2152. "required": true
  2153. },
  2154. {
  2155. "type": "integer",
  2156. "description": "类别ID",
  2157. "name": "categoryID",
  2158. "in": "query"
  2159. },
  2160. {
  2161. "type": "string",
  2162. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2163. "name": "goodsIDs",
  2164. "in": "query"
  2165. },
  2166. {
  2167. "type": "integer",
  2168. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2169. "name": "couponTypeID",
  2170. "in": "query"
  2171. }
  2172. ],
  2173. "responses": {
  2174. "200": {
  2175. "description": "OK",
  2176. "schema": {
  2177. "$ref": "#/definitions/models.HsbyMarketGoods"
  2178. }
  2179. },
  2180. "500": {
  2181. "description": "Internal Server Error",
  2182. "schema": {
  2183. "$ref": "#/definitions/app.Response"
  2184. }
  2185. }
  2186. }
  2187. }
  2188. },
  2189. "/HSBY/QueryHsbyMarkets": {
  2190. "get": {
  2191. "security": [
  2192. {
  2193. "ApiKeyAuth": []
  2194. }
  2195. ],
  2196. "produces": [
  2197. "application/json"
  2198. ],
  2199. "tags": [
  2200. "定制【海商报业】"
  2201. ],
  2202. "summary": "查询海商报业相关市场信息",
  2203. "responses": {
  2204. "200": {
  2205. "description": "OK",
  2206. "schema": {
  2207. "$ref": "#/definitions/models.HsbyMarketInfo"
  2208. }
  2209. },
  2210. "500": {
  2211. "description": "Internal Server Error",
  2212. "schema": {
  2213. "$ref": "#/definitions/app.Response"
  2214. }
  2215. }
  2216. }
  2217. }
  2218. },
  2219. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2220. "get": {
  2221. "security": [
  2222. {
  2223. "ApiKeyAuth": []
  2224. }
  2225. ],
  2226. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2227. "produces": [
  2228. "application/json"
  2229. ],
  2230. "tags": [
  2231. "定制【海商报业】"
  2232. ],
  2233. "summary": "查询“我的订单”信息",
  2234. "parameters": [
  2235. {
  2236. "type": "string",
  2237. "description": "资金账户列表,格式:1,2,3",
  2238. "name": "accountIDs",
  2239. "in": "query",
  2240. "required": true
  2241. },
  2242. {
  2243. "type": "integer",
  2244. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2245. "name": "myBuyStatus",
  2246. "in": "query"
  2247. }
  2248. ],
  2249. "responses": {
  2250. "200": {
  2251. "description": "OK",
  2252. "schema": {
  2253. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2254. }
  2255. },
  2256. "500": {
  2257. "description": "Internal Server Error",
  2258. "schema": {
  2259. "$ref": "#/definitions/app.Response"
  2260. }
  2261. }
  2262. }
  2263. }
  2264. },
  2265. "/HSBY/QueryHsbyMyGoods": {
  2266. "get": {
  2267. "security": [
  2268. {
  2269. "ApiKeyAuth": []
  2270. }
  2271. ],
  2272. "produces": [
  2273. "application/json"
  2274. ],
  2275. "tags": [
  2276. "定制【海商报业】"
  2277. ],
  2278. "summary": "查询“我的商品”信息",
  2279. "parameters": [
  2280. {
  2281. "type": "string",
  2282. "description": "资金账户列表,格式:1,2,3",
  2283. "name": "accountIDs",
  2284. "in": "query",
  2285. "required": true
  2286. }
  2287. ],
  2288. "responses": {
  2289. "200": {
  2290. "description": "OK",
  2291. "schema": {
  2292. "$ref": "#/definitions/models.HsbyMyGoods"
  2293. }
  2294. },
  2295. "500": {
  2296. "description": "Internal Server Error",
  2297. "schema": {
  2298. "$ref": "#/definitions/app.Response"
  2299. }
  2300. }
  2301. }
  2302. }
  2303. },
  2304. "/HSBY/QueryHsbyMyPackages": {
  2305. "get": {
  2306. "security": [
  2307. {
  2308. "ApiKeyAuth": []
  2309. }
  2310. ],
  2311. "produces": [
  2312. "application/json"
  2313. ],
  2314. "tags": [
  2315. "定制【海商报业】"
  2316. ],
  2317. "summary": "查询我的包裹信息",
  2318. "parameters": [
  2319. {
  2320. "type": "string",
  2321. "description": "资金账户列表,格式:1,2,3",
  2322. "name": "accountIDs",
  2323. "in": "query",
  2324. "required": true
  2325. },
  2326. {
  2327. "type": "integer",
  2328. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2329. "name": "takeOrderStatus",
  2330. "in": "query"
  2331. }
  2332. ],
  2333. "responses": {
  2334. "200": {
  2335. "description": "OK",
  2336. "schema": {
  2337. "$ref": "#/definitions/models.HsbyMyPackage"
  2338. }
  2339. },
  2340. "500": {
  2341. "description": "Internal Server Error",
  2342. "schema": {
  2343. "$ref": "#/definitions/app.Response"
  2344. }
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "/HSBY/QueryHsbyPreGoodsDetail": {
  2350. "get": {
  2351. "security": [
  2352. {
  2353. "ApiKeyAuth": []
  2354. }
  2355. ],
  2356. "produces": [
  2357. "application/json"
  2358. ],
  2359. "tags": [
  2360. "定制【海商报业】"
  2361. ],
  2362. "summary": "查询一级市场(预售)商品信息详情",
  2363. "parameters": [
  2364. {
  2365. "type": "integer",
  2366. "description": "商品ID",
  2367. "name": "goodsID",
  2368. "in": "query",
  2369. "required": true
  2370. },
  2371. {
  2372. "type": "integer",
  2373. "description": "资金账户,主要用于获取预售商品购买上限",
  2374. "name": "accountID",
  2375. "in": "query"
  2376. }
  2377. ],
  2378. "responses": {
  2379. "200": {
  2380. "description": "OK",
  2381. "schema": {
  2382. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2383. }
  2384. },
  2385. "500": {
  2386. "description": "Internal Server Error",
  2387. "schema": {
  2388. "$ref": "#/definitions/app.Response"
  2389. }
  2390. }
  2391. }
  2392. }
  2393. },
  2394. "/HSBY/QueryHsbyPreGoodses": {
  2395. "get": {
  2396. "security": [
  2397. {
  2398. "ApiKeyAuth": []
  2399. }
  2400. ],
  2401. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2402. "produces": [
  2403. "application/json"
  2404. ],
  2405. "tags": [
  2406. "定制【海商报业】"
  2407. ],
  2408. "summary": "查询新品上市商品列表(一级市场预售)",
  2409. "parameters": [
  2410. {
  2411. "type": "integer",
  2412. "description": "页码",
  2413. "name": "page",
  2414. "in": "query"
  2415. },
  2416. {
  2417. "type": "integer",
  2418. "description": "每页条数",
  2419. "name": "pagesize",
  2420. "in": "query"
  2421. },
  2422. {
  2423. "type": "string",
  2424. "description": "市场ID列表,格式:1,2,3",
  2425. "name": "marketIDs",
  2426. "in": "query",
  2427. "required": true
  2428. },
  2429. {
  2430. "type": "integer",
  2431. "description": "目的地(省)ID",
  2432. "name": "descProvinceID",
  2433. "in": "query"
  2434. },
  2435. {
  2436. "type": "integer",
  2437. "description": "目的地(市)ID",
  2438. "name": "descCityID",
  2439. "in": "query"
  2440. }
  2441. ],
  2442. "responses": {
  2443. "200": {
  2444. "description": "OK",
  2445. "schema": {
  2446. "$ref": "#/definitions/models.HsbyPreGoods"
  2447. }
  2448. },
  2449. "500": {
  2450. "description": "Internal Server Error",
  2451. "schema": {
  2452. "$ref": "#/definitions/app.Response"
  2453. }
  2454. }
  2455. }
  2456. }
  2457. },
  2458. "/HSBY/QueryHsbySellMyDetails": {
  2459. "get": {
  2460. "security": [
  2461. {
  2462. "ApiKeyAuth": []
  2463. }
  2464. ],
  2465. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2466. "produces": [
  2467. "application/json"
  2468. ],
  2469. "tags": [
  2470. "定制【海商报业】"
  2471. ],
  2472. "summary": "查询\"我的闲置\"单据信息",
  2473. "parameters": [
  2474. {
  2475. "type": "integer",
  2476. "description": "页码",
  2477. "name": "page",
  2478. "in": "query"
  2479. },
  2480. {
  2481. "type": "integer",
  2482. "description": "每页条数",
  2483. "name": "pagesize",
  2484. "in": "query"
  2485. },
  2486. {
  2487. "type": "string",
  2488. "description": "资金账户列表,格式:1,2,3",
  2489. "name": "accountIDs",
  2490. "in": "query",
  2491. "required": true
  2492. },
  2493. {
  2494. "type": "integer",
  2495. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2496. "name": "orderType",
  2497. "in": "query"
  2498. }
  2499. ],
  2500. "responses": {
  2501. "200": {
  2502. "description": "OK",
  2503. "schema": {
  2504. "$ref": "#/definitions/models.HsbySellMyDetail"
  2505. }
  2506. },
  2507. "500": {
  2508. "description": "Internal Server Error",
  2509. "schema": {
  2510. "$ref": "#/definitions/app.Response"
  2511. }
  2512. }
  2513. }
  2514. }
  2515. },
  2516. "/HSBY/QueryHsbyTopGoodses": {
  2517. "get": {
  2518. "security": [
  2519. {
  2520. "ApiKeyAuth": []
  2521. }
  2522. ],
  2523. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2524. "produces": [
  2525. "application/json"
  2526. ],
  2527. "tags": [
  2528. "定制【海商报业】"
  2529. ],
  2530. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2531. "parameters": [
  2532. {
  2533. "type": "integer",
  2534. "description": "页码",
  2535. "name": "page",
  2536. "in": "query"
  2537. },
  2538. {
  2539. "type": "integer",
  2540. "description": "每页条数",
  2541. "name": "pagesize",
  2542. "in": "query"
  2543. },
  2544. {
  2545. "type": "string",
  2546. "description": "市场ID列表,格式:1,2,3",
  2547. "name": "marketIDs",
  2548. "in": "query",
  2549. "required": true
  2550. },
  2551. {
  2552. "type": "integer",
  2553. "description": "目的地(省)ID",
  2554. "name": "descProvinceID",
  2555. "in": "query"
  2556. },
  2557. {
  2558. "type": "integer",
  2559. "description": "目的地(市)ID",
  2560. "name": "descCityID",
  2561. "in": "query"
  2562. }
  2563. ],
  2564. "responses": {
  2565. "200": {
  2566. "description": "OK",
  2567. "schema": {
  2568. "$ref": "#/definitions/models.HsbyTopGoods"
  2569. }
  2570. },
  2571. "500": {
  2572. "description": "Internal Server Error",
  2573. "schema": {
  2574. "$ref": "#/definitions/app.Response"
  2575. }
  2576. }
  2577. }
  2578. }
  2579. },
  2580. "/HSBY/QueryMyCollectionOrders": {
  2581. "get": {
  2582. "security": [
  2583. {
  2584. "ApiKeyAuth": []
  2585. }
  2586. ],
  2587. "produces": [
  2588. "application/json"
  2589. ],
  2590. "tags": [
  2591. "定制【海商报业】"
  2592. ],
  2593. "summary": "我的闲置中收款信息查询",
  2594. "parameters": [
  2595. {
  2596. "type": "integer",
  2597. "description": "页码",
  2598. "name": "page",
  2599. "in": "query"
  2600. },
  2601. {
  2602. "type": "integer",
  2603. "description": "每页条数",
  2604. "name": "pagesize",
  2605. "in": "query"
  2606. },
  2607. {
  2608. "type": "string",
  2609. "description": "资金账户,格式:1,2,3",
  2610. "name": "accountIDs",
  2611. "in": "query",
  2612. "required": true
  2613. }
  2614. ],
  2615. "responses": {
  2616. "200": {
  2617. "description": "OK",
  2618. "schema": {
  2619. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2620. }
  2621. },
  2622. "500": {
  2623. "description": "Internal Server Error",
  2624. "schema": {
  2625. "$ref": "#/definitions/app.Response"
  2626. }
  2627. }
  2628. }
  2629. }
  2630. },
  2631. "/HSBY/QueryMyCouponHolds": {
  2632. "get": {
  2633. "security": [
  2634. {
  2635. "ApiKeyAuth": []
  2636. }
  2637. ],
  2638. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  2639. "produces": [
  2640. "application/json"
  2641. ],
  2642. "tags": [
  2643. "定制【海商报业】"
  2644. ],
  2645. "summary": "我的优惠卷持仓查询",
  2646. "parameters": [
  2647. {
  2648. "type": "string",
  2649. "description": "资金账户列表,格式:1,2,3",
  2650. "name": "accountIDs",
  2651. "in": "query",
  2652. "required": true
  2653. },
  2654. {
  2655. "type": "string",
  2656. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2657. "name": "holdStatus",
  2658. "in": "query"
  2659. }
  2660. ],
  2661. "responses": {
  2662. "200": {
  2663. "description": "OK",
  2664. "schema": {
  2665. "$ref": "#/definitions/models.MyCouponHold"
  2666. }
  2667. },
  2668. "500": {
  2669. "description": "Internal Server Error",
  2670. "schema": {
  2671. "$ref": "#/definitions/app.Response"
  2672. }
  2673. }
  2674. }
  2675. }
  2676. },
  2677. "/HSBY/QueryMyCoupons": {
  2678. "get": {
  2679. "security": [
  2680. {
  2681. "ApiKeyAuth": []
  2682. }
  2683. ],
  2684. "produces": [
  2685. "application/json"
  2686. ],
  2687. "tags": [
  2688. "定制【海商报业】"
  2689. ],
  2690. "summary": "我的优惠卷查询",
  2691. "parameters": [
  2692. {
  2693. "type": "string",
  2694. "description": "资金账户列表,格式:1,2,3",
  2695. "name": "accountIDs",
  2696. "in": "query",
  2697. "required": true
  2698. },
  2699. {
  2700. "type": "integer",
  2701. "description": "商品ID, 一般与sellUserID配套传入",
  2702. "name": "goodsID",
  2703. "in": "query"
  2704. },
  2705. {
  2706. "type": "integer",
  2707. "description": "卖方UserID",
  2708. "name": "sellUserID",
  2709. "in": "query"
  2710. }
  2711. ],
  2712. "responses": {
  2713. "200": {
  2714. "description": "OK",
  2715. "schema": {
  2716. "$ref": "#/definitions/models.MyCoupon"
  2717. }
  2718. },
  2719. "500": {
  2720. "description": "Internal Server Error",
  2721. "schema": {
  2722. "$ref": "#/definitions/app.Response"
  2723. }
  2724. }
  2725. }
  2726. }
  2727. },
  2728. "/HSBY/QueryMyPayOrders": {
  2729. "get": {
  2730. "security": [
  2731. {
  2732. "ApiKeyAuth": []
  2733. }
  2734. ],
  2735. "produces": [
  2736. "application/json"
  2737. ],
  2738. "tags": [
  2739. "定制【海商报业】"
  2740. ],
  2741. "summary": "获取我的订单中待付款信息",
  2742. "parameters": [
  2743. {
  2744. "type": "integer",
  2745. "description": "页码",
  2746. "name": "page",
  2747. "in": "query"
  2748. },
  2749. {
  2750. "type": "integer",
  2751. "description": "每页条数",
  2752. "name": "pagesize",
  2753. "in": "query"
  2754. },
  2755. {
  2756. "type": "string",
  2757. "description": "资金账户列表,格式:1,2,3",
  2758. "name": "accountIDs",
  2759. "in": "query",
  2760. "required": true
  2761. },
  2762. {
  2763. "type": "integer",
  2764. "description": "买方委托单号",
  2765. "name": "buyOrderID",
  2766. "in": "query"
  2767. },
  2768. {
  2769. "type": "integer",
  2770. "description": "卖方委托单号",
  2771. "name": "sellOrderID",
  2772. "in": "query"
  2773. }
  2774. ],
  2775. "responses": {
  2776. "200": {
  2777. "description": "OK",
  2778. "schema": {
  2779. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2780. }
  2781. },
  2782. "500": {
  2783. "description": "Internal Server Error",
  2784. "schema": {
  2785. "$ref": "#/definitions/app.Response"
  2786. }
  2787. }
  2788. }
  2789. }
  2790. },
  2791. "/HSBY/QueryMyUsedCoupon": {
  2792. "get": {
  2793. "security": [
  2794. {
  2795. "ApiKeyAuth": []
  2796. }
  2797. ],
  2798. "produces": [
  2799. "application/json"
  2800. ],
  2801. "tags": [
  2802. "定制【海商报业】"
  2803. ],
  2804. "summary": "已使用优惠卷查询",
  2805. "parameters": [
  2806. {
  2807. "type": "string",
  2808. "description": "资金账户列表,格式:1,2,3",
  2809. "name": "accountIDs",
  2810. "in": "query",
  2811. "required": true
  2812. }
  2813. ],
  2814. "responses": {
  2815. "200": {
  2816. "description": "OK",
  2817. "schema": {
  2818. "$ref": "#/definitions/models.MyUsedCoupon"
  2819. }
  2820. },
  2821. "500": {
  2822. "description": "Internal Server Error",
  2823. "schema": {
  2824. "$ref": "#/definitions/app.Response"
  2825. }
  2826. }
  2827. }
  2828. }
  2829. },
  2830. "/HSBY/QueryProvincesAndCities": {
  2831. "get": {
  2832. "security": [
  2833. {
  2834. "ApiKeyAuth": []
  2835. }
  2836. ],
  2837. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2838. "produces": [
  2839. "application/json"
  2840. ],
  2841. "tags": [
  2842. "定制【海商报业】"
  2843. ],
  2844. "summary": "查询省市信息(不包括区)",
  2845. "parameters": [
  2846. {
  2847. "type": "integer",
  2848. "description": "省ID",
  2849. "name": "provinceID",
  2850. "in": "query"
  2851. }
  2852. ],
  2853. "responses": {
  2854. "200": {
  2855. "description": "OK",
  2856. "schema": {
  2857. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2858. }
  2859. },
  2860. "500": {
  2861. "description": "Internal Server Error",
  2862. "schema": {
  2863. "$ref": "#/definitions/app.Response"
  2864. }
  2865. }
  2866. }
  2867. }
  2868. },
  2869. "/HSBY/SetHsbyMyPackagesStatus": {
  2870. "post": {
  2871. "security": [
  2872. {
  2873. "ApiKeyAuth": []
  2874. }
  2875. ],
  2876. "produces": [
  2877. "application/json"
  2878. ],
  2879. "tags": [
  2880. "定制【海商报业】"
  2881. ],
  2882. "summary": "设置我的包裹已收货状态",
  2883. "parameters": [
  2884. {
  2885. "type": "string",
  2886. "description": "提货单号",
  2887. "name": "takeOrderID",
  2888. "in": "query",
  2889. "required": true
  2890. },
  2891. {
  2892. "type": "integer",
  2893. "description": "资金账号",
  2894. "name": "accountID",
  2895. "in": "query",
  2896. "required": true
  2897. }
  2898. ],
  2899. "responses": {
  2900. "200": {
  2901. "description": "OK",
  2902. "schema": {
  2903. "$ref": "#/definitions/app.Response"
  2904. }
  2905. },
  2906. "500": {
  2907. "description": "Internal Server Error",
  2908. "schema": {
  2909. "$ref": "#/definitions/app.Response"
  2910. }
  2911. }
  2912. }
  2913. }
  2914. },
  2915. "/Market/QueryMarketRun": {
  2916. "get": {
  2917. "security": [
  2918. {
  2919. "ApiKeyAuth": []
  2920. }
  2921. ],
  2922. "produces": [
  2923. "application/json"
  2924. ],
  2925. "tags": [
  2926. "通用市场"
  2927. ],
  2928. "summary": "查询市场运行信息",
  2929. "parameters": [
  2930. {
  2931. "type": "integer",
  2932. "description": "市场ID,不传返回所有",
  2933. "name": "marketID",
  2934. "in": "query"
  2935. }
  2936. ],
  2937. "responses": {
  2938. "200": {
  2939. "description": "OK",
  2940. "schema": {
  2941. "$ref": "#/definitions/models.Marketrun"
  2942. }
  2943. },
  2944. "500": {
  2945. "description": "Internal Server Error",
  2946. "schema": {
  2947. "$ref": "#/definitions/app.Response"
  2948. }
  2949. }
  2950. }
  2951. }
  2952. },
  2953. "/Order/QueryHisTradeDetail": {
  2954. "get": {
  2955. "security": [
  2956. {
  2957. "ApiKeyAuth": []
  2958. }
  2959. ],
  2960. "produces": [
  2961. "application/json"
  2962. ],
  2963. "tags": [
  2964. "通用单据"
  2965. ],
  2966. "summary": "历史成交单查询(合约市场)",
  2967. "parameters": [
  2968. {
  2969. "type": "string",
  2970. "description": "资金账户 - 格式:1,2,3",
  2971. "name": "accountID",
  2972. "in": "query",
  2973. "required": true
  2974. },
  2975. {
  2976. "type": "integer",
  2977. "description": "成交单号",
  2978. "name": "tradeID",
  2979. "in": "query"
  2980. },
  2981. {
  2982. "type": "integer",
  2983. "description": "委托单号",
  2984. "name": "orderID",
  2985. "in": "query"
  2986. },
  2987. {
  2988. "type": "string",
  2989. "description": "交易模式 - 格式:1,2,3",
  2990. "name": "tradeMode",
  2991. "in": "query"
  2992. },
  2993. {
  2994. "type": "integer",
  2995. "description": "委托单据类型",
  2996. "name": "buildType",
  2997. "in": "query"
  2998. },
  2999. {
  3000. "type": "string",
  3001. "description": "成交类别 - 格式:1,2,3",
  3002. "name": "tradeType",
  3003. "in": "query"
  3004. },
  3005. {
  3006. "type": "string",
  3007. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3008. "name": "startDate",
  3009. "in": "query"
  3010. },
  3011. {
  3012. "type": "string",
  3013. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3014. "name": "endDate",
  3015. "in": "query"
  3016. }
  3017. ],
  3018. "responses": {
  3019. "200": {
  3020. "description": "OK",
  3021. "schema": {
  3022. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3023. }
  3024. },
  3025. "500": {
  3026. "description": "Internal Server Error",
  3027. "schema": {
  3028. "$ref": "#/definitions/app.Response"
  3029. }
  3030. }
  3031. }
  3032. }
  3033. },
  3034. "/Order/QueryHisTradeOrderDetail": {
  3035. "get": {
  3036. "security": [
  3037. {
  3038. "ApiKeyAuth": []
  3039. }
  3040. ],
  3041. "produces": [
  3042. "application/json"
  3043. ],
  3044. "tags": [
  3045. "通用单据"
  3046. ],
  3047. "summary": "历史委托单查询请求(合约市场)",
  3048. "parameters": [
  3049. {
  3050. "type": "string",
  3051. "description": "资金账户 - 格式:1,2,3",
  3052. "name": "accountID",
  3053. "in": "query",
  3054. "required": true
  3055. },
  3056. {
  3057. "type": "string",
  3058. "description": "交易模式 - 格式:1,2,3",
  3059. "name": "tradeMode",
  3060. "in": "query"
  3061. },
  3062. {
  3063. "type": "string",
  3064. "description": "委托状态 - 格式:1,2,3",
  3065. "name": "orderStatus",
  3066. "in": "query"
  3067. },
  3068. {
  3069. "type": "integer",
  3070. "description": "委托单号",
  3071. "name": "orderID",
  3072. "in": "query"
  3073. },
  3074. {
  3075. "type": "string",
  3076. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3077. "name": "startDate",
  3078. "in": "query"
  3079. },
  3080. {
  3081. "type": "string",
  3082. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3083. "name": "endDate",
  3084. "in": "query"
  3085. }
  3086. ],
  3087. "responses": {
  3088. "200": {
  3089. "description": "OK",
  3090. "schema": {
  3091. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3092. }
  3093. },
  3094. "500": {
  3095. "description": "Internal Server Error",
  3096. "schema": {
  3097. "$ref": "#/definitions/app.Response"
  3098. }
  3099. }
  3100. }
  3101. }
  3102. },
  3103. "/Order/QueryTradeDetail": {
  3104. "get": {
  3105. "security": [
  3106. {
  3107. "ApiKeyAuth": []
  3108. }
  3109. ],
  3110. "produces": [
  3111. "application/json"
  3112. ],
  3113. "tags": [
  3114. "通用单据"
  3115. ],
  3116. "summary": "成交单查询(合约市场)",
  3117. "parameters": [
  3118. {
  3119. "type": "string",
  3120. "description": "资金账户 - 格式:1,2,3",
  3121. "name": "accountID",
  3122. "in": "query",
  3123. "required": true
  3124. },
  3125. {
  3126. "type": "integer",
  3127. "description": "成交单号",
  3128. "name": "tradeID",
  3129. "in": "query"
  3130. },
  3131. {
  3132. "type": "integer",
  3133. "description": "委托单号",
  3134. "name": "orderID",
  3135. "in": "query"
  3136. },
  3137. {
  3138. "type": "string",
  3139. "description": "交易模式 - 格式:1,2,3",
  3140. "name": "tradeMode",
  3141. "in": "query"
  3142. },
  3143. {
  3144. "type": "integer",
  3145. "description": "委托单据类型",
  3146. "name": "buildType",
  3147. "in": "query"
  3148. },
  3149. {
  3150. "type": "string",
  3151. "description": "成交类别 - 格式:1,2,3",
  3152. "name": "tradeType",
  3153. "in": "query"
  3154. }
  3155. ],
  3156. "responses": {
  3157. "200": {
  3158. "description": "OK",
  3159. "schema": {
  3160. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  3161. }
  3162. },
  3163. "500": {
  3164. "description": "Internal Server Error",
  3165. "schema": {
  3166. "$ref": "#/definitions/app.Response"
  3167. }
  3168. }
  3169. }
  3170. }
  3171. },
  3172. "/Order/QueryTradeOrderDetail": {
  3173. "get": {
  3174. "security": [
  3175. {
  3176. "ApiKeyAuth": []
  3177. }
  3178. ],
  3179. "produces": [
  3180. "application/json"
  3181. ],
  3182. "tags": [
  3183. "通用单据"
  3184. ],
  3185. "summary": "委托单查询请求(合约市场)",
  3186. "parameters": [
  3187. {
  3188. "type": "string",
  3189. "description": "资金账户 - 格式:1,2,3",
  3190. "name": "accountID",
  3191. "in": "query",
  3192. "required": true
  3193. },
  3194. {
  3195. "type": "string",
  3196. "description": "交易模式 - 格式:1,2,3",
  3197. "name": "tradeMode",
  3198. "in": "query"
  3199. },
  3200. {
  3201. "type": "string",
  3202. "description": "委托状态 - 格式:1,2,3",
  3203. "name": "orderStatus",
  3204. "in": "query"
  3205. },
  3206. {
  3207. "type": "integer",
  3208. "description": "委托单号",
  3209. "name": "orderID",
  3210. "in": "query"
  3211. }
  3212. ],
  3213. "responses": {
  3214. "200": {
  3215. "description": "OK",
  3216. "schema": {
  3217. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3218. }
  3219. },
  3220. "500": {
  3221. "description": "Internal Server Error",
  3222. "schema": {
  3223. "$ref": "#/definitions/app.Response"
  3224. }
  3225. }
  3226. }
  3227. }
  3228. },
  3229. "/Order/QueryTradePosition": {
  3230. "get": {
  3231. "security": [
  3232. {
  3233. "ApiKeyAuth": []
  3234. }
  3235. ],
  3236. "produces": [
  3237. "application/json"
  3238. ],
  3239. "tags": [
  3240. "通用单据"
  3241. ],
  3242. "summary": "持仓汇总查询(合约市场)",
  3243. "parameters": [
  3244. {
  3245. "type": "string",
  3246. "description": "资金账户 - 格式:1,2,3",
  3247. "name": "accountID",
  3248. "in": "query",
  3249. "required": true
  3250. },
  3251. {
  3252. "type": "string",
  3253. "description": "交易模式 - 格式:1,2,3",
  3254. "name": "tradeMode",
  3255. "in": "query"
  3256. }
  3257. ],
  3258. "responses": {
  3259. "200": {
  3260. "description": "OK",
  3261. "schema": {
  3262. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3263. }
  3264. },
  3265. "500": {
  3266. "description": "Internal Server Error",
  3267. "schema": {
  3268. "$ref": "#/definitions/app.Response"
  3269. }
  3270. }
  3271. }
  3272. }
  3273. },
  3274. "/Quote/QueryHistoryDatas": {
  3275. "get": {
  3276. "security": [
  3277. {
  3278. "ApiKeyAuth": []
  3279. }
  3280. ],
  3281. "produces": [
  3282. "application/json"
  3283. ],
  3284. "tags": [
  3285. "行情服务"
  3286. ],
  3287. "summary": "查询行情历史数据",
  3288. "parameters": [
  3289. {
  3290. "type": "integer",
  3291. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3292. "name": "cycleType",
  3293. "in": "query",
  3294. "required": true
  3295. },
  3296. {
  3297. "type": "string",
  3298. "description": "商品代码",
  3299. "name": "goodsCode",
  3300. "in": "query",
  3301. "required": true
  3302. },
  3303. {
  3304. "type": "string",
  3305. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3306. "name": "startTime",
  3307. "in": "query"
  3308. },
  3309. {
  3310. "type": "string",
  3311. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3312. "name": "endTime",
  3313. "in": "query"
  3314. },
  3315. {
  3316. "type": "integer",
  3317. "description": "条数",
  3318. "name": "count",
  3319. "in": "query"
  3320. },
  3321. {
  3322. "type": "boolean",
  3323. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3324. "name": "isAsc",
  3325. "in": "query"
  3326. }
  3327. ],
  3328. "responses": {
  3329. "200": {
  3330. "description": "OK",
  3331. "schema": {
  3332. "$ref": "#/definitions/quote.HistoryData"
  3333. }
  3334. },
  3335. "500": {
  3336. "description": "Internal Server Error",
  3337. "schema": {
  3338. "$ref": "#/definitions/app.Response"
  3339. }
  3340. }
  3341. }
  3342. }
  3343. },
  3344. "/Quote/QueryTSData": {
  3345. "get": {
  3346. "produces": [
  3347. "application/json"
  3348. ],
  3349. "tags": [
  3350. "行情服务"
  3351. ],
  3352. "summary": "分时图数据查询",
  3353. "parameters": [
  3354. {
  3355. "type": "string",
  3356. "description": "商品代码",
  3357. "name": "GoodsCode",
  3358. "in": "query",
  3359. "required": true
  3360. }
  3361. ],
  3362. "responses": {
  3363. "200": {
  3364. "description": "OK",
  3365. "schema": {
  3366. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3367. }
  3368. },
  3369. "500": {
  3370. "description": "Internal Server Error",
  3371. "schema": {
  3372. "$ref": "#/definitions/app.Response"
  3373. }
  3374. }
  3375. }
  3376. }
  3377. },
  3378. "/SZDZ/QueryConvertConfig": {
  3379. "get": {
  3380. "security": [
  3381. {
  3382. "ApiKeyAuth": []
  3383. }
  3384. ],
  3385. "produces": [
  3386. "application/json"
  3387. ],
  3388. "tags": [
  3389. "定制【尚志大宗】"
  3390. ],
  3391. "summary": "查询交易系统转换设置",
  3392. "parameters": [
  3393. {
  3394. "type": "integer",
  3395. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3396. "name": "convertType",
  3397. "in": "query"
  3398. },
  3399. {
  3400. "type": "string",
  3401. "description": "外部商品代码[JD\\PD]",
  3402. "name": "outerGoodsCode",
  3403. "in": "query"
  3404. },
  3405. {
  3406. "type": "string",
  3407. "description": "内部商品ID列表[交易],格式:1,2,3",
  3408. "name": "innerGoodsIDs",
  3409. "in": "query"
  3410. }
  3411. ],
  3412. "responses": {
  3413. "200": {
  3414. "description": "OK",
  3415. "schema": {
  3416. "$ref": "#/definitions/models.Szdz3convertconfig"
  3417. }
  3418. },
  3419. "500": {
  3420. "description": "Internal Server Error",
  3421. "schema": {
  3422. "$ref": "#/definitions/app.Response"
  3423. }
  3424. }
  3425. }
  3426. }
  3427. },
  3428. "/SZDZ/QueryConvertLog": {
  3429. "get": {
  3430. "security": [
  3431. {
  3432. "ApiKeyAuth": []
  3433. }
  3434. ],
  3435. "produces": [
  3436. "application/json"
  3437. ],
  3438. "tags": [
  3439. "定制【尚志大宗】"
  3440. ],
  3441. "summary": "交易系统转换流水查询",
  3442. "parameters": [
  3443. {
  3444. "type": "string",
  3445. "description": "资金账户 - 格式:1,2,3",
  3446. "name": "accountID",
  3447. "in": "query",
  3448. "required": true
  3449. },
  3450. {
  3451. "type": "string",
  3452. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3453. "name": "startDate",
  3454. "in": "query"
  3455. },
  3456. {
  3457. "type": "string",
  3458. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3459. "name": "endDate",
  3460. "in": "query"
  3461. }
  3462. ],
  3463. "responses": {
  3464. "200": {
  3465. "description": "OK",
  3466. "schema": {
  3467. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3468. }
  3469. },
  3470. "500": {
  3471. "description": "Internal Server Error",
  3472. "schema": {
  3473. "$ref": "#/definitions/app.Response"
  3474. }
  3475. }
  3476. }
  3477. }
  3478. },
  3479. "/SZDZ/QueryGoodsPickup": {
  3480. "get": {
  3481. "security": [
  3482. {
  3483. "ApiKeyAuth": []
  3484. }
  3485. ],
  3486. "produces": [
  3487. "application/json"
  3488. ],
  3489. "tags": [
  3490. "定制【尚志大宗】"
  3491. ],
  3492. "summary": "商品提货单查询",
  3493. "parameters": [
  3494. {
  3495. "type": "string",
  3496. "description": "资金账户 - 格式:1,2,3",
  3497. "name": "accountID",
  3498. "in": "query",
  3499. "required": true
  3500. },
  3501. {
  3502. "type": "integer",
  3503. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3504. "name": "takeOrderStatus",
  3505. "in": "query"
  3506. }
  3507. ],
  3508. "responses": {
  3509. "200": {
  3510. "description": "OK",
  3511. "schema": {
  3512. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3513. }
  3514. },
  3515. "500": {
  3516. "description": "Internal Server Error",
  3517. "schema": {
  3518. "$ref": "#/definitions/app.Response"
  3519. }
  3520. }
  3521. }
  3522. }
  3523. },
  3524. "/SZDZ/QueryRecieptOrder": {
  3525. "get": {
  3526. "security": [
  3527. {
  3528. "ApiKeyAuth": []
  3529. }
  3530. ],
  3531. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3532. "produces": [
  3533. "application/json"
  3534. ],
  3535. "tags": [
  3536. "定制【尚志大宗】"
  3537. ],
  3538. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3539. "parameters": [
  3540. {
  3541. "type": "integer",
  3542. "description": "页码",
  3543. "name": "page",
  3544. "in": "query"
  3545. },
  3546. {
  3547. "type": "integer",
  3548. "description": "每页条数",
  3549. "name": "pagesize",
  3550. "in": "query"
  3551. },
  3552. {
  3553. "type": "integer",
  3554. "description": "商品ID",
  3555. "name": "goodsID",
  3556. "in": "query",
  3557. "required": true
  3558. },
  3559. {
  3560. "type": "string",
  3561. "description": "所属账户名称",
  3562. "name": "accountName",
  3563. "in": "query"
  3564. },
  3565. {
  3566. "type": "integer",
  3567. "description": "市场ID",
  3568. "name": "marketID",
  3569. "in": "query"
  3570. },
  3571. {
  3572. "type": "integer",
  3573. "description": "方向 - 0:买 1:卖",
  3574. "name": "buyorsell",
  3575. "in": "query",
  3576. "required": true
  3577. }
  3578. ],
  3579. "responses": {
  3580. "200": {
  3581. "description": "OK",
  3582. "schema": {
  3583. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3584. }
  3585. },
  3586. "500": {
  3587. "description": "Internal Server Error",
  3588. "schema": {
  3589. "$ref": "#/definitions/app.Response"
  3590. }
  3591. }
  3592. }
  3593. }
  3594. },
  3595. "/SZDZ/QuerySZDZTradePosition": {
  3596. "get": {
  3597. "security": [
  3598. {
  3599. "ApiKeyAuth": []
  3600. }
  3601. ],
  3602. "produces": [
  3603. "application/json"
  3604. ],
  3605. "tags": [
  3606. "定制【尚志大宗】"
  3607. ],
  3608. "summary": "持仓汇总查询(尚志大宗)",
  3609. "parameters": [
  3610. {
  3611. "type": "integer",
  3612. "description": "资金账户",
  3613. "name": "accountID",
  3614. "in": "query",
  3615. "required": true
  3616. }
  3617. ],
  3618. "responses": {
  3619. "200": {
  3620. "description": "OK",
  3621. "schema": {
  3622. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3623. }
  3624. },
  3625. "500": {
  3626. "description": "Internal Server Error",
  3627. "schema": {
  3628. "$ref": "#/definitions/app.Response"
  3629. }
  3630. }
  3631. }
  3632. }
  3633. },
  3634. "/SZDZ/SearchWhite": {
  3635. "get": {
  3636. "security": [
  3637. {
  3638. "ApiKeyAuth": []
  3639. }
  3640. ],
  3641. "produces": [
  3642. "application/json"
  3643. ],
  3644. "tags": [
  3645. "定制【尚志大宗】"
  3646. ],
  3647. "summary": "搜索白名单",
  3648. "parameters": [
  3649. {
  3650. "type": "integer",
  3651. "description": "用户ID",
  3652. "name": "userID",
  3653. "in": "query",
  3654. "required": true
  3655. }
  3656. ],
  3657. "responses": {
  3658. "200": {
  3659. "description": "OK",
  3660. "schema": {
  3661. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3662. }
  3663. },
  3664. "500": {
  3665. "description": "Internal Server Error",
  3666. "schema": {
  3667. "$ref": "#/definitions/app.Response"
  3668. }
  3669. }
  3670. }
  3671. }
  3672. },
  3673. "/Search/SearchGoodses": {
  3674. "get": {
  3675. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3676. "produces": [
  3677. "application/json"
  3678. ],
  3679. "tags": [
  3680. "检索服务"
  3681. ],
  3682. "summary": "检索商品信息",
  3683. "parameters": [
  3684. {
  3685. "type": "string",
  3686. "description": "检索内容",
  3687. "name": "content",
  3688. "in": "query",
  3689. "required": true
  3690. },
  3691. {
  3692. "type": "string",
  3693. "description": "交易模式,格式:1,2,3",
  3694. "name": "tradeModes",
  3695. "in": "query"
  3696. }
  3697. ],
  3698. "responses": {
  3699. "200": {
  3700. "description": "OK",
  3701. "schema": {
  3702. "$ref": "#/definitions/models.SearchGoods"
  3703. }
  3704. },
  3705. "500": {
  3706. "description": "Internal Server Error",
  3707. "schema": {
  3708. "$ref": "#/definitions/app.Response"
  3709. }
  3710. }
  3711. }
  3712. }
  3713. },
  3714. "/TaAccount/QueryAmountLog": {
  3715. "get": {
  3716. "security": [
  3717. {
  3718. "ApiKeyAuth": []
  3719. }
  3720. ],
  3721. "produces": [
  3722. "application/json"
  3723. ],
  3724. "tags": [
  3725. "资金账户"
  3726. ],
  3727. "summary": "资金流水查询(当前)",
  3728. "parameters": [
  3729. {
  3730. "type": "integer",
  3731. "description": "页码",
  3732. "name": "page",
  3733. "in": "query"
  3734. },
  3735. {
  3736. "type": "integer",
  3737. "description": "每页条数",
  3738. "name": "pagesize",
  3739. "in": "query"
  3740. },
  3741. {
  3742. "type": "string",
  3743. "description": "资金账户 - 格式:1,2,3",
  3744. "name": "accountID",
  3745. "in": "query",
  3746. "required": true
  3747. },
  3748. {
  3749. "type": "string",
  3750. "description": "资金操作类型 - 格式:1,2,3",
  3751. "name": "OperateType",
  3752. "in": "query"
  3753. }
  3754. ],
  3755. "responses": {
  3756. "200": {
  3757. "description": "OK",
  3758. "schema": {
  3759. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3760. }
  3761. },
  3762. "500": {
  3763. "description": "Internal Server Error",
  3764. "schema": {
  3765. "$ref": "#/definitions/app.Response"
  3766. }
  3767. }
  3768. }
  3769. }
  3770. },
  3771. "/TaAccount/QueryHisAmountLog": {
  3772. "get": {
  3773. "security": [
  3774. {
  3775. "ApiKeyAuth": []
  3776. }
  3777. ],
  3778. "produces": [
  3779. "application/json"
  3780. ],
  3781. "tags": [
  3782. "资金账户"
  3783. ],
  3784. "summary": "资金流水查询(历史)",
  3785. "parameters": [
  3786. {
  3787. "type": "integer",
  3788. "description": "页码",
  3789. "name": "page",
  3790. "in": "query"
  3791. },
  3792. {
  3793. "type": "integer",
  3794. "description": "每页条数",
  3795. "name": "pagesize",
  3796. "in": "query"
  3797. },
  3798. {
  3799. "type": "string",
  3800. "description": "资金账户 - 格式:1,2,3",
  3801. "name": "accountID",
  3802. "in": "query",
  3803. "required": true
  3804. },
  3805. {
  3806. "type": "string",
  3807. "description": "资金操作类型 - 格式:1,2,3",
  3808. "name": "OperateType",
  3809. "in": "query"
  3810. },
  3811. {
  3812. "type": "string",
  3813. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3814. "name": "startDate",
  3815. "in": "query"
  3816. },
  3817. {
  3818. "type": "string",
  3819. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3820. "name": "endDate",
  3821. "in": "query"
  3822. }
  3823. ],
  3824. "responses": {
  3825. "200": {
  3826. "description": "OK",
  3827. "schema": {
  3828. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3829. }
  3830. },
  3831. "500": {
  3832. "description": "Internal Server Error",
  3833. "schema": {
  3834. "$ref": "#/definitions/app.Response"
  3835. }
  3836. }
  3837. }
  3838. }
  3839. },
  3840. "/Trade/QueryRecieptOrder": {
  3841. "get": {
  3842. "security": [
  3843. {
  3844. "ApiKeyAuth": []
  3845. }
  3846. ],
  3847. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3848. "produces": [
  3849. "application/json"
  3850. ],
  3851. "tags": [
  3852. "通用交易"
  3853. ],
  3854. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3855. "parameters": [
  3856. {
  3857. "type": "integer",
  3858. "description": "页码",
  3859. "name": "page",
  3860. "in": "query"
  3861. },
  3862. {
  3863. "type": "integer",
  3864. "description": "每页条数",
  3865. "name": "pagesize",
  3866. "in": "query"
  3867. },
  3868. {
  3869. "type": "integer",
  3870. "description": "商品ID",
  3871. "name": "goodsID",
  3872. "in": "query",
  3873. "required": true
  3874. },
  3875. {
  3876. "type": "string",
  3877. "description": "所属账户名称",
  3878. "name": "accountName",
  3879. "in": "query"
  3880. },
  3881. {
  3882. "type": "integer",
  3883. "description": "市场ID",
  3884. "name": "marketID",
  3885. "in": "query"
  3886. },
  3887. {
  3888. "type": "integer",
  3889. "description": "方向 - 0:买 1:卖",
  3890. "name": "buyorsell",
  3891. "in": "query",
  3892. "required": true
  3893. }
  3894. ],
  3895. "responses": {
  3896. "200": {
  3897. "description": "OK",
  3898. "schema": {
  3899. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3900. }
  3901. },
  3902. "500": {
  3903. "description": "Internal Server Error",
  3904. "schema": {
  3905. "$ref": "#/definitions/app.Response"
  3906. }
  3907. }
  3908. }
  3909. }
  3910. },
  3911. "/User/AddMessageBoard": {
  3912. "post": {
  3913. "security": [
  3914. {
  3915. "ApiKeyAuth": []
  3916. }
  3917. ],
  3918. "produces": [
  3919. "application/json"
  3920. ],
  3921. "tags": [
  3922. "用户信息"
  3923. ],
  3924. "summary": "添加用户留言板信息",
  3925. "parameters": [
  3926. {
  3927. "type": "integer",
  3928. "description": "用户ID",
  3929. "name": "userID",
  3930. "in": "query",
  3931. "required": true
  3932. },
  3933. {
  3934. "type": "string",
  3935. "description": "留言信息",
  3936. "name": "message",
  3937. "in": "query",
  3938. "required": true
  3939. }
  3940. ],
  3941. "responses": {
  3942. "200": {
  3943. "description": "OK",
  3944. "schema": {
  3945. "$ref": "#/definitions/app.Response"
  3946. }
  3947. },
  3948. "500": {
  3949. "description": "Internal Server Error",
  3950. "schema": {
  3951. "$ref": "#/definitions/app.Response"
  3952. }
  3953. }
  3954. }
  3955. }
  3956. },
  3957. "/User/AddUserFavoriteGoods": {
  3958. "post": {
  3959. "security": [
  3960. {
  3961. "ApiKeyAuth": []
  3962. }
  3963. ],
  3964. "produces": [
  3965. "application/json"
  3966. ],
  3967. "tags": [
  3968. "用户信息"
  3969. ],
  3970. "summary": "添加用户商品收藏信息",
  3971. "parameters": [
  3972. {
  3973. "type": "integer",
  3974. "description": "用户ID",
  3975. "name": "userID",
  3976. "in": "query",
  3977. "required": true
  3978. },
  3979. {
  3980. "type": "integer",
  3981. "description": "商品ID",
  3982. "name": "goodsID",
  3983. "in": "query",
  3984. "required": true
  3985. }
  3986. ],
  3987. "responses": {
  3988. "200": {
  3989. "description": "OK",
  3990. "schema": {
  3991. "$ref": "#/definitions/app.Response"
  3992. }
  3993. },
  3994. "500": {
  3995. "description": "Internal Server Error",
  3996. "schema": {
  3997. "$ref": "#/definitions/app.Response"
  3998. }
  3999. }
  4000. }
  4001. }
  4002. },
  4003. "/User/GetLoginID": {
  4004. "get": {
  4005. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4006. "produces": [
  4007. "application/json"
  4008. ],
  4009. "tags": [
  4010. "用户信息"
  4011. ],
  4012. "summary": "获取登录ID",
  4013. "parameters": [
  4014. {
  4015. "type": "string",
  4016. "description": "登录代码",
  4017. "name": "username",
  4018. "in": "query",
  4019. "required": true
  4020. }
  4021. ],
  4022. "responses": {
  4023. "200": {
  4024. "description": "OK",
  4025. "schema": {
  4026. "$ref": "#/definitions/app.Response"
  4027. }
  4028. },
  4029. "500": {
  4030. "description": "Internal Server Error",
  4031. "schema": {
  4032. "$ref": "#/definitions/app.Response"
  4033. }
  4034. }
  4035. }
  4036. }
  4037. },
  4038. "/User/GetUserAccount": {
  4039. "get": {
  4040. "security": [
  4041. {
  4042. "ApiKeyAuth": []
  4043. }
  4044. ],
  4045. "produces": [
  4046. "application/json"
  4047. ],
  4048. "tags": [
  4049. "用户信息"
  4050. ],
  4051. "summary": "获取用户账号信息",
  4052. "parameters": [
  4053. {
  4054. "type": "integer",
  4055. "description": "用户ID",
  4056. "name": "userID",
  4057. "in": "query",
  4058. "required": true
  4059. }
  4060. ],
  4061. "responses": {
  4062. "200": {
  4063. "description": "OK",
  4064. "schema": {
  4065. "$ref": "#/definitions/models.Useraccount"
  4066. }
  4067. },
  4068. "500": {
  4069. "description": "Internal Server Error",
  4070. "schema": {
  4071. "$ref": "#/definitions/app.Response"
  4072. }
  4073. }
  4074. }
  4075. }
  4076. },
  4077. "/User/GetUserAuthStatus": {
  4078. "get": {
  4079. "security": [
  4080. {
  4081. "ApiKeyAuth": []
  4082. }
  4083. ],
  4084. "produces": [
  4085. "application/json"
  4086. ],
  4087. "tags": [
  4088. "用户信息"
  4089. ],
  4090. "summary": "获取用户实名认证状态",
  4091. "parameters": [
  4092. {
  4093. "type": "integer",
  4094. "description": "用户ID",
  4095. "name": "userID",
  4096. "in": "query",
  4097. "required": true
  4098. }
  4099. ],
  4100. "responses": {
  4101. "200": {
  4102. "description": "OK",
  4103. "schema": {
  4104. "$ref": "#/definitions/app.Response"
  4105. }
  4106. },
  4107. "500": {
  4108. "description": "Internal Server Error",
  4109. "schema": {
  4110. "$ref": "#/definitions/app.Response"
  4111. }
  4112. }
  4113. }
  4114. }
  4115. },
  4116. "/User/QueryMessageBoard": {
  4117. "get": {
  4118. "security": [
  4119. {
  4120. "ApiKeyAuth": []
  4121. }
  4122. ],
  4123. "produces": [
  4124. "application/json"
  4125. ],
  4126. "tags": [
  4127. "用户信息"
  4128. ],
  4129. "summary": "获取用户留言板信息",
  4130. "parameters": [
  4131. {
  4132. "type": "integer",
  4133. "description": "用户ID",
  4134. "name": "userID",
  4135. "in": "query",
  4136. "required": true
  4137. }
  4138. ],
  4139. "responses": {
  4140. "200": {
  4141. "description": "OK",
  4142. "schema": {
  4143. "$ref": "#/definitions/models.Messageboard"
  4144. }
  4145. },
  4146. "500": {
  4147. "description": "Internal Server Error",
  4148. "schema": {
  4149. "$ref": "#/definitions/app.Response"
  4150. }
  4151. }
  4152. }
  4153. }
  4154. },
  4155. "/User/QueryUserFavoriteGoodses": {
  4156. "get": {
  4157. "security": [
  4158. {
  4159. "ApiKeyAuth": []
  4160. }
  4161. ],
  4162. "produces": [
  4163. "application/json"
  4164. ],
  4165. "tags": [
  4166. "用户信息"
  4167. ],
  4168. "summary": "获取用户商品收藏信息",
  4169. "parameters": [
  4170. {
  4171. "type": "integer",
  4172. "description": "用户ID",
  4173. "name": "userID",
  4174. "in": "query",
  4175. "required": true
  4176. }
  4177. ],
  4178. "responses": {
  4179. "200": {
  4180. "description": "OK",
  4181. "schema": {
  4182. "$ref": "#/definitions/models.Userfavoritegoods"
  4183. }
  4184. },
  4185. "500": {
  4186. "description": "Internal Server Error",
  4187. "schema": {
  4188. "$ref": "#/definitions/app.Response"
  4189. }
  4190. }
  4191. }
  4192. }
  4193. },
  4194. "/User/QueryUserInfo": {
  4195. "get": {
  4196. "security": [
  4197. {
  4198. "ApiKeyAuth": []
  4199. }
  4200. ],
  4201. "produces": [
  4202. "application/json"
  4203. ],
  4204. "tags": [
  4205. "用户信息"
  4206. ],
  4207. "summary": "获取用户信息",
  4208. "parameters": [
  4209. {
  4210. "type": "integer",
  4211. "description": "用户ID",
  4212. "name": "userID",
  4213. "in": "query",
  4214. "required": true
  4215. }
  4216. ],
  4217. "responses": {
  4218. "200": {
  4219. "description": "OK",
  4220. "schema": {
  4221. "$ref": "#/definitions/models.Userinfo"
  4222. }
  4223. },
  4224. "500": {
  4225. "description": "Internal Server Error",
  4226. "schema": {
  4227. "$ref": "#/definitions/app.Response"
  4228. }
  4229. }
  4230. }
  4231. }
  4232. },
  4233. "/User/QueryUserReferNum": {
  4234. "get": {
  4235. "produces": [
  4236. "application/json"
  4237. ],
  4238. "tags": [
  4239. "用户信息"
  4240. ],
  4241. "summary": "获取用户邀请码",
  4242. "parameters": [
  4243. {
  4244. "type": "integer",
  4245. "description": "用户ID",
  4246. "name": "userID",
  4247. "in": "query",
  4248. "required": true
  4249. }
  4250. ],
  4251. "responses": {
  4252. "200": {
  4253. "description": "OK",
  4254. "schema": {
  4255. "$ref": "#/definitions/app.Response"
  4256. }
  4257. },
  4258. "500": {
  4259. "description": "Internal Server Error",
  4260. "schema": {
  4261. "$ref": "#/definitions/app.Response"
  4262. }
  4263. }
  4264. }
  4265. }
  4266. },
  4267. "/User/RemoveUserFavoriteGoods": {
  4268. "post": {
  4269. "security": [
  4270. {
  4271. "ApiKeyAuth": []
  4272. }
  4273. ],
  4274. "produces": [
  4275. "application/json"
  4276. ],
  4277. "tags": [
  4278. "用户信息"
  4279. ],
  4280. "summary": "移除用户商品收藏信息",
  4281. "parameters": [
  4282. {
  4283. "type": "integer",
  4284. "description": "用户ID",
  4285. "name": "userID",
  4286. "in": "query",
  4287. "required": true
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "商品ID",
  4292. "name": "goodsID",
  4293. "in": "query",
  4294. "required": true
  4295. }
  4296. ],
  4297. "responses": {
  4298. "200": {
  4299. "description": "OK",
  4300. "schema": {
  4301. "$ref": "#/definitions/app.Response"
  4302. }
  4303. },
  4304. "500": {
  4305. "description": "Internal Server Error",
  4306. "schema": {
  4307. "$ref": "#/definitions/app.Response"
  4308. }
  4309. }
  4310. }
  4311. }
  4312. },
  4313. "/WR/GetWRCategoryInfo": {
  4314. "get": {
  4315. "produces": [
  4316. "application/json"
  4317. ],
  4318. "tags": [
  4319. "仓单服务"
  4320. ],
  4321. "summary": "获取现货分类信息",
  4322. "responses": {
  4323. "200": {
  4324. "description": "OK",
  4325. "schema": {
  4326. "$ref": "#/definitions/models.WRCategoryTree"
  4327. }
  4328. },
  4329. "500": {
  4330. "description": "Internal Server Error",
  4331. "schema": {
  4332. "$ref": "#/definitions/app.Response"
  4333. }
  4334. }
  4335. }
  4336. }
  4337. },
  4338. "/WRTrade/GetAllDeliveryGoods": {
  4339. "get": {
  4340. "security": [
  4341. {
  4342. "ApiKeyAuth": []
  4343. },
  4344. {
  4345. "ApiKeyAuth": []
  4346. }
  4347. ],
  4348. "produces": [
  4349. "application/json",
  4350. "application/json"
  4351. ],
  4352. "tags": [
  4353. "仓单贸易",
  4354. "仓单贸易"
  4355. ],
  4356. "summary": "获取带仓单分类的种类信息",
  4357. "responses": {
  4358. "200": {
  4359. "description": "OK",
  4360. "schema": {
  4361. "$ref": "#/definitions/app.Response"
  4362. }
  4363. },
  4364. "500": {
  4365. "description": "Internal Server Error",
  4366. "schema": {
  4367. "$ref": "#/definitions/app.Response"
  4368. }
  4369. }
  4370. }
  4371. }
  4372. }
  4373. },
  4374. "definitions": {
  4375. "app.Response": {
  4376. "type": "object",
  4377. "properties": {
  4378. "code": {
  4379. "type": "integer"
  4380. },
  4381. "data": {
  4382. "type": "object"
  4383. },
  4384. "msg": {
  4385. "type": "string"
  4386. },
  4387. "page": {
  4388. "description": "页码",
  4389. "type": "integer"
  4390. },
  4391. "pagesize": {
  4392. "description": "每页条数",
  4393. "type": "integer"
  4394. },
  4395. "total": {
  4396. "description": "总条数",
  4397. "type": "integer"
  4398. }
  4399. }
  4400. },
  4401. "common.QueryNoticeRsp": {
  4402. "type": "object",
  4403. "required": [
  4404. "autoid"
  4405. ],
  4406. "properties": {
  4407. "auditoruserid": {
  4408. "description": "审核人",
  4409. "type": "integer"
  4410. },
  4411. "auditremark": {
  4412. "description": "审核备注",
  4413. "type": "string"
  4414. },
  4415. "audittime": {
  4416. "description": "审核日期",
  4417. "type": "string"
  4418. },
  4419. "autoid": {
  4420. "description": "自增ID",
  4421. "type": "integer"
  4422. },
  4423. "content": {
  4424. "description": "内容",
  4425. "type": "string"
  4426. },
  4427. "createtime": {
  4428. "description": "创建时间",
  4429. "type": "string"
  4430. },
  4431. "creatorid": {
  4432. "description": "建仓人",
  4433. "type": "integer"
  4434. },
  4435. "endtime": {
  4436. "description": "结束时间",
  4437. "type": "string"
  4438. },
  4439. "istop": {
  4440. "description": "是否置顶 - 0:不置顶 1:置顶",
  4441. "type": "integer"
  4442. },
  4443. "msgiconurl": {
  4444. "description": "消息图标Url",
  4445. "type": "string"
  4446. },
  4447. "msgtype": {
  4448. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4449. "type": "integer"
  4450. },
  4451. "publisher": {
  4452. "description": "消息发布者",
  4453. "type": "string"
  4454. },
  4455. "readed": {
  4456. "description": "是否已读",
  4457. "type": "boolean"
  4458. },
  4459. "scheduletime": {
  4460. "description": "计划发送时间",
  4461. "type": "string"
  4462. },
  4463. "sendtype": {
  4464. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4465. "type": "integer"
  4466. },
  4467. "sentstatus": {
  4468. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4469. "type": "integer"
  4470. },
  4471. "title": {
  4472. "description": "标题",
  4473. "type": "string"
  4474. },
  4475. "userid": {
  4476. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4477. "type": "integer"
  4478. }
  4479. }
  4480. },
  4481. "common.QueryProvincesAndCitiesRsp": {
  4482. "type": "object",
  4483. "properties": {
  4484. "cities": {
  4485. "description": "市",
  4486. "type": "array",
  4487. "items": {
  4488. "$ref": "#/definitions/models.Division"
  4489. }
  4490. },
  4491. "province": {
  4492. "description": "省",
  4493. "type": "object",
  4494. "$ref": "#/definitions/models.Division"
  4495. }
  4496. }
  4497. },
  4498. "common.QueryTableDefineRsp": {
  4499. "type": "object",
  4500. "required": [
  4501. "tablekey"
  4502. ],
  4503. "properties": {
  4504. "columns": {
  4505. "description": "列头信息数组",
  4506. "type": "array",
  4507. "items": {
  4508. "$ref": "#/definitions/models.Tablecolumnconfig"
  4509. }
  4510. },
  4511. "remark": {
  4512. "description": "Remark",
  4513. "type": "string"
  4514. },
  4515. "tabelmenu": {
  4516. "description": "列表菜单",
  4517. "type": "string"
  4518. },
  4519. "tablekey": {
  4520. "description": "列表Key",
  4521. "type": "string"
  4522. },
  4523. "tablename": {
  4524. "description": "列表名称",
  4525. "type": "string"
  4526. },
  4527. "tabletype": {
  4528. "description": "列表类型 - 1:管理端 2:终端",
  4529. "type": "integer"
  4530. }
  4531. }
  4532. },
  4533. "common.QueryTraderMenuRsp": {
  4534. "type": "object",
  4535. "properties": {
  4536. "OperationMenu": {
  4537. "description": "功能菜单",
  4538. "type": "array",
  4539. "items": {
  4540. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4541. }
  4542. },
  4543. "QuoteMenu": {
  4544. "description": "报价牌分类菜单",
  4545. "type": "array",
  4546. "items": {
  4547. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4548. }
  4549. }
  4550. }
  4551. },
  4552. "cptrade.Cptradepositioncancel": {
  4553. "type": "object",
  4554. "required": [
  4555. "cancelid"
  4556. ],
  4557. "properties": {
  4558. "accountid": {
  4559. "description": "申请人账户ID",
  4560. "type": "integer"
  4561. },
  4562. "applystatus": {
  4563. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4564. "type": "integer"
  4565. },
  4566. "applytime": {
  4567. "description": "申请时间",
  4568. "type": "string"
  4569. },
  4570. "cancelid": {
  4571. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4572. "type": "integer"
  4573. },
  4574. "cancelqty": {
  4575. "description": "注销数量",
  4576. "type": "integer"
  4577. },
  4578. "createtime": {
  4579. "description": "创建时间",
  4580. "type": "string"
  4581. },
  4582. "creatorid": {
  4583. "description": "创建人ID",
  4584. "type": "integer"
  4585. },
  4586. "creatorname": {
  4587. "description": "创建人",
  4588. "type": "string"
  4589. },
  4590. "goodscode": {
  4591. "description": "订单商品代码",
  4592. "type": "string"
  4593. },
  4594. "goodsid": {
  4595. "description": "商品ID",
  4596. "type": "integer"
  4597. },
  4598. "goodsname": {
  4599. "description": "订单商品名称",
  4600. "type": "string"
  4601. },
  4602. "goodunit": {
  4603. "description": "报价单位",
  4604. "type": "string"
  4605. },
  4606. "handlestatus": {
  4607. "description": "处理状态",
  4608. "type": "integer"
  4609. },
  4610. "marketid": {
  4611. "description": "市场ID",
  4612. "type": "integer"
  4613. },
  4614. "marketname": {
  4615. "description": "市场名称",
  4616. "type": "string"
  4617. },
  4618. "tradedate": {
  4619. "description": "交易日(yyyyMMdd)",
  4620. "type": "string"
  4621. },
  4622. "userid": {
  4623. "description": "申请人ID",
  4624. "type": "integer"
  4625. }
  4626. }
  4627. },
  4628. "cptrade.Cptradepresaleapply": {
  4629. "type": "object",
  4630. "required": [
  4631. "applyid"
  4632. ],
  4633. "properties": {
  4634. "accountid": {
  4635. "description": "申请人账户ID",
  4636. "type": "integer"
  4637. },
  4638. "applyid": {
  4639. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4640. "type": "integer"
  4641. },
  4642. "applyremark": {
  4643. "description": "申请备注",
  4644. "type": "string"
  4645. },
  4646. "applystatus": {
  4647. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4648. "type": "integer"
  4649. },
  4650. "applytime": {
  4651. "description": "申请时间",
  4652. "type": "string"
  4653. },
  4654. "attachmenturl": {
  4655. "description": "附件地址",
  4656. "type": "string"
  4657. },
  4658. "endtime": {
  4659. "description": "预售结束时间",
  4660. "type": "string"
  4661. },
  4662. "goodscode": {
  4663. "description": "商品代码",
  4664. "type": "string"
  4665. },
  4666. "goodsid": {
  4667. "description": "商品ID",
  4668. "type": "integer"
  4669. },
  4670. "goodsname": {
  4671. "description": "商品名称",
  4672. "type": "string"
  4673. },
  4674. "goodunit": {
  4675. "description": "报价单位",
  4676. "type": "string"
  4677. },
  4678. "handlestatus": {
  4679. "description": "处理状态",
  4680. "type": "integer"
  4681. },
  4682. "marketid": {
  4683. "description": "预售市场ID",
  4684. "type": "integer"
  4685. },
  4686. "marketname": {
  4687. "description": "预售市场名称",
  4688. "type": "string"
  4689. },
  4690. "presaleqty": {
  4691. "description": "预售数量",
  4692. "type": "integer"
  4693. },
  4694. "relatedgoodscode": {
  4695. "description": "关联交易合约代码",
  4696. "type": "string"
  4697. },
  4698. "relatedgoodsid": {
  4699. "description": "关联交易合约ID",
  4700. "type": "integer"
  4701. },
  4702. "relatedgoodsname": {
  4703. "description": "关联交易合约名称",
  4704. "type": "string"
  4705. },
  4706. "starttime": {
  4707. "description": "预售开始时间",
  4708. "type": "string"
  4709. },
  4710. "tradedate": {
  4711. "description": "交易日(yyyyMMdd)",
  4712. "type": "string"
  4713. },
  4714. "trademode": {
  4715. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4716. "type": "integer"
  4717. },
  4718. "userid": {
  4719. "description": "申请人ID",
  4720. "type": "integer"
  4721. }
  4722. }
  4723. },
  4724. "cptrade.Cptradeusergoodsdata": {
  4725. "type": "object",
  4726. "required": [
  4727. "accountid",
  4728. "goodsid"
  4729. ],
  4730. "properties": {
  4731. "EnabledQty": {
  4732. "description": "可用量",
  4733. "type": "integer"
  4734. },
  4735. "GoodsCode": {
  4736. "description": "订单商品代码",
  4737. "type": "string"
  4738. },
  4739. "GoodsName": {
  4740. "description": "订单商品名称",
  4741. "type": "string"
  4742. },
  4743. "WRStandardCode": {
  4744. "description": "仓单标准代码",
  4745. "type": "string"
  4746. },
  4747. "WRStandardName": {
  4748. "description": "仓单标准名称",
  4749. "type": "string"
  4750. },
  4751. "accountid": {
  4752. "description": "账户ID",
  4753. "type": "integer"
  4754. },
  4755. "cancelqty": {
  4756. "description": "注销量",
  4757. "type": "integer"
  4758. },
  4759. "curpresaleqty": {
  4760. "description": "当前预售量",
  4761. "type": "integer"
  4762. },
  4763. "deliveryqty": {
  4764. "description": "交割量",
  4765. "type": "integer"
  4766. },
  4767. "freezeamount": {
  4768. "description": "冻结金额",
  4769. "type": "number"
  4770. },
  4771. "goodsid": {
  4772. "description": "商品ID",
  4773. "type": "integer"
  4774. },
  4775. "goodunit": {
  4776. "description": "报价单位",
  4777. "type": "string"
  4778. },
  4779. "hasspotfreeze": {
  4780. "description": "是否有现货冻结 - 0:否 1:有",
  4781. "type": "integer"
  4782. },
  4783. "inqty": {
  4784. "description": "转入量(总数量)",
  4785. "type": "integer"
  4786. },
  4787. "marketid": {
  4788. "description": "市场ID",
  4789. "type": "integer"
  4790. },
  4791. "presaledamount": {
  4792. "description": "已预售总金额",
  4793. "type": "integer"
  4794. },
  4795. "presaledqty": {
  4796. "description": "已预售量",
  4797. "type": "integer"
  4798. },
  4799. "userid": {
  4800. "description": "用户ID",
  4801. "type": "integer"
  4802. },
  4803. "wrstandardid": {
  4804. "description": "仓单标准ID",
  4805. "type": "integer"
  4806. }
  4807. }
  4808. },
  4809. "cptrade.QueryCPTradeMyBidRsp": {
  4810. "type": "object",
  4811. "required": [
  4812. "accountid",
  4813. "goodsid",
  4814. "marketid",
  4815. "orderid",
  4816. "orderqty",
  4817. "ordertime",
  4818. "tradeprice",
  4819. "tradeqty"
  4820. ],
  4821. "properties": {
  4822. "accountid": {
  4823. "description": "账户ID[报价币种]",
  4824. "type": "integer"
  4825. },
  4826. "goodsid": {
  4827. "description": "商品ID",
  4828. "type": "integer"
  4829. },
  4830. "goodunit": {
  4831. "description": "报价单位",
  4832. "type": "string"
  4833. },
  4834. "marketid": {
  4835. "description": "市场ID",
  4836. "type": "integer"
  4837. },
  4838. "orderid": {
  4839. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4840. "type": "integer"
  4841. },
  4842. "orderprice": {
  4843. "description": "委托价格",
  4844. "type": "number"
  4845. },
  4846. "orderqty": {
  4847. "description": "委托数量",
  4848. "type": "integer"
  4849. },
  4850. "ordertime": {
  4851. "description": "委托时间",
  4852. "type": "string"
  4853. },
  4854. "ordertotalprice": {
  4855. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4856. "type": "number"
  4857. },
  4858. "ordertotalweight": {
  4859. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4860. "type": "integer"
  4861. },
  4862. "totaltotalprice": {
  4863. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4864. "type": "number"
  4865. },
  4866. "tradeprice": {
  4867. "description": "成交价格",
  4868. "type": "number"
  4869. },
  4870. "tradeqty": {
  4871. "description": "成交数量",
  4872. "type": "integer"
  4873. }
  4874. }
  4875. },
  4876. "cptrade.QueryCPTradeOrderDetailRsq": {
  4877. "type": "object",
  4878. "required": [
  4879. "accountid",
  4880. "buildtype",
  4881. "buyorsell",
  4882. "goodsid",
  4883. "marketid",
  4884. "memberuserid",
  4885. "operatetype",
  4886. "orderqty",
  4887. "ordertime",
  4888. "pricemode",
  4889. "strorderid",
  4890. "tradedate",
  4891. "validtype"
  4892. ],
  4893. "properties": {
  4894. "accountid": {
  4895. "description": "账户ID[报价币种]",
  4896. "type": "integer"
  4897. },
  4898. "buildtype": {
  4899. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4900. "type": "integer"
  4901. },
  4902. "buyorsell": {
  4903. "description": "买卖 - 0:买 1:卖",
  4904. "type": "integer"
  4905. },
  4906. "cancelorderid": {
  4907. "description": "撤单单号(撤单时填写)",
  4908. "type": "integer"
  4909. },
  4910. "cancelqty": {
  4911. "description": "撤单数量",
  4912. "type": "integer"
  4913. },
  4914. "clientordertime": {
  4915. "description": "客户端委托时间",
  4916. "type": "string"
  4917. },
  4918. "clientticket": {
  4919. "description": "客户端流水号",
  4920. "type": "string"
  4921. },
  4922. "clienttype": {
  4923. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4924. "type": "integer"
  4925. },
  4926. "closeexchagechargevalue": {
  4927. "description": "平仓交易所手续费设置值",
  4928. "type": "number"
  4929. },
  4930. "closefeealgorithm": {
  4931. "description": "平仓手续费收取方式 1:比率 2:固定",
  4932. "type": "integer"
  4933. },
  4934. "closefreezecharge": {
  4935. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4936. "type": "number"
  4937. },
  4938. "closememberchargevalue": {
  4939. "description": "平仓会员手续费设置值",
  4940. "type": "number"
  4941. },
  4942. "closeqty": {
  4943. "description": "平仓数量(先建后平操作 需要记录)",
  4944. "type": "integer"
  4945. },
  4946. "closetradeqty": {
  4947. "description": "平仓成交数量(先建后平操作,需要记录)",
  4948. "type": "integer"
  4949. },
  4950. "closeunfreezecharge": {
  4951. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4952. "type": "number"
  4953. },
  4954. "delistingtype": {
  4955. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4956. "type": "integer"
  4957. },
  4958. "freezecharge": {
  4959. "description": "冻结手续费",
  4960. "type": "number"
  4961. },
  4962. "freezemargin": {
  4963. "description": "冻结保证金(冻结交易金额)",
  4964. "type": "number"
  4965. },
  4966. "gcaccountid": {
  4967. "description": "账户ID[合约币种]",
  4968. "type": "integer"
  4969. },
  4970. "goodsid": {
  4971. "description": "商品ID",
  4972. "type": "integer"
  4973. },
  4974. "isconfirmexercise": {
  4975. "description": "是否确认行权- 0:否 1:是",
  4976. "type": "integer"
  4977. },
  4978. "ispreexercise": {
  4979. "description": "是否预申报- 0:否 1:是",
  4980. "type": "integer"
  4981. },
  4982. "listingselecttype": {
  4983. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4984. "type": "integer"
  4985. },
  4986. "marginalgorithm": {
  4987. "description": "保证金收取方式 1:比率 2:固定",
  4988. "type": "integer"
  4989. },
  4990. "marginvalue": {
  4991. "description": "即市保证金设置值",
  4992. "type": "number"
  4993. },
  4994. "marketid": {
  4995. "description": "市场ID",
  4996. "type": "integer"
  4997. },
  4998. "marketmaxsub": {
  4999. "description": "市价最大偏移范围",
  5000. "type": "number"
  5001. },
  5002. "memberuserid": {
  5003. "description": "所属会员UserID",
  5004. "type": "integer"
  5005. },
  5006. "openexchagechargevalue": {
  5007. "description": "建仓交易所手续费设置值",
  5008. "type": "number"
  5009. },
  5010. "openfeealgorithm": {
  5011. "description": "建仓手续费收取方式 1:比率 2:固定",
  5012. "type": "integer"
  5013. },
  5014. "openfreezecharge": {
  5015. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5016. "type": "number"
  5017. },
  5018. "openmemberchargevalue": {
  5019. "description": "建仓会员手续费设置值",
  5020. "type": "number"
  5021. },
  5022. "openqty": {
  5023. "description": "开仓数量(先建后平操作,需要记录)",
  5024. "type": "integer"
  5025. },
  5026. "opentradeqty": {
  5027. "description": "开仓成交数量(先建后平操作,需要记录)",
  5028. "type": "integer"
  5029. },
  5030. "openunfreezecharge": {
  5031. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5032. "type": "number"
  5033. },
  5034. "operatetype": {
  5035. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5036. "type": "integer"
  5037. },
  5038. "operatorid": {
  5039. "description": "登录账号(LoginID)",
  5040. "type": "integer"
  5041. },
  5042. "optiontype": {
  5043. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5044. "type": "integer"
  5045. },
  5046. "orderprice": {
  5047. "description": "委托价格",
  5048. "type": "number"
  5049. },
  5050. "orderqty": {
  5051. "description": "委托数量",
  5052. "type": "integer"
  5053. },
  5054. "ordersrc": {
  5055. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5056. "type": "integer"
  5057. },
  5058. "orderstatus": {
  5059. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5060. "type": "integer"
  5061. },
  5062. "ordertime": {
  5063. "description": "委托时间",
  5064. "type": "string"
  5065. },
  5066. "preexerciseprice": {
  5067. "description": "预申报价格",
  5068. "type": "number"
  5069. },
  5070. "premium": {
  5071. "description": "权利金",
  5072. "type": "number"
  5073. },
  5074. "preorderid": {
  5075. "description": "关联预埋单号(止盈止损单时填写)",
  5076. "type": "integer"
  5077. },
  5078. "pricemode": {
  5079. "description": "取价方式 - 1:市价 2: 限价",
  5080. "type": "integer"
  5081. },
  5082. "quoteid": {
  5083. "description": "报价单ID",
  5084. "type": "integer"
  5085. },
  5086. "relatedid": {
  5087. "description": "关联单号(交割单)",
  5088. "type": "integer"
  5089. },
  5090. "retcode": {
  5091. "description": "错误代码",
  5092. "type": "integer"
  5093. },
  5094. "sessionid": {
  5095. "description": "会话ID",
  5096. "type": "integer"
  5097. },
  5098. "strorderid": {
  5099. "description": "委托单号",
  5100. "type": "string"
  5101. },
  5102. "tradedate": {
  5103. "description": "交易日(yyyyMMdd)",
  5104. "type": "string"
  5105. },
  5106. "tradeproperty": {
  5107. "description": "交易属性",
  5108. "type": "integer"
  5109. },
  5110. "tradeqty": {
  5111. "description": "成交数量",
  5112. "type": "integer"
  5113. },
  5114. "unfreezecharge": {
  5115. "description": "解冻手续费",
  5116. "type": "number"
  5117. },
  5118. "unfreezemargin": {
  5119. "description": "解冻保证金",
  5120. "type": "number"
  5121. },
  5122. "updatetime": {
  5123. "description": "更新时间",
  5124. "type": "string"
  5125. },
  5126. "uuid": {
  5127. "description": "发起端唯一id",
  5128. "type": "string"
  5129. },
  5130. "validtime": {
  5131. "description": "有效期限",
  5132. "type": "string"
  5133. },
  5134. "validtype": {
  5135. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5136. "type": "integer"
  5137. },
  5138. "volumetype": {
  5139. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5140. "type": "integer"
  5141. }
  5142. }
  5143. },
  5144. "cptrade.QueryMyCPTradeGoodsRsp": {
  5145. "type": "object",
  5146. "required": [
  5147. "goodscode",
  5148. "goodsid",
  5149. "goodsname",
  5150. "marketid",
  5151. "relatedgoodscode",
  5152. "relatedgoodsname"
  5153. ],
  5154. "properties": {
  5155. "accountid": {
  5156. "description": "卖方账户ID",
  5157. "type": "integer"
  5158. },
  5159. "agreeunit": {
  5160. "description": "合约单位",
  5161. "type": "number"
  5162. },
  5163. "applyid": {
  5164. "description": "关联申请ID",
  5165. "type": "integer"
  5166. },
  5167. "attachmenturl": {
  5168. "description": "附件地址",
  5169. "type": "string"
  5170. },
  5171. "createtime": {
  5172. "description": "创建时间",
  5173. "type": "string"
  5174. },
  5175. "currencyid": {
  5176. "description": "报价货币ID",
  5177. "type": "integer"
  5178. },
  5179. "decimalplace": {
  5180. "description": "报价小数位",
  5181. "type": "integer"
  5182. },
  5183. "endtime": {
  5184. "description": "预售结束时间",
  5185. "type": "string"
  5186. },
  5187. "floorprice": {
  5188. "description": "底价[大宗式竞拍]",
  5189. "type": "number"
  5190. },
  5191. "goodscode": {
  5192. "description": "商品代码(预售)",
  5193. "type": "string"
  5194. },
  5195. "goodsdetail": {
  5196. "description": "详情[大宗]",
  5197. "type": "string"
  5198. },
  5199. "goodsid": {
  5200. "description": "商品ID(自增ID SEQ_GOODS)",
  5201. "type": "integer"
  5202. },
  5203. "goodsname": {
  5204. "description": "商品名称(预售)",
  5205. "type": "string"
  5206. },
  5207. "goodunit": {
  5208. "description": "报价单位",
  5209. "type": "string"
  5210. },
  5211. "goodunitid": {
  5212. "description": "报价单位ID",
  5213. "type": "integer"
  5214. },
  5215. "marketid": {
  5216. "description": "所属市场ID",
  5217. "type": "integer"
  5218. },
  5219. "marketname": {
  5220. "description": "预售市场名称",
  5221. "type": "string"
  5222. },
  5223. "presaledamount": {
  5224. "description": "已预售总金额(预售结束时更新)",
  5225. "type": "number"
  5226. },
  5227. "presaledqty": {
  5228. "description": "已预售量(预售结束时更新)",
  5229. "type": "integer"
  5230. },
  5231. "presalemode": {
  5232. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5233. "type": "integer"
  5234. },
  5235. "presaleqty": {
  5236. "description": "预售数量",
  5237. "type": "integer"
  5238. },
  5239. "refprice": {
  5240. "description": "参考价格[一口价]",
  5241. "type": "number"
  5242. },
  5243. "relatedgoodscode": {
  5244. "description": "商品代码(订单)",
  5245. "type": "string"
  5246. },
  5247. "relatedgoodsid": {
  5248. "description": "关联交易合约ID",
  5249. "type": "integer"
  5250. },
  5251. "relatedgoodsname": {
  5252. "description": "商品名称(订单)",
  5253. "type": "string"
  5254. },
  5255. "relatedmarketid": {
  5256. "description": "关联交易合约市场ID",
  5257. "type": "integer"
  5258. },
  5259. "sellstatus": {
  5260. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5261. "type": "integer"
  5262. },
  5263. "startprice": {
  5264. "description": "起拍价[大宗式竞拍]",
  5265. "type": "number"
  5266. },
  5267. "starttime": {
  5268. "description": "预售开始时间",
  5269. "type": "string"
  5270. },
  5271. "tradedate": {
  5272. "description": "交易日(yyyyMMdd)",
  5273. "type": "string"
  5274. },
  5275. "tradeprice": {
  5276. "description": "成交价[大宗]",
  5277. "type": "number"
  5278. },
  5279. "userid": {
  5280. "description": "卖方用户ID",
  5281. "type": "integer"
  5282. }
  5283. }
  5284. },
  5285. "cptrade.QueryPresaleGoodsExRsp": {
  5286. "type": "object",
  5287. "required": [
  5288. "goodsid"
  5289. ],
  5290. "properties": {
  5291. "attachmenturl": {
  5292. "description": "附件地址",
  5293. "type": "string"
  5294. },
  5295. "createtime": {
  5296. "description": "创建时间",
  5297. "type": "string"
  5298. },
  5299. "endtime": {
  5300. "description": "预售结束时间",
  5301. "type": "string"
  5302. },
  5303. "floorprice": {
  5304. "description": "底价[大宗式竞拍]",
  5305. "type": "number"
  5306. },
  5307. "goodsdetail": {
  5308. "description": "详情[大宗]",
  5309. "type": "string"
  5310. },
  5311. "goodsid": {
  5312. "description": "商品ID(预售)",
  5313. "type": "integer"
  5314. },
  5315. "goodunit": {
  5316. "description": "报价单位",
  5317. "type": "string"
  5318. },
  5319. "marketid": {
  5320. "description": "预售市场ID - 根据预售模式选择市场",
  5321. "type": "integer"
  5322. },
  5323. "presaledamount": {
  5324. "description": "已预售总金额(预售结束时更新)",
  5325. "type": "number"
  5326. },
  5327. "presaledqty": {
  5328. "description": "已预售量(预售结束时更新)",
  5329. "type": "integer"
  5330. },
  5331. "presalemode": {
  5332. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5333. "type": "integer"
  5334. },
  5335. "presaleqty": {
  5336. "description": "预售数量",
  5337. "type": "integer"
  5338. },
  5339. "refprice": {
  5340. "description": "参考价格[一口价]",
  5341. "type": "number"
  5342. },
  5343. "relatedgoodsid": {
  5344. "description": "关联交易合约ID",
  5345. "type": "integer"
  5346. },
  5347. "relatedmarketid": {
  5348. "description": "关联交易合约市场ID",
  5349. "type": "integer"
  5350. },
  5351. "sellstatus": {
  5352. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5353. "type": "integer"
  5354. },
  5355. "startprice": {
  5356. "description": "起拍价[大宗式竞拍]",
  5357. "type": "number"
  5358. },
  5359. "starttime": {
  5360. "description": "预售开始时间",
  5361. "type": "string"
  5362. },
  5363. "tradedate": {
  5364. "description": "交易日(yyyyMMdd)",
  5365. "type": "string"
  5366. },
  5367. "tradeprice": {
  5368. "description": "成交价[大宗]",
  5369. "type": "number"
  5370. }
  5371. }
  5372. },
  5373. "delivery.QueryDeliveryRelationRsp": {
  5374. "type": "object",
  5375. "required": [
  5376. "begindate",
  5377. "enddate",
  5378. "goodsid",
  5379. "mindeliveryqty",
  5380. "xdeliveryratio"
  5381. ],
  5382. "properties": {
  5383. "begindate": {
  5384. "description": "起始日期(yyyyMMdd)",
  5385. "type": "string"
  5386. },
  5387. "buytemplateid": {
  5388. "description": "买履约计划模板ID",
  5389. "type": "integer"
  5390. },
  5391. "deliverygoodscode": {
  5392. "description": "品种代码",
  5393. "type": "string"
  5394. },
  5395. "deliverygoodsid": {
  5396. "description": "交割商品",
  5397. "type": "integer"
  5398. },
  5399. "deliverygoodsname": {
  5400. "description": "品种名称",
  5401. "type": "string"
  5402. },
  5403. "deliverymode": {
  5404. "description": "交割方式 - 1:点选式 2:申报式",
  5405. "type": "integer"
  5406. },
  5407. "deliverypricerule": {
  5408. "description": "交割价规则- 1:行情价 2:建仓价",
  5409. "type": "integer"
  5410. },
  5411. "deliverytype": {
  5412. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5413. "type": "integer"
  5414. },
  5415. "enddate": {
  5416. "description": "结束日期(yyyyMMdd)",
  5417. "type": "string"
  5418. },
  5419. "goodscode": {
  5420. "description": "商品代码",
  5421. "type": "string"
  5422. },
  5423. "goodsid": {
  5424. "description": "交易合约ID",
  5425. "type": "integer"
  5426. },
  5427. "goodsname": {
  5428. "description": "商品名称",
  5429. "type": "string"
  5430. },
  5431. "marketid": {
  5432. "description": "市场ID",
  5433. "type": "integer"
  5434. },
  5435. "mindeliveryqty": {
  5436. "description": "最小交割系数(K)",
  5437. "type": "integer"
  5438. },
  5439. "p2deliveryprice": {
  5440. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5441. "type": "number"
  5442. },
  5443. "p2deliveryratio": {
  5444. "description": "P2合约系数(p)",
  5445. "type": "integer"
  5446. },
  5447. "p2goodsid": {
  5448. "description": "P2合约ID",
  5449. "type": "integer"
  5450. },
  5451. "p2pricemode": {
  5452. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5453. "type": "integer"
  5454. },
  5455. "pdeliveryprice": {
  5456. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5457. "type": "number"
  5458. },
  5459. "pdeliveryratio": {
  5460. "description": "P合约系数(n)",
  5461. "type": "integer"
  5462. },
  5463. "pgoodsid": {
  5464. "description": "P合约ID",
  5465. "type": "integer"
  5466. },
  5467. "ppricemode": {
  5468. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5469. "type": "integer"
  5470. },
  5471. "rratio": {
  5472. "description": "兑换系数(R)",
  5473. "type": "integer"
  5474. },
  5475. "rratio1": {
  5476. "description": "兑换系数(交易合约)(R1)",
  5477. "type": "integer"
  5478. },
  5479. "rratio2": {
  5480. "description": "兑换系数(仓单标准)(R2)",
  5481. "type": "integer"
  5482. },
  5483. "selltemplateid": {
  5484. "description": "卖履约计划模板ID",
  5485. "type": "integer"
  5486. },
  5487. "wrstandardid": {
  5488. "description": "仓单标准ID",
  5489. "type": "integer"
  5490. },
  5491. "xdeliveryratio": {
  5492. "description": "交易合约系数(m)",
  5493. "type": "integer"
  5494. }
  5495. }
  5496. },
  5497. "ermcp.QryBusinessDjRsp": {
  5498. "type": "object",
  5499. "properties": {
  5500. "amount": {
  5501. "description": "点价金额=(点价价格+升贴水)*点价数量",
  5502. "type": "number"
  5503. },
  5504. "applyid": {
  5505. "description": "申请人",
  5506. "type": "string"
  5507. },
  5508. "applyname": {
  5509. "description": "申请人名称",
  5510. "type": "string"
  5511. },
  5512. "applystatus": {
  5513. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5514. "type": "integer"
  5515. },
  5516. "applytime": {
  5517. "description": "申请时间",
  5518. "type": "string"
  5519. },
  5520. "auditname": {
  5521. "description": "审核人名称",
  5522. "type": "string"
  5523. },
  5524. "audittime": {
  5525. "description": "审核时间",
  5526. "type": "string"
  5527. },
  5528. "buyusername": {
  5529. "description": "采购方名称",
  5530. "type": "string"
  5531. },
  5532. "contractno": {
  5533. "description": "合同编号",
  5534. "type": "string"
  5535. },
  5536. "contracttype": {
  5537. "description": "现货合同类型 - 1:采购 -1:销售",
  5538. "type": "integer"
  5539. },
  5540. "enumdicname": {
  5541. "description": "单位名称",
  5542. "type": "string"
  5543. },
  5544. "goodscode": {
  5545. "description": "点价合约",
  5546. "type": "string"
  5547. },
  5548. "goodsname": {
  5549. "description": "商品名称",
  5550. "type": "string"
  5551. },
  5552. "operateapplyid": {
  5553. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5554. "type": "string"
  5555. },
  5556. "operateapplytype": {
  5557. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5558. "type": "integer"
  5559. },
  5560. "pricedPrice": {
  5561. "description": "点价价格(非必填)",
  5562. "type": "number"
  5563. },
  5564. "pricedQty": {
  5565. "description": "点价数量(非必填)",
  5566. "type": "number"
  5567. },
  5568. "pricemove": {
  5569. "description": "升贴水",
  5570. "type": "number"
  5571. },
  5572. "pricetype": {
  5573. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5574. "type": "integer"
  5575. },
  5576. "relatedid": {
  5577. "description": "现货合同ID",
  5578. "type": "string"
  5579. },
  5580. "sellusername": {
  5581. "description": "销售方名字",
  5582. "type": "string"
  5583. },
  5584. "userid": {
  5585. "description": "用户ID",
  5586. "type": "integer"
  5587. }
  5588. }
  5589. },
  5590. "ermcp.QryBussinessFpRsp": {
  5591. "type": "object",
  5592. "properties": {
  5593. "applyid": {
  5594. "description": "申请人",
  5595. "type": "string"
  5596. },
  5597. "applyname": {
  5598. "description": "申请人名称",
  5599. "type": "string"
  5600. },
  5601. "applystatus": {
  5602. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5603. "type": "integer"
  5604. },
  5605. "applytime": {
  5606. "description": "申请时间",
  5607. "type": "string"
  5608. },
  5609. "auditname": {
  5610. "description": "审核人名称",
  5611. "type": "string"
  5612. },
  5613. "audittime": {
  5614. "description": "审核时间",
  5615. "type": "string"
  5616. },
  5617. "buyusername": {
  5618. "description": "采购方名称",
  5619. "type": "string"
  5620. },
  5621. "contractno": {
  5622. "description": "合同编号",
  5623. "type": "string"
  5624. },
  5625. "contracttype": {
  5626. "description": "现货合同类型 - 1:采购 -1:销售",
  5627. "type": "integer"
  5628. },
  5629. "enumdicname": {
  5630. "description": "单位名称",
  5631. "type": "string"
  5632. },
  5633. "goodscode": {
  5634. "description": "点价合约",
  5635. "type": "string"
  5636. },
  5637. "goodsname": {
  5638. "description": "商品名称",
  5639. "type": "string"
  5640. },
  5641. "invoiceAmount": {
  5642. "description": "已开收票金额(销售为开票,采购为收票)",
  5643. "type": "number"
  5644. },
  5645. "operateapplyid": {
  5646. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5647. "type": "string"
  5648. },
  5649. "operateapplytype": {
  5650. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5651. "type": "integer"
  5652. },
  5653. "pricemove": {
  5654. "description": "升贴水",
  5655. "type": "number"
  5656. },
  5657. "pricetype": {
  5658. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5659. "type": "integer"
  5660. },
  5661. "relatedid": {
  5662. "description": "现货合同ID",
  5663. "type": "string"
  5664. },
  5665. "sellusername": {
  5666. "description": "销售方名字",
  5667. "type": "string"
  5668. },
  5669. "userid": {
  5670. "description": "用户ID",
  5671. "type": "integer"
  5672. }
  5673. }
  5674. },
  5675. "ermcp.QryBussinessJsRsp": {
  5676. "type": "object",
  5677. "properties": {
  5678. "addmargin": {
  5679. "description": "追加保证金(非必填)",
  5680. "type": "number"
  5681. },
  5682. "applyid": {
  5683. "description": "申请人",
  5684. "type": "string"
  5685. },
  5686. "applyname": {
  5687. "description": "申请人名称",
  5688. "type": "string"
  5689. },
  5690. "applystatus": {
  5691. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5692. "type": "integer"
  5693. },
  5694. "applytime": {
  5695. "description": "申请时间",
  5696. "type": "string"
  5697. },
  5698. "auditname": {
  5699. "description": "审核人名称",
  5700. "type": "string"
  5701. },
  5702. "audittime": {
  5703. "description": "审核时间",
  5704. "type": "string"
  5705. },
  5706. "buyusername": {
  5707. "description": "采购方名称",
  5708. "type": "string"
  5709. },
  5710. "contractno": {
  5711. "description": "合同编号",
  5712. "type": "string"
  5713. },
  5714. "contracttype": {
  5715. "description": "现货合同类型 - 1:采购 -1:销售",
  5716. "type": "integer"
  5717. },
  5718. "decmargin": {
  5719. "description": "减少保证金(非必填)",
  5720. "type": "number"
  5721. },
  5722. "enumdicname": {
  5723. "description": "单位名称",
  5724. "type": "string"
  5725. },
  5726. "goodscode": {
  5727. "description": "点价合约",
  5728. "type": "string"
  5729. },
  5730. "goodsname": {
  5731. "description": "商品名称",
  5732. "type": "string"
  5733. },
  5734. "operateapplyid": {
  5735. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5736. "type": "string"
  5737. },
  5738. "operateapplytype": {
  5739. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5740. "type": "integer"
  5741. },
  5742. "pricemove": {
  5743. "description": "升贴水",
  5744. "type": "number"
  5745. },
  5746. "pricetype": {
  5747. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5748. "type": "integer"
  5749. },
  5750. "reckonadjustamount": {
  5751. "description": "结算调整金额(非必填)",
  5752. "type": "number"
  5753. },
  5754. "reckonosamount": {
  5755. "description": "结算溢短金额(非必填)",
  5756. "type": "number"
  5757. },
  5758. "reckonotheramount": {
  5759. "description": "结算其他费用(非必填)",
  5760. "type": "number"
  5761. },
  5762. "reckonrealqty": {
  5763. "description": "结算实际数量(非必填)",
  5764. "type": "number"
  5765. },
  5766. "relatedid": {
  5767. "description": "现货合同ID",
  5768. "type": "string"
  5769. },
  5770. "sellusername": {
  5771. "description": "销售方名字",
  5772. "type": "string"
  5773. },
  5774. "userid": {
  5775. "description": "用户ID",
  5776. "type": "integer"
  5777. }
  5778. }
  5779. },
  5780. "ermcp.QryBussinessKxRsp": {
  5781. "type": "object",
  5782. "properties": {
  5783. "applyid": {
  5784. "description": "申请人",
  5785. "type": "string"
  5786. },
  5787. "applyname": {
  5788. "description": "申请人名称",
  5789. "type": "string"
  5790. },
  5791. "applystatus": {
  5792. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5793. "type": "integer"
  5794. },
  5795. "applytime": {
  5796. "description": "申请时间",
  5797. "type": "string"
  5798. },
  5799. "auditname": {
  5800. "description": "审核人名称",
  5801. "type": "string"
  5802. },
  5803. "audittime": {
  5804. "description": "审核时间",
  5805. "type": "string"
  5806. },
  5807. "buyusername": {
  5808. "description": "采购方名称",
  5809. "type": "string"
  5810. },
  5811. "contractno": {
  5812. "description": "合同编号",
  5813. "type": "string"
  5814. },
  5815. "contracttype": {
  5816. "description": "现货合同类型 - 1:采购 -1:销售",
  5817. "type": "integer"
  5818. },
  5819. "deductamount": {
  5820. "description": "退款(非必填)",
  5821. "type": "number"
  5822. },
  5823. "enumdicname": {
  5824. "description": "单位名称",
  5825. "type": "string"
  5826. },
  5827. "goodscode": {
  5828. "description": "点价合约",
  5829. "type": "string"
  5830. },
  5831. "goodsname": {
  5832. "description": "商品名称",
  5833. "type": "string"
  5834. },
  5835. "operateapplyid": {
  5836. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5837. "type": "string"
  5838. },
  5839. "operateapplytype": {
  5840. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5841. "type": "integer"
  5842. },
  5843. "payamount": {
  5844. "description": "收付款(非必填)",
  5845. "type": "number"
  5846. },
  5847. "pricemove": {
  5848. "description": "升贴水",
  5849. "type": "number"
  5850. },
  5851. "pricetype": {
  5852. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5853. "type": "integer"
  5854. },
  5855. "relatedid": {
  5856. "description": "现货合同ID",
  5857. "type": "string"
  5858. },
  5859. "sellusername": {
  5860. "description": "销售方名字",
  5861. "type": "string"
  5862. },
  5863. "userid": {
  5864. "description": "用户ID",
  5865. "type": "integer"
  5866. }
  5867. }
  5868. },
  5869. "ermcp.QryErmcpRsp": {
  5870. "$ref": "#/definitions/models.ErmcpModel"
  5871. },
  5872. "ermcp.QryHedgePlanRsp": {
  5873. "$ref": "#/definitions/models.ErmcpHedgePlan"
  5874. },
  5875. "ermcp.QryOPLogRsp": {
  5876. "$ref": "#/definitions/models.ErmcpOPLogModel"
  5877. },
  5878. "ermcp.QrySpotContractRsp": {
  5879. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  5880. },
  5881. "ermcp.QryUserInfoRsp": {
  5882. "$ref": "#/definitions/models.ErmcpUserModel"
  5883. },
  5884. "ermcp.QryWrStandardRsp": {
  5885. "$ref": "#/definitions/models.ErmcpWrstandard"
  5886. },
  5887. "erms2.QueryArbitrageStrategyRsp": {
  5888. "type": "object",
  5889. "required": [
  5890. "asapplyid"
  5891. ],
  5892. "properties": {
  5893. "applybasis": {
  5894. "description": "申请基差",
  5895. "type": "number"
  5896. },
  5897. "asapplyid": {
  5898. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  5899. "type": "string"
  5900. },
  5901. "asname": {
  5902. "description": "策略名称",
  5903. "type": "string"
  5904. },
  5905. "asno": {
  5906. "description": "策略编号",
  5907. "type": "string"
  5908. },
  5909. "basischangepl": {
  5910. "description": "基差变动损益[结算更新]",
  5911. "type": "number"
  5912. },
  5913. "biztype": {
  5914. "description": "业务类型 - 1:正向套利 -1:反向套利",
  5915. "type": "integer"
  5916. },
  5917. "closetradedate": {
  5918. "description": "完结交易日(yyyyMMdd)",
  5919. "type": "string"
  5920. },
  5921. "curbasis": {
  5922. "description": "当前基差[结算更新]",
  5923. "type": "number"
  5924. },
  5925. "deliverygoodsid": {
  5926. "description": "现货品种ID",
  5927. "type": "integer"
  5928. },
  5929. "futureavgprice": {
  5930. "description": "期货建仓均价",
  5931. "type": "number"
  5932. },
  5933. "futurecloseamount": {
  5934. "description": "期货平仓金额",
  5935. "type": "number"
  5936. },
  5937. "futurecloseqty": {
  5938. "description": "期货平仓数量",
  5939. "type": "number"
  5940. },
  5941. "futureopenamount": {
  5942. "description": "期货开仓金额",
  5943. "type": "number"
  5944. },
  5945. "futureopenqty": {
  5946. "description": "期货开仓数量",
  5947. "type": "number"
  5948. },
  5949. "futurepl": {
  5950. "description": "期货总盈亏[结算更新]",
  5951. "type": "number"
  5952. },
  5953. "futureqty": {
  5954. "description": "期货持仓数量",
  5955. "type": "number"
  5956. },
  5957. "futurequote": {
  5958. "description": "期货额度",
  5959. "type": "number"
  5960. },
  5961. "goodsgroupid": {
  5962. "description": "期货品种ID",
  5963. "type": "integer"
  5964. },
  5965. "marketid": {
  5966. "description": "市场ID",
  5967. "type": "integer"
  5968. },
  5969. "netexposure": {
  5970. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  5971. "type": "number"
  5972. },
  5973. "netexposurepl": {
  5974. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  5975. "type": "number"
  5976. },
  5977. "netexposurerate": {
  5978. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  5979. "type": "number"
  5980. },
  5981. "openbasis": {
  5982. "description": "建仓基差",
  5983. "type": "number"
  5984. },
  5985. "pricedspotqty": {
  5986. "description": "已定价现货数量",
  5987. "type": "number"
  5988. },
  5989. "pricedspotqtynotax": {
  5990. "description": "已定价现货不含税数量",
  5991. "type": "number"
  5992. },
  5993. "remark": {
  5994. "description": "备注",
  5995. "type": "string"
  5996. },
  5997. "spotavgprice": {
  5998. "description": "现货均价",
  5999. "type": "number"
  6000. },
  6001. "spotbuyamount": {
  6002. "description": "现货采购金额",
  6003. "type": "number"
  6004. },
  6005. "spotbuyqty": {
  6006. "description": "现货采购数量",
  6007. "type": "number"
  6008. },
  6009. "spotpl": {
  6010. "description": "现货总盈亏[结算更新]",
  6011. "type": "number"
  6012. },
  6013. "spotquota": {
  6014. "description": "现货额度",
  6015. "type": "number"
  6016. },
  6017. "spotsellamount": {
  6018. "description": "现货销售金额",
  6019. "type": "number"
  6020. },
  6021. "spotsellqty": {
  6022. "description": "现货销售数量",
  6023. "type": "number"
  6024. },
  6025. "spotusedquota": {
  6026. "description": "现货占用资金",
  6027. "type": "number"
  6028. },
  6029. "strategystatus": {
  6030. "description": "策略状态 - 0:未结束 1:已结束",
  6031. "type": "integer"
  6032. },
  6033. "totalpl": {
  6034. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6035. "type": "number"
  6036. },
  6037. "tradedate": {
  6038. "description": "交易日(yyyyMMdd)",
  6039. "type": "string"
  6040. },
  6041. "updatetime": {
  6042. "description": "更新时间",
  6043. "type": "string"
  6044. },
  6045. "usedquota": {
  6046. "description": "已占用资金",
  6047. "type": "number"
  6048. },
  6049. "userid": {
  6050. "description": "所属机构",
  6051. "type": "integer"
  6052. }
  6053. }
  6054. },
  6055. "erms2.QueryInnerTradeDetailRsp": {
  6056. "type": "object",
  6057. "required": [
  6058. "asapplyid",
  6059. "buyorsell",
  6060. "goodscode",
  6061. "goodsgroupid",
  6062. "goodsgroupname",
  6063. "goodsname",
  6064. "tradeid"
  6065. ],
  6066. "properties": {
  6067. "accountid": {
  6068. "description": "账号ID",
  6069. "type": "integer"
  6070. },
  6071. "agreeunit": {
  6072. "description": "合约单位",
  6073. "type": "number"
  6074. },
  6075. "asapplyid": {
  6076. "description": "策略申请ID",
  6077. "type": "integer"
  6078. },
  6079. "asname": {
  6080. "description": "策略名称",
  6081. "type": "string"
  6082. },
  6083. "asno": {
  6084. "description": "策略编号",
  6085. "type": "string"
  6086. },
  6087. "buyorsell": {
  6088. "description": "方向 - 0:买 1:卖",
  6089. "type": "integer"
  6090. },
  6091. "channelbuildtype": {
  6092. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  6093. "type": "integer"
  6094. },
  6095. "closetype": {
  6096. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  6097. "type": "integer"
  6098. },
  6099. "decimalplace": {
  6100. "description": "报价小数位",
  6101. "type": "integer"
  6102. },
  6103. "detailtype": {
  6104. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  6105. "type": "integer"
  6106. },
  6107. "exexchangecode": {
  6108. "description": "外部交易所代码",
  6109. "type": "string"
  6110. },
  6111. "exexchangename": {
  6112. "description": "外部交易所名称",
  6113. "type": "string"
  6114. },
  6115. "goodscode": {
  6116. "description": "商品代码(合约)",
  6117. "type": "string"
  6118. },
  6119. "goodsgroupid": {
  6120. "description": "商品组ID(品种ID)",
  6121. "type": "integer"
  6122. },
  6123. "goodsgroupname": {
  6124. "description": "商品组名称(品种)",
  6125. "type": "string"
  6126. },
  6127. "goodsid": {
  6128. "description": "商品ID",
  6129. "type": "integer"
  6130. },
  6131. "goodsname": {
  6132. "description": "商品名称(合约)",
  6133. "type": "string"
  6134. },
  6135. "goodunit": {
  6136. "description": "报价单位",
  6137. "type": "string"
  6138. },
  6139. "marketid": {
  6140. "description": "市场ID",
  6141. "type": "integer"
  6142. },
  6143. "orderid": {
  6144. "description": "委托单号",
  6145. "type": "string"
  6146. },
  6147. "outgoodscode": {
  6148. "description": "商品代码(外部)",
  6149. "type": "string"
  6150. },
  6151. "relatedouttradeid": {
  6152. "description": "关联外部成交单ID",
  6153. "type": "string"
  6154. },
  6155. "remark": {
  6156. "description": "备注",
  6157. "type": "string"
  6158. },
  6159. "spotcontractid": {
  6160. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  6161. "type": "integer"
  6162. },
  6163. "spotcontractno": {
  6164. "description": "现货合同编号",
  6165. "type": "string"
  6166. },
  6167. "tradeid": {
  6168. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6169. "type": "string"
  6170. },
  6171. "tradeprice": {
  6172. "description": "成交价格",
  6173. "type": "number"
  6174. },
  6175. "tradeqty": {
  6176. "description": "成交数量",
  6177. "type": "integer"
  6178. },
  6179. "tradetime": {
  6180. "description": "成交时间",
  6181. "type": "string"
  6182. },
  6183. "updatetime": {
  6184. "description": "更新时间",
  6185. "type": "string"
  6186. }
  6187. }
  6188. },
  6189. "erms2.QuerySpotContractRsp": {
  6190. "type": "object",
  6191. "required": [
  6192. "spotcontractid"
  6193. ],
  6194. "properties": {
  6195. "accountid": {
  6196. "description": "资金账户ID",
  6197. "type": "integer"
  6198. },
  6199. "areauserid": {
  6200. "description": "所属机构",
  6201. "type": "integer"
  6202. },
  6203. "closedate": {
  6204. "description": "终止日期",
  6205. "type": "string"
  6206. },
  6207. "closeremark": {
  6208. "description": "结束备注",
  6209. "type": "string"
  6210. },
  6211. "closetradedate": {
  6212. "description": "完结交易日(yyyyMMdd)",
  6213. "type": "string"
  6214. },
  6215. "closetype": {
  6216. "description": "终止类型 - 1:违约 2:提前终止",
  6217. "type": "integer"
  6218. },
  6219. "contractamount": {
  6220. "description": "合同金额",
  6221. "type": "number"
  6222. },
  6223. "contractattachment": {
  6224. "description": "合同附件",
  6225. "type": "string"
  6226. },
  6227. "contractno": {
  6228. "description": "现货合同编号",
  6229. "type": "string"
  6230. },
  6231. "contractqty": {
  6232. "description": "合同数量(数值) (用于计算)",
  6233. "type": "number"
  6234. },
  6235. "contractqtychar": {
  6236. "description": "合同数量\\已订价数量 (用于显示)",
  6237. "type": "string"
  6238. },
  6239. "contractstatus": {
  6240. "description": "合同状态 - 0:未结束 1:已结束",
  6241. "type": "integer"
  6242. },
  6243. "contracttype": {
  6244. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  6245. "type": "integer"
  6246. },
  6247. "customeraccountid": {
  6248. "description": "客户资金账户ID",
  6249. "type": "integer"
  6250. },
  6251. "customeruserid": {
  6252. "description": "客户ID",
  6253. "type": "integer"
  6254. },
  6255. "deliverygoodsdesc": {
  6256. "description": "品种说明",
  6257. "type": "string"
  6258. },
  6259. "deliverygoodsid": {
  6260. "description": "现货品种ID",
  6261. "type": "integer"
  6262. },
  6263. "handlestatus": {
  6264. "description": "处理状态",
  6265. "type": "integer"
  6266. },
  6267. "invoiceatt": {
  6268. "description": "发票附件",
  6269. "type": "string"
  6270. },
  6271. "invoicedatetime": {
  6272. "description": "开收票更新时间",
  6273. "type": "string"
  6274. },
  6275. "invoiceopentime": {
  6276. "description": "开票时间",
  6277. "type": "string"
  6278. },
  6279. "invoiceremark": {
  6280. "description": "发票备注",
  6281. "type": "string"
  6282. },
  6283. "invoicestatus": {
  6284. "description": "开收票状态 - 0:未开票 1:已开票",
  6285. "type": "integer"
  6286. },
  6287. "lastdate": {
  6288. "description": "交货时间",
  6289. "type": "string"
  6290. },
  6291. "marketid": {
  6292. "description": "市场ID",
  6293. "type": "integer"
  6294. },
  6295. "paydatetime": {
  6296. "description": "收付款更新时间",
  6297. "type": "string"
  6298. },
  6299. "payremark": {
  6300. "description": "收付款备注",
  6301. "type": "string"
  6302. },
  6303. "paystatus": {
  6304. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  6305. "type": "integer"
  6306. },
  6307. "positionqty": {
  6308. "description": "头寸数量 - 合同数量去小数部分",
  6309. "type": "integer"
  6310. },
  6311. "producttype": {
  6312. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6313. "type": "integer"
  6314. },
  6315. "relatedqty": {
  6316. "description": "已关联数量",
  6317. "type": "number"
  6318. },
  6319. "relatedstatus": {
  6320. "description": "关联完结状态 - 0:未结束 1:已结束",
  6321. "type": "integer"
  6322. },
  6323. "remark": {
  6324. "description": "备注",
  6325. "type": "string"
  6326. },
  6327. "signdate": {
  6328. "description": "签订日期",
  6329. "type": "string"
  6330. },
  6331. "spotcontractid": {
  6332. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  6333. "type": "string"
  6334. },
  6335. "spotdatetime": {
  6336. "description": "收发货更新时间",
  6337. "type": "string"
  6338. },
  6339. "spotprice": {
  6340. "description": "价格",
  6341. "type": "number"
  6342. },
  6343. "spotremark": {
  6344. "description": "收发货备注",
  6345. "type": "string"
  6346. },
  6347. "spotstatus": {
  6348. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  6349. "type": "integer"
  6350. },
  6351. "tradedate": {
  6352. "description": "交易日(yyyyMMdd)",
  6353. "type": "string"
  6354. },
  6355. "userid": {
  6356. "description": "业务员用户ID",
  6357. "type": "integer"
  6358. },
  6359. "warehouseid": {
  6360. "description": "仓库ID",
  6361. "type": "integer"
  6362. },
  6363. "wrfactortypeid": {
  6364. "description": "仓单要素类型ID",
  6365. "type": "integer"
  6366. },
  6367. "wrstandardid": {
  6368. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6369. "type": "integer"
  6370. }
  6371. }
  6372. },
  6373. "erms3.AddErms2ASApplyReq": {
  6374. "type": "object",
  6375. "required": [
  6376. "asapplyid"
  6377. ],
  6378. "properties": {
  6379. "applybasis": {
  6380. "description": "申请基差",
  6381. "type": "number"
  6382. },
  6383. "applystatus": {
  6384. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6385. "type": "integer"
  6386. },
  6387. "asapplyid": {
  6388. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  6389. "type": "integer"
  6390. },
  6391. "asname": {
  6392. "description": "策略名称",
  6393. "type": "string"
  6394. },
  6395. "asno": {
  6396. "description": "策略编号",
  6397. "type": "string"
  6398. },
  6399. "auditid": {
  6400. "description": "审核人",
  6401. "type": "integer"
  6402. },
  6403. "auditremark": {
  6404. "description": "审核备注",
  6405. "type": "string"
  6406. },
  6407. "audittime": {
  6408. "description": "审核时间",
  6409. "type": "string"
  6410. },
  6411. "biztype": {
  6412. "description": "业务类型 - 1:正向套利 2:反向套利",
  6413. "type": "integer"
  6414. },
  6415. "createtime": {
  6416. "description": "创建时间",
  6417. "type": "string"
  6418. },
  6419. "creatorid": {
  6420. "description": "创建人",
  6421. "type": "integer"
  6422. },
  6423. "deliverygoodsid": {
  6424. "description": "现货品种ID",
  6425. "type": "integer"
  6426. },
  6427. "futurequote": {
  6428. "description": "期货额度",
  6429. "type": "number"
  6430. },
  6431. "goodsgroupid": {
  6432. "description": "期货品种ID",
  6433. "type": "integer"
  6434. },
  6435. "marketid": {
  6436. "description": "市场ID",
  6437. "type": "integer"
  6438. },
  6439. "remark": {
  6440. "description": "备注",
  6441. "type": "string"
  6442. },
  6443. "spotquota": {
  6444. "description": "现货额度",
  6445. "type": "number"
  6446. },
  6447. "tradedate": {
  6448. "description": "交易日(yyyyMMdd)",
  6449. "type": "string"
  6450. },
  6451. "userid": {
  6452. "description": "所属机构",
  6453. "type": "integer"
  6454. }
  6455. }
  6456. },
  6457. "erms3.AddErms2SpotTradeApplyReq": {
  6458. "type": "object",
  6459. "required": [
  6460. "spottradeid"
  6461. ],
  6462. "properties": {
  6463. "applyjsondetail": {
  6464. "description": "申请明细(JSON)",
  6465. "type": "string"
  6466. },
  6467. "applystatus": {
  6468. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6469. "type": "integer"
  6470. },
  6471. "areauserid": {
  6472. "description": "所属机构",
  6473. "type": "integer"
  6474. },
  6475. "auditid": {
  6476. "description": "审核人",
  6477. "type": "integer"
  6478. },
  6479. "auditremark": {
  6480. "description": "审核备注",
  6481. "type": "string"
  6482. },
  6483. "audittime": {
  6484. "description": "审核时间",
  6485. "type": "string"
  6486. },
  6487. "createtime": {
  6488. "description": "创建时间",
  6489. "type": "string"
  6490. },
  6491. "creatorid": {
  6492. "description": "创建人",
  6493. "type": "integer"
  6494. },
  6495. "deliverygoodsid": {
  6496. "description": "现货品种ID",
  6497. "type": "integer"
  6498. },
  6499. "futureaccountid": {
  6500. "description": "期货资金账户",
  6501. "type": "integer"
  6502. },
  6503. "goodsgroupid": {
  6504. "description": "期货品种",
  6505. "type": "integer"
  6506. },
  6507. "marketid": {
  6508. "description": "市场ID",
  6509. "type": "integer"
  6510. },
  6511. "remark": {
  6512. "description": "备注",
  6513. "type": "string"
  6514. },
  6515. "spotaccountid": {
  6516. "description": "现货资金账户",
  6517. "type": "integer"
  6518. },
  6519. "spottradeid": {
  6520. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  6521. "type": "integer"
  6522. },
  6523. "spottradename": {
  6524. "description": "业务名称",
  6525. "type": "string"
  6526. },
  6527. "spottradeno": {
  6528. "description": "业务编号",
  6529. "type": "string"
  6530. },
  6531. "tradedate": {
  6532. "description": "交易日(yyyyMMdd)",
  6533. "type": "string"
  6534. },
  6535. "wrstandardid": {
  6536. "description": "仓单标准ID",
  6537. "type": "integer"
  6538. }
  6539. }
  6540. },
  6541. "erms3.AddSpotContractApplyReq": {
  6542. "type": "object",
  6543. "required": [
  6544. "accountid",
  6545. "areauserid",
  6546. "contractno",
  6547. "contracttype",
  6548. "customeraccountid",
  6549. "customeruserid",
  6550. "details",
  6551. "orimargin",
  6552. "signdate"
  6553. ],
  6554. "properties": {
  6555. "accountid": {
  6556. "description": "资金账户ID",
  6557. "type": "integer"
  6558. },
  6559. "areauserid": {
  6560. "description": "所属机构",
  6561. "type": "integer"
  6562. },
  6563. "contractattachment": {
  6564. "description": "合同附件",
  6565. "type": "string"
  6566. },
  6567. "contractno": {
  6568. "description": "现货合同编号",
  6569. "type": "string"
  6570. },
  6571. "contracttype": {
  6572. "description": "现货合同类型 - 1:采购 -1:销售",
  6573. "type": "integer"
  6574. },
  6575. "creatorid": {
  6576. "description": "申请人",
  6577. "type": "integer"
  6578. },
  6579. "customeraccountid": {
  6580. "description": "客户资金账户ID",
  6581. "type": "integer"
  6582. },
  6583. "customeruserid": {
  6584. "description": "客户ID",
  6585. "type": "integer"
  6586. },
  6587. "details": {
  6588. "description": "明细",
  6589. "type": "array",
  6590. "items": {
  6591. "$ref": "#/definitions/erms3.SoptContractDetail"
  6592. }
  6593. },
  6594. "orimargin": {
  6595. "description": "初始保证金",
  6596. "type": "number"
  6597. },
  6598. "remark": {
  6599. "description": "备注",
  6600. "type": "string"
  6601. },
  6602. "signdate": {
  6603. "description": "签订日期",
  6604. "type": "string"
  6605. }
  6606. }
  6607. },
  6608. "erms3.AddSpotContractApplyRsp": {
  6609. "type": "object",
  6610. "required": [
  6611. "contractno"
  6612. ],
  6613. "properties": {
  6614. "contractno": {
  6615. "description": "现货合同编号",
  6616. "type": "string"
  6617. },
  6618. "spotcontractid": {
  6619. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  6620. "type": "integer"
  6621. }
  6622. }
  6623. },
  6624. "erms3.AddUserInfoApplyReq": {
  6625. "type": "object",
  6626. "required": [
  6627. "userid"
  6628. ],
  6629. "properties": {
  6630. "accountid": {
  6631. "description": "交易系统帐号Id (加密存储)",
  6632. "type": "integer"
  6633. },
  6634. "areacode": {
  6635. "description": "机构代码",
  6636. "type": "string"
  6637. },
  6638. "areaid": {
  6639. "description": "机构Id",
  6640. "type": "integer"
  6641. },
  6642. "attachment1": {
  6643. "description": "附件1",
  6644. "type": "string"
  6645. },
  6646. "attachment2": {
  6647. "description": "附件2",
  6648. "type": "string"
  6649. },
  6650. "attachment3": {
  6651. "description": "附件3",
  6652. "type": "string"
  6653. },
  6654. "attachment4": {
  6655. "description": "附件4",
  6656. "type": "string"
  6657. },
  6658. "attachment5": {
  6659. "description": "附件5",
  6660. "type": "string"
  6661. },
  6662. "auditedby": {
  6663. "description": "审核人",
  6664. "type": "string"
  6665. },
  6666. "auditime": {
  6667. "description": "审核时间",
  6668. "type": "string"
  6669. },
  6670. "bankaccount": {
  6671. "description": "银行帐号 (加密存储)",
  6672. "type": "string"
  6673. },
  6674. "bankaccountname": {
  6675. "description": "收款人名称",
  6676. "type": "string"
  6677. },
  6678. "bankcardbackphotourl": {
  6679. "description": "银行卡背面照地址",
  6680. "type": "string"
  6681. },
  6682. "bankcardfrontphotourl": {
  6683. "description": "银行卡正面照地址",
  6684. "type": "string"
  6685. },
  6686. "bankid": {
  6687. "description": "银行编码",
  6688. "type": "string"
  6689. },
  6690. "bankname": {
  6691. "description": "银行名称",
  6692. "type": "string"
  6693. },
  6694. "bankpictureurl": {
  6695. "description": "银行卡正面地址",
  6696. "type": "string"
  6697. },
  6698. "biznature": {
  6699. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6700. "type": "integer"
  6701. },
  6702. "bizscope": {
  6703. "description": "企业经营范围(企业)",
  6704. "type": "string"
  6705. },
  6706. "biztype": {
  6707. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  6708. "type": "integer"
  6709. },
  6710. "brokerid": {
  6711. "description": "经纪人ID(加密存储)",
  6712. "type": "string"
  6713. },
  6714. "cardaddress": {
  6715. "description": "证件地址 (加密存储)",
  6716. "type": "string"
  6717. },
  6718. "cardbackphotourl": {
  6719. "description": "背面证件照地址",
  6720. "type": "string"
  6721. },
  6722. "cardfrontphotourl": {
  6723. "description": "正面证件照地址",
  6724. "type": "string"
  6725. },
  6726. "cardnum": {
  6727. "description": "证件号码 (加密存储)",
  6728. "type": "string"
  6729. },
  6730. "cardtype": {
  6731. "description": "证件类型",
  6732. "type": "integer"
  6733. },
  6734. "cityid": {
  6735. "description": "市",
  6736. "type": "integer"
  6737. },
  6738. "company": {
  6739. "description": "公司(个人)",
  6740. "type": "string"
  6741. },
  6742. "contactcardbackphotourl": {
  6743. "description": "联系人证件背面图片地址",
  6744. "type": "string"
  6745. },
  6746. "contactcardfrontphotourl": {
  6747. "description": "联系人证件正面图片地址",
  6748. "type": "string"
  6749. },
  6750. "contactname": {
  6751. "description": "联系人",
  6752. "type": "string"
  6753. },
  6754. "countryid": {
  6755. "description": "国家",
  6756. "type": "integer"
  6757. },
  6758. "createtime": {
  6759. "description": "开户申请时间",
  6760. "type": "string"
  6761. },
  6762. "cusbankid": {
  6763. "description": "签约类型",
  6764. "type": "string"
  6765. },
  6766. "cusbankname": {
  6767. "description": "签约类型名称",
  6768. "type": "string"
  6769. },
  6770. "customername": {
  6771. "description": "客户名称(企业名称)",
  6772. "type": "string"
  6773. },
  6774. "districtid": {
  6775. "description": "地区",
  6776. "type": "integer"
  6777. },
  6778. "email": {
  6779. "description": "Email地址(加密存储)",
  6780. "type": "string"
  6781. },
  6782. "halfbodyphotourl": {
  6783. "description": "半身照地址",
  6784. "type": "string"
  6785. },
  6786. "headurl": {
  6787. "description": "头像地址",
  6788. "type": "string"
  6789. },
  6790. "ipaddress": {
  6791. "description": "IP地址",
  6792. "type": "string"
  6793. },
  6794. "isvalidate": {
  6795. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  6796. "type": "string"
  6797. },
  6798. "legalcardbackphotourl": {
  6799. "description": "法人身份证背面照地址",
  6800. "type": "string"
  6801. },
  6802. "legalcardfrontphotourl": {
  6803. "description": "法人身份证正面照地址",
  6804. "type": "string"
  6805. },
  6806. "legalpersonname": {
  6807. "description": "法人姓名(企业)",
  6808. "type": "string"
  6809. },
  6810. "logincode": {
  6811. "description": "登录帐号 (加密存储)",
  6812. "type": "string"
  6813. },
  6814. "memberareaid": {
  6815. "description": "所属会员ID",
  6816. "type": "integer"
  6817. },
  6818. "mobile2": {
  6819. "description": "手机号码[明文-尚志]",
  6820. "type": "string"
  6821. },
  6822. "mobilephone": {
  6823. "description": "手机号码 (加密存储)",
  6824. "type": "string"
  6825. },
  6826. "modifiedby": {
  6827. "description": "修改人帐号",
  6828. "type": "integer"
  6829. },
  6830. "modifiedtime": {
  6831. "description": "修改时间",
  6832. "type": "string"
  6833. },
  6834. "nickname": {
  6835. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  6836. "type": "string"
  6837. },
  6838. "openmode": {
  6839. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  6840. "type": "integer"
  6841. },
  6842. "otherurl": {
  6843. "description": "其它图片地址[使用分号分隔]",
  6844. "type": "string"
  6845. },
  6846. "postalcode": {
  6847. "description": "邮政编码",
  6848. "type": "string"
  6849. },
  6850. "provinceid": {
  6851. "description": "省",
  6852. "type": "integer"
  6853. },
  6854. "proxystatementurl": {
  6855. "description": "授权委托书",
  6856. "type": "string"
  6857. },
  6858. "qq": {
  6859. "description": "QQ(加密存储",
  6860. "type": "string"
  6861. },
  6862. "referral": {
  6863. "description": "推荐人编码",
  6864. "type": "string"
  6865. },
  6866. "remark": {
  6867. "description": "备注",
  6868. "type": "string"
  6869. },
  6870. "removebeforestatus": {
  6871. "description": "REMOVEBEFORESTATUS",
  6872. "type": "integer"
  6873. },
  6874. "sex": {
  6875. "description": "性别 - 0:女 1:男",
  6876. "type": "integer"
  6877. },
  6878. "signedstatus": {
  6879. "description": "账户一号签签约状态",
  6880. "type": "integer"
  6881. },
  6882. "signpdfurl": {
  6883. "description": "签约pdf文件",
  6884. "type": "string"
  6885. },
  6886. "subbranch": {
  6887. "description": "开户支行",
  6888. "type": "string"
  6889. },
  6890. "telphone": {
  6891. "description": "联系电话(加密存储)",
  6892. "type": "string"
  6893. },
  6894. "userid": {
  6895. "description": "用户ID(自增ID)",
  6896. "type": "integer"
  6897. },
  6898. "userinfotype": {
  6899. "description": "用户信息类型 - 1:个人 2:企业",
  6900. "type": "integer"
  6901. },
  6902. "username": {
  6903. "description": "用户姓名",
  6904. "type": "string"
  6905. },
  6906. "userstate": {
  6907. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6908. "type": "integer"
  6909. },
  6910. "usertype": {
  6911. "description": "用户类型 - 1:投资者 2:机构",
  6912. "type": "integer"
  6913. },
  6914. "videourl": {
  6915. "description": "视频地址",
  6916. "type": "string"
  6917. },
  6918. "wechat": {
  6919. "description": "微信号 (加密存储)",
  6920. "type": "string"
  6921. }
  6922. }
  6923. },
  6924. "erms3.CustomerInfo": {
  6925. "type": "object",
  6926. "required": [
  6927. "userid"
  6928. ],
  6929. "properties": {
  6930. "accountids": {
  6931. "description": "资金账户ID列表",
  6932. "type": "array",
  6933. "items": {
  6934. "type": "integer"
  6935. }
  6936. },
  6937. "customername": {
  6938. "description": "名称(企业名称)",
  6939. "type": "string"
  6940. },
  6941. "mobile": {
  6942. "description": "手机号码",
  6943. "type": "string"
  6944. },
  6945. "userid": {
  6946. "description": "用户ID",
  6947. "type": "integer"
  6948. }
  6949. }
  6950. },
  6951. "erms3.QryAuditContractRsp": {
  6952. "type": "object",
  6953. "required": [
  6954. "matchcustomername",
  6955. "spotcontractid"
  6956. ],
  6957. "properties": {
  6958. "accountid": {
  6959. "description": "交易员ID",
  6960. "type": "string"
  6961. },
  6962. "applystatus": {
  6963. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6964. "type": "integer"
  6965. },
  6966. "curdeliveryqty": {
  6967. "description": "未交收量",
  6968. "type": "integer"
  6969. },
  6970. "customername": {
  6971. "description": "采购方ID",
  6972. "type": "string"
  6973. },
  6974. "deliverygoodsid": {
  6975. "description": "品种ID",
  6976. "type": "string"
  6977. },
  6978. "deliveryqty": {
  6979. "description": "交收量",
  6980. "type": "integer"
  6981. },
  6982. "enumdicname": {
  6983. "description": "单位名称",
  6984. "type": "string"
  6985. },
  6986. "matchaccountid": {
  6987. "description": "业务员ID",
  6988. "type": "string"
  6989. },
  6990. "matchcustomername": {
  6991. "description": "销售方ID",
  6992. "type": "string"
  6993. },
  6994. "pricedqty": {
  6995. "description": "定价量",
  6996. "type": "number"
  6997. },
  6998. "signdate": {
  6999. "description": "签订日期",
  7000. "type": "string"
  7001. },
  7002. "spotcontractid": {
  7003. "description": "合同ID",
  7004. "type": "string"
  7005. },
  7006. "totaldqty": {
  7007. "description": "合同量",
  7008. "type": "number"
  7009. },
  7010. "unpricedqty": {
  7011. "description": "未定价量",
  7012. "type": "number"
  7013. },
  7014. "wrstandardname": {
  7015. "description": "商品名称",
  7016. "type": "string"
  7017. }
  7018. }
  7019. },
  7020. "erms3.QryPendingBizRsp": {
  7021. "$ref": "#/definitions/models.PendingAuditBizModel"
  7022. },
  7023. "erms3.QueryBusinessInfoRsp": {
  7024. "type": "object",
  7025. "properties": {
  7026. "businessid": {
  7027. "description": "业务ID.",
  7028. "type": "integer"
  7029. },
  7030. "buyamount": {
  7031. "description": "采购额.",
  7032. "type": "number"
  7033. },
  7034. "buyqty": {
  7035. "description": "采购量.",
  7036. "type": "string"
  7037. },
  7038. "futurepl": {
  7039. "description": "期货盈亏.",
  7040. "type": "number"
  7041. },
  7042. "futureqty": {
  7043. "description": "期货敞口.",
  7044. "type": "string"
  7045. },
  7046. "goodsid": {
  7047. "description": "商品名称/商品代码.",
  7048. "type": "string"
  7049. },
  7050. "hedgingqty": {
  7051. "description": "套保量.",
  7052. "type": "string"
  7053. },
  7054. "sellamount": {
  7055. "description": "销售额.",
  7056. "type": "number"
  7057. },
  7058. "sellqty": {
  7059. "description": "销售量.",
  7060. "type": "string"
  7061. },
  7062. "spotmarketvalue": {
  7063. "description": "现货市值.",
  7064. "type": "number"
  7065. },
  7066. "spotpl": {
  7067. "description": "浮动权益.",
  7068. "type": "number"
  7069. },
  7070. "spotqty": {
  7071. "description": "现货量.",
  7072. "type": "string"
  7073. },
  7074. "statu": {
  7075. "description": "状态,0-未结束 1-已结束.",
  7076. "type": "integer"
  7077. },
  7078. "totalpl": {
  7079. "description": "总盈亏.",
  7080. "type": "number"
  7081. },
  7082. "totalqty": {
  7083. "description": "总敞口.",
  7084. "type": "string"
  7085. },
  7086. "type": {
  7087. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  7088. "type": "integer"
  7089. }
  7090. }
  7091. },
  7092. "erms3.QuerySpotContractAppleFormRsp": {
  7093. "type": "object",
  7094. "properties": {
  7095. "goodses": {
  7096. "description": "合约列表",
  7097. "type": "array",
  7098. "items": {
  7099. "$ref": "#/definitions/models.GoodsIDAndName"
  7100. }
  7101. },
  7102. "oppositeusers": {
  7103. "description": "对方账号列表",
  7104. "type": "array",
  7105. "items": {
  7106. "$ref": "#/definitions/erms3.CustomerInfo"
  7107. }
  7108. },
  7109. "ouruser": {
  7110. "description": "我方账号",
  7111. "type": "object",
  7112. "$ref": "#/definitions/erms3.CustomerInfo"
  7113. },
  7114. "warehouseinfos": {
  7115. "description": "仓库信息列表",
  7116. "type": "array",
  7117. "items": {
  7118. "$ref": "#/definitions/models.Warehouseinfo"
  7119. }
  7120. },
  7121. "wrstandards": {
  7122. "description": "仓单标准列表",
  7123. "type": "array",
  7124. "items": {
  7125. "$ref": "#/definitions/models.WRStandardInfo"
  7126. }
  7127. }
  7128. }
  7129. },
  7130. "erms3.QuerySpotContractInfoRsp": {
  7131. "type": "object",
  7132. "properties": {
  7133. "accountid": {
  7134. "description": "表示交易员ID.",
  7135. "type": "integer"
  7136. },
  7137. "curdeliveryqty": {
  7138. "description": "表示未交收量.",
  7139. "type": "number"
  7140. },
  7141. "customername": {
  7142. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  7143. "type": "string"
  7144. },
  7145. "deliverygoodsid": {
  7146. "description": "表示品种ID.",
  7147. "type": "string"
  7148. },
  7149. "deliveryqty": {
  7150. "description": "表示交收量.",
  7151. "type": "number"
  7152. },
  7153. "matchaccountid": {
  7154. "description": "表示业务员ID.",
  7155. "type": "integer"
  7156. },
  7157. "matchcustomername": {
  7158. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  7159. "type": "string"
  7160. },
  7161. "priceqty": {
  7162. "description": "表示定价量.",
  7163. "type": "number"
  7164. },
  7165. "relatedbizid": {
  7166. "description": "表示业务ID.",
  7167. "type": "string"
  7168. },
  7169. "signdate": {
  7170. "description": "表示签订日期.",
  7171. "type": "string"
  7172. },
  7173. "spotcontractid": {
  7174. "description": "合同ID",
  7175. "type": "string"
  7176. },
  7177. "status": {
  7178. "description": "表示状态,0-履约中 1-已完成.",
  7179. "type": "integer"
  7180. },
  7181. "totalqty": {
  7182. "description": "表示合同量.",
  7183. "type": "number"
  7184. },
  7185. "unpricedqty": {
  7186. "description": "表示未定价量.",
  7187. "type": "number"
  7188. },
  7189. "wrstandardname": {
  7190. "description": "表示商品ID.",
  7191. "type": "string"
  7192. }
  7193. }
  7194. },
  7195. "erms3.QueryUserInfoAppliesRsp": {
  7196. "type": "object",
  7197. "required": [
  7198. "userid"
  7199. ],
  7200. "properties": {
  7201. "biznature": {
  7202. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7203. "type": "integer"
  7204. },
  7205. "contactname": {
  7206. "description": "联系人",
  7207. "type": "string"
  7208. },
  7209. "createtime": {
  7210. "description": "开户申请时间",
  7211. "type": "string"
  7212. },
  7213. "userid": {
  7214. "description": "用户ID(自增ID)",
  7215. "type": "integer"
  7216. },
  7217. "userinfotype": {
  7218. "description": "用户信息类型 - 1:个人 2:企业",
  7219. "type": "integer"
  7220. },
  7221. "username": {
  7222. "description": "用户姓名",
  7223. "type": "string"
  7224. },
  7225. "userstate": {
  7226. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7227. "type": "integer"
  7228. }
  7229. }
  7230. },
  7231. "erms3.QueryUserInfosRsp": {
  7232. "type": "object",
  7233. "required": [
  7234. "userid"
  7235. ],
  7236. "properties": {
  7237. "biznature": {
  7238. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7239. "type": "integer"
  7240. },
  7241. "contactname": {
  7242. "description": "联系人",
  7243. "type": "string"
  7244. },
  7245. "customername": {
  7246. "description": "客户名称(企业名称)",
  7247. "type": "string"
  7248. },
  7249. "userid": {
  7250. "description": "用户ID",
  7251. "type": "integer"
  7252. },
  7253. "userinfotype": {
  7254. "description": "用户信息类型 - 1:个人 2:企业",
  7255. "type": "integer"
  7256. },
  7257. "userstatus": {
  7258. "description": "用户状态 - 1:正常 2:注销",
  7259. "type": "integer"
  7260. }
  7261. }
  7262. },
  7263. "erms3.SoptContractDetail": {
  7264. "type": "object",
  7265. "required": [
  7266. "deliverygoodsid",
  7267. "producttype",
  7268. "unitname",
  7269. "warehouseid",
  7270. "wrstandardid",
  7271. "wrstandardname"
  7272. ],
  7273. "properties": {
  7274. "deliverygoodsdesc": {
  7275. "description": "现货品种说明",
  7276. "type": "string"
  7277. },
  7278. "deliverygoodsid": {
  7279. "description": "现货品种ID",
  7280. "type": "integer"
  7281. },
  7282. "deliverygoodsname": {
  7283. "description": "现货品种名称",
  7284. "type": "string"
  7285. },
  7286. "pointdesc": {
  7287. "description": "点价描述",
  7288. "type": "string"
  7289. },
  7290. "producttype": {
  7291. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  7292. "type": "integer"
  7293. },
  7294. "producttypename": {
  7295. "description": "产品类型名称",
  7296. "type": "string"
  7297. },
  7298. "spotPointOrderVoList": {
  7299. "description": "点价列表",
  7300. "type": "array",
  7301. "items": {
  7302. "$ref": "#/definitions/erms3.SpotPointOrder"
  7303. }
  7304. },
  7305. "spotPriceOrderList": {
  7306. "description": "定价列表",
  7307. "type": "array",
  7308. "items": {
  7309. "$ref": "#/definitions/erms3.SpotPriceOrder"
  7310. }
  7311. },
  7312. "unitname": {
  7313. "description": "单位名称",
  7314. "type": "string"
  7315. },
  7316. "warehouseid": {
  7317. "description": "仓库ID",
  7318. "type": "integer"
  7319. },
  7320. "warehousename": {
  7321. "description": "仓库名称",
  7322. "type": "string"
  7323. },
  7324. "wrstandardid": {
  7325. "description": "交易标的ID",
  7326. "type": "integer"
  7327. },
  7328. "wrstandardname": {
  7329. "description": "交易标的名称",
  7330. "type": "string"
  7331. }
  7332. }
  7333. },
  7334. "erms3.SpotPointOrder": {
  7335. "type": "object",
  7336. "required": [
  7337. "basic",
  7338. "goodsid",
  7339. "qty"
  7340. ],
  7341. "properties": {
  7342. "basic": {
  7343. "description": "基差",
  7344. "type": "number"
  7345. },
  7346. "deliveryenddate": {
  7347. "description": "交收结束日期",
  7348. "type": "string"
  7349. },
  7350. "deliverystartdate": {
  7351. "description": "交收开始日期",
  7352. "type": "string"
  7353. },
  7354. "enddate": {
  7355. "description": "点价结束日期",
  7356. "type": "string"
  7357. },
  7358. "goodsid": {
  7359. "description": "商品ID",
  7360. "type": "integer"
  7361. },
  7362. "goodsname": {
  7363. "description": "商品名称",
  7364. "type": "string"
  7365. },
  7366. "qty": {
  7367. "description": "数量",
  7368. "type": "number"
  7369. },
  7370. "startdate": {
  7371. "description": "点价开始日期",
  7372. "type": "string"
  7373. }
  7374. }
  7375. },
  7376. "erms3.SpotPriceOrder": {
  7377. "type": "object",
  7378. "required": [
  7379. "amount",
  7380. "price",
  7381. "qty"
  7382. ],
  7383. "properties": {
  7384. "amount": {
  7385. "description": "金额",
  7386. "type": "number"
  7387. },
  7388. "deliveryenddate": {
  7389. "description": "交收结束日期",
  7390. "type": "string"
  7391. },
  7392. "deliverystartdate": {
  7393. "description": "交收开始日期",
  7394. "type": "string"
  7395. },
  7396. "price": {
  7397. "description": "价格",
  7398. "type": "number"
  7399. },
  7400. "qty": {
  7401. "description": "数量",
  7402. "type": "number"
  7403. }
  7404. }
  7405. },
  7406. "hsby.GetHsbyMyCountRsp": {
  7407. "type": "object",
  7408. "properties": {
  7409. "myCouponCount": {
  7410. "description": "我的优惠卷数量",
  7411. "type": "integer"
  7412. },
  7413. "myOrderDetailListingCount": {
  7414. "description": "我的订单求购中数量",
  7415. "type": "integer"
  7416. },
  7417. "myOrderDetailPreCount": {
  7418. "description": "我的订单抢购中数量",
  7419. "type": "integer"
  7420. },
  7421. "myPackageUnReceiveCount": {
  7422. "description": "我的包裹待收货数量",
  7423. "type": "integer"
  7424. },
  7425. "myPackageUnSendCount": {
  7426. "description": "我的包裹待发货数量",
  7427. "type": "integer"
  7428. },
  7429. "myPayOrderCount": {
  7430. "description": "我的订单待付款数量",
  7431. "type": "integer"
  7432. }
  7433. }
  7434. },
  7435. "hsby.QueryProvincesAndCitiesRsp": {
  7436. "type": "object",
  7437. "properties": {
  7438. "cities": {
  7439. "description": "市",
  7440. "type": "array",
  7441. "items": {
  7442. "$ref": "#/definitions/models.Division"
  7443. }
  7444. },
  7445. "province": {
  7446. "description": "省",
  7447. "type": "object",
  7448. "$ref": "#/definitions/models.Division"
  7449. }
  7450. }
  7451. },
  7452. "models.Clientfixedadconfig": {
  7453. "type": "object",
  7454. "required": [
  7455. "adsort",
  7456. "adtype"
  7457. ],
  7458. "properties": {
  7459. "adsort": {
  7460. "description": "排序",
  7461. "type": "integer"
  7462. },
  7463. "adtype": {
  7464. "description": "广告位类型 - 1:新品抢购(HSBY)",
  7465. "type": "integer"
  7466. },
  7467. "areauserid": {
  7468. "description": "所属机构ID",
  7469. "type": "integer"
  7470. },
  7471. "createdate": {
  7472. "description": "创建时间",
  7473. "type": "string"
  7474. },
  7475. "creatorid": {
  7476. "description": "创建人",
  7477. "type": "integer"
  7478. },
  7479. "imagepath": {
  7480. "description": "图片",
  7481. "type": "string"
  7482. },
  7483. "isshow": {
  7484. "description": "是否展示 - 0:不展示 1:展示",
  7485. "type": "integer"
  7486. },
  7487. "modifierid": {
  7488. "description": "操作人",
  7489. "type": "integer"
  7490. },
  7491. "recsize": {
  7492. "description": "推荐尺寸",
  7493. "type": "string"
  7494. },
  7495. "title": {
  7496. "description": "标题",
  7497. "type": "string"
  7498. },
  7499. "updatedate": {
  7500. "description": "更新时间",
  7501. "type": "string"
  7502. },
  7503. "urlcontent": {
  7504. "description": "链接(地址或商品ID)",
  7505. "type": "string"
  7506. },
  7507. "urltype": {
  7508. "description": "链接类型 - 1:直接地址 2:商品ID",
  7509. "type": "integer"
  7510. }
  7511. }
  7512. },
  7513. "models.Division": {
  7514. "type": "object",
  7515. "required": [
  7516. "autoid",
  7517. "divisioncode"
  7518. ],
  7519. "properties": {
  7520. "autoid": {
  7521. "description": "自增ID",
  7522. "type": "integer"
  7523. },
  7524. "divisioncode": {
  7525. "description": "行政代码",
  7526. "type": "string"
  7527. },
  7528. "divisionlevel": {
  7529. "description": "行政级别",
  7530. "type": "string"
  7531. },
  7532. "divisionname": {
  7533. "description": "行政名称",
  7534. "type": "string"
  7535. },
  7536. "modifierid": {
  7537. "description": "修改人",
  7538. "type": "integer"
  7539. },
  7540. "modifytime": {
  7541. "description": "修改时间",
  7542. "type": "string"
  7543. },
  7544. "parentcode": {
  7545. "description": "上级行政代码",
  7546. "type": "string"
  7547. },
  7548. "pathname": {
  7549. "description": "路径名称",
  7550. "type": "string"
  7551. },
  7552. "postcode": {
  7553. "description": "邮政编码",
  7554. "type": "string"
  7555. },
  7556. "separablename": {
  7557. "description": "可拆分的全称",
  7558. "type": "string"
  7559. },
  7560. "shortcode": {
  7561. "description": "地区简码",
  7562. "type": "string"
  7563. }
  7564. }
  7565. },
  7566. "models.Enumdicitem": {
  7567. "type": "object",
  7568. "required": [
  7569. "autoid",
  7570. "enumdiccode",
  7571. "enumdicid",
  7572. "enumitemname"
  7573. ],
  7574. "properties": {
  7575. "autoid": {
  7576. "description": "自增ID",
  7577. "type": "integer"
  7578. },
  7579. "bankmappedvalue": {
  7580. "description": "银行服务对应值",
  7581. "type": "string"
  7582. },
  7583. "enumdiccode": {
  7584. "description": "所属枚举代码",
  7585. "type": "string"
  7586. },
  7587. "enumdicid": {
  7588. "description": "所属枚举ID",
  7589. "type": "integer"
  7590. },
  7591. "enumdicname": {
  7592. "description": "枚举项名称",
  7593. "type": "string"
  7594. },
  7595. "enumitemname": {
  7596. "description": "枚举项值",
  7597. "type": "integer"
  7598. },
  7599. "enumitemstatus": {
  7600. "description": "枚举项状态 - 1.启用 2.不启用",
  7601. "type": "integer"
  7602. },
  7603. "enumitemvalue": {
  7604. "description": "通用值 - [币种通用简写]",
  7605. "type": "string"
  7606. },
  7607. "param1": {
  7608. "description": "参数1[币种:币种小数位]",
  7609. "type": "string"
  7610. },
  7611. "param2": {
  7612. "description": "参数1[币种:币种显示单位]",
  7613. "type": "string"
  7614. },
  7615. "remark": {
  7616. "description": "备注",
  7617. "type": "string"
  7618. }
  7619. }
  7620. },
  7621. "models.ErmcpHedgePlan": {
  7622. "type": "object",
  7623. "properties": {
  7624. "areauserid": {
  7625. "description": "用户ID",
  7626. "type": "integer"
  7627. },
  7628. "contracttype": {
  7629. "description": "计划类型 - 1:采购 -1:销售",
  7630. "type": "integer"
  7631. },
  7632. "convertfactor": {
  7633. "description": "标仓系数",
  7634. "type": "number"
  7635. },
  7636. "deliverygoodsid": {
  7637. "description": "现货品种ID",
  7638. "type": "integer"
  7639. },
  7640. "deliverygoodsname": {
  7641. "description": "现货品种名称",
  7642. "type": "string"
  7643. },
  7644. "hedgeplanid": {
  7645. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  7646. "type": "string"
  7647. },
  7648. "hedgeplanno": {
  7649. "description": "套保计划编号",
  7650. "type": "string"
  7651. },
  7652. "hedgeplanstatus": {
  7653. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7654. "type": "integer"
  7655. },
  7656. "planqty": {
  7657. "description": "计划数量",
  7658. "type": "number"
  7659. },
  7660. "plantime": {
  7661. "description": "计划时间",
  7662. "type": "string"
  7663. },
  7664. "producttype": {
  7665. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7666. "type": "integer"
  7667. },
  7668. "remark": {
  7669. "description": "备注",
  7670. "type": "string"
  7671. },
  7672. "spotgoodsdesc": {
  7673. "description": "商品型号",
  7674. "type": "string"
  7675. },
  7676. "wrstandardid": {
  7677. "description": "现货商品ID",
  7678. "type": "integer"
  7679. },
  7680. "wrstandardname": {
  7681. "description": "现货商品名称",
  7682. "type": "string"
  7683. }
  7684. }
  7685. },
  7686. "models.ErmcpModel": {
  7687. "type": "object",
  7688. "properties": {
  7689. "accountid": {
  7690. "description": "账户ID",
  7691. "type": "string"
  7692. },
  7693. "accountname": {
  7694. "description": "账户名称",
  7695. "type": "string"
  7696. },
  7697. "contracctstatus": {
  7698. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7699. "type": "integer"
  7700. },
  7701. "convertfactor": {
  7702. "description": "标仓系数",
  7703. "type": "number"
  7704. },
  7705. "daikaiamount": {
  7706. "description": "待开票额",
  7707. "type": "number"
  7708. },
  7709. "deliveryenddate": {
  7710. "description": "交割结束日",
  7711. "type": "string"
  7712. },
  7713. "deliverygoodscode": {
  7714. "description": "现货商品代码",
  7715. "type": "string"
  7716. },
  7717. "deliverygoodsid": {
  7718. "description": "现货商品ID",
  7719. "type": "integer"
  7720. },
  7721. "deliverygoodsname": {
  7722. "description": "现货商品名称",
  7723. "type": "string"
  7724. },
  7725. "deliverystartdate": {
  7726. "description": "交割开始日",
  7727. "type": "string"
  7728. },
  7729. "enddate": {
  7730. "description": "点价结束日",
  7731. "type": "string"
  7732. },
  7733. "enumdicname": {
  7734. "description": "单位名称",
  7735. "type": "string"
  7736. },
  7737. "goodscode": {
  7738. "description": "点价商品代码",
  7739. "type": "string"
  7740. },
  7741. "goodsid": {
  7742. "description": "点价商品ID",
  7743. "type": "integer"
  7744. },
  7745. "invoiceamount": {
  7746. "description": "已开票额",
  7747. "type": "number"
  7748. },
  7749. "payamount": {
  7750. "description": "已收付额(收款或付款)",
  7751. "type": "number"
  7752. },
  7753. "pricedqty": {
  7754. "description": "已定价量",
  7755. "type": "number"
  7756. },
  7757. "pricemove": {
  7758. "description": "升贴水",
  7759. "type": "number"
  7760. },
  7761. "pricetype": {
  7762. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7763. "type": "integer"
  7764. },
  7765. "producttype": {
  7766. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7767. "type": "integer"
  7768. },
  7769. "qty": {
  7770. "description": "合同量",
  7771. "type": "number"
  7772. },
  7773. "spotcontractid": {
  7774. "description": "合同ID",
  7775. "type": "string"
  7776. },
  7777. "spotgoodsdesc": {
  7778. "description": "商品型号(商品规格)",
  7779. "type": "string"
  7780. },
  7781. "startdate": {
  7782. "description": "点价开始日",
  7783. "type": "string"
  7784. },
  7785. "unpayamount": {
  7786. "description": "待支收额(支付或收款)",
  7787. "type": "number"
  7788. },
  7789. "unpricedqty": {
  7790. "description": "未定价量",
  7791. "type": "number"
  7792. },
  7793. "unsureqty": {
  7794. "description": "未确定量",
  7795. "type": "number"
  7796. },
  7797. "userid": {
  7798. "description": "用户ID",
  7799. "type": "integer"
  7800. }
  7801. }
  7802. },
  7803. "models.ErmcpOPLogModel": {
  7804. "type": "object",
  7805. "properties": {
  7806. "aftervalue": {
  7807. "description": "变更后",
  7808. "type": "number"
  7809. },
  7810. "applyid": {
  7811. "description": "操作人ID",
  7812. "type": "string"
  7813. },
  7814. "applyname": {
  7815. "description": "操作人名称",
  7816. "type": "string"
  7817. },
  7818. "beforevalue": {
  7819. "description": "变更前",
  7820. "type": "number"
  7821. },
  7822. "biztype": {
  7823. "description": "业务类型 - 1:套保计划 2:现货合同",
  7824. "type": "integer"
  7825. },
  7826. "contracttype": {
  7827. "description": "现货合同类型 - 1:采购 -1:销售",
  7828. "type": "integer"
  7829. },
  7830. "logvalue": {
  7831. "description": "数值",
  7832. "type": "number"
  7833. },
  7834. "operatelogtype": {
  7835. "description": "操作流水类型",
  7836. "type": "integer"
  7837. },
  7838. "operatelogtypedesc": {
  7839. "description": "操作流水类型名称",
  7840. "type": "string"
  7841. },
  7842. "relatedid": {
  7843. "description": "现货合同ID\\套保计划",
  7844. "type": "string"
  7845. },
  7846. "updatetime": {
  7847. "description": "更新时间",
  7848. "type": "string"
  7849. }
  7850. }
  7851. },
  7852. "models.ErmcpSpotContractModel": {
  7853. "type": "object",
  7854. "properties": {
  7855. "amount": {
  7856. "description": "金额 [1:一口价、3:暂定价]",
  7857. "type": "number"
  7858. },
  7859. "buyuserid": {
  7860. "description": "采购方ID",
  7861. "type": "integer"
  7862. },
  7863. "buyusername": {
  7864. "description": "采购方名称",
  7865. "type": "string"
  7866. },
  7867. "contracctstatus": {
  7868. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7869. "type": "integer"
  7870. },
  7871. "contractno": {
  7872. "description": "现货合同编号",
  7873. "type": "string"
  7874. },
  7875. "contracttype": {
  7876. "description": "现货合同类型 - 1:采购 -1:销售",
  7877. "type": "integer"
  7878. },
  7879. "convertfactor": {
  7880. "description": "标仓系数",
  7881. "type": "number"
  7882. },
  7883. "deliveryenddate": {
  7884. "description": "交收期(结束)",
  7885. "type": "string"
  7886. },
  7887. "deliverygoodscode": {
  7888. "description": "现货品种代码",
  7889. "type": "string"
  7890. },
  7891. "deliverygoodsid": {
  7892. "description": "现货品种ID",
  7893. "type": "integer"
  7894. },
  7895. "deliverygoodsname": {
  7896. "description": "现货品种名称",
  7897. "type": "string"
  7898. },
  7899. "deliverystartdate": {
  7900. "description": "交收期(开始)",
  7901. "type": "string"
  7902. },
  7903. "enddate": {
  7904. "description": "点价结束日期 [2:点价 3:暂定价]",
  7905. "type": "string"
  7906. },
  7907. "enumdicname": {
  7908. "description": "单位名称",
  7909. "type": "string"
  7910. },
  7911. "goodscode": {
  7912. "description": "点价合约代码",
  7913. "type": "string"
  7914. },
  7915. "goodsid": {
  7916. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  7917. "type": "integer"
  7918. },
  7919. "margin": {
  7920. "description": "当前保证金",
  7921. "type": "number"
  7922. },
  7923. "price": {
  7924. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  7925. "type": "number"
  7926. },
  7927. "pricemove": {
  7928. "description": "升贴水 [2:点价 3:暂定价]",
  7929. "type": "number"
  7930. },
  7931. "pricetype": {
  7932. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7933. "type": "integer"
  7934. },
  7935. "producttype": {
  7936. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7937. "type": "integer"
  7938. },
  7939. "qty": {
  7940. "description": "数量",
  7941. "type": "number"
  7942. },
  7943. "selluserid": {
  7944. "description": "销售方ID",
  7945. "type": "integer"
  7946. },
  7947. "sellusername": {
  7948. "description": "销售方名称",
  7949. "type": "string"
  7950. },
  7951. "spotcontractid": {
  7952. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  7953. "type": "string"
  7954. },
  7955. "spotgoodsdesc": {
  7956. "description": "商品型号",
  7957. "type": "string"
  7958. },
  7959. "startdate": {
  7960. "description": "点价开始日期 [2:点价 3:暂定价]",
  7961. "type": "string"
  7962. },
  7963. "userid": {
  7964. "description": "机构ID",
  7965. "type": "integer"
  7966. }
  7967. }
  7968. },
  7969. "models.ErmcpUserModel": {
  7970. "type": "object",
  7971. "properties": {
  7972. "address": {
  7973. "description": "通讯地址",
  7974. "type": "string"
  7975. },
  7976. "attachment1": {
  7977. "description": "附件1",
  7978. "type": "string"
  7979. },
  7980. "cardfrontphotourl": {
  7981. "description": "证件正面图片地址",
  7982. "type": "string"
  7983. },
  7984. "cardnum": {
  7985. "description": "证件号码",
  7986. "type": "string"
  7987. },
  7988. "cardtype": {
  7989. "description": "证件类型",
  7990. "type": "integer"
  7991. },
  7992. "cardtypename": {
  7993. "description": "证件类型名称",
  7994. "type": "string"
  7995. },
  7996. "cityid": {
  7997. "description": "市",
  7998. "type": "integer"
  7999. },
  8000. "countryid": {
  8001. "description": "国家",
  8002. "type": "integer"
  8003. },
  8004. "customername": {
  8005. "description": "企业名称",
  8006. "type": "string"
  8007. },
  8008. "memberuserid": {
  8009. "description": "所属机构ID",
  8010. "type": "integer"
  8011. },
  8012. "mobile": {
  8013. "description": "手机号码",
  8014. "type": "string"
  8015. },
  8016. "provinceid": {
  8017. "description": "省",
  8018. "type": "integer"
  8019. },
  8020. "remark": {
  8021. "description": "备注",
  8022. "type": "string"
  8023. },
  8024. "status": {
  8025. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  8026. "type": "integer"
  8027. },
  8028. "statusdesc": {
  8029. "description": "账户状态中文描述",
  8030. "type": "string"
  8031. },
  8032. "telphone": {
  8033. "description": "联系电话",
  8034. "type": "string"
  8035. },
  8036. "userid": {
  8037. "description": "用户ID",
  8038. "type": "integer"
  8039. },
  8040. "userinfotype": {
  8041. "description": "客户类型",
  8042. "type": "string"
  8043. }
  8044. }
  8045. },
  8046. "models.ErmcpWrstandard": {
  8047. "type": "object",
  8048. "properties": {
  8049. "areauserid": {
  8050. "description": "所属机构",
  8051. "type": "integer"
  8052. },
  8053. "createtime": {
  8054. "description": "创建时间",
  8055. "type": "string"
  8056. },
  8057. "creatorid": {
  8058. "description": "创建人",
  8059. "type": "integer"
  8060. },
  8061. "deliverygoodsid": {
  8062. "description": "品种ID",
  8063. "type": "integer"
  8064. },
  8065. "enumdicname": {
  8066. "description": "单位名称",
  8067. "type": "string"
  8068. },
  8069. "minivalue": {
  8070. "description": "最小变动值",
  8071. "type": "integer"
  8072. },
  8073. "minivaluedp": {
  8074. "description": "最小变动值小数位",
  8075. "type": "integer"
  8076. },
  8077. "realminivalue": {
  8078. "description": "实际最小变动值",
  8079. "type": "integer"
  8080. },
  8081. "realminivaluedp": {
  8082. "description": "实际最小变动值小数位",
  8083. "type": "integer"
  8084. },
  8085. "unitid": {
  8086. "description": "单位ID",
  8087. "type": "integer"
  8088. },
  8089. "wrstandardcode": {
  8090. "description": "现货商品代码",
  8091. "type": "string"
  8092. },
  8093. "wrstandardid": {
  8094. "description": "现货商品ID(SEQ_WRSTANDARD)",
  8095. "type": "integer"
  8096. },
  8097. "wrstandardname": {
  8098. "description": "现货商品名称",
  8099. "type": "string"
  8100. }
  8101. }
  8102. },
  8103. "models.GoodsIDAndName": {
  8104. "type": "object",
  8105. "required": [
  8106. "goodscode",
  8107. "goodsid",
  8108. "goodsname",
  8109. "marketid"
  8110. ],
  8111. "properties": {
  8112. "goodscode": {
  8113. "description": "商品代码(内部)",
  8114. "type": "string"
  8115. },
  8116. "goodsid": {
  8117. "description": "商品ID(自增ID SEQ_GOODS)",
  8118. "type": "integer"
  8119. },
  8120. "goodsname": {
  8121. "description": "商品名称",
  8122. "type": "string"
  8123. },
  8124. "marketid": {
  8125. "description": "所属市场ID",
  8126. "type": "integer"
  8127. }
  8128. }
  8129. },
  8130. "models.HsbyBuyMyPayOrder": {
  8131. "type": "object",
  8132. "required": [
  8133. "goodscode",
  8134. "goodsname",
  8135. "tradeid",
  8136. "trademode"
  8137. ],
  8138. "properties": {
  8139. "agreeunit": {
  8140. "description": "合约单位",
  8141. "type": "number"
  8142. },
  8143. "buyaccountid": {
  8144. "description": "买方账号ID[报价币种]",
  8145. "type": "integer"
  8146. },
  8147. "buyorderid": {
  8148. "description": "买方委托单号",
  8149. "type": "string"
  8150. },
  8151. "createtime": {
  8152. "description": "创建时间",
  8153. "type": "string"
  8154. },
  8155. "currencysign": {
  8156. "description": "货币符号",
  8157. "type": "string"
  8158. },
  8159. "decimalplace": {
  8160. "description": "报价小数位",
  8161. "type": "integer"
  8162. },
  8163. "goodscode": {
  8164. "description": "商品代码(内部)",
  8165. "type": "string"
  8166. },
  8167. "goodsid": {
  8168. "description": "商品ID",
  8169. "type": "integer"
  8170. },
  8171. "goodsname": {
  8172. "description": "商品名称",
  8173. "type": "string"
  8174. },
  8175. "marketid": {
  8176. "description": "市场ID",
  8177. "type": "integer"
  8178. },
  8179. "offamount": {
  8180. "description": "优惠金额",
  8181. "type": "number"
  8182. },
  8183. "payamount": {
  8184. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8185. "type": "number"
  8186. },
  8187. "payflag": {
  8188. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8189. "type": "integer"
  8190. },
  8191. "paylimitedtime": {
  8192. "description": "支付期限",
  8193. "type": "string"
  8194. },
  8195. "paytime": {
  8196. "description": "付款时间",
  8197. "type": "string"
  8198. },
  8199. "picurls1": {
  8200. "description": "预售商品介绍图片[多张用逗号分隔]",
  8201. "type": "string"
  8202. },
  8203. "picurls2": {
  8204. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8205. "type": "string"
  8206. },
  8207. "sellaccountid": {
  8208. "description": "卖方账号ID[报价币种]",
  8209. "type": "integer"
  8210. },
  8211. "sellorderid": {
  8212. "description": "卖方委托单号",
  8213. "type": "string"
  8214. },
  8215. "tradeamount": {
  8216. "description": "成交金额",
  8217. "type": "number"
  8218. },
  8219. "tradecharge": {
  8220. "description": "成交手续费(买方)",
  8221. "type": "number"
  8222. },
  8223. "tradedate": {
  8224. "description": "交易日(yyyyMMdd)",
  8225. "type": "string"
  8226. },
  8227. "tradeid": {
  8228. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8229. "type": "string"
  8230. },
  8231. "trademode": {
  8232. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8233. "type": "integer"
  8234. },
  8235. "tradeprice": {
  8236. "description": "成交价格",
  8237. "type": "number"
  8238. },
  8239. "tradeqty": {
  8240. "description": "成交数量",
  8241. "type": "integer"
  8242. },
  8243. "vendorname1": {
  8244. "description": "预售商品供应商名称",
  8245. "type": "string"
  8246. },
  8247. "vendorname2": {
  8248. "description": "挂牌商品供应商名称",
  8249. "type": "string"
  8250. }
  8251. }
  8252. },
  8253. "models.HsbyBuyMyTradeDetail": {
  8254. "type": "object",
  8255. "required": [
  8256. "accountid",
  8257. "buyorsell",
  8258. "goodscode",
  8259. "goodsid",
  8260. "goodsname",
  8261. "marketid",
  8262. "orderid",
  8263. "qty",
  8264. "time",
  8265. "trademode"
  8266. ],
  8267. "properties": {
  8268. "accountid": {
  8269. "description": "账户ID[报价币种]",
  8270. "type": "integer"
  8271. },
  8272. "agreeunit": {
  8273. "description": "合约单位",
  8274. "type": "number"
  8275. },
  8276. "amount": {
  8277. "description": "金额 = 价格 * 数量 * 合约单位",
  8278. "type": "number"
  8279. },
  8280. "buyorsell": {
  8281. "description": "买卖 - 0:买 1:卖",
  8282. "type": "integer"
  8283. },
  8284. "currencysign": {
  8285. "description": "货币符号",
  8286. "type": "string"
  8287. },
  8288. "decimalplace": {
  8289. "description": "报价小数位",
  8290. "type": "integer"
  8291. },
  8292. "goodscode": {
  8293. "description": "商品代码(内部)",
  8294. "type": "string"
  8295. },
  8296. "goodsid": {
  8297. "description": "商品ID",
  8298. "type": "integer"
  8299. },
  8300. "goodsname": {
  8301. "description": "商品名称",
  8302. "type": "string"
  8303. },
  8304. "marketid": {
  8305. "description": "市场ID",
  8306. "type": "integer"
  8307. },
  8308. "orderid": {
  8309. "description": "单号(成交单号)",
  8310. "type": "string"
  8311. },
  8312. "picurls1": {
  8313. "description": "预售商品介绍图片[多张用逗号分隔]",
  8314. "type": "string"
  8315. },
  8316. "picurls2": {
  8317. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8318. "type": "string"
  8319. },
  8320. "price": {
  8321. "description": "价格",
  8322. "type": "number"
  8323. },
  8324. "qty": {
  8325. "description": "数量",
  8326. "type": "integer"
  8327. },
  8328. "time": {
  8329. "description": "时间",
  8330. "type": "string"
  8331. },
  8332. "trademode": {
  8333. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8334. "type": "integer"
  8335. },
  8336. "vendorname1": {
  8337. "description": "预售商品供应商名称",
  8338. "type": "string"
  8339. },
  8340. "vendorname2": {
  8341. "description": "挂牌商品供应商名称",
  8342. "type": "string"
  8343. }
  8344. }
  8345. },
  8346. "models.HsbyGoodsOrderDetail": {
  8347. "type": "object",
  8348. "required": [
  8349. "buyorsell",
  8350. "orderid",
  8351. "ordertime"
  8352. ],
  8353. "properties": {
  8354. "buyorsell": {
  8355. "description": "买卖 - 0:买 1:卖",
  8356. "type": "integer"
  8357. },
  8358. "currencysign": {
  8359. "description": "货币符号",
  8360. "type": "string"
  8361. },
  8362. "customername": {
  8363. "description": "客户名称(企业名称),已脱敏",
  8364. "type": "string"
  8365. },
  8366. "enableqty": {
  8367. "description": "可用数量",
  8368. "type": "integer"
  8369. },
  8370. "goodunit": {
  8371. "description": "报价单位",
  8372. "type": "string"
  8373. },
  8374. "orderid": {
  8375. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8376. "type": "string"
  8377. },
  8378. "orderprice": {
  8379. "description": "委托价格",
  8380. "type": "number"
  8381. },
  8382. "ordertime": {
  8383. "description": "委托时间",
  8384. "type": "string"
  8385. }
  8386. }
  8387. },
  8388. "models.HsbyListingGoodsDetail": {
  8389. "type": "object",
  8390. "required": [
  8391. "goodscode",
  8392. "goodsid",
  8393. "goodsname",
  8394. "marketid",
  8395. "trademode"
  8396. ],
  8397. "properties": {
  8398. "agreeunit": {
  8399. "description": "合约单位",
  8400. "type": "number"
  8401. },
  8402. "buymaxqty": {
  8403. "description": "购买上限 [71] - 0为不限",
  8404. "type": "integer"
  8405. },
  8406. "currency": {
  8407. "description": "货币",
  8408. "type": "string"
  8409. },
  8410. "currencysign": {
  8411. "description": "货币符号",
  8412. "type": "string"
  8413. },
  8414. "decimalplace": {
  8415. "description": "报价小数位",
  8416. "type": "integer"
  8417. },
  8418. "desccityid": {
  8419. "description": "目的地(市)ID",
  8420. "type": "integer"
  8421. },
  8422. "descprovinceid": {
  8423. "description": "目的地(省)ID",
  8424. "type": "integer"
  8425. },
  8426. "goodscode": {
  8427. "description": "商品代码(内部)",
  8428. "type": "string"
  8429. },
  8430. "goodsdesc": {
  8431. "description": "商品详情",
  8432. "type": "string"
  8433. },
  8434. "goodsid": {
  8435. "description": "商品ID(自增ID SEQ_GOODS)",
  8436. "type": "integer"
  8437. },
  8438. "goodsname": {
  8439. "description": "商品名称",
  8440. "type": "string"
  8441. },
  8442. "goodsprice": {
  8443. "description": "商品价格",
  8444. "type": "number"
  8445. },
  8446. "hotindex": {
  8447. "description": "景点热度",
  8448. "type": "integer"
  8449. },
  8450. "last": {
  8451. "description": "现价",
  8452. "type": "number"
  8453. },
  8454. "limitdown": {
  8455. "description": "跌停价",
  8456. "type": "number"
  8457. },
  8458. "limitup": {
  8459. "description": "涨停价",
  8460. "type": "number"
  8461. },
  8462. "lotsize": {
  8463. "description": "手数最小变动单位",
  8464. "type": "integer"
  8465. },
  8466. "marketid": {
  8467. "description": "所属市场ID",
  8468. "type": "integer"
  8469. },
  8470. "picurls": {
  8471. "description": "介绍图片[多张用逗号分隔]",
  8472. "type": "string"
  8473. },
  8474. "quoteminunit": {
  8475. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8476. "type": "integer"
  8477. },
  8478. "stepvalue": {
  8479. "description": "价格最小变动单位",
  8480. "type": "number"
  8481. },
  8482. "trademode": {
  8483. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8484. "type": "integer"
  8485. },
  8486. "vendorattr": {
  8487. "description": "供应商附件(多张,逗号分隔)",
  8488. "type": "string"
  8489. },
  8490. "vendorname": {
  8491. "description": "供应商名称",
  8492. "type": "string"
  8493. },
  8494. "vendorphone": {
  8495. "description": "供应商客服电话",
  8496. "type": "string"
  8497. },
  8498. "videourls": {
  8499. "description": "介绍视频[多张用逗号分隔]",
  8500. "type": "string"
  8501. }
  8502. }
  8503. },
  8504. "models.HsbyMarketGoods": {
  8505. "type": "object",
  8506. "required": [
  8507. "accountid",
  8508. "buyorsell",
  8509. "goodscode",
  8510. "goodsid",
  8511. "goodsname",
  8512. "marketid",
  8513. "orderid",
  8514. "trademode"
  8515. ],
  8516. "properties": {
  8517. "accountid": {
  8518. "description": "账户ID[报价币种]",
  8519. "type": "integer"
  8520. },
  8521. "agreeunit": {
  8522. "description": "合约单位",
  8523. "type": "number"
  8524. },
  8525. "buyorsell": {
  8526. "description": "买卖 - 0:买 1:卖",
  8527. "type": "integer"
  8528. },
  8529. "categoryid": {
  8530. "description": "类别ID(WRCATEGORY)",
  8531. "type": "integer"
  8532. },
  8533. "currency": {
  8534. "description": "货币",
  8535. "type": "string"
  8536. },
  8537. "currencysign": {
  8538. "description": "货币符号",
  8539. "type": "string"
  8540. },
  8541. "customername": {
  8542. "description": "卖家名称",
  8543. "type": "string"
  8544. },
  8545. "decimalplace": {
  8546. "description": "报价小数位",
  8547. "type": "integer"
  8548. },
  8549. "goodscode": {
  8550. "description": "商品代码(内部)",
  8551. "type": "string"
  8552. },
  8553. "goodsid": {
  8554. "description": "商品ID",
  8555. "type": "integer"
  8556. },
  8557. "goodsname": {
  8558. "description": "商品名称",
  8559. "type": "string"
  8560. },
  8561. "hascoupon": {
  8562. "description": "是否可用优惠卷",
  8563. "type": "boolean"
  8564. },
  8565. "hotindex": {
  8566. "description": "景点热度",
  8567. "type": "integer"
  8568. },
  8569. "marketid": {
  8570. "description": "市场ID",
  8571. "type": "integer"
  8572. },
  8573. "orderid": {
  8574. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8575. "type": "string"
  8576. },
  8577. "orderprice": {
  8578. "description": "委托价格",
  8579. "type": "number"
  8580. },
  8581. "orderstatus": {
  8582. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8583. "type": "integer"
  8584. },
  8585. "picurls": {
  8586. "description": "介绍图片[多张用逗号分隔]",
  8587. "type": "string"
  8588. },
  8589. "quoteminunit": {
  8590. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8591. "type": "integer"
  8592. },
  8593. "sellUserID": {
  8594. "description": "卖方UserID",
  8595. "type": "integer"
  8596. },
  8597. "trademode": {
  8598. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8599. "type": "integer"
  8600. },
  8601. "videourls": {
  8602. "description": "介绍视频[多张用逗号分隔]",
  8603. "type": "string"
  8604. }
  8605. }
  8606. },
  8607. "models.HsbyMarketGoodsDetail": {
  8608. "type": "object",
  8609. "required": [
  8610. "accountid",
  8611. "buyorsell",
  8612. "goodscode",
  8613. "goodsid",
  8614. "goodsname",
  8615. "marketid",
  8616. "orderid",
  8617. "orderqty",
  8618. "trademode"
  8619. ],
  8620. "properties": {
  8621. "accountid": {
  8622. "description": "账户ID[报价币种]",
  8623. "type": "integer"
  8624. },
  8625. "agreeunit": {
  8626. "description": "合约单位",
  8627. "type": "number"
  8628. },
  8629. "buymaxqty": {
  8630. "description": "购买上限 [71] - 0为不限",
  8631. "type": "integer"
  8632. },
  8633. "buyorsell": {
  8634. "description": "买卖 - 0:买 1:卖",
  8635. "type": "integer"
  8636. },
  8637. "cancelqty": {
  8638. "description": "撤单数量",
  8639. "type": "integer"
  8640. },
  8641. "categoryid": {
  8642. "description": "类别ID(WRCATEGORY)",
  8643. "type": "integer"
  8644. },
  8645. "currency": {
  8646. "description": "货币",
  8647. "type": "string"
  8648. },
  8649. "currencysign": {
  8650. "description": "货币符号",
  8651. "type": "string"
  8652. },
  8653. "customername": {
  8654. "description": "卖家名称",
  8655. "type": "string"
  8656. },
  8657. "decimalplace": {
  8658. "description": "报价小数位",
  8659. "type": "integer"
  8660. },
  8661. "goodscode": {
  8662. "description": "商品代码(内部)",
  8663. "type": "string"
  8664. },
  8665. "goodsdesc": {
  8666. "description": "商品详情",
  8667. "type": "string"
  8668. },
  8669. "goodsid": {
  8670. "description": "商品ID",
  8671. "type": "integer"
  8672. },
  8673. "goodsname": {
  8674. "description": "商品名称",
  8675. "type": "string"
  8676. },
  8677. "hotindex": {
  8678. "description": "景点热度",
  8679. "type": "integer"
  8680. },
  8681. "lotsize": {
  8682. "description": "手数最小变动单位",
  8683. "type": "integer"
  8684. },
  8685. "marketid": {
  8686. "description": "市场ID",
  8687. "type": "integer"
  8688. },
  8689. "orderid": {
  8690. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8691. "type": "string"
  8692. },
  8693. "orderprice": {
  8694. "description": "委托价格",
  8695. "type": "number"
  8696. },
  8697. "orderqty": {
  8698. "description": "委托数量",
  8699. "type": "integer"
  8700. },
  8701. "orderstatus": {
  8702. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8703. "type": "integer"
  8704. },
  8705. "picurls": {
  8706. "description": "介绍图片[多张用逗号分隔]",
  8707. "type": "string"
  8708. },
  8709. "quoteminunit": {
  8710. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8711. "type": "integer"
  8712. },
  8713. "sellUserID": {
  8714. "description": "卖方UserID",
  8715. "type": "integer"
  8716. },
  8717. "trademode": {
  8718. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8719. "type": "integer"
  8720. },
  8721. "tradeqty": {
  8722. "description": "成交数量",
  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.HsbyMarketInfo": {
  8744. "type": "object",
  8745. "required": [
  8746. "marketid",
  8747. "marketstatus",
  8748. "trademode"
  8749. ],
  8750. "properties": {
  8751. "marketid": {
  8752. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  8753. "type": "integer"
  8754. },
  8755. "marketname": {
  8756. "description": "市场名称",
  8757. "type": "string"
  8758. },
  8759. "marketstatus": {
  8760. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  8761. "type": "integer"
  8762. },
  8763. "trademode": {
  8764. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8765. "type": "integer"
  8766. }
  8767. }
  8768. },
  8769. "models.HsbyMyGoods": {
  8770. "type": "object",
  8771. "required": [
  8772. "accountid",
  8773. "goodscode",
  8774. "goodsid",
  8775. "goodsname",
  8776. "marketid",
  8777. "trademode"
  8778. ],
  8779. "properties": {
  8780. "accountid": {
  8781. "description": "账号Id",
  8782. "type": "integer"
  8783. },
  8784. "agreeunit": {
  8785. "description": "合约单位",
  8786. "type": "number"
  8787. },
  8788. "buyaverageprice": {
  8789. "description": "持仓均价",
  8790. "type": "number"
  8791. },
  8792. "buycurholderamount": {
  8793. "description": "买当前持仓总金额[商品币种]",
  8794. "type": "number"
  8795. },
  8796. "buycurpositionqty": {
  8797. "description": "买当前持仓总数量",
  8798. "type": "integer"
  8799. },
  8800. "buymaxqty": {
  8801. "description": "购买上限 [71] - 0为不限",
  8802. "type": "integer"
  8803. },
  8804. "currencysign": {
  8805. "description": "货币符号",
  8806. "type": "string"
  8807. },
  8808. "decimalplace": {
  8809. "description": "报价小数位",
  8810. "type": "integer"
  8811. },
  8812. "enableqty": {
  8813. "description": "可用数量",
  8814. "type": "integer"
  8815. },
  8816. "goodscode": {
  8817. "description": "商品代码(内部)",
  8818. "type": "string"
  8819. },
  8820. "goodsid": {
  8821. "description": "商品Id",
  8822. "type": "integer"
  8823. },
  8824. "goodsname": {
  8825. "description": "商品名称",
  8826. "type": "string"
  8827. },
  8828. "goodsprice": {
  8829. "description": "商品价格",
  8830. "type": "number"
  8831. },
  8832. "goodsstatus": {
  8833. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  8834. "type": "integer"
  8835. },
  8836. "last": {
  8837. "description": "现价(仅使用于挂牌点选)",
  8838. "type": "number"
  8839. },
  8840. "limitdown": {
  8841. "description": "跌停价(仅使用于挂牌点选)",
  8842. "type": "number"
  8843. },
  8844. "limitup": {
  8845. "description": "涨停价(仅使用于挂牌点选)",
  8846. "type": "number"
  8847. },
  8848. "lotsize": {
  8849. "description": "手数最小变动单位",
  8850. "type": "integer"
  8851. },
  8852. "marketid": {
  8853. "description": "所属市场ID",
  8854. "type": "integer"
  8855. },
  8856. "picurls": {
  8857. "description": "介绍图片[多张用逗号分隔]",
  8858. "type": "string"
  8859. },
  8860. "quoteminunit": {
  8861. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8862. "type": "integer"
  8863. },
  8864. "stepvalue": {
  8865. "description": "价格最小变动单位",
  8866. "type": "number"
  8867. },
  8868. "trademode": {
  8869. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8870. "type": "integer"
  8871. }
  8872. }
  8873. },
  8874. "models.HsbyMyPackage": {
  8875. "type": "object",
  8876. "required": [
  8877. "goodscode",
  8878. "goodsname",
  8879. "takeorderid"
  8880. ],
  8881. "properties": {
  8882. "accountid": {
  8883. "description": "账户ID",
  8884. "type": "integer"
  8885. },
  8886. "address": {
  8887. "description": "提货人详细地址",
  8888. "type": "string"
  8889. },
  8890. "agreeunit": {
  8891. "description": "合约单位",
  8892. "type": "number"
  8893. },
  8894. "amount": {
  8895. "description": "提货金额",
  8896. "type": "number"
  8897. },
  8898. "auditer": {
  8899. "description": "审核人",
  8900. "type": "integer"
  8901. },
  8902. "audittime": {
  8903. "description": "审核时间",
  8904. "type": "string"
  8905. },
  8906. "averageprice": {
  8907. "description": "均价",
  8908. "type": "number"
  8909. },
  8910. "cardnum": {
  8911. "description": "提货人证件号码",
  8912. "type": "string"
  8913. },
  8914. "cardtypeid": {
  8915. "description": "提货人证件类型",
  8916. "type": "integer"
  8917. },
  8918. "checkremark": {
  8919. "description": "审核备注",
  8920. "type": "string"
  8921. },
  8922. "currencysign": {
  8923. "description": "货币符号",
  8924. "type": "string"
  8925. },
  8926. "decimalplace": {
  8927. "description": "报价小数位",
  8928. "type": "integer"
  8929. },
  8930. "goodscode": {
  8931. "description": "商品代码(内部)",
  8932. "type": "string"
  8933. },
  8934. "goodsid": {
  8935. "description": "商品ID",
  8936. "type": "integer"
  8937. },
  8938. "goodsname": {
  8939. "description": "商品名称",
  8940. "type": "string"
  8941. },
  8942. "handlestatus": {
  8943. "description": "处理状态",
  8944. "type": "integer"
  8945. },
  8946. "marketid": {
  8947. "description": "市场ID",
  8948. "type": "integer"
  8949. },
  8950. "phonenum": {
  8951. "description": "提货人联系方式",
  8952. "type": "string"
  8953. },
  8954. "picurls": {
  8955. "description": "介绍图片[多张用逗号分隔]",
  8956. "type": "string"
  8957. },
  8958. "qty": {
  8959. "description": "提货数量",
  8960. "type": "number"
  8961. },
  8962. "recivername": {
  8963. "description": "提货人姓名",
  8964. "type": "string"
  8965. },
  8966. "reqtime": {
  8967. "description": "更新时间",
  8968. "type": "string"
  8969. },
  8970. "takemode": {
  8971. "description": "提货方式 - 2:自提 3:配送",
  8972. "type": "integer"
  8973. },
  8974. "takeorderid": {
  8975. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  8976. "type": "string"
  8977. },
  8978. "takeorderstatus": {
  8979. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8980. "type": "integer"
  8981. },
  8982. "takeremark": {
  8983. "description": "提货备注",
  8984. "type": "string"
  8985. },
  8986. "tradedate": {
  8987. "description": "交易日(yyyyMMdd)",
  8988. "type": "string"
  8989. },
  8990. "userid": {
  8991. "description": "用户ID",
  8992. "type": "integer"
  8993. },
  8994. "vendorname": {
  8995. "description": "供应商名称",
  8996. "type": "string"
  8997. }
  8998. }
  8999. },
  9000. "models.HsbyPreGoods": {
  9001. "type": "object",
  9002. "required": [
  9003. "goodscode",
  9004. "goodsid",
  9005. "goodsname",
  9006. "marketid",
  9007. "trademode"
  9008. ],
  9009. "properties": {
  9010. "agreeunit": {
  9011. "description": "合约单位",
  9012. "type": "number"
  9013. },
  9014. "currency": {
  9015. "description": "货币",
  9016. "type": "string"
  9017. },
  9018. "currencysign": {
  9019. "description": "货币符号",
  9020. "type": "string"
  9021. },
  9022. "decimalplace": {
  9023. "description": "报价小数位",
  9024. "type": "integer"
  9025. },
  9026. "enableqty": {
  9027. "description": "剩余数量",
  9028. "type": "integer"
  9029. },
  9030. "goodscode": {
  9031. "description": "商品代码(内部)",
  9032. "type": "string"
  9033. },
  9034. "goodsid": {
  9035. "description": "商品ID(自增ID SEQ_GOODS)",
  9036. "type": "integer"
  9037. },
  9038. "goodsname": {
  9039. "description": "商品名称",
  9040. "type": "string"
  9041. },
  9042. "goodsstatus": {
  9043. "description": "商品状态- 2:未上市 3:上市",
  9044. "type": "integer"
  9045. },
  9046. "lasttradedate": {
  9047. "description": "最后交易日期(状态:待退市)",
  9048. "type": "string"
  9049. },
  9050. "listingdate": {
  9051. "description": "交易开始日期",
  9052. "type": "string"
  9053. },
  9054. "marketid": {
  9055. "description": "所属市场ID",
  9056. "type": "integer"
  9057. },
  9058. "picurls": {
  9059. "description": "介绍图片[多张用逗号分隔]",
  9060. "type": "string"
  9061. },
  9062. "presaledqty": {
  9063. "description": "已预售量(预售结束时更新)",
  9064. "type": "integer"
  9065. },
  9066. "presaleqty": {
  9067. "description": "预售数量",
  9068. "type": "integer"
  9069. },
  9070. "quoteminunit": {
  9071. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9072. "type": "integer"
  9073. },
  9074. "refprice": {
  9075. "description": "参考价格[一口价]",
  9076. "type": "number"
  9077. },
  9078. "relatedgoodsid": {
  9079. "description": "关联交易合约ID",
  9080. "type": "integer"
  9081. },
  9082. "trademode": {
  9083. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9084. "type": "integer"
  9085. },
  9086. "videourls": {
  9087. "description": "介绍视频[多张用逗号分隔]",
  9088. "type": "string"
  9089. }
  9090. }
  9091. },
  9092. "models.HsbyPreGoodsDetail": {
  9093. "type": "object",
  9094. "required": [
  9095. "goodscode",
  9096. "goodsid",
  9097. "goodsname",
  9098. "marketid",
  9099. "trademode"
  9100. ],
  9101. "properties": {
  9102. "agreeunit": {
  9103. "description": "合约单位",
  9104. "type": "number"
  9105. },
  9106. "buymaxqty": {
  9107. "description": "购买上限 [71] - 0为不限",
  9108. "type": "integer"
  9109. },
  9110. "currency": {
  9111. "description": "货币",
  9112. "type": "string"
  9113. },
  9114. "currencysign": {
  9115. "description": "货币符号",
  9116. "type": "string"
  9117. },
  9118. "customername": {
  9119. "description": "发行单位",
  9120. "type": "string"
  9121. },
  9122. "decimalplace": {
  9123. "description": "报价小数位",
  9124. "type": "integer"
  9125. },
  9126. "desccityid": {
  9127. "description": "目的地(市)ID",
  9128. "type": "integer"
  9129. },
  9130. "descprovinceid": {
  9131. "description": "目的地(省)ID",
  9132. "type": "integer"
  9133. },
  9134. "enableqty": {
  9135. "description": "剩余数量",
  9136. "type": "integer"
  9137. },
  9138. "goodscode": {
  9139. "description": "商品代码(内部)",
  9140. "type": "string"
  9141. },
  9142. "goodsdesc": {
  9143. "description": "商品详情",
  9144. "type": "string"
  9145. },
  9146. "goodsid": {
  9147. "description": "商品ID(自增ID SEQ_GOODS)",
  9148. "type": "integer"
  9149. },
  9150. "goodsname": {
  9151. "description": "商品名称",
  9152. "type": "string"
  9153. },
  9154. "goodsstatus": {
  9155. "description": "商品状态- 2:未上市 3:上市",
  9156. "type": "integer"
  9157. },
  9158. "goodunit": {
  9159. "description": "报价单位",
  9160. "type": "string"
  9161. },
  9162. "lasttradedate": {
  9163. "description": "最后交易日期(状态:待退市)",
  9164. "type": "string"
  9165. },
  9166. "listingdate": {
  9167. "description": "交易开始日期",
  9168. "type": "string"
  9169. },
  9170. "lotsize": {
  9171. "description": "手数最小变动单位",
  9172. "type": "integer"
  9173. },
  9174. "marketid": {
  9175. "description": "所属市场ID",
  9176. "type": "integer"
  9177. },
  9178. "picurls": {
  9179. "description": "介绍图片[多张用逗号分隔]",
  9180. "type": "string"
  9181. },
  9182. "presaledqty": {
  9183. "description": "已预售量(预售结束时更新)",
  9184. "type": "integer"
  9185. },
  9186. "presaleqty": {
  9187. "description": "预售数量",
  9188. "type": "integer"
  9189. },
  9190. "quoteminunit": {
  9191. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9192. "type": "integer"
  9193. },
  9194. "refprice": {
  9195. "description": "参考价格[一口价]",
  9196. "type": "number"
  9197. },
  9198. "relatedgoodsid": {
  9199. "description": "关联交易合约ID",
  9200. "type": "integer"
  9201. },
  9202. "stepvalue": {
  9203. "description": "价格最小变动单位",
  9204. "type": "number"
  9205. },
  9206. "trademode": {
  9207. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9208. "type": "integer"
  9209. },
  9210. "vendorattr": {
  9211. "description": "供应商附件(多张,逗号分隔)",
  9212. "type": "string"
  9213. },
  9214. "vendorname": {
  9215. "description": "供应商名称",
  9216. "type": "string"
  9217. },
  9218. "vendorphone": {
  9219. "description": "供应商客服电话",
  9220. "type": "string"
  9221. },
  9222. "videourls": {
  9223. "description": "介绍视频[多张用逗号分隔]",
  9224. "type": "string"
  9225. }
  9226. }
  9227. },
  9228. "models.HsbySellCollectionOrder": {
  9229. "type": "object",
  9230. "required": [
  9231. "goodscode",
  9232. "goodsname",
  9233. "tradeid",
  9234. "trademode"
  9235. ],
  9236. "properties": {
  9237. "agreeunit": {
  9238. "description": "合约单位",
  9239. "type": "number"
  9240. },
  9241. "buyaccountid": {
  9242. "description": "买方账号ID[报价币种]",
  9243. "type": "integer"
  9244. },
  9245. "buyorderid": {
  9246. "description": "买方委托单号",
  9247. "type": "string"
  9248. },
  9249. "createtime": {
  9250. "description": "创建时间",
  9251. "type": "string"
  9252. },
  9253. "currencysign": {
  9254. "description": "货币符号",
  9255. "type": "string"
  9256. },
  9257. "decimalplace": {
  9258. "description": "报价小数位",
  9259. "type": "integer"
  9260. },
  9261. "goodscode": {
  9262. "description": "商品代码(内部)",
  9263. "type": "string"
  9264. },
  9265. "goodsid": {
  9266. "description": "商品ID",
  9267. "type": "integer"
  9268. },
  9269. "goodsname": {
  9270. "description": "商品名称",
  9271. "type": "string"
  9272. },
  9273. "marketid": {
  9274. "description": "市场ID",
  9275. "type": "integer"
  9276. },
  9277. "offamount": {
  9278. "description": "优惠金额",
  9279. "type": "number"
  9280. },
  9281. "payamount": {
  9282. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  9283. "type": "number"
  9284. },
  9285. "payflag": {
  9286. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9287. "type": "integer"
  9288. },
  9289. "paylimitedtime": {
  9290. "description": "支付期限",
  9291. "type": "string"
  9292. },
  9293. "paytime": {
  9294. "description": "付款时间",
  9295. "type": "string"
  9296. },
  9297. "picurls": {
  9298. "description": "商品介绍图片[多张用逗号分隔]",
  9299. "type": "string"
  9300. },
  9301. "sellaccountid": {
  9302. "description": "卖方账号ID[报价币种]",
  9303. "type": "integer"
  9304. },
  9305. "sellorderid": {
  9306. "description": "卖方委托单号",
  9307. "type": "string"
  9308. },
  9309. "tradeamount": {
  9310. "description": "成交金额",
  9311. "type": "number"
  9312. },
  9313. "tradecharge": {
  9314. "description": "成交手续费(买方)",
  9315. "type": "number"
  9316. },
  9317. "tradedate": {
  9318. "description": "交易日(yyyyMMdd)",
  9319. "type": "string"
  9320. },
  9321. "tradeid": {
  9322. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9323. "type": "string"
  9324. },
  9325. "trademode": {
  9326. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9327. "type": "integer"
  9328. },
  9329. "tradeprice": {
  9330. "description": "成交价格",
  9331. "type": "number"
  9332. },
  9333. "tradeqty": {
  9334. "description": "成交数量",
  9335. "type": "integer"
  9336. }
  9337. }
  9338. },
  9339. "models.HsbySellMyDetail": {
  9340. "type": "object",
  9341. "required": [
  9342. "accountid",
  9343. "buyorsell",
  9344. "goodscode",
  9345. "goodsid",
  9346. "goodsname",
  9347. "marketid",
  9348. "orderid",
  9349. "time",
  9350. "trademode"
  9351. ],
  9352. "properties": {
  9353. "accountid": {
  9354. "description": "账户ID[报价币种]",
  9355. "type": "integer"
  9356. },
  9357. "agreeunit": {
  9358. "description": "合约单位",
  9359. "type": "number"
  9360. },
  9361. "buyorsell": {
  9362. "description": "买卖 - 0:买 1:卖",
  9363. "type": "integer"
  9364. },
  9365. "currencysign": {
  9366. "description": "货币符号",
  9367. "type": "string"
  9368. },
  9369. "decimalplace": {
  9370. "description": "报价小数位",
  9371. "type": "integer"
  9372. },
  9373. "goodscode": {
  9374. "description": "商品代码(内部)",
  9375. "type": "string"
  9376. },
  9377. "goodsid": {
  9378. "description": "商品ID",
  9379. "type": "integer"
  9380. },
  9381. "goodsname": {
  9382. "description": "商品名称",
  9383. "type": "string"
  9384. },
  9385. "marketid": {
  9386. "description": "市场ID",
  9387. "type": "integer"
  9388. },
  9389. "orderid": {
  9390. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  9391. "type": "string"
  9392. },
  9393. "ordertype": {
  9394. "description": "单据类型:0 - 发布中, 1 - 已完成",
  9395. "type": "integer"
  9396. },
  9397. "picurls": {
  9398. "description": "介绍图片[多张用逗号分隔]",
  9399. "type": "string"
  9400. },
  9401. "price": {
  9402. "description": "价格",
  9403. "type": "number"
  9404. },
  9405. "qty": {
  9406. "description": "数量",
  9407. "type": "integer"
  9408. },
  9409. "time": {
  9410. "description": "时间",
  9411. "type": "string"
  9412. },
  9413. "trademode": {
  9414. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9415. "type": "integer"
  9416. },
  9417. "vendorname": {
  9418. "description": "供应商名称",
  9419. "type": "string"
  9420. }
  9421. }
  9422. },
  9423. "models.HsbyTopGoods": {
  9424. "type": "object",
  9425. "required": [
  9426. "goodscode",
  9427. "goodsid",
  9428. "goodsname",
  9429. "marketid",
  9430. "trademode"
  9431. ],
  9432. "properties": {
  9433. "agreeunit": {
  9434. "description": "合约单位",
  9435. "type": "number"
  9436. },
  9437. "currency": {
  9438. "description": "货币",
  9439. "type": "string"
  9440. },
  9441. "currencysign": {
  9442. "description": "货币符号",
  9443. "type": "string"
  9444. },
  9445. "decimalplace": {
  9446. "description": "报价小数位",
  9447. "type": "integer"
  9448. },
  9449. "goodscode": {
  9450. "description": "商品代码(内部)",
  9451. "type": "string"
  9452. },
  9453. "goodsid": {
  9454. "description": "商品ID(自增ID SEQ_GOODS)",
  9455. "type": "integer"
  9456. },
  9457. "goodsname": {
  9458. "description": "商品名称",
  9459. "type": "string"
  9460. },
  9461. "hotindex": {
  9462. "description": "景点热度",
  9463. "type": "integer"
  9464. },
  9465. "last": {
  9466. "description": "现价",
  9467. "type": "number"
  9468. },
  9469. "marketid": {
  9470. "description": "所属市场ID",
  9471. "type": "integer"
  9472. },
  9473. "picurls": {
  9474. "description": "介绍图片[多张用逗号分隔]",
  9475. "type": "string"
  9476. },
  9477. "quoteminunit": {
  9478. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9479. "type": "integer"
  9480. },
  9481. "trademode": {
  9482. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9483. "type": "integer"
  9484. },
  9485. "videourls": {
  9486. "description": "介绍视频[多张用逗号分隔]",
  9487. "type": "string"
  9488. }
  9489. }
  9490. },
  9491. "models.HybsMyBuyOrderDetail": {
  9492. "type": "object",
  9493. "required": [
  9494. "accountid",
  9495. "buyorsell",
  9496. "goodscode",
  9497. "goodsid",
  9498. "goodsname",
  9499. "marketid",
  9500. "orderid",
  9501. "orderqty",
  9502. "ordertime",
  9503. "trademode"
  9504. ],
  9505. "properties": {
  9506. "accountid": {
  9507. "description": "账户ID[报价币种]",
  9508. "type": "integer"
  9509. },
  9510. "agreeunit": {
  9511. "description": "合约单位",
  9512. "type": "number"
  9513. },
  9514. "buyorsell": {
  9515. "description": "买卖 - 0:买 1:卖",
  9516. "type": "integer"
  9517. },
  9518. "cancelqty": {
  9519. "description": "撤单数量",
  9520. "type": "integer"
  9521. },
  9522. "currencysign": {
  9523. "description": "货币符号",
  9524. "type": "string"
  9525. },
  9526. "decimalplace": {
  9527. "description": "报价小数位",
  9528. "type": "integer"
  9529. },
  9530. "goodscode": {
  9531. "description": "商品代码(内部)",
  9532. "type": "string"
  9533. },
  9534. "goodsid": {
  9535. "description": "商品ID",
  9536. "type": "integer"
  9537. },
  9538. "goodsname": {
  9539. "description": "商品名称",
  9540. "type": "string"
  9541. },
  9542. "listingselecttype": {
  9543. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9544. "type": "integer"
  9545. },
  9546. "marketid": {
  9547. "description": "市场ID",
  9548. "type": "integer"
  9549. },
  9550. "mybuystatus": {
  9551. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  9552. "type": "integer"
  9553. },
  9554. "orderamount": {
  9555. "description": "委托金额",
  9556. "type": "number"
  9557. },
  9558. "orderid": {
  9559. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9560. "type": "string"
  9561. },
  9562. "orderprice": {
  9563. "description": "委托价格",
  9564. "type": "number"
  9565. },
  9566. "orderqty": {
  9567. "description": "委托数量",
  9568. "type": "integer"
  9569. },
  9570. "orderstatus": {
  9571. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9572. "type": "integer"
  9573. },
  9574. "ordertime": {
  9575. "description": "委托时间",
  9576. "type": "string"
  9577. },
  9578. "picurls1": {
  9579. "description": "预售商品介绍图片[多张用逗号分隔]",
  9580. "type": "string"
  9581. },
  9582. "picurls2": {
  9583. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9584. "type": "string"
  9585. },
  9586. "trademode": {
  9587. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9588. "type": "integer"
  9589. },
  9590. "tradeqty": {
  9591. "description": "成交数量",
  9592. "type": "integer"
  9593. },
  9594. "vendorname1": {
  9595. "description": "预售商品供应商名称",
  9596. "type": "string"
  9597. },
  9598. "vendorname2": {
  9599. "description": "挂牌商品供应商名称",
  9600. "type": "string"
  9601. }
  9602. }
  9603. },
  9604. "models.Marketrun": {
  9605. "type": "object",
  9606. "required": [
  9607. "marketid",
  9608. "nexttradedate",
  9609. "reckonflag",
  9610. "runstatus",
  9611. "tradedate",
  9612. "tradedate2"
  9613. ],
  9614. "properties": {
  9615. "afternexttradedate": {
  9616. "description": "下下交易日",
  9617. "type": "string"
  9618. },
  9619. "clearquoteflag": {
  9620. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  9621. "type": "integer"
  9622. },
  9623. "lastreckondate": {
  9624. "description": "最新交易日(结算成功)",
  9625. "type": "string"
  9626. },
  9627. "machinedate": {
  9628. "description": "机器时间",
  9629. "type": "string"
  9630. },
  9631. "manualflag": {
  9632. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  9633. "type": "integer"
  9634. },
  9635. "marketid": {
  9636. "description": "市场ID",
  9637. "type": "integer"
  9638. },
  9639. "nexttradedate": {
  9640. "description": "下一交易日",
  9641. "type": "string"
  9642. },
  9643. "pretradedate": {
  9644. "description": "上一交易日",
  9645. "type": "string"
  9646. },
  9647. "reckonflag": {
  9648. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  9649. "type": "integer"
  9650. },
  9651. "runstatus": {
  9652. "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.今日免清算",
  9653. "type": "integer"
  9654. },
  9655. "sectionid": {
  9656. "description": "时间段号[多时段时用]",
  9657. "type": "integer"
  9658. },
  9659. "tradedate": {
  9660. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  9661. "type": "string"
  9662. },
  9663. "tradedate2": {
  9664. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  9665. "type": "string"
  9666. },
  9667. "updatetime": {
  9668. "description": "更新时间",
  9669. "type": "string"
  9670. }
  9671. }
  9672. },
  9673. "models.Messageboard": {
  9674. "type": "object",
  9675. "required": [
  9676. "messageboardid"
  9677. ],
  9678. "properties": {
  9679. "createtime": {
  9680. "description": "创建时间",
  9681. "type": "string"
  9682. },
  9683. "message": {
  9684. "description": "留言信息",
  9685. "type": "string"
  9686. },
  9687. "messageboardid": {
  9688. "description": "留言簿ID(SEQ_MessageBoard)",
  9689. "type": "integer"
  9690. },
  9691. "userid": {
  9692. "description": "用户ID",
  9693. "type": "integer"
  9694. }
  9695. }
  9696. },
  9697. "models.MyCoupon": {
  9698. "type": "object",
  9699. "required": [
  9700. "accountid",
  9701. "coupontypeid"
  9702. ],
  9703. "properties": {
  9704. "accountid": {
  9705. "description": "资金账户ID",
  9706. "type": "integer"
  9707. },
  9708. "areauserid": {
  9709. "description": "所属机构",
  9710. "type": "integer"
  9711. },
  9712. "conditionvalue": {
  9713. "description": "条件阈值(可为0)",
  9714. "type": "number"
  9715. },
  9716. "couponcategroy": {
  9717. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  9718. "type": "integer"
  9719. },
  9720. "couponname": {
  9721. "description": "优惠券名称",
  9722. "type": "string"
  9723. },
  9724. "coupontypeid": {
  9725. "description": "优惠券类型ID",
  9726. "type": "string"
  9727. },
  9728. "couponvalue": {
  9729. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9730. "type": "number"
  9731. },
  9732. "curfreezeqty": {
  9733. "description": "期末冻结数量",
  9734. "type": "integer"
  9735. },
  9736. "curqty": {
  9737. "description": "期末数量",
  9738. "type": "integer"
  9739. },
  9740. "isgeneral": {
  9741. "description": "是否通用券 - 0:否 1:是",
  9742. "type": "integer"
  9743. },
  9744. "isunusable": {
  9745. "description": "是否不可用",
  9746. "type": "boolean"
  9747. },
  9748. "limitedflag": {
  9749. "description": "是否指定商品 - 0:不限 1:限制",
  9750. "type": "integer"
  9751. },
  9752. "limitedgoodsids": {
  9753. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  9754. "type": "string"
  9755. },
  9756. "orifreezeqty": {
  9757. "description": "期初冻结数量",
  9758. "type": "integer"
  9759. },
  9760. "oriqty": {
  9761. "description": "期初数量",
  9762. "type": "integer"
  9763. },
  9764. "reasontype": {
  9765. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  9766. "type": "integer"
  9767. },
  9768. "todaydecrease": {
  9769. "description": "今日减少",
  9770. "type": "integer"
  9771. },
  9772. "todayincrease": {
  9773. "description": "今日增加",
  9774. "type": "integer"
  9775. },
  9776. "userid": {
  9777. "description": "用户ID",
  9778. "type": "integer"
  9779. },
  9780. "userscope": {
  9781. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  9782. "type": "string"
  9783. }
  9784. }
  9785. },
  9786. "models.MyCouponHold": {
  9787. "type": "object",
  9788. "required": [
  9789. "couponholdid"
  9790. ],
  9791. "properties": {
  9792. "accountid": {
  9793. "description": "资金账户ID",
  9794. "type": "integer"
  9795. },
  9796. "conditionvalue": {
  9797. "description": "条件阈值(可为0)",
  9798. "type": "number"
  9799. },
  9800. "couponcategroy": {
  9801. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  9802. "type": "integer"
  9803. },
  9804. "couponholdid": {
  9805. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  9806. "type": "string"
  9807. },
  9808. "couponname": {
  9809. "description": "优惠券名称",
  9810. "type": "string"
  9811. },
  9812. "coupontypeid": {
  9813. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  9814. "type": "string"
  9815. },
  9816. "couponvalue": {
  9817. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9818. "type": "number"
  9819. },
  9820. "createtime": {
  9821. "description": "创建时间",
  9822. "type": "string"
  9823. },
  9824. "enddate": {
  9825. "description": "结束日期",
  9826. "type": "string"
  9827. },
  9828. "giveapplyid": {
  9829. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  9830. "type": "integer"
  9831. },
  9832. "holdstatus": {
  9833. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  9834. "type": "integer"
  9835. },
  9836. "isgeneral": {
  9837. "description": "是否通用券 - 0:否 1:是",
  9838. "type": "integer"
  9839. },
  9840. "limitedflag": {
  9841. "description": "是否指定商品 - 0:不限 1:限制",
  9842. "type": "integer"
  9843. },
  9844. "limitedgoodsids": {
  9845. "description": "指定商品IDs[逗号分隔]",
  9846. "type": "string"
  9847. },
  9848. "qty": {
  9849. "description": "数量(按1平铺)",
  9850. "type": "integer"
  9851. },
  9852. "startdate": {
  9853. "description": "开始日期",
  9854. "type": "string"
  9855. },
  9856. "userid": {
  9857. "description": "用户ID",
  9858. "type": "integer"
  9859. },
  9860. "userscope": {
  9861. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  9862. "type": "string"
  9863. }
  9864. }
  9865. },
  9866. "models.MyUsedCoupon": {
  9867. "type": "object",
  9868. "required": [
  9869. "coupontypeid",
  9870. "orderid"
  9871. ],
  9872. "properties": {
  9873. "accountid": {
  9874. "description": "资金账户ID(买方)",
  9875. "type": "integer"
  9876. },
  9877. "conditionvalue": {
  9878. "description": "条件阈值(可为0)",
  9879. "type": "number"
  9880. },
  9881. "couponcategroy": {
  9882. "description": "种类 - 1:现金券 2:折扣券",
  9883. "type": "integer"
  9884. },
  9885. "couponname": {
  9886. "description": "优惠券名称",
  9887. "type": "string"
  9888. },
  9889. "coupontypeid": {
  9890. "description": "优惠券类型ID(买方)",
  9891. "type": "string"
  9892. },
  9893. "couponvalue": {
  9894. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  9895. "type": "number"
  9896. },
  9897. "createtime": {
  9898. "description": "创建时间",
  9899. "type": "string"
  9900. },
  9901. "goodsid": {
  9902. "description": "商品ID",
  9903. "type": "integer"
  9904. },
  9905. "handlestatus": {
  9906. "description": "处理状态",
  9907. "type": "integer"
  9908. },
  9909. "marketid": {
  9910. "description": "市场ID",
  9911. "type": "integer"
  9912. },
  9913. "offamount": {
  9914. "description": "优惠金额",
  9915. "type": "number"
  9916. },
  9917. "orderid": {
  9918. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9919. "type": "string"
  9920. },
  9921. "sellaccountid": {
  9922. "description": "资金账户ID(卖方)",
  9923. "type": "integer"
  9924. },
  9925. "tradeamount": {
  9926. "description": "成交金额",
  9927. "type": "number"
  9928. },
  9929. "tradeid": {
  9930. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9931. "type": "string"
  9932. },
  9933. "usedqty": {
  9934. "description": "使用数量",
  9935. "type": "integer"
  9936. }
  9937. }
  9938. },
  9939. "models.OperationPrimaryMenu": {
  9940. "type": "object",
  9941. "properties": {
  9942. "Children": {
  9943. "description": "二级功能菜单",
  9944. "type": "array",
  9945. "items": {
  9946. "$ref": "#/definitions/models.OperationSecondaryMenu"
  9947. }
  9948. },
  9949. "Key": {
  9950. "description": "菜单KEY",
  9951. "type": "string"
  9952. },
  9953. "Label": {
  9954. "description": "菜单标题",
  9955. "type": "string"
  9956. }
  9957. }
  9958. },
  9959. "models.OperationSecondaryMenu": {
  9960. "type": "object",
  9961. "properties": {
  9962. "Key": {
  9963. "description": "菜单KEY",
  9964. "type": "string"
  9965. },
  9966. "Label": {
  9967. "description": "菜单标题",
  9968. "type": "string"
  9969. },
  9970. "TabList": {
  9971. "description": "三级功能菜单",
  9972. "type": "array",
  9973. "items": {
  9974. "$ref": "#/definitions/models.OperationTabMenu"
  9975. }
  9976. }
  9977. }
  9978. },
  9979. "models.OperationTabMenu": {
  9980. "type": "object",
  9981. "properties": {
  9982. "Key": {
  9983. "description": "菜单KEY",
  9984. "type": "string"
  9985. },
  9986. "Label": {
  9987. "description": "菜单标题",
  9988. "type": "string"
  9989. }
  9990. }
  9991. },
  9992. "models.PendingAuditBizModel": {
  9993. "type": "object",
  9994. "properties": {
  9995. "accountid": {
  9996. "description": "现货账户",
  9997. "type": "string"
  9998. },
  9999. "areaname": {
  10000. "description": "所属部门",
  10001. "type": "string"
  10002. },
  10003. "bizid": {
  10004. "description": "业务ID",
  10005. "type": "string"
  10006. },
  10007. "bizname": {
  10008. "description": "业务名称",
  10009. "type": "string"
  10010. },
  10011. "status": {
  10012. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10013. "type": "integer"
  10014. },
  10015. "type": {
  10016. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  10017. "type": "integer"
  10018. }
  10019. }
  10020. },
  10021. "models.QuotePrimaryMenu": {
  10022. "type": "object",
  10023. "properties": {
  10024. "Index": {
  10025. "description": "序号",
  10026. "type": "integer"
  10027. },
  10028. "Key": {
  10029. "description": "键名",
  10030. "type": "string"
  10031. },
  10032. "Name": {
  10033. "description": "菜单名称",
  10034. "type": "string"
  10035. },
  10036. "SubMenus": {
  10037. "description": "子菜单",
  10038. "type": "array",
  10039. "items": {
  10040. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  10041. }
  10042. },
  10043. "SubTitleType": {
  10044. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  10045. "type": "integer"
  10046. },
  10047. "TradeModes": {
  10048. "description": "包含市场交易类型",
  10049. "type": "string"
  10050. }
  10051. }
  10052. },
  10053. "models.QuoteSecondaryMenu": {
  10054. "type": "object",
  10055. "properties": {
  10056. "ExExchangeCode": {
  10057. "description": "外部交易所代码",
  10058. "type": "string"
  10059. },
  10060. "ExExchangeID": {
  10061. "description": "外部交易所ID",
  10062. "type": "integer"
  10063. },
  10064. "GoodsGroupIDs": {
  10065. "description": "商品组ID列表",
  10066. "type": "array",
  10067. "items": {
  10068. "type": "integer"
  10069. }
  10070. },
  10071. "Index": {
  10072. "description": "序号",
  10073. "type": "integer"
  10074. },
  10075. "MarketID": {
  10076. "description": "市场ID",
  10077. "type": "integer"
  10078. },
  10079. "MenuTitle": {
  10080. "description": "菜单标题(市场名称或外部交易所名称)",
  10081. "type": "string"
  10082. },
  10083. "TradeMode": {
  10084. "description": "交易模式",
  10085. "type": "integer"
  10086. }
  10087. }
  10088. },
  10089. "models.SearchGoods": {
  10090. "type": "object",
  10091. "required": [
  10092. "goodscode",
  10093. "goodsid",
  10094. "goodsname",
  10095. "marketid",
  10096. "trademode"
  10097. ],
  10098. "properties": {
  10099. "goodscode": {
  10100. "description": "商品代码(内部)",
  10101. "type": "string"
  10102. },
  10103. "goodsid": {
  10104. "description": "商品ID(自增ID SEQ_GOODS)",
  10105. "type": "integer"
  10106. },
  10107. "goodsname": {
  10108. "description": "商品名称",
  10109. "type": "string"
  10110. },
  10111. "marketid": {
  10112. "description": "所属市场ID",
  10113. "type": "integer"
  10114. },
  10115. "marketname": {
  10116. "description": "市场名称",
  10117. "type": "string"
  10118. },
  10119. "trademode": {
  10120. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10121. "type": "integer"
  10122. }
  10123. }
  10124. },
  10125. "models.Szdz2imageconfig": {
  10126. "type": "object",
  10127. "required": [
  10128. "configid"
  10129. ],
  10130. "properties": {
  10131. "configid": {
  10132. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10133. "type": "integer"
  10134. },
  10135. "imagepath": {
  10136. "description": "图片",
  10137. "type": "string"
  10138. },
  10139. "imagetype": {
  10140. "description": "类型 - 1:App首页轮播 2:我的",
  10141. "type": "integer"
  10142. },
  10143. "sort": {
  10144. "description": "排序",
  10145. "type": "integer"
  10146. },
  10147. "title": {
  10148. "description": "标题",
  10149. "type": "string"
  10150. },
  10151. "url": {
  10152. "description": "链接",
  10153. "type": "string"
  10154. }
  10155. }
  10156. },
  10157. "models.Szdz3convertconfig": {
  10158. "type": "object",
  10159. "required": [
  10160. "converttype",
  10161. "innergoodsid",
  10162. "outergoodscode"
  10163. ],
  10164. "properties": {
  10165. "canin": {
  10166. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  10167. "type": "integer"
  10168. },
  10169. "canout": {
  10170. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  10171. "type": "integer"
  10172. },
  10173. "converttype": {
  10174. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10175. "type": "integer"
  10176. },
  10177. "createtime": {
  10178. "description": "创建时间",
  10179. "type": "string"
  10180. },
  10181. "creatorid": {
  10182. "description": "创建人",
  10183. "type": "integer"
  10184. },
  10185. "daymaxvalue": {
  10186. "description": "当日最大转入限制",
  10187. "type": "number"
  10188. },
  10189. "freezedays": {
  10190. "description": "冻结天数 [5:花生米转交易]",
  10191. "type": "integer"
  10192. },
  10193. "innergoodsid": {
  10194. "description": "内部商品ID[交易]",
  10195. "type": "integer"
  10196. },
  10197. "inratio": {
  10198. "description": "目标值",
  10199. "type": "integer"
  10200. },
  10201. "modifierid": {
  10202. "description": "修改人",
  10203. "type": "integer"
  10204. },
  10205. "modifytime": {
  10206. "description": "修改时间",
  10207. "type": "string"
  10208. },
  10209. "outergoodscode": {
  10210. "description": "外部商品代码[JD\\PD]",
  10211. "type": "string"
  10212. },
  10213. "outratio": {
  10214. "description": "源值",
  10215. "type": "integer"
  10216. },
  10217. "pddecimalplace": {
  10218. "description": "PD小数位",
  10219. "type": "integer"
  10220. },
  10221. "timemaxvalue": {
  10222. "description": "单次最大转入限制",
  10223. "type": "number"
  10224. },
  10225. "timeminvalue": {
  10226. "description": "单次最小转入限制",
  10227. "type": "number"
  10228. }
  10229. }
  10230. },
  10231. "models.Szdz3searchwhitelist": {
  10232. "type": "object",
  10233. "required": [
  10234. "userid"
  10235. ],
  10236. "properties": {
  10237. "createtime": {
  10238. "description": "创建时间",
  10239. "type": "string"
  10240. },
  10241. "creatorid": {
  10242. "description": "创建人",
  10243. "type": "integer"
  10244. },
  10245. "modifierid": {
  10246. "description": "修改人",
  10247. "type": "integer"
  10248. },
  10249. "modifytime": {
  10250. "description": "修改时间",
  10251. "type": "string"
  10252. },
  10253. "userid": {
  10254. "description": "用户ID",
  10255. "type": "integer"
  10256. }
  10257. }
  10258. },
  10259. "models.Tablecolumnconfig": {
  10260. "type": "object",
  10261. "required": [
  10262. "autoid"
  10263. ],
  10264. "properties": {
  10265. "aligntype": {
  10266. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  10267. "type": "integer"
  10268. },
  10269. "autoid": {
  10270. "description": "AutoID",
  10271. "type": "integer"
  10272. },
  10273. "columnfield": {
  10274. "description": "列字段",
  10275. "type": "string"
  10276. },
  10277. "columntitle": {
  10278. "description": "列Title",
  10279. "type": "string"
  10280. },
  10281. "columnwidth": {
  10282. "description": "列宽",
  10283. "type": "string"
  10284. },
  10285. "formatterstring": {
  10286. "description": "格式化字符",
  10287. "type": "string"
  10288. },
  10289. "formattertype": {
  10290. "description": "格式化类型",
  10291. "type": "string"
  10292. },
  10293. "groupname": {
  10294. "description": "表头分组名称",
  10295. "type": "string"
  10296. },
  10297. "isshow": {
  10298. "description": "是否显示 - 0:不显示 1:显示",
  10299. "type": "integer"
  10300. },
  10301. "needsummary": {
  10302. "description": "是否需要汇总 - 0:不需要 1:需要",
  10303. "type": "integer"
  10304. },
  10305. "orderindex": {
  10306. "description": "顺序",
  10307. "type": "integer"
  10308. },
  10309. "remark": {
  10310. "description": "备注",
  10311. "type": "string"
  10312. },
  10313. "summarytype": {
  10314. "description": "汇总类型 - 1:加总 2:最后一个",
  10315. "type": "integer"
  10316. },
  10317. "tablekey": {
  10318. "description": "列表Key",
  10319. "type": "string"
  10320. }
  10321. }
  10322. },
  10323. "models.Useraccount": {
  10324. "type": "object",
  10325. "required": [
  10326. "userid"
  10327. ],
  10328. "properties": {
  10329. "accountname": {
  10330. "description": "账户名称(机构名称)",
  10331. "type": "string"
  10332. },
  10333. "accountstatus": {
  10334. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10335. "type": "integer"
  10336. },
  10337. "auditremark": {
  10338. "description": "审核备注",
  10339. "type": "string"
  10340. },
  10341. "audittime": {
  10342. "description": "审核时间",
  10343. "type": "string"
  10344. },
  10345. "audituserid": {
  10346. "description": "审核人",
  10347. "type": "integer"
  10348. },
  10349. "broker": {
  10350. "description": "所属经纪人ID",
  10351. "type": "integer"
  10352. },
  10353. "canceltime": {
  10354. "description": "销户时间",
  10355. "type": "string"
  10356. },
  10357. "canceluserid": {
  10358. "description": "销户人",
  10359. "type": "integer"
  10360. },
  10361. "createtime": {
  10362. "description": "创建时间",
  10363. "type": "string"
  10364. },
  10365. "creatorid": {
  10366. "description": "创建人",
  10367. "type": "integer"
  10368. },
  10369. "hasauth": {
  10370. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  10371. "type": "integer"
  10372. },
  10373. "isanonymous": {
  10374. "description": "是否匿名下单 - 0:否 1:是",
  10375. "type": "integer"
  10376. },
  10377. "maxinvestornum": {
  10378. "description": "最大用户数(经纪会员下投资者个数)",
  10379. "type": "integer"
  10380. },
  10381. "memberuserid": {
  10382. "description": "所属会员ID",
  10383. "type": "integer"
  10384. },
  10385. "modifierid": {
  10386. "description": "修改人",
  10387. "type": "integer"
  10388. },
  10389. "modifyremark": {
  10390. "description": "变更备注",
  10391. "type": "string"
  10392. },
  10393. "modifystatus": {
  10394. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  10395. "type": "integer"
  10396. },
  10397. "modifytime": {
  10398. "description": "修改时间",
  10399. "type": "string"
  10400. },
  10401. "parentuserid": {
  10402. "description": "所属机构ID",
  10403. "type": "integer"
  10404. },
  10405. "reckonaccountid": {
  10406. "description": "默认结算资金账号ID(机构分润使用) 作废",
  10407. "type": "integer"
  10408. },
  10409. "refercount": {
  10410. "description": "推荐总人数",
  10411. "type": "integer"
  10412. },
  10413. "refereeuserid": {
  10414. "description": "推荐人ID",
  10415. "type": "integer"
  10416. },
  10417. "refernum": {
  10418. "description": "推荐码",
  10419. "type": "string"
  10420. },
  10421. "subarealevelpath": {
  10422. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  10423. "type": "string"
  10424. },
  10425. "userid": {
  10426. "description": "用户ID",
  10427. "type": "integer"
  10428. },
  10429. "usertype": {
  10430. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10431. "type": "integer"
  10432. }
  10433. }
  10434. },
  10435. "models.Userfavoritegoods": {
  10436. "type": "object",
  10437. "required": [
  10438. "goodsid"
  10439. ],
  10440. "properties": {
  10441. "goodsid": {
  10442. "description": "商品ID",
  10443. "type": "integer"
  10444. }
  10445. }
  10446. },
  10447. "models.Userinfo": {
  10448. "type": "object",
  10449. "required": [
  10450. "userid"
  10451. ],
  10452. "properties": {
  10453. "address": {
  10454. "description": "地址",
  10455. "type": "string"
  10456. },
  10457. "attachment1": {
  10458. "description": "附件1",
  10459. "type": "string"
  10460. },
  10461. "attachment2": {
  10462. "description": "附件2",
  10463. "type": "string"
  10464. },
  10465. "bankaccount": {
  10466. "description": "银行帐号 (加密存储)",
  10467. "type": "string"
  10468. },
  10469. "bankaccountname": {
  10470. "description": "收款人名称",
  10471. "type": "string"
  10472. },
  10473. "bankcardfrontphotourl": {
  10474. "description": "银行卡正面照地址",
  10475. "type": "string"
  10476. },
  10477. "bankid": {
  10478. "description": "银行编码",
  10479. "type": "string"
  10480. },
  10481. "bankname": {
  10482. "description": "银行名称",
  10483. "type": "string"
  10484. },
  10485. "biznature": {
  10486. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10487. "type": "integer"
  10488. },
  10489. "bizscope": {
  10490. "description": "企业经营范围(企业)",
  10491. "type": "string"
  10492. },
  10493. "cardbackphotourl": {
  10494. "description": "证件背面图片地址",
  10495. "type": "string"
  10496. },
  10497. "cardfrontphotourl": {
  10498. "description": "证件正面图片地址",
  10499. "type": "string"
  10500. },
  10501. "cardnum": {
  10502. "description": "证件号码(加密存储)",
  10503. "type": "string"
  10504. },
  10505. "cardtypeid": {
  10506. "description": "证件类型ID",
  10507. "type": "integer"
  10508. },
  10509. "cityid": {
  10510. "description": "市",
  10511. "type": "integer"
  10512. },
  10513. "company": {
  10514. "description": "公司(个人)",
  10515. "type": "string"
  10516. },
  10517. "contactname": {
  10518. "description": "联系人",
  10519. "type": "string"
  10520. },
  10521. "countryid": {
  10522. "description": "国家",
  10523. "type": "integer"
  10524. },
  10525. "createtime": {
  10526. "description": "创建时间",
  10527. "type": "string"
  10528. },
  10529. "creatorid": {
  10530. "description": "创建人",
  10531. "type": "integer"
  10532. },
  10533. "customername": {
  10534. "description": "客户名称(企业名称)",
  10535. "type": "string"
  10536. },
  10537. "districtid": {
  10538. "description": "地区",
  10539. "type": "integer"
  10540. },
  10541. "email": {
  10542. "description": "邮件(加密存储)",
  10543. "type": "string"
  10544. },
  10545. "fax": {
  10546. "description": "传真(加密存储)",
  10547. "type": "string"
  10548. },
  10549. "halfbodyphotourl": {
  10550. "description": "半身照地址",
  10551. "type": "string"
  10552. },
  10553. "hasencrypt": {
  10554. "description": "数据是否已加密 - 0:未加密 1:已加密",
  10555. "type": "integer"
  10556. },
  10557. "headurl": {
  10558. "description": "头像地址",
  10559. "type": "string"
  10560. },
  10561. "legalcardbackphotourl": {
  10562. "description": "法人身份证背面照地址",
  10563. "type": "string"
  10564. },
  10565. "legalcardfrontphotourl": {
  10566. "description": "法人身份证正面照地址",
  10567. "type": "string"
  10568. },
  10569. "legalpersonname": {
  10570. "description": "法人姓名(企业)",
  10571. "type": "string"
  10572. },
  10573. "mobile": {
  10574. "description": "手机号码(加密存储)",
  10575. "type": "string"
  10576. },
  10577. "mobile2": {
  10578. "description": "手机号码[明文-尚志]",
  10579. "type": "string"
  10580. },
  10581. "modifierid": {
  10582. "description": "修改人",
  10583. "type": "integer"
  10584. },
  10585. "modifiertime": {
  10586. "description": "修改时间",
  10587. "type": "string"
  10588. },
  10589. "needinvoice": {
  10590. "description": "是否需要发票 - 0:不需要 1:需要",
  10591. "type": "integer"
  10592. },
  10593. "nickname": {
  10594. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  10595. "type": "string"
  10596. },
  10597. "openmode": {
  10598. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  10599. "type": "integer"
  10600. },
  10601. "otherurl": {
  10602. "description": "其它图片地址[使用分号分隔]",
  10603. "type": "string"
  10604. },
  10605. "postalcode": {
  10606. "description": "邮政编码",
  10607. "type": "string"
  10608. },
  10609. "provinceid": {
  10610. "description": "省",
  10611. "type": "integer"
  10612. },
  10613. "qq": {
  10614. "description": "QQ(加密存储",
  10615. "type": "string"
  10616. },
  10617. "remark": {
  10618. "description": "备注",
  10619. "type": "string"
  10620. },
  10621. "sex": {
  10622. "description": "用户性别 0: 女 1: 男",
  10623. "type": "integer"
  10624. },
  10625. "signpdfurl": {
  10626. "description": "签约pdf文件",
  10627. "type": "string"
  10628. },
  10629. "telphone": {
  10630. "description": "联系电话(加密存储)",
  10631. "type": "string"
  10632. },
  10633. "userid": {
  10634. "description": "用户ID",
  10635. "type": "integer"
  10636. },
  10637. "userinfotype": {
  10638. "description": "用户信息类型 - 1:个人 2:企业",
  10639. "type": "integer"
  10640. },
  10641. "userstatus": {
  10642. "description": "用户状态 - 1:正常 2:注销",
  10643. "type": "integer"
  10644. },
  10645. "usertype": {
  10646. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10647. "type": "integer"
  10648. },
  10649. "wechat": {
  10650. "description": "微信(加密存储)",
  10651. "type": "string"
  10652. },
  10653. "wskhinfo": {
  10654. "description": "开户申请信息(JSON)",
  10655. "type": "string"
  10656. }
  10657. }
  10658. },
  10659. "models.WRCategoryTree": {
  10660. "type": "object",
  10661. "required": [
  10662. "categoryid"
  10663. ],
  10664. "properties": {
  10665. "areauserid": {
  10666. "description": "所属机构",
  10667. "type": "integer"
  10668. },
  10669. "categorydesc": {
  10670. "description": "类别描述",
  10671. "type": "string"
  10672. },
  10673. "categoryid": {
  10674. "description": "类别ID(SEQ_WRCATEGORY)",
  10675. "type": "integer"
  10676. },
  10677. "categoryname": {
  10678. "description": "类别名称",
  10679. "type": "string"
  10680. },
  10681. "iconurl": {
  10682. "description": "图标地址",
  10683. "type": "string"
  10684. },
  10685. "orderindex": {
  10686. "description": "顺序",
  10687. "type": "integer"
  10688. },
  10689. "parentcategoryid": {
  10690. "description": "父类别ID",
  10691. "type": "integer"
  10692. },
  10693. "subcategory": {
  10694. "description": "子分类",
  10695. "type": "array",
  10696. "items": {
  10697. "$ref": "#/definitions/models.WRCategoryTree"
  10698. }
  10699. }
  10700. }
  10701. },
  10702. "models.WRStandardInfo": {
  10703. "type": "object",
  10704. "required": [
  10705. "wrstandardid"
  10706. ],
  10707. "properties": {
  10708. "createtime": {
  10709. "description": "创建时间",
  10710. "type": "string"
  10711. },
  10712. "creatorid": {
  10713. "description": "创建人",
  10714. "type": "integer"
  10715. },
  10716. "deliverygoodsid": {
  10717. "description": "品种ID",
  10718. "type": "integer"
  10719. },
  10720. "deliverygoodsname": {
  10721. "description": "交割商品名称",
  10722. "type": "string"
  10723. },
  10724. "factoryitemjson": {
  10725. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  10726. "type": "string"
  10727. },
  10728. "isvalid": {
  10729. "description": "是否有效 - 0:无效 1:有效",
  10730. "type": "integer"
  10731. },
  10732. "minivalue": {
  10733. "description": "最小变动值",
  10734. "type": "integer"
  10735. },
  10736. "minivaluedp": {
  10737. "description": "最小变动值小数位",
  10738. "type": "integer"
  10739. },
  10740. "realminivalue": {
  10741. "description": "实际最小变动值",
  10742. "type": "integer"
  10743. },
  10744. "realminivaluedp": {
  10745. "description": "实际最小变动值小数位",
  10746. "type": "integer"
  10747. },
  10748. "unitid": {
  10749. "description": "单位ID",
  10750. "type": "integer"
  10751. },
  10752. "unitname": {
  10753. "description": "单位",
  10754. "type": "string"
  10755. },
  10756. "updatetime": {
  10757. "description": "更新时间",
  10758. "type": "string"
  10759. },
  10760. "updatorid": {
  10761. "description": "更新人",
  10762. "type": "integer"
  10763. },
  10764. "wrsstatus": {
  10765. "description": "状态 - 作废 - 0:未激活 1:正常",
  10766. "type": "integer"
  10767. },
  10768. "wrstandardcode": {
  10769. "description": "仓单标准代码",
  10770. "type": "string"
  10771. },
  10772. "wrstandardid": {
  10773. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10774. "type": "integer"
  10775. },
  10776. "wrstandardname": {
  10777. "description": "仓单标准名称",
  10778. "type": "string"
  10779. }
  10780. }
  10781. },
  10782. "models.Warehouseinfo": {
  10783. "type": "object",
  10784. "required": [
  10785. "autoid",
  10786. "warehousecode"
  10787. ],
  10788. "properties": {
  10789. "address": {
  10790. "description": "详细地址",
  10791. "type": "string"
  10792. },
  10793. "areauserid": {
  10794. "description": "所属机构",
  10795. "type": "integer"
  10796. },
  10797. "autoid": {
  10798. "description": "自增ID",
  10799. "type": "integer"
  10800. },
  10801. "cityid": {
  10802. "description": "市",
  10803. "type": "integer"
  10804. },
  10805. "contactname": {
  10806. "description": "联系人",
  10807. "type": "string"
  10808. },
  10809. "contactnum": {
  10810. "description": "联系电话",
  10811. "type": "string"
  10812. },
  10813. "countryid": {
  10814. "description": "国家",
  10815. "type": "integer"
  10816. },
  10817. "createtime": {
  10818. "description": "创建时间",
  10819. "type": "string"
  10820. },
  10821. "districtid": {
  10822. "description": "区",
  10823. "type": "integer"
  10824. },
  10825. "hasvideo": {
  10826. "description": "是否有视频 - 0:无 1:有",
  10827. "type": "integer"
  10828. },
  10829. "provinceid": {
  10830. "description": "省",
  10831. "type": "integer"
  10832. },
  10833. "remark": {
  10834. "description": "审核备注",
  10835. "type": "string"
  10836. },
  10837. "videourl": {
  10838. "description": "视频地址",
  10839. "type": "string"
  10840. },
  10841. "warehousecode": {
  10842. "description": "仓库代码",
  10843. "type": "string"
  10844. },
  10845. "warehousename": {
  10846. "description": "仓库名称",
  10847. "type": "string"
  10848. },
  10849. "warehousestatus": {
  10850. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10851. "type": "integer"
  10852. },
  10853. "warehousetype": {
  10854. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10855. "type": "integer"
  10856. }
  10857. }
  10858. },
  10859. "order.QueryHisTradeDetailRsp": {
  10860. "type": "object",
  10861. "required": [
  10862. "accountid",
  10863. "buyorsell",
  10864. "goodsid",
  10865. "histradedate",
  10866. "marketid",
  10867. "memberuserid",
  10868. "orderid",
  10869. "tradeamount",
  10870. "tradedate",
  10871. "tradeid",
  10872. "tradeprice",
  10873. "tradeqty",
  10874. "tradetime"
  10875. ],
  10876. "properties": {
  10877. "accountid": {
  10878. "description": "账户ID[报价币种]",
  10879. "type": "integer"
  10880. },
  10881. "buildtype": {
  10882. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10883. "type": "integer"
  10884. },
  10885. "buyorsell": {
  10886. "description": "方向 - 0:买 1:卖",
  10887. "type": "integer"
  10888. },
  10889. "charge": {
  10890. "description": "手续费",
  10891. "type": "number"
  10892. },
  10893. "closecharge": {
  10894. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10895. "type": "number"
  10896. },
  10897. "closeexchagechargevalue": {
  10898. "description": "平仓交易所手续费设置值",
  10899. "type": "number"
  10900. },
  10901. "closefeealgorithm": {
  10902. "description": "平仓手续费收取方式 1:比率 2:固定",
  10903. "type": "integer"
  10904. },
  10905. "closememberchargevalue": {
  10906. "description": "平仓会员手续费设置值",
  10907. "type": "number"
  10908. },
  10909. "closepl": {
  10910. "description": "平仓盈亏",
  10911. "type": "number"
  10912. },
  10913. "closepl2": {
  10914. "description": "平仓盈亏[逐笔]",
  10915. "type": "number"
  10916. },
  10917. "closeqty": {
  10918. "description": "平仓数量(先建后平操作 需要记录)",
  10919. "type": "integer"
  10920. },
  10921. "creditamount": {
  10922. "description": "授信金额",
  10923. "type": "number"
  10924. },
  10925. "gcaccountid": {
  10926. "description": "账户ID[合约币种]",
  10927. "type": "integer"
  10928. },
  10929. "goodscode": {
  10930. "description": "商品代码",
  10931. "type": "string"
  10932. },
  10933. "goodsid": {
  10934. "description": "商品ID",
  10935. "type": "integer"
  10936. },
  10937. "goodsname": {
  10938. "description": "商品名称",
  10939. "type": "string"
  10940. },
  10941. "histradedate": {
  10942. "description": "历史交易日",
  10943. "type": "string"
  10944. },
  10945. "intclosepl": {
  10946. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10947. "type": "integer"
  10948. },
  10949. "isconfirmexercise": {
  10950. "description": "是否确认行权- 0:否 1:是",
  10951. "type": "integer"
  10952. },
  10953. "ismain": {
  10954. "description": "是否主单 - 0:不是 1:是",
  10955. "type": "integer"
  10956. },
  10957. "ispreexercise": {
  10958. "description": "是否预申报- 0:否 1:是",
  10959. "type": "integer"
  10960. },
  10961. "isreckoned": {
  10962. "description": "是否结算 - 0:未结算 1:已结算",
  10963. "type": "integer"
  10964. },
  10965. "isvaliddata": {
  10966. "description": "是否有效 - 0:无效 1:有效",
  10967. "type": "integer"
  10968. },
  10969. "listingselecttype": {
  10970. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10971. "type": "integer"
  10972. },
  10973. "marketid": {
  10974. "description": "市场ID",
  10975. "type": "integer"
  10976. },
  10977. "marketname": {
  10978. "description": "市场名称",
  10979. "type": "string"
  10980. },
  10981. "matchaccountid": {
  10982. "description": "对手账号id",
  10983. "type": "integer"
  10984. },
  10985. "memberuserid": {
  10986. "description": "会员id 个人投资者 需要填写",
  10987. "type": "integer"
  10988. },
  10989. "opencharge": {
  10990. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10991. "type": "number"
  10992. },
  10993. "openexchagechargevalue": {
  10994. "description": "建仓交易所手续费设置值",
  10995. "type": "number"
  10996. },
  10997. "openfeealgorithm": {
  10998. "description": "建仓手续费收取方式 1:比率 2:固定",
  10999. "type": "integer"
  11000. },
  11001. "openmemberchargevalue": {
  11002. "description": "建仓会员手续费设置值",
  11003. "type": "number"
  11004. },
  11005. "openqty": {
  11006. "description": "开仓数量(先建后平操作 需要记录)",
  11007. "type": "integer"
  11008. },
  11009. "optiontype": {
  11010. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11011. "type": "integer"
  11012. },
  11013. "orderid": {
  11014. "description": "委托单号",
  11015. "type": "string"
  11016. },
  11017. "performanceplanid": {
  11018. "description": "履约计划ID[期权]",
  11019. "type": "integer"
  11020. },
  11021. "performancestatus": {
  11022. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11023. "type": "integer"
  11024. },
  11025. "preexerciseprice": {
  11026. "description": "预申报价格",
  11027. "type": "number"
  11028. },
  11029. "premium": {
  11030. "description": "权利金 - [持仓单的权利金]",
  11031. "type": "number"
  11032. },
  11033. "relatedouttradeid": {
  11034. "description": "关联外部成交单ID",
  11035. "type": "integer"
  11036. },
  11037. "status": {
  11038. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11039. "type": "integer"
  11040. },
  11041. "tradeamount": {
  11042. "description": "成交金额[账户币种,用于所有权]",
  11043. "type": "number"
  11044. },
  11045. "tradedate": {
  11046. "description": "交易日(yyyyMMdd)",
  11047. "type": "string"
  11048. },
  11049. "tradeid": {
  11050. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11051. "type": "string"
  11052. },
  11053. "trademode": {
  11054. "description": "交易模式",
  11055. "type": "integer"
  11056. },
  11057. "tradeprice": {
  11058. "description": "成交价格",
  11059. "type": "number"
  11060. },
  11061. "tradeproperty": {
  11062. "description": "交易属性",
  11063. "type": "integer"
  11064. },
  11065. "tradeqty": {
  11066. "description": "成交数量",
  11067. "type": "integer"
  11068. },
  11069. "tradetime": {
  11070. "description": "成交时间",
  11071. "type": "string"
  11072. },
  11073. "tradetype": {
  11074. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11075. "type": "integer"
  11076. }
  11077. }
  11078. },
  11079. "order.QueryHisTradeOrderDetailRsp": {
  11080. "type": "object",
  11081. "required": [
  11082. "accountid",
  11083. "buildtype",
  11084. "buyorsell",
  11085. "goodsid",
  11086. "histradedate",
  11087. "marketid",
  11088. "memberuserid",
  11089. "operatetype",
  11090. "orderid",
  11091. "orderqty",
  11092. "ordertime",
  11093. "pricemode",
  11094. "tradedate",
  11095. "validtype"
  11096. ],
  11097. "properties": {
  11098. "accountid": {
  11099. "description": "账户ID[报价币种]",
  11100. "type": "integer"
  11101. },
  11102. "buildtype": {
  11103. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11104. "type": "integer"
  11105. },
  11106. "buyorsell": {
  11107. "description": "买卖 - 0:买 1:卖",
  11108. "type": "integer"
  11109. },
  11110. "cancelorderid": {
  11111. "description": "撤单单号(撤单时填写)",
  11112. "type": "string"
  11113. },
  11114. "cancelqty": {
  11115. "description": "撤单数量",
  11116. "type": "integer"
  11117. },
  11118. "clientordertime": {
  11119. "description": "客户端委托时间",
  11120. "type": "string"
  11121. },
  11122. "clientticket": {
  11123. "description": "客户端流水号",
  11124. "type": "string"
  11125. },
  11126. "clienttype": {
  11127. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11128. "type": "integer"
  11129. },
  11130. "closeexchagechargevalue": {
  11131. "description": "平仓交易所手续费设置值",
  11132. "type": "number"
  11133. },
  11134. "closefeealgorithm": {
  11135. "description": "平仓手续费收取方式 1:比率 2:固定",
  11136. "type": "integer"
  11137. },
  11138. "closefreezecharge": {
  11139. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11140. "type": "number"
  11141. },
  11142. "closememberchargevalue": {
  11143. "description": "平仓会员手续费设置值",
  11144. "type": "number"
  11145. },
  11146. "closeqty": {
  11147. "description": "平仓数量(先建后平操作 需要记录)",
  11148. "type": "integer"
  11149. },
  11150. "closetradeqty": {
  11151. "description": "平仓成交数量(先建后平操作,需要记录)",
  11152. "type": "integer"
  11153. },
  11154. "closeunfreezecharge": {
  11155. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11156. "type": "number"
  11157. },
  11158. "delistingtype": {
  11159. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11160. "type": "integer"
  11161. },
  11162. "freezecharge": {
  11163. "description": "冻结手续费",
  11164. "type": "number"
  11165. },
  11166. "freezemargin": {
  11167. "description": "冻结保证金(冻结交易金额)",
  11168. "type": "number"
  11169. },
  11170. "gcaccountid": {
  11171. "description": "账户ID[合约币种]",
  11172. "type": "integer"
  11173. },
  11174. "goodscode": {
  11175. "description": "商品代码",
  11176. "type": "string"
  11177. },
  11178. "goodsid": {
  11179. "description": "商品ID",
  11180. "type": "integer"
  11181. },
  11182. "goodsname": {
  11183. "description": "商品名称",
  11184. "type": "string"
  11185. },
  11186. "histradedate": {
  11187. "description": "历史交易日",
  11188. "type": "string"
  11189. },
  11190. "isconfirmexercise": {
  11191. "description": "是否确认行权- 0:否 1:是",
  11192. "type": "integer"
  11193. },
  11194. "ispreexercise": {
  11195. "description": "是否预申报- 0:否 1:是",
  11196. "type": "integer"
  11197. },
  11198. "isvaliddata": {
  11199. "description": "是否有效 - 0:无效 1:有效",
  11200. "type": "integer"
  11201. },
  11202. "listingselecttype": {
  11203. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11204. "type": "integer"
  11205. },
  11206. "marginalgorithm": {
  11207. "description": "保证金收取方式 1:比率 2:固定",
  11208. "type": "integer"
  11209. },
  11210. "marginvalue": {
  11211. "description": "即市保证金设置值",
  11212. "type": "number"
  11213. },
  11214. "marketid": {
  11215. "description": "市场ID",
  11216. "type": "integer"
  11217. },
  11218. "marketmaxsub": {
  11219. "description": "市价最大偏移范围",
  11220. "type": "number"
  11221. },
  11222. "marketname": {
  11223. "description": "市场名称",
  11224. "type": "string"
  11225. },
  11226. "memberuserid": {
  11227. "description": "所属会员UserID",
  11228. "type": "integer"
  11229. },
  11230. "openexchagechargevalue": {
  11231. "description": "建仓交易所手续费设置值",
  11232. "type": "number"
  11233. },
  11234. "openfeealgorithm": {
  11235. "description": "建仓手续费收取方式 1:比率 2:固定",
  11236. "type": "integer"
  11237. },
  11238. "openfreezecharge": {
  11239. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11240. "type": "number"
  11241. },
  11242. "openmemberchargevalue": {
  11243. "description": "建仓会员手续费设置值",
  11244. "type": "number"
  11245. },
  11246. "openqty": {
  11247. "description": "开仓数量(先建后平操作,需要记录)",
  11248. "type": "integer"
  11249. },
  11250. "opentradeqty": {
  11251. "description": "开仓成交数量(先建后平操作,需要记录)",
  11252. "type": "integer"
  11253. },
  11254. "openunfreezecharge": {
  11255. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11256. "type": "number"
  11257. },
  11258. "operatetype": {
  11259. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11260. "type": "integer"
  11261. },
  11262. "operatorid": {
  11263. "description": "登录账号(LoginID)",
  11264. "type": "integer"
  11265. },
  11266. "optiontype": {
  11267. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11268. "type": "integer"
  11269. },
  11270. "orderid": {
  11271. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11272. "type": "string"
  11273. },
  11274. "orderprice": {
  11275. "description": "委托价格",
  11276. "type": "number"
  11277. },
  11278. "orderqty": {
  11279. "description": "委托数量",
  11280. "type": "integer"
  11281. },
  11282. "ordersrc": {
  11283. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11284. "type": "integer"
  11285. },
  11286. "orderstatus": {
  11287. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11288. "type": "integer"
  11289. },
  11290. "ordertime": {
  11291. "description": "委托时间",
  11292. "type": "string"
  11293. },
  11294. "preexerciseprice": {
  11295. "description": "预申报价格",
  11296. "type": "number"
  11297. },
  11298. "premium": {
  11299. "description": "权利金",
  11300. "type": "number"
  11301. },
  11302. "preorderid": {
  11303. "description": "关联预埋单号(止盈止损单时填写)",
  11304. "type": "string"
  11305. },
  11306. "pricemode": {
  11307. "description": "取价方式 - 1:市价 2: 限价",
  11308. "type": "integer"
  11309. },
  11310. "quoteid": {
  11311. "description": "报价单ID",
  11312. "type": "integer"
  11313. },
  11314. "relatedid": {
  11315. "description": "关联单号(交割单)",
  11316. "type": "string"
  11317. },
  11318. "retcode": {
  11319. "description": "错误代码",
  11320. "type": "integer"
  11321. },
  11322. "sessionid": {
  11323. "description": "会话ID",
  11324. "type": "integer"
  11325. },
  11326. "tradedate": {
  11327. "description": "交易日(yyyyMMdd)",
  11328. "type": "string"
  11329. },
  11330. "trademode": {
  11331. "description": "交易模式",
  11332. "type": "integer"
  11333. },
  11334. "tradeproperty": {
  11335. "description": "交易属性",
  11336. "type": "integer"
  11337. },
  11338. "tradeqty": {
  11339. "description": "成交数量",
  11340. "type": "integer"
  11341. },
  11342. "unfreezecharge": {
  11343. "description": "解冻手续费",
  11344. "type": "number"
  11345. },
  11346. "unfreezemargin": {
  11347. "description": "解冻保证金",
  11348. "type": "number"
  11349. },
  11350. "updatetime": {
  11351. "description": "更新时间",
  11352. "type": "string"
  11353. },
  11354. "uuid": {
  11355. "description": "发起端唯一id",
  11356. "type": "string"
  11357. },
  11358. "validtime": {
  11359. "description": "有效期限",
  11360. "type": "string"
  11361. },
  11362. "validtype": {
  11363. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11364. "type": "integer"
  11365. },
  11366. "volumetype": {
  11367. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11368. "type": "integer"
  11369. }
  11370. }
  11371. },
  11372. "order.QueryTradeDetailRsp": {
  11373. "type": "object",
  11374. "required": [
  11375. "accountid",
  11376. "buyorsell",
  11377. "goodsid",
  11378. "marketid",
  11379. "memberuserid",
  11380. "orderid",
  11381. "tradeamount",
  11382. "tradedate",
  11383. "tradeid",
  11384. "tradeprice",
  11385. "tradeqty",
  11386. "tradetime"
  11387. ],
  11388. "properties": {
  11389. "accountid": {
  11390. "description": "账户ID[报价币种]",
  11391. "type": "integer"
  11392. },
  11393. "buildtype": {
  11394. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11395. "type": "integer"
  11396. },
  11397. "buyorsell": {
  11398. "description": "方向 - 0:买 1:卖",
  11399. "type": "integer"
  11400. },
  11401. "charge": {
  11402. "description": "手续费",
  11403. "type": "number"
  11404. },
  11405. "closecharge": {
  11406. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11407. "type": "number"
  11408. },
  11409. "closeexchagechargevalue": {
  11410. "description": "平仓交易所手续费设置值",
  11411. "type": "number"
  11412. },
  11413. "closefeealgorithm": {
  11414. "description": "平仓手续费收取方式 1:比率 2:固定",
  11415. "type": "integer"
  11416. },
  11417. "closememberchargevalue": {
  11418. "description": "平仓会员手续费设置值",
  11419. "type": "number"
  11420. },
  11421. "closepl": {
  11422. "description": "平仓盈亏",
  11423. "type": "number"
  11424. },
  11425. "closepl2": {
  11426. "description": "平仓盈亏[逐笔]",
  11427. "type": "number"
  11428. },
  11429. "closeqty": {
  11430. "description": "平仓数量(先建后平操作 需要记录)",
  11431. "type": "integer"
  11432. },
  11433. "creditamount": {
  11434. "description": "授信金额",
  11435. "type": "number"
  11436. },
  11437. "gcaccountid": {
  11438. "description": "账户ID[合约币种]",
  11439. "type": "integer"
  11440. },
  11441. "goodscode": {
  11442. "description": "商品代码",
  11443. "type": "string"
  11444. },
  11445. "goodsid": {
  11446. "description": "商品ID",
  11447. "type": "integer"
  11448. },
  11449. "goodsname": {
  11450. "description": "商品名称",
  11451. "type": "string"
  11452. },
  11453. "intclosepl": {
  11454. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11455. "type": "integer"
  11456. },
  11457. "isconfirmexercise": {
  11458. "description": "是否确认行权- 0:否 1:是",
  11459. "type": "integer"
  11460. },
  11461. "ismain": {
  11462. "description": "是否主单 - 0:不是 1:是",
  11463. "type": "integer"
  11464. },
  11465. "ispreexercise": {
  11466. "description": "是否预申报- 0:否 1:是",
  11467. "type": "integer"
  11468. },
  11469. "isreckoned": {
  11470. "description": "是否结算 - 0:未结算 1:已结算",
  11471. "type": "integer"
  11472. },
  11473. "listingselecttype": {
  11474. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11475. "type": "integer"
  11476. },
  11477. "marketid": {
  11478. "description": "市场ID",
  11479. "type": "integer"
  11480. },
  11481. "marketname": {
  11482. "description": "市场名称",
  11483. "type": "string"
  11484. },
  11485. "matchaccountid": {
  11486. "description": "对手账号id",
  11487. "type": "integer"
  11488. },
  11489. "memberuserid": {
  11490. "description": "会员id 个人投资者 需要填写",
  11491. "type": "integer"
  11492. },
  11493. "opencharge": {
  11494. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11495. "type": "number"
  11496. },
  11497. "openexchagechargevalue": {
  11498. "description": "建仓交易所手续费设置值",
  11499. "type": "number"
  11500. },
  11501. "openfeealgorithm": {
  11502. "description": "建仓手续费收取方式 1:比率 2:固定",
  11503. "type": "integer"
  11504. },
  11505. "openmemberchargevalue": {
  11506. "description": "建仓会员手续费设置值",
  11507. "type": "number"
  11508. },
  11509. "openqty": {
  11510. "description": "开仓数量(先建后平操作 需要记录)",
  11511. "type": "integer"
  11512. },
  11513. "optiontype": {
  11514. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11515. "type": "integer"
  11516. },
  11517. "orderid": {
  11518. "description": "委托单号",
  11519. "type": "string"
  11520. },
  11521. "performanceplanid": {
  11522. "description": "履约计划ID[期权]",
  11523. "type": "integer"
  11524. },
  11525. "performancestatus": {
  11526. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11527. "type": "integer"
  11528. },
  11529. "preexerciseprice": {
  11530. "description": "预申报价格",
  11531. "type": "number"
  11532. },
  11533. "premium": {
  11534. "description": "权利金 - [持仓单的权利金]",
  11535. "type": "number"
  11536. },
  11537. "relatedouttradeid": {
  11538. "description": "关联外部成交单ID",
  11539. "type": "integer"
  11540. },
  11541. "status": {
  11542. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11543. "type": "integer"
  11544. },
  11545. "tradeamount": {
  11546. "description": "成交金额[账户币种,用于所有权]",
  11547. "type": "number"
  11548. },
  11549. "tradedate": {
  11550. "description": "交易日(yyyyMMdd)",
  11551. "type": "string"
  11552. },
  11553. "tradeid": {
  11554. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11555. "type": "string"
  11556. },
  11557. "trademode": {
  11558. "description": "交易模式",
  11559. "type": "integer"
  11560. },
  11561. "tradeprice": {
  11562. "description": "成交价格",
  11563. "type": "number"
  11564. },
  11565. "tradeproperty": {
  11566. "description": "交易属性",
  11567. "type": "integer"
  11568. },
  11569. "tradeqty": {
  11570. "description": "成交数量",
  11571. "type": "integer"
  11572. },
  11573. "tradetime": {
  11574. "description": "成交时间",
  11575. "type": "string"
  11576. },
  11577. "tradetype": {
  11578. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11579. "type": "integer"
  11580. }
  11581. }
  11582. },
  11583. "order.QueryTradeOrderDetailRsp": {
  11584. "type": "object",
  11585. "required": [
  11586. "accountid",
  11587. "buildtype",
  11588. "buyorsell",
  11589. "goodsid",
  11590. "marketid",
  11591. "operatetype",
  11592. "orderqty",
  11593. "ordertime",
  11594. "pricemode",
  11595. "tradedate",
  11596. "validtype"
  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. "cancelorderid": {
  11612. "description": "撤单单号(撤单时填写)",
  11613. "type": "string"
  11614. },
  11615. "cancelqty": {
  11616. "description": "撤单数量",
  11617. "type": "integer"
  11618. },
  11619. "clienttype": {
  11620. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11621. "type": "integer"
  11622. },
  11623. "closefreezecharge": {
  11624. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11625. "type": "number"
  11626. },
  11627. "closeqty": {
  11628. "description": "平仓数量(先建后平操作 需要记录)",
  11629. "type": "integer"
  11630. },
  11631. "closetradeqty": {
  11632. "description": "平仓成交数量(先建后平操作,需要记录)",
  11633. "type": "integer"
  11634. },
  11635. "closeunfreezecharge": {
  11636. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11637. "type": "number"
  11638. },
  11639. "delistingtype": {
  11640. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11641. "type": "integer"
  11642. },
  11643. "enableqty": {
  11644. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  11645. "type": "integer"
  11646. },
  11647. "freezecharge": {
  11648. "description": "冻结手续费",
  11649. "type": "number"
  11650. },
  11651. "freezemargin": {
  11652. "description": "冻结保证金(冻结交易金额)",
  11653. "type": "number"
  11654. },
  11655. "goodscode": {
  11656. "description": "商品代码",
  11657. "type": "string"
  11658. },
  11659. "goodsid": {
  11660. "description": "商品ID",
  11661. "type": "integer"
  11662. },
  11663. "goodsname": {
  11664. "description": "商品名称",
  11665. "type": "string"
  11666. },
  11667. "listingselecttype": {
  11668. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11669. "type": "integer"
  11670. },
  11671. "marketid": {
  11672. "description": "市场ID",
  11673. "type": "integer"
  11674. },
  11675. "marketname": {
  11676. "description": "市场名称",
  11677. "type": "string"
  11678. },
  11679. "openfreezecharge": {
  11680. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11681. "type": "number"
  11682. },
  11683. "openqty": {
  11684. "description": "开仓数量(先建后平操作,需要记录)",
  11685. "type": "integer"
  11686. },
  11687. "opentradeqty": {
  11688. "description": "开仓成交数量(先建后平操作,需要记录)",
  11689. "type": "integer"
  11690. },
  11691. "openunfreezecharge": {
  11692. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11693. "type": "number"
  11694. },
  11695. "operatetype": {
  11696. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11697. "type": "integer"
  11698. },
  11699. "operatorid": {
  11700. "description": "登录账号(LoginID)",
  11701. "type": "integer"
  11702. },
  11703. "orderid": {
  11704. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11705. "type": "string"
  11706. },
  11707. "orderprice": {
  11708. "description": "委托价格",
  11709. "type": "number"
  11710. },
  11711. "orderqty": {
  11712. "description": "委托数量",
  11713. "type": "integer"
  11714. },
  11715. "ordersrc": {
  11716. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11717. "type": "integer"
  11718. },
  11719. "orderstatus": {
  11720. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11721. "type": "integer"
  11722. },
  11723. "ordertime": {
  11724. "description": "委托时间",
  11725. "type": "string"
  11726. },
  11727. "preorderid": {
  11728. "description": "关联预埋单号(止盈止损单时填写)",
  11729. "type": "string"
  11730. },
  11731. "pricemode": {
  11732. "description": "取价方式 - 1:市价 2: 限价",
  11733. "type": "integer"
  11734. },
  11735. "relatedid": {
  11736. "description": "关联单号(交割单)",
  11737. "type": "string"
  11738. },
  11739. "tradedate": {
  11740. "description": "交易日(yyyyMMdd)",
  11741. "type": "string"
  11742. },
  11743. "trademode": {
  11744. "description": "交易模式",
  11745. "type": "integer"
  11746. },
  11747. "tradeqty": {
  11748. "description": "成交数量",
  11749. "type": "integer"
  11750. },
  11751. "unfreezecharge": {
  11752. "description": "解冻手续费",
  11753. "type": "number"
  11754. },
  11755. "unfreezemargin": {
  11756. "description": "解冻保证金",
  11757. "type": "number"
  11758. },
  11759. "validtime": {
  11760. "description": "有效期限",
  11761. "type": "string"
  11762. },
  11763. "validtype": {
  11764. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11765. "type": "integer"
  11766. },
  11767. "volumetype": {
  11768. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11769. "type": "integer"
  11770. }
  11771. }
  11772. },
  11773. "order.QueryTradePositionRsp": {
  11774. "type": "object",
  11775. "required": [
  11776. "goodsid"
  11777. ],
  11778. "properties": {
  11779. "accountid": {
  11780. "description": "资金账户",
  11781. "type": "integer"
  11782. },
  11783. "agreeunit": {
  11784. "description": "合约单位",
  11785. "type": "number"
  11786. },
  11787. "averageprice": {
  11788. "description": "持仓均价",
  11789. "type": "number"
  11790. },
  11791. "buyorsell": {
  11792. "description": "方向 - 0:买 1:卖",
  11793. "type": "integer"
  11794. },
  11795. "closetotalqty": {
  11796. "description": "平仓总数量",
  11797. "type": "integer"
  11798. },
  11799. "curholderamount": {
  11800. "description": "当前持仓总金额[商品币种]",
  11801. "type": "number"
  11802. },
  11803. "curpositionqty": {
  11804. "description": "当前持仓总数量",
  11805. "type": "integer"
  11806. },
  11807. "currencyid": {
  11808. "description": "报价货币ID",
  11809. "type": "integer"
  11810. },
  11811. "curtdposition": {
  11812. "description": "期末今日头寸",
  11813. "type": "integer"
  11814. },
  11815. "decimalplace": {
  11816. "description": "报价小数位",
  11817. "type": "integer"
  11818. },
  11819. "enableqty": {
  11820. "description": "可用量",
  11821. "type": "integer"
  11822. },
  11823. "fretdposition": {
  11824. "description": "冻结今日头寸",
  11825. "type": "integer"
  11826. },
  11827. "frozenqty": {
  11828. "description": "持仓冻结数量",
  11829. "type": "integer"
  11830. },
  11831. "goodscode": {
  11832. "description": "商品代码",
  11833. "type": "string"
  11834. },
  11835. "goodsid": {
  11836. "description": "商品Id",
  11837. "type": "integer"
  11838. },
  11839. "goodsname": {
  11840. "description": "商品名称",
  11841. "type": "string"
  11842. },
  11843. "goodunit": {
  11844. "description": "报价单位",
  11845. "type": "string"
  11846. },
  11847. "goodunitid": {
  11848. "description": "报价单位ID",
  11849. "type": "integer"
  11850. },
  11851. "holderamount": {
  11852. "description": "期初持仓总金额[商品币种]",
  11853. "type": "number"
  11854. },
  11855. "marketid": {
  11856. "description": "所属市场ID",
  11857. "type": "integer"
  11858. },
  11859. "openreqqty": {
  11860. "description": "开仓申请数量(用于比较最大持仓数量)",
  11861. "type": "integer"
  11862. },
  11863. "opentotalqty": {
  11864. "description": "开仓总数量",
  11865. "type": "integer"
  11866. },
  11867. "otherfrozenqty": {
  11868. "description": "持仓其他冻结数量(交割冻结)",
  11869. "type": "integer"
  11870. },
  11871. "positionqty": {
  11872. "description": "期初持仓数量",
  11873. "type": "integer"
  11874. },
  11875. "tnqty": {
  11876. "description": "T+N冻结总量",
  11877. "type": "integer"
  11878. },
  11879. "tnusedqty": {
  11880. "description": "T+N使用量(可以使用T+N的冻结数量)",
  11881. "type": "integer"
  11882. },
  11883. "trademode": {
  11884. "description": "交易模式",
  11885. "type": "integer"
  11886. },
  11887. "usedmargin": {
  11888. "description": "占用保证金[商品币种]",
  11889. "type": "number"
  11890. }
  11891. }
  11892. },
  11893. "quote.HistoryData": {
  11894. "type": "object",
  11895. "properties": {
  11896. "c": {
  11897. "description": "收盘价",
  11898. "type": "number"
  11899. },
  11900. "h": {
  11901. "description": "最高价",
  11902. "type": "number"
  11903. },
  11904. "hv": {
  11905. "description": "持仓量",
  11906. "type": "integer"
  11907. },
  11908. "l": {
  11909. "description": "最低价",
  11910. "type": "number"
  11911. },
  11912. "o": {
  11913. "description": "开盘价",
  11914. "type": "number"
  11915. },
  11916. "s": {
  11917. "description": "结算价,日线周期(包括)以上才有",
  11918. "type": "number"
  11919. },
  11920. "ts": {
  11921. "description": "时间",
  11922. "type": "string"
  11923. },
  11924. "tt": {
  11925. "description": "总金额",
  11926. "type": "number"
  11927. },
  11928. "tv": {
  11929. "description": "总量",
  11930. "type": "integer"
  11931. }
  11932. }
  11933. },
  11934. "quote.QueryTSDataRsp": {
  11935. "type": "object",
  11936. "properties": {
  11937. "decimalPlace": {
  11938. "description": "小数位",
  11939. "type": "integer"
  11940. },
  11941. "endTime": {
  11942. "description": "结束时间",
  11943. "type": "string"
  11944. },
  11945. "goodsCode": {
  11946. "description": "商品代码",
  11947. "type": "string"
  11948. },
  11949. "historyDatas": {
  11950. "description": "历史数据",
  11951. "type": "array",
  11952. "items": {
  11953. "$ref": "#/definitions/quote.HistoryData"
  11954. }
  11955. },
  11956. "preSettle": {
  11957. "description": "昨结",
  11958. "type": "number"
  11959. },
  11960. "startTime": {
  11961. "description": "开始时间",
  11962. "type": "string"
  11963. },
  11964. "tradeDate": {
  11965. "description": "交易日",
  11966. "type": "string"
  11967. }
  11968. }
  11969. },
  11970. "szdz.QueryConvertLogRsp": {
  11971. "type": "object",
  11972. "required": [
  11973. "logid"
  11974. ],
  11975. "properties": {
  11976. "accountid": {
  11977. "description": "资金账户ID",
  11978. "type": "integer"
  11979. },
  11980. "clientticket": {
  11981. "description": "客户端流水号",
  11982. "type": "string"
  11983. },
  11984. "converttype": {
  11985. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  11986. "type": "integer"
  11987. },
  11988. "createtime": {
  11989. "description": "记账时间",
  11990. "type": "string"
  11991. },
  11992. "daymaxvalue": {
  11993. "description": "配置当日最大转入限制",
  11994. "type": "number"
  11995. },
  11996. "daymaxvalue2": {
  11997. "description": "配置当日最大转入限制(转入)",
  11998. "type": "number"
  11999. },
  12000. "goodscode": {
  12001. "description": "商品代码",
  12002. "type": "string"
  12003. },
  12004. "goodsname": {
  12005. "description": "商品名称",
  12006. "type": "string"
  12007. },
  12008. "handlestatus": {
  12009. "description": "处理状态",
  12010. "type": "integer"
  12011. },
  12012. "innergoodsid": {
  12013. "description": "内部商品ID",
  12014. "type": "integer"
  12015. },
  12016. "inratio": {
  12017. "description": "配置转入比值",
  12018. "type": "integer"
  12019. },
  12020. "invalue": {
  12021. "description": "目标值",
  12022. "type": "number"
  12023. },
  12024. "logid": {
  12025. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12026. "type": "integer"
  12027. },
  12028. "mobile": {
  12029. "description": "手机号码(加密存储)",
  12030. "type": "string"
  12031. },
  12032. "outergoodscode": {
  12033. "description": "外部商品代码[JD\\PD]",
  12034. "type": "string"
  12035. },
  12036. "outratio": {
  12037. "description": "配置转出比值",
  12038. "type": "integer"
  12039. },
  12040. "outvalue": {
  12041. "description": "源值",
  12042. "type": "number"
  12043. },
  12044. "pddecimalplace": {
  12045. "description": "PD小数位",
  12046. "type": "integer"
  12047. },
  12048. "qty": {
  12049. "description": "数量",
  12050. "type": "string"
  12051. },
  12052. "remark": {
  12053. "description": "备注",
  12054. "type": "string"
  12055. },
  12056. "sessionid": {
  12057. "description": "会话ID",
  12058. "type": "integer"
  12059. },
  12060. "timemaxvalue": {
  12061. "description": "配置单次最大转入限制",
  12062. "type": "number"
  12063. },
  12064. "timemaxvalue2": {
  12065. "description": "配置单次最大转入限制(转入)",
  12066. "type": "number"
  12067. },
  12068. "timeminvalue": {
  12069. "description": "配置单次最小数量限制",
  12070. "type": "number"
  12071. },
  12072. "timeminvalue2": {
  12073. "description": "配置单次最小数量限制(转入)",
  12074. "type": "number"
  12075. },
  12076. "tradedate": {
  12077. "description": "交易日(yyyyMMdd)",
  12078. "type": "string"
  12079. },
  12080. "userid": {
  12081. "description": "用户ID",
  12082. "type": "integer"
  12083. }
  12084. }
  12085. },
  12086. "szdz.QueryGoodsPickupRsp": {
  12087. "type": "object",
  12088. "required": [
  12089. "takeorderid"
  12090. ],
  12091. "properties": {
  12092. "accountid": {
  12093. "description": "账户ID",
  12094. "type": "integer"
  12095. },
  12096. "address": {
  12097. "description": "提货人详细地址",
  12098. "type": "string"
  12099. },
  12100. "auditer": {
  12101. "description": "审核人",
  12102. "type": "integer"
  12103. },
  12104. "audittime": {
  12105. "description": "审核时间",
  12106. "type": "string"
  12107. },
  12108. "cardnum": {
  12109. "description": "提货人证件号码",
  12110. "type": "string"
  12111. },
  12112. "cardtypeid": {
  12113. "description": "提货人证件类型",
  12114. "type": "integer"
  12115. },
  12116. "checkremark": {
  12117. "description": "审核备注",
  12118. "type": "string"
  12119. },
  12120. "goodscode": {
  12121. "description": "商品代码",
  12122. "type": "string"
  12123. },
  12124. "goodsid": {
  12125. "description": "商品ID",
  12126. "type": "integer"
  12127. },
  12128. "goodsname": {
  12129. "description": "商品名称",
  12130. "type": "string"
  12131. },
  12132. "handlestatus": {
  12133. "description": "处理状态",
  12134. "type": "integer"
  12135. },
  12136. "marketid": {
  12137. "description": "市场ID",
  12138. "type": "integer"
  12139. },
  12140. "phonenum": {
  12141. "description": "提货人联系方式",
  12142. "type": "string"
  12143. },
  12144. "qty": {
  12145. "description": "提货数量",
  12146. "type": "number"
  12147. },
  12148. "recivername": {
  12149. "description": "提货人姓名",
  12150. "type": "string"
  12151. },
  12152. "reqtime": {
  12153. "description": "更新时间",
  12154. "type": "string"
  12155. },
  12156. "takemode": {
  12157. "description": "提货方式 - 2:自提 3:配送",
  12158. "type": "integer"
  12159. },
  12160. "takeorderid": {
  12161. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12162. "type": "string"
  12163. },
  12164. "takeorderstatus": {
  12165. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12166. "type": "integer"
  12167. },
  12168. "takeremark": {
  12169. "description": "提货备注",
  12170. "type": "string"
  12171. },
  12172. "tradedate": {
  12173. "description": "交易日(yyyyMMdd)",
  12174. "type": "string"
  12175. },
  12176. "userid": {
  12177. "description": "用户ID",
  12178. "type": "integer"
  12179. }
  12180. }
  12181. },
  12182. "szdz.QueryRecieptOrderRsp": {
  12183. "type": "object",
  12184. "required": [
  12185. "ordertime"
  12186. ],
  12187. "properties": {
  12188. "accountName": {
  12189. "description": "所属账号名称(已脱敏)",
  12190. "type": "string"
  12191. },
  12192. "accountid": {
  12193. "description": "资金账号",
  12194. "type": "integer"
  12195. },
  12196. "buyorsell": {
  12197. "description": "方向 - 0:买 1:卖",
  12198. "type": "integer"
  12199. },
  12200. "enableqty": {
  12201. "description": "可摘数量",
  12202. "type": "integer"
  12203. },
  12204. "goodscode": {
  12205. "description": "商品代码",
  12206. "type": "string"
  12207. },
  12208. "goodsid": {
  12209. "description": "商品ID",
  12210. "type": "integer"
  12211. },
  12212. "goodsname": {
  12213. "description": "商品名称",
  12214. "type": "string"
  12215. },
  12216. "orderid": {
  12217. "description": "委托单号",
  12218. "type": "string"
  12219. },
  12220. "orderprice": {
  12221. "description": "委托价格",
  12222. "type": "number"
  12223. },
  12224. "ordertime": {
  12225. "description": "委托时间",
  12226. "type": "string"
  12227. },
  12228. "tradedate": {
  12229. "description": "交易日(yyyyMMdd)",
  12230. "type": "string"
  12231. }
  12232. }
  12233. },
  12234. "szdz.QuerySZDZTradePositionRsp": {
  12235. "type": "object",
  12236. "properties": {
  12237. "accountid": {
  12238. "description": "账号Id",
  12239. "type": "integer"
  12240. },
  12241. "agreeunit": {
  12242. "description": "合约单位",
  12243. "type": "number"
  12244. },
  12245. "averageprice": {
  12246. "description": "持仓均价",
  12247. "type": "number"
  12248. },
  12249. "buyorsell": {
  12250. "description": "方向 - 0:买 1:卖",
  12251. "type": "integer"
  12252. },
  12253. "closetotalqty": {
  12254. "description": "平仓总数量",
  12255. "type": "integer"
  12256. },
  12257. "curholderamount": {
  12258. "description": "当前持仓总金额",
  12259. "type": "number"
  12260. },
  12261. "curpositionqty": {
  12262. "description": "当前持仓总数量",
  12263. "type": "integer"
  12264. },
  12265. "currencyid": {
  12266. "description": "报价货币ID",
  12267. "type": "integer"
  12268. },
  12269. "curtdposition": {
  12270. "description": "期末今日头寸",
  12271. "type": "integer"
  12272. },
  12273. "decimalplace": {
  12274. "description": "报价小数位",
  12275. "type": "integer"
  12276. },
  12277. "enableqty": {
  12278. "description": "可用量",
  12279. "type": "integer"
  12280. },
  12281. "fretdposition": {
  12282. "description": "冻结今日头寸",
  12283. "type": "integer"
  12284. },
  12285. "frozenqty": {
  12286. "description": "持仓冻结数量",
  12287. "type": "integer"
  12288. },
  12289. "goodscode": {
  12290. "description": "商品代码(内部)",
  12291. "type": "string"
  12292. },
  12293. "goodsid": {
  12294. "description": "商品Id",
  12295. "type": "integer"
  12296. },
  12297. "goodsname": {
  12298. "description": "商品名称",
  12299. "type": "string"
  12300. },
  12301. "goodunit": {
  12302. "description": "报价单位",
  12303. "type": "string"
  12304. },
  12305. "goodunitid": {
  12306. "description": "报价单位ID",
  12307. "type": "integer"
  12308. },
  12309. "holderamount": {
  12310. "description": "期初持仓总金额",
  12311. "type": "number"
  12312. },
  12313. "marketid": {
  12314. "description": "市场ID",
  12315. "type": "integer"
  12316. },
  12317. "openreqqty": {
  12318. "description": "开仓申请数量",
  12319. "type": "integer"
  12320. },
  12321. "opentotalqty": {
  12322. "description": "开仓总数量",
  12323. "type": "integer"
  12324. },
  12325. "otherfrozenqty": {
  12326. "description": "持仓其他冻结数量(交割冻结)",
  12327. "type": "integer"
  12328. },
  12329. "positionqty": {
  12330. "description": "期初持仓数量",
  12331. "type": "integer"
  12332. },
  12333. "szdz3freezqty": {
  12334. "description": "尚志大宗转换冻结总数量",
  12335. "type": "integer"
  12336. },
  12337. "tnqty": {
  12338. "description": "T+N冻结总量",
  12339. "type": "integer"
  12340. },
  12341. "tnusedqty": {
  12342. "description": "T+N使用量",
  12343. "type": "integer"
  12344. },
  12345. "trademode": {
  12346. "description": "交易模式",
  12347. "type": "integer"
  12348. },
  12349. "usedmargin": {
  12350. "description": "占用保证金",
  12351. "type": "number"
  12352. }
  12353. }
  12354. },
  12355. "taaccount.QueryAmountLogRsp": {
  12356. "type": "object",
  12357. "required": [
  12358. "accountid",
  12359. "amount",
  12360. "amountadjusttype",
  12361. "autoid",
  12362. "balance",
  12363. "createtime",
  12364. "currentbalance",
  12365. "operatetype"
  12366. ],
  12367. "properties": {
  12368. "OPERATETYPENAME": {
  12369. "description": "资金操作类型名称",
  12370. "type": "string"
  12371. },
  12372. "accountid": {
  12373. "description": "资金账户ID",
  12374. "type": "integer"
  12375. },
  12376. "agoodscode": {
  12377. "description": "竞拍商品代码",
  12378. "type": "string"
  12379. },
  12380. "agoodsname": {
  12381. "description": "竞拍商品名称",
  12382. "type": "string"
  12383. },
  12384. "amount": {
  12385. "description": "资金金额",
  12386. "type": "number"
  12387. },
  12388. "amountadjusttype": {
  12389. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12390. "type": "integer"
  12391. },
  12392. "autoid": {
  12393. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12394. "type": "integer"
  12395. },
  12396. "balance": {
  12397. "description": "期初余额",
  12398. "type": "number"
  12399. },
  12400. "businesscode": {
  12401. "description": "业务编号",
  12402. "type": "integer"
  12403. },
  12404. "createtime": {
  12405. "description": "发生时间",
  12406. "type": "string"
  12407. },
  12408. "currencyid": {
  12409. "description": "币种ID",
  12410. "type": "integer"
  12411. },
  12412. "currentbalance": {
  12413. "description": "期末余额(变动后金额)",
  12414. "type": "number"
  12415. },
  12416. "dgoodscode": {
  12417. "description": "交割商品代码",
  12418. "type": "string"
  12419. },
  12420. "dgoodsname": {
  12421. "description": "交割商品名称",
  12422. "type": "string"
  12423. },
  12424. "goodscode": {
  12425. "description": "商品代码",
  12426. "type": "string"
  12427. },
  12428. "goodsid": {
  12429. "description": "商品ID",
  12430. "type": "integer"
  12431. },
  12432. "goodsname": {
  12433. "description": "商品名称",
  12434. "type": "string"
  12435. },
  12436. "marketid": {
  12437. "description": "市场ID",
  12438. "type": "integer"
  12439. },
  12440. "marketname": {
  12441. "description": "市场名称",
  12442. "type": "string"
  12443. },
  12444. "moneyticket": {
  12445. "description": "资金流水号:银行端流水号",
  12446. "type": "integer"
  12447. },
  12448. "operatetype": {
  12449. "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:营销收款",
  12450. "type": "integer"
  12451. },
  12452. "relationorderid": {
  12453. "description": "关联单号",
  12454. "type": "string"
  12455. },
  12456. "remark": {
  12457. "description": "备注",
  12458. "type": "string"
  12459. },
  12460. "trademode": {
  12461. "description": "交易模式",
  12462. "type": "integer"
  12463. }
  12464. }
  12465. },
  12466. "taaccount.QueryHisAmountLogRsp": {
  12467. "type": "object",
  12468. "required": [
  12469. "accountid",
  12470. "amount",
  12471. "amountadjusttype",
  12472. "autoid",
  12473. "balance",
  12474. "createtime",
  12475. "currentbalance",
  12476. "histradedate",
  12477. "operatetype"
  12478. ],
  12479. "properties": {
  12480. "OPERATETYPENAME": {
  12481. "description": "资金操作类型名称",
  12482. "type": "string"
  12483. },
  12484. "accountid": {
  12485. "description": "资金账户ID",
  12486. "type": "integer"
  12487. },
  12488. "agoodscode": {
  12489. "description": "竞拍商品代码",
  12490. "type": "string"
  12491. },
  12492. "agoodsname": {
  12493. "description": "竞拍商品名称",
  12494. "type": "string"
  12495. },
  12496. "amount": {
  12497. "description": "资金金额",
  12498. "type": "number"
  12499. },
  12500. "amountadjusttype": {
  12501. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12502. "type": "integer"
  12503. },
  12504. "autoid": {
  12505. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12506. "type": "integer"
  12507. },
  12508. "balance": {
  12509. "description": "期初余额",
  12510. "type": "number"
  12511. },
  12512. "businesscode": {
  12513. "description": "业务编号",
  12514. "type": "integer"
  12515. },
  12516. "createtime": {
  12517. "description": "发生时间",
  12518. "type": "string"
  12519. },
  12520. "currencyid": {
  12521. "description": "币种ID",
  12522. "type": "integer"
  12523. },
  12524. "currentbalance": {
  12525. "description": "期末余额(变动后金额)",
  12526. "type": "number"
  12527. },
  12528. "dgoodscode": {
  12529. "description": "交割商品代码",
  12530. "type": "string"
  12531. },
  12532. "dgoodsname": {
  12533. "description": "交割商品名称",
  12534. "type": "string"
  12535. },
  12536. "goodscode": {
  12537. "description": "商品代码",
  12538. "type": "string"
  12539. },
  12540. "goodsid": {
  12541. "description": "商品ID",
  12542. "type": "integer"
  12543. },
  12544. "goodsname": {
  12545. "description": "商品名称",
  12546. "type": "string"
  12547. },
  12548. "histradedate": {
  12549. "description": "历史交易日",
  12550. "type": "string"
  12551. },
  12552. "isvaliddata": {
  12553. "description": "是否有效 - 0:无效 1:有效",
  12554. "type": "integer"
  12555. },
  12556. "marketid": {
  12557. "description": "市场ID",
  12558. "type": "integer"
  12559. },
  12560. "marketname": {
  12561. "description": "市场名称",
  12562. "type": "string"
  12563. },
  12564. "moneyticket": {
  12565. "description": "资金流水号:银行端流水号",
  12566. "type": "integer"
  12567. },
  12568. "operatetype": {
  12569. "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:营销收款",
  12570. "type": "integer"
  12571. },
  12572. "relationorderid": {
  12573. "description": "关联单号",
  12574. "type": "string"
  12575. },
  12576. "remark": {
  12577. "description": "备注",
  12578. "type": "string"
  12579. },
  12580. "trademode": {
  12581. "description": "交易模式",
  12582. "type": "integer"
  12583. }
  12584. }
  12585. },
  12586. "trade.QueryRecieptOrderRsp": {
  12587. "type": "object",
  12588. "required": [
  12589. "ordertime"
  12590. ],
  12591. "properties": {
  12592. "accountName": {
  12593. "description": "所属账号名称(已脱敏)",
  12594. "type": "string"
  12595. },
  12596. "accountid": {
  12597. "description": "资金账号",
  12598. "type": "integer"
  12599. },
  12600. "buyorsell": {
  12601. "description": "方向 - 0:买 1:卖",
  12602. "type": "integer"
  12603. },
  12604. "enableqty": {
  12605. "description": "可摘数量",
  12606. "type": "integer"
  12607. },
  12608. "goodscode": {
  12609. "description": "商品代码",
  12610. "type": "string"
  12611. },
  12612. "goodsid": {
  12613. "description": "商品ID",
  12614. "type": "integer"
  12615. },
  12616. "goodsname": {
  12617. "description": "商品名称",
  12618. "type": "string"
  12619. },
  12620. "orderid": {
  12621. "description": "委托单号",
  12622. "type": "string"
  12623. },
  12624. "orderprice": {
  12625. "description": "委托价格",
  12626. "type": "number"
  12627. },
  12628. "ordertime": {
  12629. "description": "委托时间",
  12630. "type": "string"
  12631. },
  12632. "tradedate": {
  12633. "description": "交易日(yyyyMMdd)",
  12634. "type": "string"
  12635. }
  12636. }
  12637. }
  12638. },
  12639. "securityDefinitions": {
  12640. "ApiKeyAuth": {
  12641. "type": "apiKey",
  12642. "name": "Authorization",
  12643. "in": "header"
  12644. }
  12645. }
  12646. }`
  12647. type swaggerInfo struct {
  12648. Version string
  12649. Host string
  12650. BasePath string
  12651. Schemes []string
  12652. Title string
  12653. Description string
  12654. }
  12655. // SwaggerInfo holds exported Swagger Info so clients can modify it
  12656. var SwaggerInfo = swaggerInfo{
  12657. Version: "1.0",
  12658. Host: "",
  12659. BasePath: "/api",
  12660. Schemes: []string{},
  12661. Title: "MTP2.0 查询服务 API",
  12662. Description: "新的查询服务,替代原通用查询服务。",
  12663. }
  12664. type s struct{}
  12665. func (s *s) ReadDoc() string {
  12666. sInfo := SwaggerInfo
  12667. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  12668. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  12669. "marshal": func(v interface{}) string {
  12670. a, _ := json.Marshal(v)
  12671. return string(a)
  12672. },
  12673. }).Parse(doc)
  12674. if err != nil {
  12675. return doc
  12676. }
  12677. var tpl bytes.Buffer
  12678. if err := t.Execute(&tpl, sInfo); err != nil {
  12679. return doc
  12680. }
  12681. return tpl.String()
  12682. }
  12683. func init() {
  12684. swag.Register(swag.Name, &s{})
  12685. }