docs.go 267 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/NoticeReaded": {
  368. "post": {
  369. "security": [
  370. {
  371. "ApiKeyAuth": []
  372. }
  373. ],
  374. "produces": [
  375. "application/json"
  376. ],
  377. "tags": [
  378. "通用服务"
  379. ],
  380. "summary": "通知公告设置已读请求",
  381. "parameters": [
  382. {
  383. "type": "integer",
  384. "description": "登录账号",
  385. "name": "loginID",
  386. "in": "query",
  387. "required": true
  388. },
  389. {
  390. "type": "integer",
  391. "description": "通知公告ID",
  392. "name": "noticeID",
  393. "in": "query",
  394. "required": true
  395. }
  396. ],
  397. "responses": {
  398. "200": {
  399. "description": "OK",
  400. "schema": {
  401. "$ref": "#/definitions/app.Response"
  402. }
  403. },
  404. "500": {
  405. "description": "Internal Server Error",
  406. "schema": {
  407. "$ref": "#/definitions/app.Response"
  408. }
  409. }
  410. }
  411. }
  412. },
  413. "/Common/QueryImageConfigs": {
  414. "get": {
  415. "produces": [
  416. "application/json"
  417. ],
  418. "tags": [
  419. "通用服务"
  420. ],
  421. "summary": "查询轮播图配置信息",
  422. "parameters": [
  423. {
  424. "type": "integer",
  425. "description": "类型 - 1:App首页轮播 2:我的",
  426. "name": "imageType",
  427. "in": "query"
  428. }
  429. ],
  430. "responses": {
  431. "200": {
  432. "description": "OK",
  433. "schema": {
  434. "$ref": "#/definitions/models.Szdz2imageconfig"
  435. }
  436. },
  437. "500": {
  438. "description": "Internal Server Error",
  439. "schema": {
  440. "$ref": "#/definitions/app.Response"
  441. }
  442. }
  443. }
  444. }
  445. },
  446. "/Common/QueryNotice": {
  447. "get": {
  448. "security": [
  449. {
  450. "ApiKeyAuth": []
  451. }
  452. ],
  453. "produces": [
  454. "application/json"
  455. ],
  456. "tags": [
  457. "通用服务"
  458. ],
  459. "summary": "通知公告系统消息查询",
  460. "parameters": [
  461. {
  462. "type": "integer",
  463. "description": "页码",
  464. "name": "page",
  465. "in": "query"
  466. },
  467. {
  468. "type": "integer",
  469. "description": "每页条数",
  470. "name": "pagesize",
  471. "in": "query"
  472. },
  473. {
  474. "type": "integer",
  475. "description": "登录账号",
  476. "name": "loginID",
  477. "in": "query",
  478. "required": true
  479. },
  480. {
  481. "type": "integer",
  482. "description": "消息类型 - 1:公告通知 2:系统消息",
  483. "name": "msgType",
  484. "in": "query"
  485. },
  486. {
  487. "type": "boolean",
  488. "description": "是否只获取未读信息",
  489. "name": "onlyUnRead",
  490. "in": "query"
  491. }
  492. ],
  493. "responses": {
  494. "200": {
  495. "description": "OK",
  496. "schema": {
  497. "$ref": "#/definitions/common.QueryNoticeRsp"
  498. }
  499. },
  500. "500": {
  501. "description": "Internal Server Error",
  502. "schema": {
  503. "$ref": "#/definitions/app.Response"
  504. }
  505. }
  506. }
  507. }
  508. },
  509. "/Common/QueryProvincesAndCities": {
  510. "get": {
  511. "produces": [
  512. "application/json"
  513. ],
  514. "tags": [
  515. "通用服务"
  516. ],
  517. "summary": "查询省市信息(不包括区)",
  518. "parameters": [
  519. {
  520. "type": "integer",
  521. "description": "省ID",
  522. "name": "provinceID",
  523. "in": "query"
  524. }
  525. ],
  526. "responses": {
  527. "200": {
  528. "description": "OK",
  529. "schema": {
  530. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  531. }
  532. },
  533. "500": {
  534. "description": "Internal Server Error",
  535. "schema": {
  536. "$ref": "#/definitions/app.Response"
  537. }
  538. }
  539. }
  540. }
  541. },
  542. "/Common/QueryTableDefine": {
  543. "get": {
  544. "produces": [
  545. "application/json"
  546. ],
  547. "tags": [
  548. "通用服务"
  549. ],
  550. "summary": "查询交易端列表头信息",
  551. "parameters": [
  552. {
  553. "type": "string",
  554. "description": "表key",
  555. "name": "TableKey",
  556. "in": "query"
  557. }
  558. ],
  559. "responses": {
  560. "200": {
  561. "description": "OK",
  562. "schema": {
  563. "$ref": "#/definitions/common.QueryTableDefineRsp"
  564. }
  565. },
  566. "500": {
  567. "description": "Internal Server Error",
  568. "schema": {
  569. "$ref": "#/definitions/app.Response"
  570. }
  571. }
  572. }
  573. }
  574. },
  575. "/Common/QueryTraderMenu": {
  576. "get": {
  577. "produces": [
  578. "application/json"
  579. ],
  580. "tags": [
  581. "通用服务"
  582. ],
  583. "summary": "查询交易端菜单",
  584. "parameters": [
  585. {
  586. "type": "integer",
  587. "description": "登录账号",
  588. "name": "loginid",
  589. "in": "query",
  590. "required": true
  591. }
  592. ],
  593. "responses": {
  594. "200": {
  595. "description": "OK",
  596. "schema": {
  597. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  598. }
  599. },
  600. "500": {
  601. "description": "Internal Server Error",
  602. "schema": {
  603. "$ref": "#/definitions/app.Response"
  604. }
  605. }
  606. }
  607. }
  608. },
  609. "/Delivery/QueryDeliveryRelation": {
  610. "get": {
  611. "security": [
  612. {
  613. "ApiKeyAuth": []
  614. }
  615. ],
  616. "produces": [
  617. "application/json"
  618. ],
  619. "tags": [
  620. "交割服务"
  621. ],
  622. "summary": "查询商品交割关系表",
  623. "parameters": [
  624. {
  625. "type": "integer",
  626. "description": "商品ID",
  627. "name": "goodsid",
  628. "in": "query"
  629. },
  630. {
  631. "type": "integer",
  632. "description": "品种ID",
  633. "name": "deliverygoodsid",
  634. "in": "query"
  635. },
  636. {
  637. "type": "integer",
  638. "description": "市场ID",
  639. "name": "marketid",
  640. "in": "query"
  641. }
  642. ],
  643. "responses": {
  644. "200": {
  645. "description": "OK",
  646. "schema": {
  647. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  648. }
  649. },
  650. "500": {
  651. "description": "Internal Server Error",
  652. "schema": {
  653. "$ref": "#/definitions/app.Response"
  654. }
  655. }
  656. }
  657. }
  658. },
  659. "/Erms2/QueryArbitrageStrategy": {
  660. "get": {
  661. "security": [
  662. {
  663. "ApiKeyAuth": []
  664. }
  665. ],
  666. "produces": [
  667. "application/json"
  668. ],
  669. "tags": [
  670. "风险管理"
  671. ],
  672. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  673. "parameters": [
  674. {
  675. "type": "integer",
  676. "description": "账户ID",
  677. "name": "userid",
  678. "in": "query",
  679. "required": true
  680. },
  681. {
  682. "type": "string",
  683. "description": "商品组ID(品种ID)",
  684. "name": "goodsgroupid",
  685. "in": "query"
  686. }
  687. ],
  688. "responses": {
  689. "200": {
  690. "description": "OK",
  691. "schema": {
  692. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  693. }
  694. },
  695. "500": {
  696. "description": "Internal Server Error",
  697. "schema": {
  698. "$ref": "#/definitions/app.Response"
  699. }
  700. }
  701. }
  702. }
  703. },
  704. "/Erms2/QueryInnerTradeDetail": {
  705. "get": {
  706. "security": [
  707. {
  708. "ApiKeyAuth": []
  709. }
  710. ],
  711. "produces": [
  712. "application/json"
  713. ],
  714. "tags": [
  715. "风险管理"
  716. ],
  717. "summary": "查询内部成交单信息",
  718. "parameters": [
  719. {
  720. "type": "integer",
  721. "description": "资金账户",
  722. "name": "accountid",
  723. "in": "query",
  724. "required": true
  725. }
  726. ],
  727. "responses": {
  728. "200": {
  729. "description": "OK",
  730. "schema": {
  731. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  732. }
  733. },
  734. "500": {
  735. "description": "Internal Server Error",
  736. "schema": {
  737. "$ref": "#/definitions/app.Response"
  738. }
  739. }
  740. }
  741. }
  742. },
  743. "/Erms2/QuerySpotContract": {
  744. "get": {
  745. "security": [
  746. {
  747. "ApiKeyAuth": []
  748. }
  749. ],
  750. "produces": [
  751. "application/json"
  752. ],
  753. "tags": [
  754. "风险管理"
  755. ],
  756. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  757. "parameters": [
  758. {
  759. "type": "integer",
  760. "description": "策略申请ID",
  761. "name": "asapplyid",
  762. "in": "query",
  763. "required": true
  764. },
  765. {
  766. "type": "integer",
  767. "description": "现货合同ID",
  768. "name": "spotcontractid",
  769. "in": "query"
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/HSBY/QueryHsbyGoodsOrderDetails": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "description": "说明:查询结果已按委托价格和委托时间排序",
  796. "produces": [
  797. "application/json"
  798. ],
  799. "tags": [
  800. "定制【海商报业】"
  801. ],
  802. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  803. "parameters": [
  804. {
  805. "type": "integer",
  806. "description": "商品ID",
  807. "name": "goodsID",
  808. "in": "query",
  809. "required": true
  810. },
  811. {
  812. "type": "integer",
  813. "description": "委托单方向。0:买 1:卖。不传则默认为买",
  814. "name": "buyOrSell",
  815. "in": "query"
  816. },
  817. {
  818. "type": "number",
  819. "description": " 参考价格。买方向委托单则价格大于等于(站在摘牌人的角度);卖方向委托单则价格小于等于",
  820. "name": "price",
  821. "in": "query"
  822. },
  823. {
  824. "type": "integer",
  825. "description": "档位,不传则默认为3档",
  826. "name": "speed",
  827. "in": "query"
  828. }
  829. ],
  830. "responses": {
  831. "200": {
  832. "description": "OK",
  833. "schema": {
  834. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  835. }
  836. },
  837. "500": {
  838. "description": "Internal Server Error",
  839. "schema": {
  840. "$ref": "#/definitions/app.Response"
  841. }
  842. }
  843. }
  844. }
  845. },
  846. "/HSBY/QueryHsbyListingGoodsDetail": {
  847. "get": {
  848. "security": [
  849. {
  850. "ApiKeyAuth": []
  851. }
  852. ],
  853. "produces": [
  854. "application/json"
  855. ],
  856. "tags": [
  857. "定制【海商报业】"
  858. ],
  859. "summary": "查询二级市场(挂牌点选)商品信息详情",
  860. "parameters": [
  861. {
  862. "type": "integer",
  863. "description": "商品ID",
  864. "name": "goodsID",
  865. "in": "query",
  866. "required": true
  867. }
  868. ],
  869. "responses": {
  870. "200": {
  871. "description": "OK",
  872. "schema": {
  873. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  874. }
  875. },
  876. "500": {
  877. "description": "Internal Server Error",
  878. "schema": {
  879. "$ref": "#/definitions/app.Response"
  880. }
  881. }
  882. }
  883. }
  884. },
  885. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  886. "get": {
  887. "security": [
  888. {
  889. "ApiKeyAuth": []
  890. }
  891. ],
  892. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  893. "produces": [
  894. "application/json"
  895. ],
  896. "tags": [
  897. "定制【海商报业】"
  898. ],
  899. "summary": "查询“我的订单”信息",
  900. "parameters": [
  901. {
  902. "type": "string",
  903. "description": "资金账户列表,格式:1,2,3",
  904. "name": "accountIDs",
  905. "in": "query",
  906. "required": true
  907. },
  908. {
  909. "type": "integer",
  910. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  911. "name": "myBuyStatus",
  912. "in": "query"
  913. }
  914. ],
  915. "responses": {
  916. "200": {
  917. "description": "OK",
  918. "schema": {
  919. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  920. }
  921. },
  922. "500": {
  923. "description": "Internal Server Error",
  924. "schema": {
  925. "$ref": "#/definitions/app.Response"
  926. }
  927. }
  928. }
  929. }
  930. },
  931. "/HSBY/QueryHsbyMyGoods": {
  932. "get": {
  933. "security": [
  934. {
  935. "ApiKeyAuth": []
  936. }
  937. ],
  938. "produces": [
  939. "application/json"
  940. ],
  941. "tags": [
  942. "定制【海商报业】"
  943. ],
  944. "summary": "查询“我的商品”信息",
  945. "parameters": [
  946. {
  947. "type": "string",
  948. "description": "资金账户列表,格式:1,2,3",
  949. "name": "accountIDs",
  950. "in": "query",
  951. "required": true
  952. }
  953. ],
  954. "responses": {
  955. "200": {
  956. "description": "OK",
  957. "schema": {
  958. "$ref": "#/definitions/models.HsbyMyGoods"
  959. }
  960. },
  961. "500": {
  962. "description": "Internal Server Error",
  963. "schema": {
  964. "$ref": "#/definitions/app.Response"
  965. }
  966. }
  967. }
  968. }
  969. },
  970. "/HSBY/QueryHsbyMyPackages": {
  971. "get": {
  972. "security": [
  973. {
  974. "ApiKeyAuth": []
  975. }
  976. ],
  977. "produces": [
  978. "application/json"
  979. ],
  980. "tags": [
  981. "定制【海商报业】"
  982. ],
  983. "summary": "查询我的包裹信息",
  984. "parameters": [
  985. {
  986. "type": "string",
  987. "description": "资金账户列表,格式:1,2,3",
  988. "name": "accountIDs",
  989. "in": "query",
  990. "required": true
  991. },
  992. {
  993. "type": "integer",
  994. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  995. "name": "takeOrderStatus",
  996. "in": "query"
  997. }
  998. ],
  999. "responses": {
  1000. "200": {
  1001. "description": "OK",
  1002. "schema": {
  1003. "$ref": "#/definitions/models.HsbyMyPackage"
  1004. }
  1005. },
  1006. "500": {
  1007. "description": "Internal Server Error",
  1008. "schema": {
  1009. "$ref": "#/definitions/app.Response"
  1010. }
  1011. }
  1012. }
  1013. }
  1014. },
  1015. "/HSBY/QueryHsbyPreGoodsDetail": {
  1016. "get": {
  1017. "security": [
  1018. {
  1019. "ApiKeyAuth": []
  1020. }
  1021. ],
  1022. "produces": [
  1023. "application/json"
  1024. ],
  1025. "tags": [
  1026. "定制【海商报业】"
  1027. ],
  1028. "summary": "查询一级市场(产能预售)商品信息详情",
  1029. "parameters": [
  1030. {
  1031. "type": "integer",
  1032. "description": "商品ID",
  1033. "name": "goodsID",
  1034. "in": "query",
  1035. "required": true
  1036. }
  1037. ],
  1038. "responses": {
  1039. "200": {
  1040. "description": "OK",
  1041. "schema": {
  1042. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1043. }
  1044. },
  1045. "500": {
  1046. "description": "Internal Server Error",
  1047. "schema": {
  1048. "$ref": "#/definitions/app.Response"
  1049. }
  1050. }
  1051. }
  1052. }
  1053. },
  1054. "/HSBY/QueryHsbyPreGoodses": {
  1055. "get": {
  1056. "security": [
  1057. {
  1058. "ApiKeyAuth": []
  1059. }
  1060. ],
  1061. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1062. "produces": [
  1063. "application/json"
  1064. ],
  1065. "tags": [
  1066. "定制【海商报业】"
  1067. ],
  1068. "summary": "查询新品上市商品列表(一级市场产能预售)",
  1069. "parameters": [
  1070. {
  1071. "type": "integer",
  1072. "description": "页码",
  1073. "name": "page",
  1074. "in": "query"
  1075. },
  1076. {
  1077. "type": "integer",
  1078. "description": "每页条数",
  1079. "name": "pagesize",
  1080. "in": "query"
  1081. },
  1082. {
  1083. "type": "string",
  1084. "description": "市场ID列表,格式:1,2,3",
  1085. "name": "marketIDs",
  1086. "in": "query",
  1087. "required": true
  1088. },
  1089. {
  1090. "type": "integer",
  1091. "description": "目的地(省)ID",
  1092. "name": "DescProvinceID",
  1093. "in": "query"
  1094. },
  1095. {
  1096. "type": "integer",
  1097. "description": "目的地(市)ID",
  1098. "name": "DescCityID",
  1099. "in": "query"
  1100. }
  1101. ],
  1102. "responses": {
  1103. "200": {
  1104. "description": "OK",
  1105. "schema": {
  1106. "$ref": "#/definitions/models.HsbyPreGoods"
  1107. }
  1108. },
  1109. "500": {
  1110. "description": "Internal Server Error",
  1111. "schema": {
  1112. "$ref": "#/definitions/app.Response"
  1113. }
  1114. }
  1115. }
  1116. }
  1117. },
  1118. "/HSBY/QueryHsbySellMyDetails": {
  1119. "get": {
  1120. "security": [
  1121. {
  1122. "ApiKeyAuth": []
  1123. }
  1124. ],
  1125. "description": "说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1126. "produces": [
  1127. "application/json"
  1128. ],
  1129. "tags": [
  1130. "定制【海商报业】"
  1131. ],
  1132. "summary": "查询\"我的闲置\"单据信息",
  1133. "parameters": [
  1134. {
  1135. "type": "integer",
  1136. "description": "页码",
  1137. "name": "page",
  1138. "in": "query"
  1139. },
  1140. {
  1141. "type": "integer",
  1142. "description": "每页条数",
  1143. "name": "pagesize",
  1144. "in": "query"
  1145. },
  1146. {
  1147. "type": "string",
  1148. "description": "资金账户列表,格式:1,2,3",
  1149. "name": "accountIDs",
  1150. "in": "query",
  1151. "required": true
  1152. },
  1153. {
  1154. "type": "integer",
  1155. "description": "单据类型:0 - 已发布(默认), 1 - 已完成",
  1156. "name": "orderType",
  1157. "in": "query"
  1158. }
  1159. ],
  1160. "responses": {
  1161. "200": {
  1162. "description": "OK",
  1163. "schema": {
  1164. "$ref": "#/definitions/models.HsbySellMyDetail"
  1165. }
  1166. },
  1167. "500": {
  1168. "description": "Internal Server Error",
  1169. "schema": {
  1170. "$ref": "#/definitions/app.Response"
  1171. }
  1172. }
  1173. }
  1174. }
  1175. },
  1176. "/HSBY/QueryHsbyTopGoodses": {
  1177. "get": {
  1178. "security": [
  1179. {
  1180. "ApiKeyAuth": []
  1181. }
  1182. ],
  1183. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1184. "produces": [
  1185. "application/json"
  1186. ],
  1187. "tags": [
  1188. "定制【海商报业】"
  1189. ],
  1190. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1191. "parameters": [
  1192. {
  1193. "type": "integer",
  1194. "description": "页码",
  1195. "name": "page",
  1196. "in": "query"
  1197. },
  1198. {
  1199. "type": "integer",
  1200. "description": "每页条数",
  1201. "name": "pagesize",
  1202. "in": "query"
  1203. },
  1204. {
  1205. "type": "string",
  1206. "description": "市场ID列表,格式:1,2,3",
  1207. "name": "marketIDs",
  1208. "in": "query",
  1209. "required": true
  1210. },
  1211. {
  1212. "type": "integer",
  1213. "description": "目的地(省)ID",
  1214. "name": "DescProvinceID",
  1215. "in": "query"
  1216. },
  1217. {
  1218. "type": "integer",
  1219. "description": "目的地(市)ID",
  1220. "name": "DescCityID",
  1221. "in": "query"
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "$ref": "#/definitions/models.HsbyTopGoods"
  1229. }
  1230. },
  1231. "500": {
  1232. "description": "Internal Server Error",
  1233. "schema": {
  1234. "$ref": "#/definitions/app.Response"
  1235. }
  1236. }
  1237. }
  1238. }
  1239. },
  1240. "/HSBY/SetHsbyMyPackagesStatus": {
  1241. "post": {
  1242. "security": [
  1243. {
  1244. "ApiKeyAuth": []
  1245. }
  1246. ],
  1247. "produces": [
  1248. "application/json"
  1249. ],
  1250. "tags": [
  1251. "定制【海商报业】"
  1252. ],
  1253. "summary": "设置我的包裹已收货状态",
  1254. "parameters": [
  1255. {
  1256. "type": "string",
  1257. "description": "提货单号",
  1258. "name": "takeOrderID",
  1259. "in": "query",
  1260. "required": true
  1261. },
  1262. {
  1263. "type": "integer",
  1264. "description": "资金账号",
  1265. "name": "accountID",
  1266. "in": "query",
  1267. "required": true
  1268. }
  1269. ],
  1270. "responses": {
  1271. "200": {
  1272. "description": "OK",
  1273. "schema": {
  1274. "$ref": "#/definitions/app.Response"
  1275. }
  1276. },
  1277. "500": {
  1278. "description": "Internal Server Error",
  1279. "schema": {
  1280. "$ref": "#/definitions/app.Response"
  1281. }
  1282. }
  1283. }
  1284. }
  1285. },
  1286. "/Order/QueryHisTradeDetail": {
  1287. "get": {
  1288. "security": [
  1289. {
  1290. "ApiKeyAuth": []
  1291. }
  1292. ],
  1293. "produces": [
  1294. "application/json"
  1295. ],
  1296. "tags": [
  1297. "通用单据"
  1298. ],
  1299. "summary": "历史成交单查询(合约市场)",
  1300. "parameters": [
  1301. {
  1302. "type": "string",
  1303. "description": "资金账户 - 格式:1,2,3",
  1304. "name": "accountID",
  1305. "in": "query",
  1306. "required": true
  1307. },
  1308. {
  1309. "type": "integer",
  1310. "description": "成交单号",
  1311. "name": "tradeID",
  1312. "in": "query"
  1313. },
  1314. {
  1315. "type": "integer",
  1316. "description": "委托单号",
  1317. "name": "orderID",
  1318. "in": "query"
  1319. },
  1320. {
  1321. "type": "string",
  1322. "description": "交易模式 - 格式:1,2,3",
  1323. "name": "tradeMode",
  1324. "in": "query"
  1325. },
  1326. {
  1327. "type": "integer",
  1328. "description": "委托单据类型",
  1329. "name": "buildType",
  1330. "in": "query"
  1331. },
  1332. {
  1333. "type": "string",
  1334. "description": "成交类别 - 格式:1,2,3",
  1335. "name": "tradeType",
  1336. "in": "query"
  1337. },
  1338. {
  1339. "type": "string",
  1340. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1341. "name": "startDate",
  1342. "in": "query"
  1343. },
  1344. {
  1345. "type": "string",
  1346. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1347. "name": "endDate",
  1348. "in": "query"
  1349. }
  1350. ],
  1351. "responses": {
  1352. "200": {
  1353. "description": "OK",
  1354. "schema": {
  1355. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  1356. }
  1357. },
  1358. "500": {
  1359. "description": "Internal Server Error",
  1360. "schema": {
  1361. "$ref": "#/definitions/app.Response"
  1362. }
  1363. }
  1364. }
  1365. }
  1366. },
  1367. "/Order/QueryHisTradeOrderDetail": {
  1368. "get": {
  1369. "security": [
  1370. {
  1371. "ApiKeyAuth": []
  1372. }
  1373. ],
  1374. "produces": [
  1375. "application/json"
  1376. ],
  1377. "tags": [
  1378. "通用单据"
  1379. ],
  1380. "summary": "历史委托单查询请求(合约市场)",
  1381. "parameters": [
  1382. {
  1383. "type": "string",
  1384. "description": "资金账户 - 格式:1,2,3",
  1385. "name": "accountID",
  1386. "in": "query",
  1387. "required": true
  1388. },
  1389. {
  1390. "type": "string",
  1391. "description": "交易模式 - 格式:1,2,3",
  1392. "name": "tradeMode",
  1393. "in": "query"
  1394. },
  1395. {
  1396. "type": "string",
  1397. "description": "委托状态 - 格式:1,2,3",
  1398. "name": "orderStatus",
  1399. "in": "query"
  1400. },
  1401. {
  1402. "type": "integer",
  1403. "description": "委托单号",
  1404. "name": "orderID",
  1405. "in": "query"
  1406. },
  1407. {
  1408. "type": "string",
  1409. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1410. "name": "startDate",
  1411. "in": "query"
  1412. },
  1413. {
  1414. "type": "string",
  1415. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1416. "name": "endDate",
  1417. "in": "query"
  1418. }
  1419. ],
  1420. "responses": {
  1421. "200": {
  1422. "description": "OK",
  1423. "schema": {
  1424. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  1425. }
  1426. },
  1427. "500": {
  1428. "description": "Internal Server Error",
  1429. "schema": {
  1430. "$ref": "#/definitions/app.Response"
  1431. }
  1432. }
  1433. }
  1434. }
  1435. },
  1436. "/Order/QueryTradeDetail": {
  1437. "get": {
  1438. "security": [
  1439. {
  1440. "ApiKeyAuth": []
  1441. }
  1442. ],
  1443. "produces": [
  1444. "application/json"
  1445. ],
  1446. "tags": [
  1447. "通用单据"
  1448. ],
  1449. "summary": "成交单查询(合约市场)",
  1450. "parameters": [
  1451. {
  1452. "type": "string",
  1453. "description": "资金账户 - 格式:1,2,3",
  1454. "name": "accountID",
  1455. "in": "query",
  1456. "required": true
  1457. },
  1458. {
  1459. "type": "integer",
  1460. "description": "成交单号",
  1461. "name": "tradeID",
  1462. "in": "query"
  1463. },
  1464. {
  1465. "type": "integer",
  1466. "description": "委托单号",
  1467. "name": "orderID",
  1468. "in": "query"
  1469. },
  1470. {
  1471. "type": "string",
  1472. "description": "交易模式 - 格式:1,2,3",
  1473. "name": "tradeMode",
  1474. "in": "query"
  1475. },
  1476. {
  1477. "type": "integer",
  1478. "description": "委托单据类型",
  1479. "name": "buildType",
  1480. "in": "query"
  1481. },
  1482. {
  1483. "type": "string",
  1484. "description": "成交类别 - 格式:1,2,3",
  1485. "name": "tradeType",
  1486. "in": "query"
  1487. }
  1488. ],
  1489. "responses": {
  1490. "200": {
  1491. "description": "OK",
  1492. "schema": {
  1493. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  1494. }
  1495. },
  1496. "500": {
  1497. "description": "Internal Server Error",
  1498. "schema": {
  1499. "$ref": "#/definitions/app.Response"
  1500. }
  1501. }
  1502. }
  1503. }
  1504. },
  1505. "/Order/QueryTradeOrderDetail": {
  1506. "get": {
  1507. "security": [
  1508. {
  1509. "ApiKeyAuth": []
  1510. }
  1511. ],
  1512. "produces": [
  1513. "application/json"
  1514. ],
  1515. "tags": [
  1516. "通用单据"
  1517. ],
  1518. "summary": "委托单查询请求(合约市场)",
  1519. "parameters": [
  1520. {
  1521. "type": "string",
  1522. "description": "资金账户 - 格式:1,2,3",
  1523. "name": "accountID",
  1524. "in": "query",
  1525. "required": true
  1526. },
  1527. {
  1528. "type": "string",
  1529. "description": "交易模式 - 格式:1,2,3",
  1530. "name": "tradeMode",
  1531. "in": "query"
  1532. },
  1533. {
  1534. "type": "string",
  1535. "description": "委托状态 - 格式:1,2,3",
  1536. "name": "orderStatus",
  1537. "in": "query"
  1538. },
  1539. {
  1540. "type": "integer",
  1541. "description": "委托单号",
  1542. "name": "orderID",
  1543. "in": "query"
  1544. }
  1545. ],
  1546. "responses": {
  1547. "200": {
  1548. "description": "OK",
  1549. "schema": {
  1550. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  1551. }
  1552. },
  1553. "500": {
  1554. "description": "Internal Server Error",
  1555. "schema": {
  1556. "$ref": "#/definitions/app.Response"
  1557. }
  1558. }
  1559. }
  1560. }
  1561. },
  1562. "/Order/QueryTradePosition": {
  1563. "get": {
  1564. "security": [
  1565. {
  1566. "ApiKeyAuth": []
  1567. }
  1568. ],
  1569. "produces": [
  1570. "application/json"
  1571. ],
  1572. "tags": [
  1573. "通用单据"
  1574. ],
  1575. "summary": "持仓汇总查询(合约市场)",
  1576. "parameters": [
  1577. {
  1578. "type": "string",
  1579. "description": "资金账户 - 格式:1,2,3",
  1580. "name": "accountID",
  1581. "in": "query",
  1582. "required": true
  1583. },
  1584. {
  1585. "type": "string",
  1586. "description": "交易模式 - 格式:1,2,3",
  1587. "name": "tradeMode",
  1588. "in": "query"
  1589. }
  1590. ],
  1591. "responses": {
  1592. "200": {
  1593. "description": "OK",
  1594. "schema": {
  1595. "$ref": "#/definitions/order.QueryTradePositionRsp"
  1596. }
  1597. },
  1598. "500": {
  1599. "description": "Internal Server Error",
  1600. "schema": {
  1601. "$ref": "#/definitions/app.Response"
  1602. }
  1603. }
  1604. }
  1605. }
  1606. },
  1607. "/Quote/QueryHistoryDatas": {
  1608. "get": {
  1609. "security": [
  1610. {
  1611. "ApiKeyAuth": []
  1612. }
  1613. ],
  1614. "produces": [
  1615. "application/json"
  1616. ],
  1617. "tags": [
  1618. "行情服务"
  1619. ],
  1620. "summary": "查询行情历史数据",
  1621. "parameters": [
  1622. {
  1623. "type": "integer",
  1624. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  1625. "name": "cycleType",
  1626. "in": "query",
  1627. "required": true
  1628. },
  1629. {
  1630. "type": "string",
  1631. "description": "商品代码",
  1632. "name": "goodsCode",
  1633. "in": "query",
  1634. "required": true
  1635. },
  1636. {
  1637. "type": "string",
  1638. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  1639. "name": "startTime",
  1640. "in": "query"
  1641. },
  1642. {
  1643. "type": "string",
  1644. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  1645. "name": "endTime",
  1646. "in": "query"
  1647. },
  1648. {
  1649. "type": "integer",
  1650. "description": "条数",
  1651. "name": "count",
  1652. "in": "query"
  1653. },
  1654. {
  1655. "type": "boolean",
  1656. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  1657. "name": "isAsc",
  1658. "in": "query"
  1659. }
  1660. ],
  1661. "responses": {
  1662. "200": {
  1663. "description": "OK",
  1664. "schema": {
  1665. "$ref": "#/definitions/quote.HistoryData"
  1666. }
  1667. },
  1668. "500": {
  1669. "description": "Internal Server Error",
  1670. "schema": {
  1671. "$ref": "#/definitions/app.Response"
  1672. }
  1673. }
  1674. }
  1675. }
  1676. },
  1677. "/Quote/QueryTSData": {
  1678. "get": {
  1679. "produces": [
  1680. "application/json"
  1681. ],
  1682. "tags": [
  1683. "行情服务"
  1684. ],
  1685. "summary": "分时图数据查询",
  1686. "parameters": [
  1687. {
  1688. "type": "string",
  1689. "description": "商品代码",
  1690. "name": "GoodsCode",
  1691. "in": "query",
  1692. "required": true
  1693. }
  1694. ],
  1695. "responses": {
  1696. "200": {
  1697. "description": "OK",
  1698. "schema": {
  1699. "$ref": "#/definitions/quote.QueryTSDataRsp"
  1700. }
  1701. },
  1702. "500": {
  1703. "description": "Internal Server Error",
  1704. "schema": {
  1705. "$ref": "#/definitions/app.Response"
  1706. }
  1707. }
  1708. }
  1709. }
  1710. },
  1711. "/SZDZ/QueryConvertConfig": {
  1712. "get": {
  1713. "security": [
  1714. {
  1715. "ApiKeyAuth": []
  1716. }
  1717. ],
  1718. "produces": [
  1719. "application/json"
  1720. ],
  1721. "tags": [
  1722. "定制【尚志大宗】"
  1723. ],
  1724. "summary": "查询交易系统转换设置",
  1725. "parameters": [
  1726. {
  1727. "type": "integer",
  1728. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  1729. "name": "convertType",
  1730. "in": "query"
  1731. },
  1732. {
  1733. "type": "string",
  1734. "description": "外部商品代码[JD\\PD]",
  1735. "name": "outerGoodsCode",
  1736. "in": "query"
  1737. },
  1738. {
  1739. "type": "string",
  1740. "description": "内部商品ID列表[交易],格式:1,2,3",
  1741. "name": "innerGoodsIDs",
  1742. "in": "query"
  1743. }
  1744. ],
  1745. "responses": {
  1746. "200": {
  1747. "description": "OK",
  1748. "schema": {
  1749. "$ref": "#/definitions/models.Szdz3convertconfig"
  1750. }
  1751. },
  1752. "500": {
  1753. "description": "Internal Server Error",
  1754. "schema": {
  1755. "$ref": "#/definitions/app.Response"
  1756. }
  1757. }
  1758. }
  1759. }
  1760. },
  1761. "/SZDZ/QueryConvertLog": {
  1762. "get": {
  1763. "security": [
  1764. {
  1765. "ApiKeyAuth": []
  1766. }
  1767. ],
  1768. "produces": [
  1769. "application/json"
  1770. ],
  1771. "tags": [
  1772. "定制【尚志大宗】"
  1773. ],
  1774. "summary": "交易系统转换流水查询",
  1775. "parameters": [
  1776. {
  1777. "type": "string",
  1778. "description": "资金账户 - 格式:1,2,3",
  1779. "name": "accountID",
  1780. "in": "query",
  1781. "required": true
  1782. },
  1783. {
  1784. "type": "string",
  1785. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1786. "name": "startDate",
  1787. "in": "query"
  1788. },
  1789. {
  1790. "type": "string",
  1791. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1792. "name": "endDate",
  1793. "in": "query"
  1794. }
  1795. ],
  1796. "responses": {
  1797. "200": {
  1798. "description": "OK",
  1799. "schema": {
  1800. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  1801. }
  1802. },
  1803. "500": {
  1804. "description": "Internal Server Error",
  1805. "schema": {
  1806. "$ref": "#/definitions/app.Response"
  1807. }
  1808. }
  1809. }
  1810. }
  1811. },
  1812. "/SZDZ/QueryGoodsPickup": {
  1813. "get": {
  1814. "security": [
  1815. {
  1816. "ApiKeyAuth": []
  1817. }
  1818. ],
  1819. "produces": [
  1820. "application/json"
  1821. ],
  1822. "tags": [
  1823. "定制【尚志大宗】"
  1824. ],
  1825. "summary": "商品提货单查询",
  1826. "parameters": [
  1827. {
  1828. "type": "string",
  1829. "description": "资金账户 - 格式:1,2,3",
  1830. "name": "accountID",
  1831. "in": "query",
  1832. "required": true
  1833. },
  1834. {
  1835. "type": "integer",
  1836. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1837. "name": "takeOrderStatus",
  1838. "in": "query"
  1839. }
  1840. ],
  1841. "responses": {
  1842. "200": {
  1843. "description": "OK",
  1844. "schema": {
  1845. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  1846. }
  1847. },
  1848. "500": {
  1849. "description": "Internal Server Error",
  1850. "schema": {
  1851. "$ref": "#/definitions/app.Response"
  1852. }
  1853. }
  1854. }
  1855. }
  1856. },
  1857. "/SZDZ/QueryRecieptOrder": {
  1858. "get": {
  1859. "security": [
  1860. {
  1861. "ApiKeyAuth": []
  1862. }
  1863. ],
  1864. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  1865. "produces": [
  1866. "application/json"
  1867. ],
  1868. "tags": [
  1869. "定制【尚志大宗】"
  1870. ],
  1871. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  1872. "parameters": [
  1873. {
  1874. "type": "integer",
  1875. "description": "页码",
  1876. "name": "page",
  1877. "in": "query"
  1878. },
  1879. {
  1880. "type": "integer",
  1881. "description": "每页条数",
  1882. "name": "pagesize",
  1883. "in": "query"
  1884. },
  1885. {
  1886. "type": "integer",
  1887. "description": "商品ID",
  1888. "name": "goodsID",
  1889. "in": "query",
  1890. "required": true
  1891. },
  1892. {
  1893. "type": "string",
  1894. "description": "所属账户名称",
  1895. "name": "accountName",
  1896. "in": "query"
  1897. },
  1898. {
  1899. "type": "integer",
  1900. "description": "市场ID",
  1901. "name": "marketID",
  1902. "in": "query"
  1903. },
  1904. {
  1905. "type": "integer",
  1906. "description": "方向 - 0:买 1:卖",
  1907. "name": "buyorsell",
  1908. "in": "query",
  1909. "required": true
  1910. }
  1911. ],
  1912. "responses": {
  1913. "200": {
  1914. "description": "OK",
  1915. "schema": {
  1916. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  1917. }
  1918. },
  1919. "500": {
  1920. "description": "Internal Server Error",
  1921. "schema": {
  1922. "$ref": "#/definitions/app.Response"
  1923. }
  1924. }
  1925. }
  1926. }
  1927. },
  1928. "/SZDZ/QuerySZDZTradePosition": {
  1929. "get": {
  1930. "security": [
  1931. {
  1932. "ApiKeyAuth": []
  1933. }
  1934. ],
  1935. "produces": [
  1936. "application/json"
  1937. ],
  1938. "tags": [
  1939. "定制【尚志大宗】"
  1940. ],
  1941. "summary": "持仓汇总查询(尚志大宗)",
  1942. "parameters": [
  1943. {
  1944. "type": "integer",
  1945. "description": "资金账户",
  1946. "name": "accountID",
  1947. "in": "query",
  1948. "required": true
  1949. }
  1950. ],
  1951. "responses": {
  1952. "200": {
  1953. "description": "OK",
  1954. "schema": {
  1955. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  1956. }
  1957. },
  1958. "500": {
  1959. "description": "Internal Server Error",
  1960. "schema": {
  1961. "$ref": "#/definitions/app.Response"
  1962. }
  1963. }
  1964. }
  1965. }
  1966. },
  1967. "/SZDZ/SearchWhite": {
  1968. "get": {
  1969. "security": [
  1970. {
  1971. "ApiKeyAuth": []
  1972. }
  1973. ],
  1974. "produces": [
  1975. "application/json"
  1976. ],
  1977. "tags": [
  1978. "定制【尚志大宗】"
  1979. ],
  1980. "summary": "搜索白名单",
  1981. "parameters": [
  1982. {
  1983. "type": "integer",
  1984. "description": "用户ID",
  1985. "name": "userID",
  1986. "in": "query",
  1987. "required": true
  1988. }
  1989. ],
  1990. "responses": {
  1991. "200": {
  1992. "description": "OK",
  1993. "schema": {
  1994. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  1995. }
  1996. },
  1997. "500": {
  1998. "description": "Internal Server Error",
  1999. "schema": {
  2000. "$ref": "#/definitions/app.Response"
  2001. }
  2002. }
  2003. }
  2004. }
  2005. },
  2006. "/Search/SearchGoodses": {
  2007. "get": {
  2008. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  2009. "produces": [
  2010. "application/json"
  2011. ],
  2012. "tags": [
  2013. "检索服务"
  2014. ],
  2015. "summary": "检索商品信息",
  2016. "parameters": [
  2017. {
  2018. "type": "string",
  2019. "description": "检索内容",
  2020. "name": "content",
  2021. "in": "query",
  2022. "required": true
  2023. }
  2024. ],
  2025. "responses": {
  2026. "200": {
  2027. "description": "OK",
  2028. "schema": {
  2029. "$ref": "#/definitions/models.SearchGoods"
  2030. }
  2031. },
  2032. "500": {
  2033. "description": "Internal Server Error",
  2034. "schema": {
  2035. "$ref": "#/definitions/app.Response"
  2036. }
  2037. }
  2038. }
  2039. }
  2040. },
  2041. "/TaAccount/QueryAmountLog": {
  2042. "get": {
  2043. "security": [
  2044. {
  2045. "ApiKeyAuth": []
  2046. }
  2047. ],
  2048. "produces": [
  2049. "application/json"
  2050. ],
  2051. "tags": [
  2052. "资金账户"
  2053. ],
  2054. "summary": "资金流水查询(当前)",
  2055. "parameters": [
  2056. {
  2057. "type": "integer",
  2058. "description": "页码",
  2059. "name": "page",
  2060. "in": "query"
  2061. },
  2062. {
  2063. "type": "integer",
  2064. "description": "每页条数",
  2065. "name": "pagesize",
  2066. "in": "query"
  2067. },
  2068. {
  2069. "type": "string",
  2070. "description": "资金账户 - 格式:1,2,3",
  2071. "name": "accountID",
  2072. "in": "query",
  2073. "required": true
  2074. },
  2075. {
  2076. "type": "string",
  2077. "description": "资金操作类型 - 格式:1,2,3",
  2078. "name": "OperateType",
  2079. "in": "query"
  2080. }
  2081. ],
  2082. "responses": {
  2083. "200": {
  2084. "description": "OK",
  2085. "schema": {
  2086. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  2087. }
  2088. },
  2089. "500": {
  2090. "description": "Internal Server Error",
  2091. "schema": {
  2092. "$ref": "#/definitions/app.Response"
  2093. }
  2094. }
  2095. }
  2096. }
  2097. },
  2098. "/TaAccount/QueryHisAmountLog": {
  2099. "get": {
  2100. "security": [
  2101. {
  2102. "ApiKeyAuth": []
  2103. }
  2104. ],
  2105. "produces": [
  2106. "application/json"
  2107. ],
  2108. "tags": [
  2109. "资金账户"
  2110. ],
  2111. "summary": "资金流水查询(历史)",
  2112. "parameters": [
  2113. {
  2114. "type": "integer",
  2115. "description": "页码",
  2116. "name": "page",
  2117. "in": "query"
  2118. },
  2119. {
  2120. "type": "integer",
  2121. "description": "每页条数",
  2122. "name": "pagesize",
  2123. "in": "query"
  2124. },
  2125. {
  2126. "type": "string",
  2127. "description": "资金账户 - 格式:1,2,3",
  2128. "name": "accountID",
  2129. "in": "query",
  2130. "required": true
  2131. },
  2132. {
  2133. "type": "string",
  2134. "description": "资金操作类型 - 格式:1,2,3",
  2135. "name": "OperateType",
  2136. "in": "query"
  2137. },
  2138. {
  2139. "type": "string",
  2140. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2141. "name": "startDate",
  2142. "in": "query"
  2143. },
  2144. {
  2145. "type": "string",
  2146. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2147. "name": "endDate",
  2148. "in": "query"
  2149. }
  2150. ],
  2151. "responses": {
  2152. "200": {
  2153. "description": "OK",
  2154. "schema": {
  2155. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  2156. }
  2157. },
  2158. "500": {
  2159. "description": "Internal Server Error",
  2160. "schema": {
  2161. "$ref": "#/definitions/app.Response"
  2162. }
  2163. }
  2164. }
  2165. }
  2166. },
  2167. "/User/AddMessageBoard": {
  2168. "post": {
  2169. "security": [
  2170. {
  2171. "ApiKeyAuth": []
  2172. }
  2173. ],
  2174. "produces": [
  2175. "application/json"
  2176. ],
  2177. "tags": [
  2178. "用户信息"
  2179. ],
  2180. "summary": "添加用户留言板信息",
  2181. "parameters": [
  2182. {
  2183. "type": "integer",
  2184. "description": "用户ID",
  2185. "name": "userID",
  2186. "in": "query",
  2187. "required": true
  2188. },
  2189. {
  2190. "type": "string",
  2191. "description": "留言信息",
  2192. "name": "message",
  2193. "in": "query",
  2194. "required": true
  2195. }
  2196. ],
  2197. "responses": {
  2198. "200": {
  2199. "description": "OK",
  2200. "schema": {
  2201. "$ref": "#/definitions/app.Response"
  2202. }
  2203. },
  2204. "500": {
  2205. "description": "Internal Server Error",
  2206. "schema": {
  2207. "$ref": "#/definitions/app.Response"
  2208. }
  2209. }
  2210. }
  2211. }
  2212. },
  2213. "/User/AddUserFavoriteGoods": {
  2214. "post": {
  2215. "security": [
  2216. {
  2217. "ApiKeyAuth": []
  2218. }
  2219. ],
  2220. "produces": [
  2221. "application/json"
  2222. ],
  2223. "tags": [
  2224. "用户信息"
  2225. ],
  2226. "summary": "添加用户商品收藏信息",
  2227. "parameters": [
  2228. {
  2229. "type": "integer",
  2230. "description": "用户ID",
  2231. "name": "userID",
  2232. "in": "query",
  2233. "required": true
  2234. },
  2235. {
  2236. "type": "integer",
  2237. "description": "商品ID",
  2238. "name": "goodsID",
  2239. "in": "query",
  2240. "required": true
  2241. }
  2242. ],
  2243. "responses": {
  2244. "200": {
  2245. "description": "OK",
  2246. "schema": {
  2247. "$ref": "#/definitions/app.Response"
  2248. }
  2249. },
  2250. "500": {
  2251. "description": "Internal Server Error",
  2252. "schema": {
  2253. "$ref": "#/definitions/app.Response"
  2254. }
  2255. }
  2256. }
  2257. }
  2258. },
  2259. "/User/GetLoginID": {
  2260. "get": {
  2261. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  2262. "produces": [
  2263. "application/json"
  2264. ],
  2265. "tags": [
  2266. "用户信息"
  2267. ],
  2268. "summary": "获取登录ID",
  2269. "parameters": [
  2270. {
  2271. "type": "string",
  2272. "description": "登录代码",
  2273. "name": "username",
  2274. "in": "query",
  2275. "required": true
  2276. }
  2277. ],
  2278. "responses": {
  2279. "200": {
  2280. "description": "OK",
  2281. "schema": {
  2282. "$ref": "#/definitions/app.Response"
  2283. }
  2284. },
  2285. "500": {
  2286. "description": "Internal Server Error",
  2287. "schema": {
  2288. "$ref": "#/definitions/app.Response"
  2289. }
  2290. }
  2291. }
  2292. }
  2293. },
  2294. "/User/GetUserAuthStatus": {
  2295. "get": {
  2296. "security": [
  2297. {
  2298. "ApiKeyAuth": []
  2299. }
  2300. ],
  2301. "produces": [
  2302. "application/json"
  2303. ],
  2304. "tags": [
  2305. "用户信息"
  2306. ],
  2307. "summary": "获取用户实名认证状态",
  2308. "parameters": [
  2309. {
  2310. "type": "integer",
  2311. "description": "用户ID",
  2312. "name": "userID",
  2313. "in": "query",
  2314. "required": true
  2315. }
  2316. ],
  2317. "responses": {
  2318. "200": {
  2319. "description": "OK",
  2320. "schema": {
  2321. "$ref": "#/definitions/app.Response"
  2322. }
  2323. },
  2324. "500": {
  2325. "description": "Internal Server Error",
  2326. "schema": {
  2327. "$ref": "#/definitions/app.Response"
  2328. }
  2329. }
  2330. }
  2331. }
  2332. },
  2333. "/User/QueryMessageBoard": {
  2334. "get": {
  2335. "security": [
  2336. {
  2337. "ApiKeyAuth": []
  2338. }
  2339. ],
  2340. "produces": [
  2341. "application/json"
  2342. ],
  2343. "tags": [
  2344. "用户信息"
  2345. ],
  2346. "summary": "获取用户留言板信息",
  2347. "parameters": [
  2348. {
  2349. "type": "integer",
  2350. "description": "用户ID",
  2351. "name": "userID",
  2352. "in": "query",
  2353. "required": true
  2354. }
  2355. ],
  2356. "responses": {
  2357. "200": {
  2358. "description": "OK",
  2359. "schema": {
  2360. "$ref": "#/definitions/models.Messageboard"
  2361. }
  2362. },
  2363. "500": {
  2364. "description": "Internal Server Error",
  2365. "schema": {
  2366. "$ref": "#/definitions/app.Response"
  2367. }
  2368. }
  2369. }
  2370. }
  2371. },
  2372. "/User/QueryUserFavoriteGoodses": {
  2373. "get": {
  2374. "security": [
  2375. {
  2376. "ApiKeyAuth": []
  2377. }
  2378. ],
  2379. "produces": [
  2380. "application/json"
  2381. ],
  2382. "tags": [
  2383. "用户信息"
  2384. ],
  2385. "summary": "获取用户商品收藏信息",
  2386. "parameters": [
  2387. {
  2388. "type": "integer",
  2389. "description": "用户ID",
  2390. "name": "userID",
  2391. "in": "query",
  2392. "required": true
  2393. }
  2394. ],
  2395. "responses": {
  2396. "200": {
  2397. "description": "OK",
  2398. "schema": {
  2399. "$ref": "#/definitions/models.Userfavoritegoods"
  2400. }
  2401. },
  2402. "500": {
  2403. "description": "Internal Server Error",
  2404. "schema": {
  2405. "$ref": "#/definitions/app.Response"
  2406. }
  2407. }
  2408. }
  2409. }
  2410. },
  2411. "/User/QueryUserInfo": {
  2412. "get": {
  2413. "security": [
  2414. {
  2415. "ApiKeyAuth": []
  2416. }
  2417. ],
  2418. "produces": [
  2419. "application/json"
  2420. ],
  2421. "tags": [
  2422. "用户信息"
  2423. ],
  2424. "summary": "获取用户信息",
  2425. "parameters": [
  2426. {
  2427. "type": "integer",
  2428. "description": "用户ID",
  2429. "name": "userID",
  2430. "in": "query",
  2431. "required": true
  2432. }
  2433. ],
  2434. "responses": {
  2435. "200": {
  2436. "description": "OK",
  2437. "schema": {
  2438. "$ref": "#/definitions/models.Userinfo"
  2439. }
  2440. },
  2441. "500": {
  2442. "description": "Internal Server Error",
  2443. "schema": {
  2444. "$ref": "#/definitions/app.Response"
  2445. }
  2446. }
  2447. }
  2448. }
  2449. },
  2450. "/User/QueryUserReferNum": {
  2451. "get": {
  2452. "produces": [
  2453. "application/json"
  2454. ],
  2455. "tags": [
  2456. "用户信息"
  2457. ],
  2458. "summary": "获取用户邀请码",
  2459. "parameters": [
  2460. {
  2461. "type": "integer",
  2462. "description": "用户ID",
  2463. "name": "userID",
  2464. "in": "query",
  2465. "required": true
  2466. }
  2467. ],
  2468. "responses": {
  2469. "200": {
  2470. "description": "OK",
  2471. "schema": {
  2472. "$ref": "#/definitions/app.Response"
  2473. }
  2474. },
  2475. "500": {
  2476. "description": "Internal Server Error",
  2477. "schema": {
  2478. "$ref": "#/definitions/app.Response"
  2479. }
  2480. }
  2481. }
  2482. }
  2483. },
  2484. "/User/RemoveUserFavoriteGoods": {
  2485. "post": {
  2486. "security": [
  2487. {
  2488. "ApiKeyAuth": []
  2489. }
  2490. ],
  2491. "produces": [
  2492. "application/json"
  2493. ],
  2494. "tags": [
  2495. "用户信息"
  2496. ],
  2497. "summary": "移除用户商品收藏信息",
  2498. "parameters": [
  2499. {
  2500. "type": "integer",
  2501. "description": "用户ID",
  2502. "name": "userID",
  2503. "in": "query",
  2504. "required": true
  2505. },
  2506. {
  2507. "type": "integer",
  2508. "description": "商品ID",
  2509. "name": "goodsID",
  2510. "in": "query",
  2511. "required": true
  2512. }
  2513. ],
  2514. "responses": {
  2515. "200": {
  2516. "description": "OK",
  2517. "schema": {
  2518. "$ref": "#/definitions/app.Response"
  2519. }
  2520. },
  2521. "500": {
  2522. "description": "Internal Server Error",
  2523. "schema": {
  2524. "$ref": "#/definitions/app.Response"
  2525. }
  2526. }
  2527. }
  2528. }
  2529. },
  2530. "/WRTrade/GetAllDeliveryGoods": {
  2531. "get": {
  2532. "security": [
  2533. {
  2534. "ApiKeyAuth": []
  2535. }
  2536. ],
  2537. "produces": [
  2538. "application/json"
  2539. ],
  2540. "tags": [
  2541. "仓单贸易"
  2542. ],
  2543. "summary": "获取带仓单分类的种类信息",
  2544. "responses": {
  2545. "200": {
  2546. "description": "OK",
  2547. "schema": {
  2548. "$ref": "#/definitions/app.Response"
  2549. }
  2550. },
  2551. "500": {
  2552. "description": "Internal Server Error",
  2553. "schema": {
  2554. "$ref": "#/definitions/app.Response"
  2555. }
  2556. }
  2557. }
  2558. }
  2559. }
  2560. },
  2561. "definitions": {
  2562. "app.Response": {
  2563. "type": "object",
  2564. "properties": {
  2565. "code": {
  2566. "type": "integer"
  2567. },
  2568. "data": {
  2569. "type": "object"
  2570. },
  2571. "msg": {
  2572. "type": "string"
  2573. },
  2574. "page": {
  2575. "description": "页码",
  2576. "type": "integer"
  2577. },
  2578. "pagesize": {
  2579. "description": "每页条数",
  2580. "type": "integer"
  2581. },
  2582. "total": {
  2583. "description": "总条数",
  2584. "type": "integer"
  2585. }
  2586. }
  2587. },
  2588. "common.QueryNoticeRsp": {
  2589. "type": "object",
  2590. "required": [
  2591. "autoid"
  2592. ],
  2593. "properties": {
  2594. "auditoruserid": {
  2595. "description": "审核人",
  2596. "type": "integer"
  2597. },
  2598. "auditremark": {
  2599. "description": "审核备注",
  2600. "type": "string"
  2601. },
  2602. "audittime": {
  2603. "description": "审核日期",
  2604. "type": "string"
  2605. },
  2606. "autoid": {
  2607. "description": "自增ID",
  2608. "type": "integer"
  2609. },
  2610. "content": {
  2611. "description": "内容",
  2612. "type": "string"
  2613. },
  2614. "createtime": {
  2615. "description": "创建时间",
  2616. "type": "string"
  2617. },
  2618. "creatorid": {
  2619. "description": "建仓人",
  2620. "type": "integer"
  2621. },
  2622. "endtime": {
  2623. "description": "结束时间",
  2624. "type": "string"
  2625. },
  2626. "istop": {
  2627. "description": "是否置顶 - 0:不置顶 1:置顶",
  2628. "type": "integer"
  2629. },
  2630. "msgtype": {
  2631. "description": "消息类型 - 1:公告通知 2:系统消息",
  2632. "type": "integer"
  2633. },
  2634. "publisher": {
  2635. "description": "消息发布者",
  2636. "type": "string"
  2637. },
  2638. "readed": {
  2639. "description": "是否已读",
  2640. "type": "boolean"
  2641. },
  2642. "scheduletime": {
  2643. "description": "计划发送时间",
  2644. "type": "string"
  2645. },
  2646. "sendtype": {
  2647. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  2648. "type": "integer"
  2649. },
  2650. "sentstatus": {
  2651. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  2652. "type": "integer"
  2653. },
  2654. "title": {
  2655. "description": "标题",
  2656. "type": "string"
  2657. },
  2658. "userid": {
  2659. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  2660. "type": "integer"
  2661. }
  2662. }
  2663. },
  2664. "common.QueryProvincesAndCitiesRsp": {
  2665. "type": "object",
  2666. "properties": {
  2667. "cities": {
  2668. "description": "市",
  2669. "type": "array",
  2670. "items": {
  2671. "$ref": "#/definitions/models.Division"
  2672. }
  2673. },
  2674. "province": {
  2675. "description": "省",
  2676. "$ref": "#/definitions/models.Division"
  2677. }
  2678. }
  2679. },
  2680. "common.QueryTableDefineRsp": {
  2681. "type": "object",
  2682. "required": [
  2683. "tablekey"
  2684. ],
  2685. "properties": {
  2686. "columns": {
  2687. "description": "列头信息数组",
  2688. "type": "array",
  2689. "items": {
  2690. "$ref": "#/definitions/models.Tablecolumnconfig"
  2691. }
  2692. },
  2693. "remark": {
  2694. "description": "Remark",
  2695. "type": "string"
  2696. },
  2697. "tabelmenu": {
  2698. "description": "列表菜单",
  2699. "type": "string"
  2700. },
  2701. "tablekey": {
  2702. "description": "列表Key",
  2703. "type": "string"
  2704. },
  2705. "tablename": {
  2706. "description": "列表名称",
  2707. "type": "string"
  2708. },
  2709. "tabletype": {
  2710. "description": "列表类型 - 1:管理端 2:终端",
  2711. "type": "integer"
  2712. }
  2713. }
  2714. },
  2715. "common.QueryTraderMenuRsp": {
  2716. "type": "object",
  2717. "properties": {
  2718. "OperationMenu": {
  2719. "description": "功能菜单",
  2720. "type": "array",
  2721. "items": {
  2722. "$ref": "#/definitions/models.OperationPrimaryMenu"
  2723. }
  2724. },
  2725. "QuoteMenu": {
  2726. "description": "报价牌分类菜单",
  2727. "type": "array",
  2728. "items": {
  2729. "$ref": "#/definitions/models.QuotePrimaryMenu"
  2730. }
  2731. }
  2732. }
  2733. },
  2734. "cptrade.Cptradepositioncancel": {
  2735. "type": "object",
  2736. "required": [
  2737. "cancelid"
  2738. ],
  2739. "properties": {
  2740. "accountid": {
  2741. "description": "申请人账户ID",
  2742. "type": "integer"
  2743. },
  2744. "applystatus": {
  2745. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  2746. "type": "integer"
  2747. },
  2748. "applytime": {
  2749. "description": "申请时间",
  2750. "type": "string"
  2751. },
  2752. "cancelid": {
  2753. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  2754. "type": "integer"
  2755. },
  2756. "cancelqty": {
  2757. "description": "注销数量",
  2758. "type": "integer"
  2759. },
  2760. "createtime": {
  2761. "description": "创建时间",
  2762. "type": "string"
  2763. },
  2764. "creatorid": {
  2765. "description": "创建人ID",
  2766. "type": "integer"
  2767. },
  2768. "creatorname": {
  2769. "description": "创建人",
  2770. "type": "string"
  2771. },
  2772. "goodscode": {
  2773. "description": "订单商品代码",
  2774. "type": "string"
  2775. },
  2776. "goodsid": {
  2777. "description": "商品ID",
  2778. "type": "integer"
  2779. },
  2780. "goodsname": {
  2781. "description": "订单商品名称",
  2782. "type": "string"
  2783. },
  2784. "goodunit": {
  2785. "description": "报价单位",
  2786. "type": "string"
  2787. },
  2788. "handlestatus": {
  2789. "description": "处理状态",
  2790. "type": "integer"
  2791. },
  2792. "marketid": {
  2793. "description": "市场ID",
  2794. "type": "integer"
  2795. },
  2796. "marketname": {
  2797. "description": "市场名称",
  2798. "type": "string"
  2799. },
  2800. "tradedate": {
  2801. "description": "交易日(yyyyMMdd)",
  2802. "type": "string"
  2803. },
  2804. "userid": {
  2805. "description": "申请人ID",
  2806. "type": "integer"
  2807. }
  2808. }
  2809. },
  2810. "cptrade.Cptradepresaleapply": {
  2811. "type": "object",
  2812. "required": [
  2813. "applyid"
  2814. ],
  2815. "properties": {
  2816. "accountid": {
  2817. "description": "申请人账户ID",
  2818. "type": "integer"
  2819. },
  2820. "applyid": {
  2821. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  2822. "type": "integer"
  2823. },
  2824. "applyremark": {
  2825. "description": "申请备注",
  2826. "type": "string"
  2827. },
  2828. "applystatus": {
  2829. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  2830. "type": "integer"
  2831. },
  2832. "applytime": {
  2833. "description": "申请时间",
  2834. "type": "string"
  2835. },
  2836. "attachmenturl": {
  2837. "description": "附件地址",
  2838. "type": "string"
  2839. },
  2840. "endtime": {
  2841. "description": "预售结束时间",
  2842. "type": "string"
  2843. },
  2844. "goodscode": {
  2845. "description": "商品代码",
  2846. "type": "string"
  2847. },
  2848. "goodsid": {
  2849. "description": "商品ID",
  2850. "type": "integer"
  2851. },
  2852. "goodsname": {
  2853. "description": "商品名称",
  2854. "type": "string"
  2855. },
  2856. "goodunit": {
  2857. "description": "报价单位",
  2858. "type": "string"
  2859. },
  2860. "handlestatus": {
  2861. "description": "处理状态",
  2862. "type": "integer"
  2863. },
  2864. "marketid": {
  2865. "description": "预售市场ID",
  2866. "type": "integer"
  2867. },
  2868. "marketname": {
  2869. "description": "预售市场名称",
  2870. "type": "string"
  2871. },
  2872. "presaleqty": {
  2873. "description": "预售数量",
  2874. "type": "integer"
  2875. },
  2876. "relatedgoodscode": {
  2877. "description": "关联交易合约代码",
  2878. "type": "string"
  2879. },
  2880. "relatedgoodsid": {
  2881. "description": "关联交易合约ID",
  2882. "type": "integer"
  2883. },
  2884. "relatedgoodsname": {
  2885. "description": "关联交易合约名称",
  2886. "type": "string"
  2887. },
  2888. "starttime": {
  2889. "description": "预售开始时间",
  2890. "type": "string"
  2891. },
  2892. "tradedate": {
  2893. "description": "交易日(yyyyMMdd)",
  2894. "type": "string"
  2895. },
  2896. "trademode": {
  2897. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  2898. "type": "integer"
  2899. },
  2900. "userid": {
  2901. "description": "申请人ID",
  2902. "type": "integer"
  2903. }
  2904. }
  2905. },
  2906. "cptrade.Cptradeusergoodsdata": {
  2907. "type": "object",
  2908. "required": [
  2909. "accountid",
  2910. "goodsid"
  2911. ],
  2912. "properties": {
  2913. "EnabledQty": {
  2914. "description": "可用量",
  2915. "type": "integer"
  2916. },
  2917. "GoodsCode": {
  2918. "description": "订单商品代码",
  2919. "type": "string"
  2920. },
  2921. "GoodsName": {
  2922. "description": "订单商品名称",
  2923. "type": "string"
  2924. },
  2925. "WRStandardCode": {
  2926. "description": "仓单标准代码",
  2927. "type": "string"
  2928. },
  2929. "WRStandardName": {
  2930. "description": "仓单标准名称",
  2931. "type": "string"
  2932. },
  2933. "accountid": {
  2934. "description": "账户ID",
  2935. "type": "integer"
  2936. },
  2937. "cancelqty": {
  2938. "description": "注销量",
  2939. "type": "integer"
  2940. },
  2941. "curpresaleqty": {
  2942. "description": "当前预售量",
  2943. "type": "integer"
  2944. },
  2945. "deliveryqty": {
  2946. "description": "交割量",
  2947. "type": "integer"
  2948. },
  2949. "freezeamount": {
  2950. "description": "冻结金额",
  2951. "type": "number"
  2952. },
  2953. "goodsid": {
  2954. "description": "商品ID",
  2955. "type": "integer"
  2956. },
  2957. "goodunit": {
  2958. "description": "报价单位",
  2959. "type": "string"
  2960. },
  2961. "hasspotfreeze": {
  2962. "description": "是否有现货冻结 - 0:否 1:有",
  2963. "type": "integer"
  2964. },
  2965. "inqty": {
  2966. "description": "转入量(总数量)",
  2967. "type": "integer"
  2968. },
  2969. "marketid": {
  2970. "description": "市场ID",
  2971. "type": "integer"
  2972. },
  2973. "presaledamount": {
  2974. "description": "已预售总金额",
  2975. "type": "integer"
  2976. },
  2977. "presaledqty": {
  2978. "description": "已预售量",
  2979. "type": "integer"
  2980. },
  2981. "userid": {
  2982. "description": "用户ID",
  2983. "type": "integer"
  2984. },
  2985. "wrstandardid": {
  2986. "description": "仓单标准ID",
  2987. "type": "integer"
  2988. }
  2989. }
  2990. },
  2991. "cptrade.QueryCPTradeMyBidRsp": {
  2992. "type": "object",
  2993. "required": [
  2994. "accountid",
  2995. "goodsid",
  2996. "marketid",
  2997. "orderid",
  2998. "orderqty",
  2999. "ordertime",
  3000. "tradeprice",
  3001. "tradeqty"
  3002. ],
  3003. "properties": {
  3004. "accountid": {
  3005. "description": "账户ID[报价币种]",
  3006. "type": "integer"
  3007. },
  3008. "goodsid": {
  3009. "description": "商品ID",
  3010. "type": "integer"
  3011. },
  3012. "goodunit": {
  3013. "description": "报价单位",
  3014. "type": "string"
  3015. },
  3016. "marketid": {
  3017. "description": "市场ID",
  3018. "type": "integer"
  3019. },
  3020. "orderid": {
  3021. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3022. "type": "integer"
  3023. },
  3024. "orderprice": {
  3025. "description": "委托价格",
  3026. "type": "number"
  3027. },
  3028. "orderqty": {
  3029. "description": "委托数量",
  3030. "type": "integer"
  3031. },
  3032. "ordertime": {
  3033. "description": "委托时间",
  3034. "type": "string"
  3035. },
  3036. "ordertotalprice": {
  3037. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  3038. "type": "number"
  3039. },
  3040. "ordertotalweight": {
  3041. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  3042. "type": "integer"
  3043. },
  3044. "totaltotalprice": {
  3045. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  3046. "type": "number"
  3047. },
  3048. "tradeprice": {
  3049. "description": "成交价格",
  3050. "type": "number"
  3051. },
  3052. "tradeqty": {
  3053. "description": "成交数量",
  3054. "type": "integer"
  3055. }
  3056. }
  3057. },
  3058. "cptrade.QueryCPTradeOrderDetailRsq": {
  3059. "type": "object",
  3060. "required": [
  3061. "accountid",
  3062. "buildtype",
  3063. "buyorsell",
  3064. "goodsid",
  3065. "marketid",
  3066. "memberuserid",
  3067. "operatetype",
  3068. "orderqty",
  3069. "ordertime",
  3070. "pricemode",
  3071. "strorderid",
  3072. "tradedate",
  3073. "validtype"
  3074. ],
  3075. "properties": {
  3076. "accountid": {
  3077. "description": "账户ID[报价币种]",
  3078. "type": "integer"
  3079. },
  3080. "buildtype": {
  3081. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  3082. "type": "integer"
  3083. },
  3084. "buyorsell": {
  3085. "description": "买卖 - 0:买 1:卖",
  3086. "type": "integer"
  3087. },
  3088. "cancelorderid": {
  3089. "description": "撤单单号(撤单时填写)",
  3090. "type": "integer"
  3091. },
  3092. "cancelqty": {
  3093. "description": "撤单数量",
  3094. "type": "integer"
  3095. },
  3096. "clientordertime": {
  3097. "description": "客户端委托时间",
  3098. "type": "string"
  3099. },
  3100. "clientticket": {
  3101. "description": "客户端流水号",
  3102. "type": "string"
  3103. },
  3104. "clienttype": {
  3105. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  3106. "type": "integer"
  3107. },
  3108. "closeexchagechargevalue": {
  3109. "description": "平仓交易所手续费设置值",
  3110. "type": "number"
  3111. },
  3112. "closefeealgorithm": {
  3113. "description": "平仓手续费收取方式 1:比率 2:固定",
  3114. "type": "integer"
  3115. },
  3116. "closefreezecharge": {
  3117. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  3118. "type": "number"
  3119. },
  3120. "closememberchargevalue": {
  3121. "description": "平仓会员手续费设置值",
  3122. "type": "number"
  3123. },
  3124. "closeqty": {
  3125. "description": "平仓数量(先建后平操作 需要记录)",
  3126. "type": "integer"
  3127. },
  3128. "closetradeqty": {
  3129. "description": "平仓成交数量(先建后平操作,需要记录)",
  3130. "type": "integer"
  3131. },
  3132. "closeunfreezecharge": {
  3133. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  3134. "type": "number"
  3135. },
  3136. "delistingtype": {
  3137. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  3138. "type": "integer"
  3139. },
  3140. "freezecharge": {
  3141. "description": "冻结手续费",
  3142. "type": "number"
  3143. },
  3144. "freezemargin": {
  3145. "description": "冻结保证金(冻结交易金额)",
  3146. "type": "number"
  3147. },
  3148. "gcaccountid": {
  3149. "description": "账户ID[合约币种]",
  3150. "type": "integer"
  3151. },
  3152. "goodsid": {
  3153. "description": "商品ID",
  3154. "type": "integer"
  3155. },
  3156. "isconfirmexercise": {
  3157. "description": "是否确认行权- 0:否 1:是",
  3158. "type": "integer"
  3159. },
  3160. "ispreexercise": {
  3161. "description": "是否预申报- 0:否 1:是",
  3162. "type": "integer"
  3163. },
  3164. "listingselecttype": {
  3165. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  3166. "type": "integer"
  3167. },
  3168. "marginalgorithm": {
  3169. "description": "保证金收取方式 1:比率 2:固定",
  3170. "type": "integer"
  3171. },
  3172. "marginvalue": {
  3173. "description": "即市保证金设置值",
  3174. "type": "number"
  3175. },
  3176. "marketid": {
  3177. "description": "市场ID",
  3178. "type": "integer"
  3179. },
  3180. "marketmaxsub": {
  3181. "description": "市价最大偏移范围",
  3182. "type": "number"
  3183. },
  3184. "memberuserid": {
  3185. "description": "所属会员UserID",
  3186. "type": "integer"
  3187. },
  3188. "openexchagechargevalue": {
  3189. "description": "建仓交易所手续费设置值",
  3190. "type": "number"
  3191. },
  3192. "openfeealgorithm": {
  3193. "description": "建仓手续费收取方式 1:比率 2:固定",
  3194. "type": "integer"
  3195. },
  3196. "openfreezecharge": {
  3197. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  3198. "type": "number"
  3199. },
  3200. "openmemberchargevalue": {
  3201. "description": "建仓会员手续费设置值",
  3202. "type": "number"
  3203. },
  3204. "openqty": {
  3205. "description": "开仓数量(先建后平操作,需要记录)",
  3206. "type": "integer"
  3207. },
  3208. "opentradeqty": {
  3209. "description": "开仓成交数量(先建后平操作,需要记录)",
  3210. "type": "integer"
  3211. },
  3212. "openunfreezecharge": {
  3213. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  3214. "type": "number"
  3215. },
  3216. "operatetype": {
  3217. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  3218. "type": "integer"
  3219. },
  3220. "operatorid": {
  3221. "description": "登录账号(LoginID)",
  3222. "type": "integer"
  3223. },
  3224. "optiontype": {
  3225. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  3226. "type": "integer"
  3227. },
  3228. "orderprice": {
  3229. "description": "委托价格",
  3230. "type": "number"
  3231. },
  3232. "orderqty": {
  3233. "description": "委托数量",
  3234. "type": "integer"
  3235. },
  3236. "ordersrc": {
  3237. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  3238. "type": "integer"
  3239. },
  3240. "orderstatus": {
  3241. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  3242. "type": "integer"
  3243. },
  3244. "ordertime": {
  3245. "description": "委托时间",
  3246. "type": "string"
  3247. },
  3248. "preexerciseprice": {
  3249. "description": "预申报价格",
  3250. "type": "number"
  3251. },
  3252. "premium": {
  3253. "description": "权利金",
  3254. "type": "number"
  3255. },
  3256. "preorderid": {
  3257. "description": "关联预埋单号(止盈止损单时填写)",
  3258. "type": "integer"
  3259. },
  3260. "pricemode": {
  3261. "description": "取价方式 - 1:市价 2: 限价",
  3262. "type": "integer"
  3263. },
  3264. "quoteid": {
  3265. "description": "报价单ID",
  3266. "type": "integer"
  3267. },
  3268. "relatedid": {
  3269. "description": "关联单号(交割单)",
  3270. "type": "integer"
  3271. },
  3272. "retcode": {
  3273. "description": "错误代码",
  3274. "type": "integer"
  3275. },
  3276. "sessionid": {
  3277. "description": "会话ID",
  3278. "type": "integer"
  3279. },
  3280. "strorderid": {
  3281. "description": "委托单号",
  3282. "type": "string"
  3283. },
  3284. "tradedate": {
  3285. "description": "交易日(yyyyMMdd)",
  3286. "type": "string"
  3287. },
  3288. "tradeproperty": {
  3289. "description": "交易属性",
  3290. "type": "integer"
  3291. },
  3292. "tradeqty": {
  3293. "description": "成交数量",
  3294. "type": "integer"
  3295. },
  3296. "unfreezecharge": {
  3297. "description": "解冻手续费",
  3298. "type": "number"
  3299. },
  3300. "unfreezemargin": {
  3301. "description": "解冻保证金",
  3302. "type": "number"
  3303. },
  3304. "updatetime": {
  3305. "description": "更新时间",
  3306. "type": "string"
  3307. },
  3308. "uuid": {
  3309. "description": "发起端唯一id",
  3310. "type": "string"
  3311. },
  3312. "validtime": {
  3313. "description": "有效期限",
  3314. "type": "string"
  3315. },
  3316. "validtype": {
  3317. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  3318. "type": "integer"
  3319. },
  3320. "volumetype": {
  3321. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  3322. "type": "integer"
  3323. }
  3324. }
  3325. },
  3326. "cptrade.QueryMyCPTradeGoodsRsp": {
  3327. "type": "object",
  3328. "required": [
  3329. "goodscode",
  3330. "goodsid",
  3331. "goodsname",
  3332. "marketid",
  3333. "relatedgoodscode",
  3334. "relatedgoodsname"
  3335. ],
  3336. "properties": {
  3337. "accountid": {
  3338. "description": "卖方账户ID",
  3339. "type": "integer"
  3340. },
  3341. "agreeunit": {
  3342. "description": "合约单位",
  3343. "type": "number"
  3344. },
  3345. "applyid": {
  3346. "description": "关联申请ID",
  3347. "type": "integer"
  3348. },
  3349. "attachmenturl": {
  3350. "description": "附件地址",
  3351. "type": "string"
  3352. },
  3353. "createtime": {
  3354. "description": "创建时间",
  3355. "type": "string"
  3356. },
  3357. "currencyid": {
  3358. "description": "报价货币ID",
  3359. "type": "integer"
  3360. },
  3361. "decimalplace": {
  3362. "description": "报价小数位",
  3363. "type": "integer"
  3364. },
  3365. "endtime": {
  3366. "description": "预售结束时间",
  3367. "type": "string"
  3368. },
  3369. "floorprice": {
  3370. "description": "底价[大宗式竞拍]",
  3371. "type": "number"
  3372. },
  3373. "goodscode": {
  3374. "description": "商品代码(预售)",
  3375. "type": "string"
  3376. },
  3377. "goodsdetail": {
  3378. "description": "详情[大宗]",
  3379. "type": "string"
  3380. },
  3381. "goodsid": {
  3382. "description": "商品ID(自增ID SEQ_GOODS)",
  3383. "type": "integer"
  3384. },
  3385. "goodsname": {
  3386. "description": "商品名称(预售)",
  3387. "type": "string"
  3388. },
  3389. "goodunit": {
  3390. "description": "报价单位",
  3391. "type": "string"
  3392. },
  3393. "goodunitid": {
  3394. "description": "报价单位ID",
  3395. "type": "integer"
  3396. },
  3397. "marketid": {
  3398. "description": "所属市场ID",
  3399. "type": "integer"
  3400. },
  3401. "marketname": {
  3402. "description": "预售市场名称",
  3403. "type": "string"
  3404. },
  3405. "presaledamount": {
  3406. "description": "已预售总金额(预售结束时更新)",
  3407. "type": "number"
  3408. },
  3409. "presaledqty": {
  3410. "description": "已预售量(预售结束时更新)",
  3411. "type": "integer"
  3412. },
  3413. "presalemode": {
  3414. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  3415. "type": "integer"
  3416. },
  3417. "presaleqty": {
  3418. "description": "预售数量",
  3419. "type": "integer"
  3420. },
  3421. "refprice": {
  3422. "description": "参考价格[一口价]",
  3423. "type": "number"
  3424. },
  3425. "relatedgoodscode": {
  3426. "description": "商品代码(订单)",
  3427. "type": "string"
  3428. },
  3429. "relatedgoodsid": {
  3430. "description": "关联交易合约ID",
  3431. "type": "integer"
  3432. },
  3433. "relatedgoodsname": {
  3434. "description": "商品名称(订单)",
  3435. "type": "string"
  3436. },
  3437. "relatedmarketid": {
  3438. "description": "关联交易合约市场ID",
  3439. "type": "integer"
  3440. },
  3441. "sellstatus": {
  3442. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  3443. "type": "integer"
  3444. },
  3445. "startprice": {
  3446. "description": "起拍价[大宗式竞拍]",
  3447. "type": "number"
  3448. },
  3449. "starttime": {
  3450. "description": "预售开始时间",
  3451. "type": "string"
  3452. },
  3453. "tradedate": {
  3454. "description": "交易日(yyyyMMdd)",
  3455. "type": "string"
  3456. },
  3457. "tradeprice": {
  3458. "description": "成交价[大宗]",
  3459. "type": "number"
  3460. },
  3461. "userid": {
  3462. "description": "卖方用户ID",
  3463. "type": "integer"
  3464. }
  3465. }
  3466. },
  3467. "cptrade.QueryPresaleGoodsExRsp": {
  3468. "type": "object",
  3469. "required": [
  3470. "goodsid"
  3471. ],
  3472. "properties": {
  3473. "attachmenturl": {
  3474. "description": "附件地址",
  3475. "type": "string"
  3476. },
  3477. "createtime": {
  3478. "description": "创建时间",
  3479. "type": "string"
  3480. },
  3481. "endtime": {
  3482. "description": "预售结束时间",
  3483. "type": "string"
  3484. },
  3485. "floorprice": {
  3486. "description": "底价[大宗式竞拍]",
  3487. "type": "number"
  3488. },
  3489. "goodsdetail": {
  3490. "description": "详情[大宗]",
  3491. "type": "string"
  3492. },
  3493. "goodsid": {
  3494. "description": "商品ID(预售)",
  3495. "type": "integer"
  3496. },
  3497. "goodunit": {
  3498. "description": "报价单位",
  3499. "type": "string"
  3500. },
  3501. "marketid": {
  3502. "description": "预售市场ID - 根据预售模式选择市场",
  3503. "type": "integer"
  3504. },
  3505. "presaledamount": {
  3506. "description": "已预售总金额(预售结束时更新)",
  3507. "type": "number"
  3508. },
  3509. "presaledqty": {
  3510. "description": "已预售量(预售结束时更新)",
  3511. "type": "integer"
  3512. },
  3513. "presalemode": {
  3514. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  3515. "type": "integer"
  3516. },
  3517. "presaleqty": {
  3518. "description": "预售数量",
  3519. "type": "integer"
  3520. },
  3521. "refprice": {
  3522. "description": "参考价格[一口价]",
  3523. "type": "number"
  3524. },
  3525. "relatedgoodsid": {
  3526. "description": "关联交易合约ID",
  3527. "type": "integer"
  3528. },
  3529. "relatedmarketid": {
  3530. "description": "关联交易合约市场ID",
  3531. "type": "integer"
  3532. },
  3533. "sellstatus": {
  3534. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  3535. "type": "integer"
  3536. },
  3537. "startprice": {
  3538. "description": "起拍价[大宗式竞拍]",
  3539. "type": "number"
  3540. },
  3541. "starttime": {
  3542. "description": "预售开始时间",
  3543. "type": "string"
  3544. },
  3545. "tradedate": {
  3546. "description": "交易日(yyyyMMdd)",
  3547. "type": "string"
  3548. },
  3549. "tradeprice": {
  3550. "description": "成交价[大宗]",
  3551. "type": "number"
  3552. }
  3553. }
  3554. },
  3555. "delivery.QueryDeliveryRelationRsp": {
  3556. "type": "object",
  3557. "required": [
  3558. "begindate",
  3559. "enddate",
  3560. "goodsid",
  3561. "mindeliveryqty",
  3562. "xdeliveryratio"
  3563. ],
  3564. "properties": {
  3565. "begindate": {
  3566. "description": "起始日期(yyyyMMdd)",
  3567. "type": "string"
  3568. },
  3569. "buytemplateid": {
  3570. "description": "买履约计划模板ID",
  3571. "type": "integer"
  3572. },
  3573. "deliverygoodscode": {
  3574. "description": "品种代码",
  3575. "type": "string"
  3576. },
  3577. "deliverygoodsid": {
  3578. "description": "交割商品",
  3579. "type": "integer"
  3580. },
  3581. "deliverygoodsname": {
  3582. "description": "品种名称",
  3583. "type": "string"
  3584. },
  3585. "deliverymode": {
  3586. "description": "交割方式 - 1:点选式 2:申报式",
  3587. "type": "integer"
  3588. },
  3589. "deliverypricerule": {
  3590. "description": "交割价规则- 1:行情价 2:建仓价",
  3591. "type": "integer"
  3592. },
  3593. "deliverytype": {
  3594. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  3595. "type": "integer"
  3596. },
  3597. "enddate": {
  3598. "description": "结束日期(yyyyMMdd)",
  3599. "type": "string"
  3600. },
  3601. "goodscode": {
  3602. "description": "商品代码",
  3603. "type": "string"
  3604. },
  3605. "goodsid": {
  3606. "description": "交易合约ID",
  3607. "type": "integer"
  3608. },
  3609. "goodsname": {
  3610. "description": "商品名称",
  3611. "type": "string"
  3612. },
  3613. "marketid": {
  3614. "description": "市场ID",
  3615. "type": "integer"
  3616. },
  3617. "mindeliveryqty": {
  3618. "description": "最小交割系数(K)",
  3619. "type": "integer"
  3620. },
  3621. "p2deliveryprice": {
  3622. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  3623. "type": "number"
  3624. },
  3625. "p2deliveryratio": {
  3626. "description": "P2合约系数(p)",
  3627. "type": "integer"
  3628. },
  3629. "p2goodsid": {
  3630. "description": "P2合约ID",
  3631. "type": "integer"
  3632. },
  3633. "p2pricemode": {
  3634. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  3635. "type": "integer"
  3636. },
  3637. "pdeliveryprice": {
  3638. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  3639. "type": "number"
  3640. },
  3641. "pdeliveryratio": {
  3642. "description": "P合约系数(n)",
  3643. "type": "integer"
  3644. },
  3645. "pgoodsid": {
  3646. "description": "P合约ID",
  3647. "type": "integer"
  3648. },
  3649. "ppricemode": {
  3650. "description": "P合约价格方式 - 1:商品价 2:固定值",
  3651. "type": "integer"
  3652. },
  3653. "rratio": {
  3654. "description": "兑换系数(R)",
  3655. "type": "integer"
  3656. },
  3657. "rratio1": {
  3658. "description": "兑换系数(交易合约)(R1)",
  3659. "type": "integer"
  3660. },
  3661. "rratio2": {
  3662. "description": "兑换系数(仓单标准)(R2)",
  3663. "type": "integer"
  3664. },
  3665. "selltemplateid": {
  3666. "description": "卖履约计划模板ID",
  3667. "type": "integer"
  3668. },
  3669. "wrstandardid": {
  3670. "description": "仓单标准ID",
  3671. "type": "integer"
  3672. },
  3673. "xdeliveryratio": {
  3674. "description": "交易合约系数(m)",
  3675. "type": "integer"
  3676. }
  3677. }
  3678. },
  3679. "erms2.QueryArbitrageStrategyRsp": {
  3680. "type": "object",
  3681. "required": [
  3682. "asapplyid"
  3683. ],
  3684. "properties": {
  3685. "applybasis": {
  3686. "description": "申请基差",
  3687. "type": "number"
  3688. },
  3689. "asapplyid": {
  3690. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  3691. "type": "string"
  3692. },
  3693. "asname": {
  3694. "description": "策略名称",
  3695. "type": "string"
  3696. },
  3697. "asno": {
  3698. "description": "策略编号",
  3699. "type": "string"
  3700. },
  3701. "basischangepl": {
  3702. "description": "基差变动损益[结算更新]",
  3703. "type": "number"
  3704. },
  3705. "biztype": {
  3706. "description": "业务类型 - 1:正向套利 -1:反向套利",
  3707. "type": "integer"
  3708. },
  3709. "closetradedate": {
  3710. "description": "完结交易日(yyyyMMdd)",
  3711. "type": "string"
  3712. },
  3713. "curbasis": {
  3714. "description": "当前基差[结算更新]",
  3715. "type": "number"
  3716. },
  3717. "deliverygoodsid": {
  3718. "description": "现货品种ID",
  3719. "type": "integer"
  3720. },
  3721. "futureavgprice": {
  3722. "description": "期货建仓均价",
  3723. "type": "number"
  3724. },
  3725. "futurecloseamount": {
  3726. "description": "期货平仓金额",
  3727. "type": "number"
  3728. },
  3729. "futurecloseqty": {
  3730. "description": "期货平仓数量",
  3731. "type": "number"
  3732. },
  3733. "futureopenamount": {
  3734. "description": "期货开仓金额",
  3735. "type": "number"
  3736. },
  3737. "futureopenqty": {
  3738. "description": "期货开仓数量",
  3739. "type": "number"
  3740. },
  3741. "futurepl": {
  3742. "description": "期货总盈亏[结算更新]",
  3743. "type": "number"
  3744. },
  3745. "futureqty": {
  3746. "description": "期货持仓数量",
  3747. "type": "number"
  3748. },
  3749. "futurequote": {
  3750. "description": "期货额度",
  3751. "type": "number"
  3752. },
  3753. "goodsgroupid": {
  3754. "description": "期货品种ID",
  3755. "type": "integer"
  3756. },
  3757. "marketid": {
  3758. "description": "市场ID",
  3759. "type": "integer"
  3760. },
  3761. "netexposure": {
  3762. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  3763. "type": "number"
  3764. },
  3765. "netexposurepl": {
  3766. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  3767. "type": "number"
  3768. },
  3769. "netexposurerate": {
  3770. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  3771. "type": "number"
  3772. },
  3773. "openbasis": {
  3774. "description": "建仓基差",
  3775. "type": "number"
  3776. },
  3777. "pricedspotqty": {
  3778. "description": "已定价现货数量",
  3779. "type": "number"
  3780. },
  3781. "pricedspotqtynotax": {
  3782. "description": "已定价现货不含税数量",
  3783. "type": "number"
  3784. },
  3785. "remark": {
  3786. "description": "备注",
  3787. "type": "string"
  3788. },
  3789. "spotavgprice": {
  3790. "description": "现货均价",
  3791. "type": "number"
  3792. },
  3793. "spotbuyamount": {
  3794. "description": "现货采购金额",
  3795. "type": "number"
  3796. },
  3797. "spotbuyqty": {
  3798. "description": "现货采购数量",
  3799. "type": "number"
  3800. },
  3801. "spotpl": {
  3802. "description": "现货总盈亏[结算更新]",
  3803. "type": "number"
  3804. },
  3805. "spotquota": {
  3806. "description": "现货额度",
  3807. "type": "number"
  3808. },
  3809. "spotsellamount": {
  3810. "description": "现货销售金额",
  3811. "type": "number"
  3812. },
  3813. "spotsellqty": {
  3814. "description": "现货销售数量",
  3815. "type": "number"
  3816. },
  3817. "spotusedquota": {
  3818. "description": "现货占用资金",
  3819. "type": "number"
  3820. },
  3821. "strategystatus": {
  3822. "description": "策略状态 - 0:未结束 1:已结束",
  3823. "type": "integer"
  3824. },
  3825. "totalpl": {
  3826. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  3827. "type": "number"
  3828. },
  3829. "tradedate": {
  3830. "description": "交易日(yyyyMMdd)",
  3831. "type": "string"
  3832. },
  3833. "updatetime": {
  3834. "description": "更新时间",
  3835. "type": "string"
  3836. },
  3837. "usedquota": {
  3838. "description": "已占用资金",
  3839. "type": "number"
  3840. },
  3841. "userid": {
  3842. "description": "所属机构",
  3843. "type": "integer"
  3844. }
  3845. }
  3846. },
  3847. "erms2.QueryInnerTradeDetailRsp": {
  3848. "type": "object",
  3849. "required": [
  3850. "asapplyid",
  3851. "buyorsell",
  3852. "goodscode",
  3853. "goodsgroupid",
  3854. "goodsgroupname",
  3855. "goodsname",
  3856. "tradeid"
  3857. ],
  3858. "properties": {
  3859. "accountid": {
  3860. "description": "账号ID",
  3861. "type": "integer"
  3862. },
  3863. "agreeunit": {
  3864. "description": "合约单位",
  3865. "type": "number"
  3866. },
  3867. "asapplyid": {
  3868. "description": "策略申请ID",
  3869. "type": "integer"
  3870. },
  3871. "asname": {
  3872. "description": "策略名称",
  3873. "type": "string"
  3874. },
  3875. "asno": {
  3876. "description": "策略编号",
  3877. "type": "string"
  3878. },
  3879. "buyorsell": {
  3880. "description": "方向 - 0:买 1:卖",
  3881. "type": "integer"
  3882. },
  3883. "channelbuildtype": {
  3884. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  3885. "type": "integer"
  3886. },
  3887. "closetype": {
  3888. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  3889. "type": "integer"
  3890. },
  3891. "decimalplace": {
  3892. "description": "报价小数位",
  3893. "type": "integer"
  3894. },
  3895. "detailtype": {
  3896. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  3897. "type": "integer"
  3898. },
  3899. "exexchangecode": {
  3900. "description": "外部交易所代码",
  3901. "type": "string"
  3902. },
  3903. "exexchangename": {
  3904. "description": "外部交易所名称",
  3905. "type": "string"
  3906. },
  3907. "goodscode": {
  3908. "description": "商品代码(合约)",
  3909. "type": "string"
  3910. },
  3911. "goodsgroupid": {
  3912. "description": "商品组ID(品种ID)",
  3913. "type": "integer"
  3914. },
  3915. "goodsgroupname": {
  3916. "description": "商品组名称(品种)",
  3917. "type": "string"
  3918. },
  3919. "goodsid": {
  3920. "description": "商品ID",
  3921. "type": "integer"
  3922. },
  3923. "goodsname": {
  3924. "description": "商品名称(合约)",
  3925. "type": "string"
  3926. },
  3927. "goodunit": {
  3928. "description": "报价单位",
  3929. "type": "string"
  3930. },
  3931. "marketid": {
  3932. "description": "市场ID",
  3933. "type": "integer"
  3934. },
  3935. "orderid": {
  3936. "description": "委托单号",
  3937. "type": "string"
  3938. },
  3939. "outgoodscode": {
  3940. "description": "商品代码(外部)",
  3941. "type": "string"
  3942. },
  3943. "relatedouttradeid": {
  3944. "description": "关联外部成交单ID",
  3945. "type": "string"
  3946. },
  3947. "remark": {
  3948. "description": "备注",
  3949. "type": "string"
  3950. },
  3951. "spotcontractid": {
  3952. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  3953. "type": "integer"
  3954. },
  3955. "spotcontractno": {
  3956. "description": "现货合同编号",
  3957. "type": "string"
  3958. },
  3959. "tradeid": {
  3960. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3961. "type": "string"
  3962. },
  3963. "tradeprice": {
  3964. "description": "成交价格",
  3965. "type": "number"
  3966. },
  3967. "tradeqty": {
  3968. "description": "成交数量",
  3969. "type": "integer"
  3970. },
  3971. "tradetime": {
  3972. "description": "成交时间",
  3973. "type": "string"
  3974. },
  3975. "updatetime": {
  3976. "description": "更新时间",
  3977. "type": "string"
  3978. }
  3979. }
  3980. },
  3981. "erms2.QuerySpotContractRsp": {
  3982. "type": "object",
  3983. "required": [
  3984. "spotcontractid"
  3985. ],
  3986. "properties": {
  3987. "accountid": {
  3988. "description": "资金账户ID",
  3989. "type": "integer"
  3990. },
  3991. "areauserid": {
  3992. "description": "所属机构",
  3993. "type": "integer"
  3994. },
  3995. "closedate": {
  3996. "description": "终止日期",
  3997. "type": "string"
  3998. },
  3999. "closeremark": {
  4000. "description": "结束备注",
  4001. "type": "string"
  4002. },
  4003. "closetradedate": {
  4004. "description": "完结交易日(yyyyMMdd)",
  4005. "type": "string"
  4006. },
  4007. "closetype": {
  4008. "description": "终止类型 - 1:违约 2:提前终止",
  4009. "type": "integer"
  4010. },
  4011. "contractamount": {
  4012. "description": "合同金额",
  4013. "type": "number"
  4014. },
  4015. "contractattachment": {
  4016. "description": "合同附件",
  4017. "type": "string"
  4018. },
  4019. "contractno": {
  4020. "description": "现货合同编号",
  4021. "type": "string"
  4022. },
  4023. "contractqty": {
  4024. "description": "合同数量(数值) (用于计算)",
  4025. "type": "number"
  4026. },
  4027. "contractqtychar": {
  4028. "description": "合同数量\\已订价数量 (用于显示)",
  4029. "type": "string"
  4030. },
  4031. "contractstatus": {
  4032. "description": "合同状态 - 0:未结束 1:已结束",
  4033. "type": "integer"
  4034. },
  4035. "contracttype": {
  4036. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  4037. "type": "integer"
  4038. },
  4039. "customeraccountid": {
  4040. "description": "客户资金账户ID",
  4041. "type": "integer"
  4042. },
  4043. "customeruserid": {
  4044. "description": "客户ID",
  4045. "type": "integer"
  4046. },
  4047. "deliverygoodsdesc": {
  4048. "description": "品种说明",
  4049. "type": "string"
  4050. },
  4051. "deliverygoodsid": {
  4052. "description": "现货品种ID",
  4053. "type": "integer"
  4054. },
  4055. "handlestatus": {
  4056. "description": "处理状态",
  4057. "type": "integer"
  4058. },
  4059. "invoiceatt": {
  4060. "description": "发票附件",
  4061. "type": "string"
  4062. },
  4063. "invoicedatetime": {
  4064. "description": "开收票更新时间",
  4065. "type": "string"
  4066. },
  4067. "invoiceopentime": {
  4068. "description": "开票时间",
  4069. "type": "string"
  4070. },
  4071. "invoiceremark": {
  4072. "description": "发票备注",
  4073. "type": "string"
  4074. },
  4075. "invoicestatus": {
  4076. "description": "开收票状态 - 0:未开票 1:已开票",
  4077. "type": "integer"
  4078. },
  4079. "lastdate": {
  4080. "description": "交货时间",
  4081. "type": "string"
  4082. },
  4083. "marketid": {
  4084. "description": "市场ID",
  4085. "type": "integer"
  4086. },
  4087. "paydatetime": {
  4088. "description": "收付款更新时间",
  4089. "type": "string"
  4090. },
  4091. "payremark": {
  4092. "description": "收付款备注",
  4093. "type": "string"
  4094. },
  4095. "paystatus": {
  4096. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  4097. "type": "integer"
  4098. },
  4099. "positionqty": {
  4100. "description": "头寸数量 - 合同数量去小数部分",
  4101. "type": "integer"
  4102. },
  4103. "producttype": {
  4104. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  4105. "type": "integer"
  4106. },
  4107. "relatedqty": {
  4108. "description": "已关联数量",
  4109. "type": "number"
  4110. },
  4111. "relatedstatus": {
  4112. "description": "关联完结状态 - 0:未结束 1:已结束",
  4113. "type": "integer"
  4114. },
  4115. "remark": {
  4116. "description": "备注",
  4117. "type": "string"
  4118. },
  4119. "signdate": {
  4120. "description": "签订日期",
  4121. "type": "string"
  4122. },
  4123. "spotcontractid": {
  4124. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  4125. "type": "string"
  4126. },
  4127. "spotdatetime": {
  4128. "description": "收发货更新时间",
  4129. "type": "string"
  4130. },
  4131. "spotprice": {
  4132. "description": "价格",
  4133. "type": "number"
  4134. },
  4135. "spotremark": {
  4136. "description": "收发货备注",
  4137. "type": "string"
  4138. },
  4139. "spotstatus": {
  4140. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  4141. "type": "integer"
  4142. },
  4143. "tradedate": {
  4144. "description": "交易日(yyyyMMdd)",
  4145. "type": "string"
  4146. },
  4147. "userid": {
  4148. "description": "业务员用户ID",
  4149. "type": "integer"
  4150. },
  4151. "warehouseid": {
  4152. "description": "仓库ID",
  4153. "type": "integer"
  4154. },
  4155. "wrfactortypeid": {
  4156. "description": "仓单要素类型ID",
  4157. "type": "integer"
  4158. },
  4159. "wrstandardid": {
  4160. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  4161. "type": "integer"
  4162. }
  4163. }
  4164. },
  4165. "models.Division": {
  4166. "type": "object",
  4167. "required": [
  4168. "autoid",
  4169. "divisioncode"
  4170. ],
  4171. "properties": {
  4172. "autoid": {
  4173. "description": "自增ID",
  4174. "type": "integer"
  4175. },
  4176. "divisioncode": {
  4177. "description": "行政代码",
  4178. "type": "string"
  4179. },
  4180. "divisionlevel": {
  4181. "description": "行政级别",
  4182. "type": "string"
  4183. },
  4184. "divisionname": {
  4185. "description": "行政名称",
  4186. "type": "string"
  4187. },
  4188. "modifierid": {
  4189. "description": "修改人",
  4190. "type": "integer"
  4191. },
  4192. "modifytime": {
  4193. "description": "修改时间",
  4194. "type": "string"
  4195. },
  4196. "parentcode": {
  4197. "description": "上级行政代码",
  4198. "type": "string"
  4199. },
  4200. "pathname": {
  4201. "description": "路径名称",
  4202. "type": "string"
  4203. },
  4204. "postcode": {
  4205. "description": "邮政编码",
  4206. "type": "string"
  4207. },
  4208. "separablename": {
  4209. "description": "可拆分的全称",
  4210. "type": "string"
  4211. },
  4212. "shortcode": {
  4213. "description": "地区简码",
  4214. "type": "string"
  4215. }
  4216. }
  4217. },
  4218. "models.HsbyGoodsOrderDetail": {
  4219. "type": "object",
  4220. "required": [
  4221. "buyorsell",
  4222. "orderid",
  4223. "ordertime"
  4224. ],
  4225. "properties": {
  4226. "buyorsell": {
  4227. "description": "买卖 - 0:买 1:卖",
  4228. "type": "integer"
  4229. },
  4230. "currencysign": {
  4231. "description": "货币符号",
  4232. "type": "string"
  4233. },
  4234. "customername": {
  4235. "description": "客户名称(企业名称),已脱敏",
  4236. "type": "string"
  4237. },
  4238. "enableqty": {
  4239. "description": "可用数量",
  4240. "type": "integer"
  4241. },
  4242. "goodunit": {
  4243. "description": "报价单位",
  4244. "type": "string"
  4245. },
  4246. "orderid": {
  4247. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4248. "type": "string"
  4249. },
  4250. "orderprice": {
  4251. "description": "委托价格",
  4252. "type": "number"
  4253. },
  4254. "ordertime": {
  4255. "description": "委托时间",
  4256. "type": "string"
  4257. }
  4258. }
  4259. },
  4260. "models.HsbyListingGoodsDetail": {
  4261. "type": "object",
  4262. "required": [
  4263. "goodscode",
  4264. "goodsid",
  4265. "goodsname",
  4266. "marketid",
  4267. "trademode"
  4268. ],
  4269. "properties": {
  4270. "currency": {
  4271. "description": "货币",
  4272. "type": "string"
  4273. },
  4274. "currencysign": {
  4275. "description": "货币符号",
  4276. "type": "string"
  4277. },
  4278. "decimalplace": {
  4279. "description": "报价小数位",
  4280. "type": "integer"
  4281. },
  4282. "desccityid": {
  4283. "description": "目的地(市)ID",
  4284. "type": "integer"
  4285. },
  4286. "descprovinceid": {
  4287. "description": "目的地(省)ID",
  4288. "type": "integer"
  4289. },
  4290. "goodscode": {
  4291. "description": "商品代码(内部)",
  4292. "type": "string"
  4293. },
  4294. "goodsdesc": {
  4295. "description": "商品详情",
  4296. "type": "string"
  4297. },
  4298. "goodsid": {
  4299. "description": "商品ID(自增ID SEQ_GOODS)",
  4300. "type": "integer"
  4301. },
  4302. "goodsname": {
  4303. "description": "商品名称",
  4304. "type": "string"
  4305. },
  4306. "hotindex": {
  4307. "description": "景点热度",
  4308. "type": "integer"
  4309. },
  4310. "last": {
  4311. "description": "现价",
  4312. "type": "number"
  4313. },
  4314. "limitdown": {
  4315. "description": "跌停价",
  4316. "type": "number"
  4317. },
  4318. "limitup": {
  4319. "description": "涨停价",
  4320. "type": "number"
  4321. },
  4322. "lotsize": {
  4323. "description": "最小变动单位",
  4324. "type": "number"
  4325. },
  4326. "marketid": {
  4327. "description": "所属市场ID",
  4328. "type": "integer"
  4329. },
  4330. "picurls": {
  4331. "description": "介绍图片[多张用逗号分隔]",
  4332. "type": "string"
  4333. },
  4334. "quoteminunit": {
  4335. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  4336. "type": "integer"
  4337. },
  4338. "trademode": {
  4339. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  4340. "type": "integer"
  4341. },
  4342. "vendorattr": {
  4343. "description": "供应商附件(多张,逗号分隔)",
  4344. "type": "string"
  4345. },
  4346. "vendorname": {
  4347. "description": "供应商名称",
  4348. "type": "string"
  4349. },
  4350. "vendorphone": {
  4351. "description": "供应商客服电话",
  4352. "type": "string"
  4353. },
  4354. "videourls": {
  4355. "description": "介绍视频[多张用逗号分隔]",
  4356. "type": "string"
  4357. }
  4358. }
  4359. },
  4360. "models.HsbyMyGoods": {
  4361. "type": "object",
  4362. "required": [
  4363. "accountid",
  4364. "goodscode",
  4365. "goodsid",
  4366. "goodsname"
  4367. ],
  4368. "properties": {
  4369. "accountid": {
  4370. "description": "账号Id",
  4371. "type": "integer"
  4372. },
  4373. "agreeunit": {
  4374. "description": "合约单位",
  4375. "type": "number"
  4376. },
  4377. "buyaverageprice": {
  4378. "description": "持仓均价",
  4379. "type": "number"
  4380. },
  4381. "buycurholderamount": {
  4382. "description": "买当前持仓总金额[商品币种]",
  4383. "type": "number"
  4384. },
  4385. "buycurpositionqty": {
  4386. "description": "买当前持仓总数量",
  4387. "type": "integer"
  4388. },
  4389. "currencysign": {
  4390. "description": "货币符号",
  4391. "type": "string"
  4392. },
  4393. "decimalplace": {
  4394. "description": "报价小数位",
  4395. "type": "integer"
  4396. },
  4397. "enableqty": {
  4398. "description": "可用数量",
  4399. "type": "integer"
  4400. },
  4401. "goodscode": {
  4402. "description": "商品代码(内部)",
  4403. "type": "string"
  4404. },
  4405. "goodsid": {
  4406. "description": "商品Id",
  4407. "type": "integer"
  4408. },
  4409. "goodsname": {
  4410. "description": "商品名称",
  4411. "type": "string"
  4412. },
  4413. "picurls": {
  4414. "description": "介绍图片[多张用逗号分隔]",
  4415. "type": "string"
  4416. }
  4417. }
  4418. },
  4419. "models.HsbyMyPackage": {
  4420. "type": "object",
  4421. "required": [
  4422. "goodscode",
  4423. "goodsname",
  4424. "takeorderid"
  4425. ],
  4426. "properties": {
  4427. "accountid": {
  4428. "description": "账户ID",
  4429. "type": "integer"
  4430. },
  4431. "address": {
  4432. "description": "提货人详细地址",
  4433. "type": "string"
  4434. },
  4435. "agreeunit": {
  4436. "description": "合约单位",
  4437. "type": "number"
  4438. },
  4439. "amount": {
  4440. "description": "提货金额",
  4441. "type": "number"
  4442. },
  4443. "auditer": {
  4444. "description": "审核人",
  4445. "type": "integer"
  4446. },
  4447. "audittime": {
  4448. "description": "审核时间",
  4449. "type": "string"
  4450. },
  4451. "averageprice": {
  4452. "description": "均价",
  4453. "type": "number"
  4454. },
  4455. "cardnum": {
  4456. "description": "提货人证件号码",
  4457. "type": "string"
  4458. },
  4459. "cardtypeid": {
  4460. "description": "提货人证件类型",
  4461. "type": "integer"
  4462. },
  4463. "checkremark": {
  4464. "description": "审核备注",
  4465. "type": "string"
  4466. },
  4467. "currencysign": {
  4468. "description": "货币符号",
  4469. "type": "string"
  4470. },
  4471. "decimalplace": {
  4472. "description": "报价小数位",
  4473. "type": "integer"
  4474. },
  4475. "goodscode": {
  4476. "description": "商品代码(内部)",
  4477. "type": "string"
  4478. },
  4479. "goodsid": {
  4480. "description": "商品ID",
  4481. "type": "integer"
  4482. },
  4483. "goodsname": {
  4484. "description": "商品名称",
  4485. "type": "string"
  4486. },
  4487. "handlestatus": {
  4488. "description": "处理状态",
  4489. "type": "integer"
  4490. },
  4491. "marketid": {
  4492. "description": "市场ID",
  4493. "type": "integer"
  4494. },
  4495. "phonenum": {
  4496. "description": "提货人联系方式",
  4497. "type": "string"
  4498. },
  4499. "picurls": {
  4500. "description": "介绍图片[多张用逗号分隔]",
  4501. "type": "string"
  4502. },
  4503. "qty": {
  4504. "description": "提货数量",
  4505. "type": "number"
  4506. },
  4507. "recivername": {
  4508. "description": "提货人姓名",
  4509. "type": "string"
  4510. },
  4511. "reqtime": {
  4512. "description": "更新时间",
  4513. "type": "string"
  4514. },
  4515. "takemode": {
  4516. "description": "提货方式 - 2:自提 3:配送",
  4517. "type": "integer"
  4518. },
  4519. "takeorderid": {
  4520. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  4521. "type": "string"
  4522. },
  4523. "takeorderstatus": {
  4524. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4525. "type": "integer"
  4526. },
  4527. "takeremark": {
  4528. "description": "提货备注",
  4529. "type": "string"
  4530. },
  4531. "tradedate": {
  4532. "description": "交易日(yyyyMMdd)",
  4533. "type": "string"
  4534. },
  4535. "userid": {
  4536. "description": "用户ID",
  4537. "type": "integer"
  4538. },
  4539. "vendorname": {
  4540. "description": "供应商名称",
  4541. "type": "string"
  4542. }
  4543. }
  4544. },
  4545. "models.HsbyPreGoods": {
  4546. "type": "object",
  4547. "required": [
  4548. "goodscode",
  4549. "goodsid",
  4550. "goodsname",
  4551. "marketid",
  4552. "trademode"
  4553. ],
  4554. "properties": {
  4555. "currency": {
  4556. "description": "货币",
  4557. "type": "string"
  4558. },
  4559. "currencysign": {
  4560. "description": "货币符号",
  4561. "type": "string"
  4562. },
  4563. "decimalplace": {
  4564. "description": "报价小数位",
  4565. "type": "integer"
  4566. },
  4567. "enableqty": {
  4568. "description": "剩余数量",
  4569. "type": "integer"
  4570. },
  4571. "endtime": {
  4572. "description": "预售结束时间",
  4573. "type": "string"
  4574. },
  4575. "goodscode": {
  4576. "description": "商品代码(内部)",
  4577. "type": "string"
  4578. },
  4579. "goodsid": {
  4580. "description": "商品ID(自增ID SEQ_GOODS)",
  4581. "type": "integer"
  4582. },
  4583. "goodsname": {
  4584. "description": "商品名称",
  4585. "type": "string"
  4586. },
  4587. "goodsstatus": {
  4588. "description": "商品状态- 2:未上市 3:上市",
  4589. "type": "integer"
  4590. },
  4591. "lotsize": {
  4592. "description": "最小变动单位",
  4593. "type": "number"
  4594. },
  4595. "marketid": {
  4596. "description": "所属市场ID",
  4597. "type": "integer"
  4598. },
  4599. "picurls": {
  4600. "description": "介绍图片[多张用逗号分隔]",
  4601. "type": "string"
  4602. },
  4603. "presaledqty": {
  4604. "description": "已预售量(预售结束时更新)",
  4605. "type": "integer"
  4606. },
  4607. "presaleqty": {
  4608. "description": "预售数量",
  4609. "type": "integer"
  4610. },
  4611. "quoteminunit": {
  4612. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  4613. "type": "integer"
  4614. },
  4615. "refprice": {
  4616. "description": "参考价格[一口价]",
  4617. "type": "number"
  4618. },
  4619. "relatedgoodsid": {
  4620. "description": "关联交易合约ID",
  4621. "type": "integer"
  4622. },
  4623. "starttime": {
  4624. "description": "预售开始时间",
  4625. "type": "string"
  4626. },
  4627. "trademode": {
  4628. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  4629. "type": "integer"
  4630. },
  4631. "videourls": {
  4632. "description": "介绍视频[多张用逗号分隔]",
  4633. "type": "string"
  4634. }
  4635. }
  4636. },
  4637. "models.HsbyPreGoodsDetail": {
  4638. "type": "object",
  4639. "required": [
  4640. "goodscode",
  4641. "goodsid",
  4642. "goodsname",
  4643. "marketid",
  4644. "trademode"
  4645. ],
  4646. "properties": {
  4647. "currency": {
  4648. "description": "货币",
  4649. "type": "string"
  4650. },
  4651. "currencysign": {
  4652. "description": "货币符号",
  4653. "type": "string"
  4654. },
  4655. "customername": {
  4656. "description": "发行单位",
  4657. "type": "string"
  4658. },
  4659. "decimalplace": {
  4660. "description": "报价小数位",
  4661. "type": "integer"
  4662. },
  4663. "desccityid": {
  4664. "description": "目的地(市)ID",
  4665. "type": "integer"
  4666. },
  4667. "descprovinceid": {
  4668. "description": "目的地(省)ID",
  4669. "type": "integer"
  4670. },
  4671. "enableqty": {
  4672. "description": "剩余数量",
  4673. "type": "integer"
  4674. },
  4675. "endtime": {
  4676. "description": "预售结束时间",
  4677. "type": "string"
  4678. },
  4679. "goodscode": {
  4680. "description": "商品代码(内部)",
  4681. "type": "string"
  4682. },
  4683. "goodsdesc": {
  4684. "description": "商品详情",
  4685. "type": "string"
  4686. },
  4687. "goodsid": {
  4688. "description": "商品ID(自增ID SEQ_GOODS)",
  4689. "type": "integer"
  4690. },
  4691. "goodsname": {
  4692. "description": "商品名称",
  4693. "type": "string"
  4694. },
  4695. "goodsstatus": {
  4696. "description": "商品状态- 2:未上市 3:上市",
  4697. "type": "integer"
  4698. },
  4699. "goodunit": {
  4700. "description": "报价单位",
  4701. "type": "string"
  4702. },
  4703. "lotsize": {
  4704. "description": "最小变动单位",
  4705. "type": "number"
  4706. },
  4707. "marketid": {
  4708. "description": "所属市场ID",
  4709. "type": "integer"
  4710. },
  4711. "picurls": {
  4712. "description": "介绍图片[多张用逗号分隔]",
  4713. "type": "string"
  4714. },
  4715. "presaledqty": {
  4716. "description": "已预售量(预售结束时更新)",
  4717. "type": "integer"
  4718. },
  4719. "presaleqty": {
  4720. "description": "预售数量",
  4721. "type": "integer"
  4722. },
  4723. "quoteminunit": {
  4724. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  4725. "type": "integer"
  4726. },
  4727. "refprice": {
  4728. "description": "参考价格[一口价]",
  4729. "type": "number"
  4730. },
  4731. "relatedgoodsid": {
  4732. "description": "关联交易合约ID",
  4733. "type": "integer"
  4734. },
  4735. "starttime": {
  4736. "description": "预售开始时间",
  4737. "type": "string"
  4738. },
  4739. "trademode": {
  4740. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  4741. "type": "integer"
  4742. },
  4743. "vendorattr": {
  4744. "description": "供应商附件(多张,逗号分隔)",
  4745. "type": "string"
  4746. },
  4747. "vendorname": {
  4748. "description": "供应商名称",
  4749. "type": "string"
  4750. },
  4751. "vendorphone": {
  4752. "description": "供应商客服电话",
  4753. "type": "string"
  4754. },
  4755. "videourls": {
  4756. "description": "介绍视频[多张用逗号分隔]",
  4757. "type": "string"
  4758. }
  4759. }
  4760. },
  4761. "models.HsbySellMyDetail": {
  4762. "type": "object",
  4763. "required": [
  4764. "accountid",
  4765. "buyorsell",
  4766. "goodscode",
  4767. "goodsid",
  4768. "goodsname",
  4769. "marketid",
  4770. "orderid",
  4771. "qty",
  4772. "time",
  4773. "trademode"
  4774. ],
  4775. "properties": {
  4776. "accountid": {
  4777. "description": "账户ID[报价币种]",
  4778. "type": "integer"
  4779. },
  4780. "agreeunit": {
  4781. "description": "合约单位",
  4782. "type": "number"
  4783. },
  4784. "amount": {
  4785. "description": "金额 = 价格 * 数量 * 合约单位",
  4786. "type": "number"
  4787. },
  4788. "buyorsell": {
  4789. "description": "买卖 - 0:买 1:卖",
  4790. "type": "integer"
  4791. },
  4792. "currencysign": {
  4793. "description": "货币符号",
  4794. "type": "string"
  4795. },
  4796. "decimalplace": {
  4797. "description": "报价小数位",
  4798. "type": "integer"
  4799. },
  4800. "goodscode": {
  4801. "description": "商品代码(内部)",
  4802. "type": "string"
  4803. },
  4804. "goodsid": {
  4805. "description": "商品ID",
  4806. "type": "integer"
  4807. },
  4808. "goodsname": {
  4809. "description": "商品名称",
  4810. "type": "string"
  4811. },
  4812. "marketid": {
  4813. "description": "市场ID",
  4814. "type": "integer"
  4815. },
  4816. "orderid": {
  4817. "description": "单号(已发布 - 委托单号;已完成 - 成交单号)",
  4818. "type": "string"
  4819. },
  4820. "picurls": {
  4821. "description": "介绍图片[多张用逗号分隔]",
  4822. "type": "string"
  4823. },
  4824. "price": {
  4825. "description": "价格",
  4826. "type": "number"
  4827. },
  4828. "qty": {
  4829. "description": "数量",
  4830. "type": "integer"
  4831. },
  4832. "time": {
  4833. "description": "时间",
  4834. "type": "string"
  4835. },
  4836. "trademode": {
  4837. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  4838. "type": "integer"
  4839. },
  4840. "vendorname": {
  4841. "description": "供应商名称",
  4842. "type": "string"
  4843. }
  4844. }
  4845. },
  4846. "models.HsbyTopGoods": {
  4847. "type": "object",
  4848. "required": [
  4849. "goodscode",
  4850. "goodsid",
  4851. "goodsname",
  4852. "marketid",
  4853. "trademode"
  4854. ],
  4855. "properties": {
  4856. "currency": {
  4857. "description": "货币",
  4858. "type": "string"
  4859. },
  4860. "currencysign": {
  4861. "description": "货币符号",
  4862. "type": "string"
  4863. },
  4864. "decimalplace": {
  4865. "description": "报价小数位",
  4866. "type": "integer"
  4867. },
  4868. "goodscode": {
  4869. "description": "商品代码(内部)",
  4870. "type": "string"
  4871. },
  4872. "goodsid": {
  4873. "description": "商品ID(自增ID SEQ_GOODS)",
  4874. "type": "integer"
  4875. },
  4876. "goodsname": {
  4877. "description": "商品名称",
  4878. "type": "string"
  4879. },
  4880. "hotindex": {
  4881. "description": "景点热度",
  4882. "type": "integer"
  4883. },
  4884. "last": {
  4885. "description": "现价",
  4886. "type": "number"
  4887. },
  4888. "lotsize": {
  4889. "description": "最小变动单位",
  4890. "type": "number"
  4891. },
  4892. "marketid": {
  4893. "description": "所属市场ID",
  4894. "type": "integer"
  4895. },
  4896. "picurls": {
  4897. "description": "介绍图片[多张用逗号分隔]",
  4898. "type": "string"
  4899. },
  4900. "quoteminunit": {
  4901. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  4902. "type": "integer"
  4903. },
  4904. "trademode": {
  4905. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  4906. "type": "integer"
  4907. },
  4908. "videourls": {
  4909. "description": "介绍视频[多张用逗号分隔]",
  4910. "type": "string"
  4911. }
  4912. }
  4913. },
  4914. "models.HybsMyBuyOrderDetail": {
  4915. "type": "object",
  4916. "required": [
  4917. "accountid",
  4918. "buyorsell",
  4919. "goodscode",
  4920. "goodsid",
  4921. "goodsname",
  4922. "marketid",
  4923. "orderid",
  4924. "orderqty",
  4925. "ordertime",
  4926. "trademode"
  4927. ],
  4928. "properties": {
  4929. "accountid": {
  4930. "description": "账户ID[报价币种]",
  4931. "type": "integer"
  4932. },
  4933. "agreeunit": {
  4934. "description": "合约单位",
  4935. "type": "number"
  4936. },
  4937. "buyorsell": {
  4938. "description": "买卖 - 0:买 1:卖",
  4939. "type": "integer"
  4940. },
  4941. "cancelqty": {
  4942. "description": "撤单数量",
  4943. "type": "integer"
  4944. },
  4945. "currencysign": {
  4946. "description": "货币符号",
  4947. "type": "string"
  4948. },
  4949. "decimalplace": {
  4950. "description": "报价小数位",
  4951. "type": "integer"
  4952. },
  4953. "goodscode": {
  4954. "description": "商品代码(内部)",
  4955. "type": "string"
  4956. },
  4957. "goodsid": {
  4958. "description": "商品ID",
  4959. "type": "integer"
  4960. },
  4961. "goodsname": {
  4962. "description": "商品名称",
  4963. "type": "string"
  4964. },
  4965. "listingselecttype": {
  4966. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4967. "type": "integer"
  4968. },
  4969. "marketid": {
  4970. "description": "市场ID",
  4971. "type": "integer"
  4972. },
  4973. "mybuystatus": {
  4974. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  4975. "type": "integer"
  4976. },
  4977. "orderamount": {
  4978. "description": "委托金额",
  4979. "type": "number"
  4980. },
  4981. "orderid": {
  4982. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4983. "type": "string"
  4984. },
  4985. "orderprice": {
  4986. "description": "委托价格",
  4987. "type": "number"
  4988. },
  4989. "orderqty": {
  4990. "description": "委托数量",
  4991. "type": "integer"
  4992. },
  4993. "orderstatus": {
  4994. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4995. "type": "integer"
  4996. },
  4997. "ordertime": {
  4998. "description": "委托时间",
  4999. "type": "string"
  5000. },
  5001. "picurls": {
  5002. "description": "介绍图片[多张用逗号分隔]",
  5003. "type": "string"
  5004. },
  5005. "trademode": {
  5006. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5007. "type": "integer"
  5008. },
  5009. "tradeqty": {
  5010. "description": "成交数量",
  5011. "type": "integer"
  5012. },
  5013. "vendorname": {
  5014. "description": "供应商名称",
  5015. "type": "string"
  5016. }
  5017. }
  5018. },
  5019. "models.Messageboard": {
  5020. "type": "object",
  5021. "required": [
  5022. "messageboardid"
  5023. ],
  5024. "properties": {
  5025. "createtime": {
  5026. "description": "创建时间",
  5027. "type": "string"
  5028. },
  5029. "message": {
  5030. "description": "留言信息",
  5031. "type": "string"
  5032. },
  5033. "messageboardid": {
  5034. "description": "留言簿ID(SEQ_MessageBoard)",
  5035. "type": "integer"
  5036. },
  5037. "userid": {
  5038. "description": "用户ID",
  5039. "type": "integer"
  5040. }
  5041. }
  5042. },
  5043. "models.OperationPrimaryMenu": {
  5044. "type": "object",
  5045. "properties": {
  5046. "Children": {
  5047. "description": "二级功能菜单",
  5048. "type": "array",
  5049. "items": {
  5050. "$ref": "#/definitions/models.OperationSecondaryMenu"
  5051. }
  5052. },
  5053. "Key": {
  5054. "description": "菜单KEY",
  5055. "type": "string"
  5056. },
  5057. "Label": {
  5058. "description": "菜单标题",
  5059. "type": "string"
  5060. }
  5061. }
  5062. },
  5063. "models.OperationSecondaryMenu": {
  5064. "type": "object",
  5065. "properties": {
  5066. "Key": {
  5067. "description": "菜单KEY",
  5068. "type": "string"
  5069. },
  5070. "Label": {
  5071. "description": "菜单标题",
  5072. "type": "string"
  5073. },
  5074. "TabList": {
  5075. "description": "三级功能菜单",
  5076. "type": "array",
  5077. "items": {
  5078. "$ref": "#/definitions/models.OperationTabMenu"
  5079. }
  5080. }
  5081. }
  5082. },
  5083. "models.OperationTabMenu": {
  5084. "type": "object",
  5085. "properties": {
  5086. "Key": {
  5087. "description": "菜单KEY",
  5088. "type": "string"
  5089. },
  5090. "Label": {
  5091. "description": "菜单标题",
  5092. "type": "string"
  5093. }
  5094. }
  5095. },
  5096. "models.QuotePrimaryMenu": {
  5097. "type": "object",
  5098. "properties": {
  5099. "Index": {
  5100. "description": "序号",
  5101. "type": "integer"
  5102. },
  5103. "Key": {
  5104. "description": "键名",
  5105. "type": "string"
  5106. },
  5107. "Name": {
  5108. "description": "菜单名称",
  5109. "type": "string"
  5110. },
  5111. "SubMenus": {
  5112. "description": "子菜单",
  5113. "type": "array",
  5114. "items": {
  5115. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  5116. }
  5117. },
  5118. "SubTitleType": {
  5119. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  5120. "type": "integer"
  5121. },
  5122. "TradeModes": {
  5123. "description": "包含市场交易类型",
  5124. "type": "string"
  5125. }
  5126. }
  5127. },
  5128. "models.QuoteSecondaryMenu": {
  5129. "type": "object",
  5130. "properties": {
  5131. "ExExchangeCode": {
  5132. "description": "外部交易所代码",
  5133. "type": "string"
  5134. },
  5135. "ExExchangeID": {
  5136. "description": "外部交易所ID",
  5137. "type": "integer"
  5138. },
  5139. "GoodsGroupIDs": {
  5140. "description": "商品组ID列表",
  5141. "type": "array",
  5142. "items": {
  5143. "type": "integer"
  5144. }
  5145. },
  5146. "Index": {
  5147. "description": "序号",
  5148. "type": "integer"
  5149. },
  5150. "MarketID": {
  5151. "description": "市场ID",
  5152. "type": "integer"
  5153. },
  5154. "MenuTitle": {
  5155. "description": "菜单标题(市场名称或外部交易所名称)",
  5156. "type": "string"
  5157. },
  5158. "TradeMode": {
  5159. "description": "交易模式",
  5160. "type": "integer"
  5161. }
  5162. }
  5163. },
  5164. "models.SearchGoods": {
  5165. "type": "object",
  5166. "required": [
  5167. "goodscode",
  5168. "goodsid",
  5169. "goodsname",
  5170. "marketid",
  5171. "trademode"
  5172. ],
  5173. "properties": {
  5174. "goodscode": {
  5175. "description": "商品代码(内部)",
  5176. "type": "string"
  5177. },
  5178. "goodsid": {
  5179. "description": "商品ID(自增ID SEQ_GOODS)",
  5180. "type": "integer"
  5181. },
  5182. "goodsname": {
  5183. "description": "商品名称",
  5184. "type": "string"
  5185. },
  5186. "marketid": {
  5187. "description": "所属市场ID",
  5188. "type": "integer"
  5189. },
  5190. "marketname": {
  5191. "description": "市场名称",
  5192. "type": "string"
  5193. },
  5194. "trademode": {
  5195. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5196. "type": "integer"
  5197. }
  5198. }
  5199. },
  5200. "models.Szdz2imageconfig": {
  5201. "type": "object",
  5202. "required": [
  5203. "configid"
  5204. ],
  5205. "properties": {
  5206. "configid": {
  5207. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  5208. "type": "integer"
  5209. },
  5210. "imagepath": {
  5211. "description": "图片",
  5212. "type": "string"
  5213. },
  5214. "imagetype": {
  5215. "description": "类型 - 1:App首页轮播 2:我的",
  5216. "type": "integer"
  5217. },
  5218. "sort": {
  5219. "description": "排序",
  5220. "type": "integer"
  5221. },
  5222. "title": {
  5223. "description": "标题",
  5224. "type": "string"
  5225. },
  5226. "url": {
  5227. "description": "链接",
  5228. "type": "string"
  5229. }
  5230. }
  5231. },
  5232. "models.Szdz3convertconfig": {
  5233. "type": "object",
  5234. "required": [
  5235. "converttype",
  5236. "innergoodsid",
  5237. "outergoodscode"
  5238. ],
  5239. "properties": {
  5240. "canin": {
  5241. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  5242. "type": "integer"
  5243. },
  5244. "canout": {
  5245. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  5246. "type": "integer"
  5247. },
  5248. "converttype": {
  5249. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5250. "type": "integer"
  5251. },
  5252. "createtime": {
  5253. "description": "创建时间",
  5254. "type": "string"
  5255. },
  5256. "creatorid": {
  5257. "description": "创建人",
  5258. "type": "integer"
  5259. },
  5260. "daymaxvalue": {
  5261. "description": "当日最大转入限制",
  5262. "type": "number"
  5263. },
  5264. "freezedays": {
  5265. "description": "冻结天数 [5:花生米转交易]",
  5266. "type": "integer"
  5267. },
  5268. "innergoodsid": {
  5269. "description": "内部商品ID[交易]",
  5270. "type": "integer"
  5271. },
  5272. "inratio": {
  5273. "description": "目标值",
  5274. "type": "integer"
  5275. },
  5276. "modifierid": {
  5277. "description": "修改人",
  5278. "type": "integer"
  5279. },
  5280. "modifytime": {
  5281. "description": "修改时间",
  5282. "type": "string"
  5283. },
  5284. "outergoodscode": {
  5285. "description": "外部商品代码[JD\\PD]",
  5286. "type": "string"
  5287. },
  5288. "outratio": {
  5289. "description": "源值",
  5290. "type": "integer"
  5291. },
  5292. "pddecimalplace": {
  5293. "description": "PD小数位",
  5294. "type": "integer"
  5295. },
  5296. "timemaxvalue": {
  5297. "description": "单次最大转入限制",
  5298. "type": "number"
  5299. },
  5300. "timeminvalue": {
  5301. "description": "单次最小转入限制",
  5302. "type": "number"
  5303. }
  5304. }
  5305. },
  5306. "models.Szdz3searchwhitelist": {
  5307. "type": "object",
  5308. "required": [
  5309. "userid"
  5310. ],
  5311. "properties": {
  5312. "createtime": {
  5313. "description": "创建时间",
  5314. "type": "string"
  5315. },
  5316. "creatorid": {
  5317. "description": "创建人",
  5318. "type": "integer"
  5319. },
  5320. "modifierid": {
  5321. "description": "修改人",
  5322. "type": "integer"
  5323. },
  5324. "modifytime": {
  5325. "description": "修改时间",
  5326. "type": "string"
  5327. },
  5328. "userid": {
  5329. "description": "用户ID",
  5330. "type": "integer"
  5331. }
  5332. }
  5333. },
  5334. "models.Tablecolumnconfig": {
  5335. "type": "object",
  5336. "required": [
  5337. "autoid"
  5338. ],
  5339. "properties": {
  5340. "aligntype": {
  5341. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  5342. "type": "integer"
  5343. },
  5344. "autoid": {
  5345. "description": "AutoID",
  5346. "type": "integer"
  5347. },
  5348. "columnfield": {
  5349. "description": "列字段",
  5350. "type": "string"
  5351. },
  5352. "columntitle": {
  5353. "description": "列Title",
  5354. "type": "string"
  5355. },
  5356. "columnwidth": {
  5357. "description": "列宽",
  5358. "type": "string"
  5359. },
  5360. "formatterstring": {
  5361. "description": "格式化字符",
  5362. "type": "string"
  5363. },
  5364. "formattertype": {
  5365. "description": "格式化类型",
  5366. "type": "string"
  5367. },
  5368. "groupname": {
  5369. "description": "表头分组名称",
  5370. "type": "string"
  5371. },
  5372. "isshow": {
  5373. "description": "是否显示 - 0:不显示 1:显示",
  5374. "type": "integer"
  5375. },
  5376. "needsummary": {
  5377. "description": "是否需要汇总 - 0:不需要 1:需要",
  5378. "type": "integer"
  5379. },
  5380. "orderindex": {
  5381. "description": "顺序",
  5382. "type": "integer"
  5383. },
  5384. "remark": {
  5385. "description": "备注",
  5386. "type": "string"
  5387. },
  5388. "summarytype": {
  5389. "description": "汇总类型 - 1:加总 2:最后一个",
  5390. "type": "integer"
  5391. },
  5392. "tablekey": {
  5393. "description": "列表Key",
  5394. "type": "string"
  5395. }
  5396. }
  5397. },
  5398. "models.Userfavoritegoods": {
  5399. "type": "object",
  5400. "required": [
  5401. "goodsid"
  5402. ],
  5403. "properties": {
  5404. "goodsid": {
  5405. "description": "商品ID",
  5406. "type": "integer"
  5407. }
  5408. }
  5409. },
  5410. "models.Userinfo": {
  5411. "type": "object",
  5412. "required": [
  5413. "userid"
  5414. ],
  5415. "properties": {
  5416. "address": {
  5417. "description": "地址",
  5418. "type": "string"
  5419. },
  5420. "attachment1": {
  5421. "description": "附件1",
  5422. "type": "string"
  5423. },
  5424. "attachment2": {
  5425. "description": "附件2",
  5426. "type": "string"
  5427. },
  5428. "bankaccount": {
  5429. "description": "银行帐号 (加密存储)",
  5430. "type": "string"
  5431. },
  5432. "bankaccountname": {
  5433. "description": "收款人名称",
  5434. "type": "string"
  5435. },
  5436. "bankcardfrontphotourl": {
  5437. "description": "银行卡正面照地址",
  5438. "type": "string"
  5439. },
  5440. "bankid": {
  5441. "description": "银行编码",
  5442. "type": "string"
  5443. },
  5444. "bankname": {
  5445. "description": "银行名称",
  5446. "type": "string"
  5447. },
  5448. "biznature": {
  5449. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5450. "type": "integer"
  5451. },
  5452. "bizscope": {
  5453. "description": "企业经营范围(企业)",
  5454. "type": "string"
  5455. },
  5456. "cardbackphotourl": {
  5457. "description": "证件背面图片地址",
  5458. "type": "string"
  5459. },
  5460. "cardfrontphotourl": {
  5461. "description": "证件正面图片地址",
  5462. "type": "string"
  5463. },
  5464. "cardnum": {
  5465. "description": "证件号码(加密存储)",
  5466. "type": "string"
  5467. },
  5468. "cardtypeid": {
  5469. "description": "证件类型ID",
  5470. "type": "integer"
  5471. },
  5472. "cityid": {
  5473. "description": "市",
  5474. "type": "integer"
  5475. },
  5476. "company": {
  5477. "description": "公司(个人)",
  5478. "type": "string"
  5479. },
  5480. "contactname": {
  5481. "description": "联系人",
  5482. "type": "string"
  5483. },
  5484. "countryid": {
  5485. "description": "国家",
  5486. "type": "integer"
  5487. },
  5488. "createtime": {
  5489. "description": "创建时间",
  5490. "type": "string"
  5491. },
  5492. "creatorid": {
  5493. "description": "创建人",
  5494. "type": "integer"
  5495. },
  5496. "customername": {
  5497. "description": "客户名称(企业名称)",
  5498. "type": "string"
  5499. },
  5500. "districtid": {
  5501. "description": "地区",
  5502. "type": "integer"
  5503. },
  5504. "email": {
  5505. "description": "邮件(加密存储)",
  5506. "type": "string"
  5507. },
  5508. "fax": {
  5509. "description": "传真(加密存储)",
  5510. "type": "string"
  5511. },
  5512. "halfbodyphotourl": {
  5513. "description": "半身照地址",
  5514. "type": "string"
  5515. },
  5516. "hasencrypt": {
  5517. "description": "数据是否已加密 - 0:未加密 1:已加密",
  5518. "type": "integer"
  5519. },
  5520. "headurl": {
  5521. "description": "头像地址",
  5522. "type": "string"
  5523. },
  5524. "legalcardbackphotourl": {
  5525. "description": "法人身份证背面照地址",
  5526. "type": "string"
  5527. },
  5528. "legalcardfrontphotourl": {
  5529. "description": "法人身份证正面照地址",
  5530. "type": "string"
  5531. },
  5532. "legalpersonname": {
  5533. "description": "法人姓名(企业)",
  5534. "type": "string"
  5535. },
  5536. "mobile": {
  5537. "description": "手机号码(加密存储)",
  5538. "type": "string"
  5539. },
  5540. "mobile2": {
  5541. "description": "手机号码[明文-尚志]",
  5542. "type": "string"
  5543. },
  5544. "modifierid": {
  5545. "description": "修改人",
  5546. "type": "integer"
  5547. },
  5548. "modifiertime": {
  5549. "description": "修改时间",
  5550. "type": "string"
  5551. },
  5552. "needinvoice": {
  5553. "description": "是否需要发票 - 0:不需要 1:需要",
  5554. "type": "integer"
  5555. },
  5556. "nickname": {
  5557. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  5558. "type": "string"
  5559. },
  5560. "openmode": {
  5561. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  5562. "type": "integer"
  5563. },
  5564. "otherurl": {
  5565. "description": "其它图片地址[使用分号分隔]",
  5566. "type": "string"
  5567. },
  5568. "postalcode": {
  5569. "description": "邮政编码",
  5570. "type": "string"
  5571. },
  5572. "provinceid": {
  5573. "description": "省",
  5574. "type": "integer"
  5575. },
  5576. "qq": {
  5577. "description": "QQ(加密存储",
  5578. "type": "string"
  5579. },
  5580. "remark": {
  5581. "description": "备注",
  5582. "type": "string"
  5583. },
  5584. "sex": {
  5585. "description": "用户性别 0: 女 1: 男",
  5586. "type": "integer"
  5587. },
  5588. "signpdfurl": {
  5589. "description": "签约pdf文件",
  5590. "type": "string"
  5591. },
  5592. "telphone": {
  5593. "description": "联系电话(加密存储)",
  5594. "type": "string"
  5595. },
  5596. "userid": {
  5597. "description": "用户ID",
  5598. "type": "integer"
  5599. },
  5600. "userinfotype": {
  5601. "description": "用户信息类型 - 1:个人 2:企业",
  5602. "type": "integer"
  5603. },
  5604. "userstatus": {
  5605. "description": "用户状态 - 1:正常 2:注销",
  5606. "type": "integer"
  5607. },
  5608. "usertype": {
  5609. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  5610. "type": "integer"
  5611. },
  5612. "wechat": {
  5613. "description": "微信(加密存储)",
  5614. "type": "string"
  5615. },
  5616. "wskhinfo": {
  5617. "description": "开户申请信息(JSON)",
  5618. "type": "string"
  5619. }
  5620. }
  5621. },
  5622. "order.QueryHisTradeDetailRsp": {
  5623. "type": "object",
  5624. "required": [
  5625. "accountid",
  5626. "buyorsell",
  5627. "goodsid",
  5628. "histradedate",
  5629. "marketid",
  5630. "memberuserid",
  5631. "orderid",
  5632. "tradeamount",
  5633. "tradedate",
  5634. "tradeid",
  5635. "tradeprice",
  5636. "tradeqty",
  5637. "tradetime"
  5638. ],
  5639. "properties": {
  5640. "accountid": {
  5641. "description": "账户ID[报价币种]",
  5642. "type": "integer"
  5643. },
  5644. "buildtype": {
  5645. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  5646. "type": "integer"
  5647. },
  5648. "buyorsell": {
  5649. "description": "方向 - 0:买 1:卖",
  5650. "type": "integer"
  5651. },
  5652. "charge": {
  5653. "description": "手续费",
  5654. "type": "number"
  5655. },
  5656. "closecharge": {
  5657. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  5658. "type": "number"
  5659. },
  5660. "closeexchagechargevalue": {
  5661. "description": "平仓交易所手续费设置值",
  5662. "type": "number"
  5663. },
  5664. "closefeealgorithm": {
  5665. "description": "平仓手续费收取方式 1:比率 2:固定",
  5666. "type": "integer"
  5667. },
  5668. "closememberchargevalue": {
  5669. "description": "平仓会员手续费设置值",
  5670. "type": "number"
  5671. },
  5672. "closepl": {
  5673. "description": "平仓盈亏",
  5674. "type": "number"
  5675. },
  5676. "closepl2": {
  5677. "description": "平仓盈亏[逐笔]",
  5678. "type": "number"
  5679. },
  5680. "closeqty": {
  5681. "description": "平仓数量(先建后平操作 需要记录)",
  5682. "type": "integer"
  5683. },
  5684. "creditamount": {
  5685. "description": "授信金额",
  5686. "type": "number"
  5687. },
  5688. "gcaccountid": {
  5689. "description": "账户ID[合约币种]",
  5690. "type": "integer"
  5691. },
  5692. "goodscode": {
  5693. "description": "商品代码",
  5694. "type": "string"
  5695. },
  5696. "goodsid": {
  5697. "description": "商品ID",
  5698. "type": "integer"
  5699. },
  5700. "goodsname": {
  5701. "description": "商品名称",
  5702. "type": "string"
  5703. },
  5704. "histradedate": {
  5705. "description": "历史交易日",
  5706. "type": "string"
  5707. },
  5708. "intclosepl": {
  5709. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  5710. "type": "integer"
  5711. },
  5712. "isconfirmexercise": {
  5713. "description": "是否确认行权- 0:否 1:是",
  5714. "type": "integer"
  5715. },
  5716. "ismain": {
  5717. "description": "是否主单 - 0:不是 1:是",
  5718. "type": "integer"
  5719. },
  5720. "ispreexercise": {
  5721. "description": "是否预申报- 0:否 1:是",
  5722. "type": "integer"
  5723. },
  5724. "isreckoned": {
  5725. "description": "是否结算 - 0:未结算 1:已结算",
  5726. "type": "integer"
  5727. },
  5728. "isvaliddata": {
  5729. "description": "是否有效 - 0:无效 1:有效",
  5730. "type": "integer"
  5731. },
  5732. "listingselecttype": {
  5733. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5734. "type": "integer"
  5735. },
  5736. "marketid": {
  5737. "description": "市场ID",
  5738. "type": "integer"
  5739. },
  5740. "marketname": {
  5741. "description": "市场名称",
  5742. "type": "string"
  5743. },
  5744. "matchaccountid": {
  5745. "description": "对手账号id",
  5746. "type": "integer"
  5747. },
  5748. "memberuserid": {
  5749. "description": "会员id 个人投资者 需要填写",
  5750. "type": "integer"
  5751. },
  5752. "opencharge": {
  5753. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  5754. "type": "number"
  5755. },
  5756. "openexchagechargevalue": {
  5757. "description": "建仓交易所手续费设置值",
  5758. "type": "number"
  5759. },
  5760. "openfeealgorithm": {
  5761. "description": "建仓手续费收取方式 1:比率 2:固定",
  5762. "type": "integer"
  5763. },
  5764. "openmemberchargevalue": {
  5765. "description": "建仓会员手续费设置值",
  5766. "type": "number"
  5767. },
  5768. "openqty": {
  5769. "description": "开仓数量(先建后平操作 需要记录)",
  5770. "type": "integer"
  5771. },
  5772. "optiontype": {
  5773. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5774. "type": "integer"
  5775. },
  5776. "orderid": {
  5777. "description": "委托单号",
  5778. "type": "string"
  5779. },
  5780. "performanceplanid": {
  5781. "description": "履约计划ID[期权]",
  5782. "type": "integer"
  5783. },
  5784. "performancestatus": {
  5785. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  5786. "type": "integer"
  5787. },
  5788. "preexerciseprice": {
  5789. "description": "预申报价格",
  5790. "type": "number"
  5791. },
  5792. "premium": {
  5793. "description": "权利金 - [持仓单的权利金]",
  5794. "type": "number"
  5795. },
  5796. "relatedouttradeid": {
  5797. "description": "关联外部成交单ID",
  5798. "type": "integer"
  5799. },
  5800. "status": {
  5801. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  5802. "type": "integer"
  5803. },
  5804. "tradeamount": {
  5805. "description": "成交金额[账户币种,用于所有权]",
  5806. "type": "number"
  5807. },
  5808. "tradedate": {
  5809. "description": "交易日(yyyyMMdd)",
  5810. "type": "string"
  5811. },
  5812. "tradeid": {
  5813. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5814. "type": "string"
  5815. },
  5816. "trademode": {
  5817. "description": "交易模式",
  5818. "type": "integer"
  5819. },
  5820. "tradeprice": {
  5821. "description": "成交价格",
  5822. "type": "number"
  5823. },
  5824. "tradeproperty": {
  5825. "description": "交易属性",
  5826. "type": "integer"
  5827. },
  5828. "tradeqty": {
  5829. "description": "成交数量",
  5830. "type": "integer"
  5831. },
  5832. "tradetime": {
  5833. "description": "成交时间",
  5834. "type": "string"
  5835. },
  5836. "tradetype": {
  5837. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  5838. "type": "integer"
  5839. }
  5840. }
  5841. },
  5842. "order.QueryHisTradeOrderDetailRsp": {
  5843. "type": "object",
  5844. "required": [
  5845. "accountid",
  5846. "buildtype",
  5847. "buyorsell",
  5848. "goodsid",
  5849. "histradedate",
  5850. "marketid",
  5851. "memberuserid",
  5852. "operatetype",
  5853. "orderid",
  5854. "orderqty",
  5855. "ordertime",
  5856. "pricemode",
  5857. "tradedate",
  5858. "validtype"
  5859. ],
  5860. "properties": {
  5861. "accountid": {
  5862. "description": "账户ID[报价币种]",
  5863. "type": "integer"
  5864. },
  5865. "buildtype": {
  5866. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5867. "type": "integer"
  5868. },
  5869. "buyorsell": {
  5870. "description": "买卖 - 0:买 1:卖",
  5871. "type": "integer"
  5872. },
  5873. "cancelorderid": {
  5874. "description": "撤单单号(撤单时填写)",
  5875. "type": "string"
  5876. },
  5877. "cancelqty": {
  5878. "description": "撤单数量",
  5879. "type": "integer"
  5880. },
  5881. "clientordertime": {
  5882. "description": "客户端委托时间",
  5883. "type": "string"
  5884. },
  5885. "clientticket": {
  5886. "description": "客户端流水号",
  5887. "type": "string"
  5888. },
  5889. "clienttype": {
  5890. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5891. "type": "integer"
  5892. },
  5893. "closeexchagechargevalue": {
  5894. "description": "平仓交易所手续费设置值",
  5895. "type": "number"
  5896. },
  5897. "closefeealgorithm": {
  5898. "description": "平仓手续费收取方式 1:比率 2:固定",
  5899. "type": "integer"
  5900. },
  5901. "closefreezecharge": {
  5902. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5903. "type": "number"
  5904. },
  5905. "closememberchargevalue": {
  5906. "description": "平仓会员手续费设置值",
  5907. "type": "number"
  5908. },
  5909. "closeqty": {
  5910. "description": "平仓数量(先建后平操作 需要记录)",
  5911. "type": "integer"
  5912. },
  5913. "closetradeqty": {
  5914. "description": "平仓成交数量(先建后平操作,需要记录)",
  5915. "type": "integer"
  5916. },
  5917. "closeunfreezecharge": {
  5918. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5919. "type": "number"
  5920. },
  5921. "delistingtype": {
  5922. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5923. "type": "integer"
  5924. },
  5925. "freezecharge": {
  5926. "description": "冻结手续费",
  5927. "type": "number"
  5928. },
  5929. "freezemargin": {
  5930. "description": "冻结保证金(冻结交易金额)",
  5931. "type": "number"
  5932. },
  5933. "gcaccountid": {
  5934. "description": "账户ID[合约币种]",
  5935. "type": "integer"
  5936. },
  5937. "goodscode": {
  5938. "description": "商品代码",
  5939. "type": "string"
  5940. },
  5941. "goodsid": {
  5942. "description": "商品ID",
  5943. "type": "integer"
  5944. },
  5945. "goodsname": {
  5946. "description": "商品名称",
  5947. "type": "string"
  5948. },
  5949. "histradedate": {
  5950. "description": "历史交易日",
  5951. "type": "string"
  5952. },
  5953. "isconfirmexercise": {
  5954. "description": "是否确认行权- 0:否 1:是",
  5955. "type": "integer"
  5956. },
  5957. "ispreexercise": {
  5958. "description": "是否预申报- 0:否 1:是",
  5959. "type": "integer"
  5960. },
  5961. "isvaliddata": {
  5962. "description": "是否有效 - 0:无效 1:有效",
  5963. "type": "integer"
  5964. },
  5965. "listingselecttype": {
  5966. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5967. "type": "integer"
  5968. },
  5969. "marginalgorithm": {
  5970. "description": "保证金收取方式 1:比率 2:固定",
  5971. "type": "integer"
  5972. },
  5973. "marginvalue": {
  5974. "description": "即市保证金设置值",
  5975. "type": "number"
  5976. },
  5977. "marketid": {
  5978. "description": "市场ID",
  5979. "type": "integer"
  5980. },
  5981. "marketmaxsub": {
  5982. "description": "市价最大偏移范围",
  5983. "type": "number"
  5984. },
  5985. "marketname": {
  5986. "description": "市场名称",
  5987. "type": "string"
  5988. },
  5989. "memberuserid": {
  5990. "description": "所属会员UserID",
  5991. "type": "integer"
  5992. },
  5993. "openexchagechargevalue": {
  5994. "description": "建仓交易所手续费设置值",
  5995. "type": "number"
  5996. },
  5997. "openfeealgorithm": {
  5998. "description": "建仓手续费收取方式 1:比率 2:固定",
  5999. "type": "integer"
  6000. },
  6001. "openfreezecharge": {
  6002. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6003. "type": "number"
  6004. },
  6005. "openmemberchargevalue": {
  6006. "description": "建仓会员手续费设置值",
  6007. "type": "number"
  6008. },
  6009. "openqty": {
  6010. "description": "开仓数量(先建后平操作,需要记录)",
  6011. "type": "integer"
  6012. },
  6013. "opentradeqty": {
  6014. "description": "开仓成交数量(先建后平操作,需要记录)",
  6015. "type": "integer"
  6016. },
  6017. "openunfreezecharge": {
  6018. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6019. "type": "number"
  6020. },
  6021. "operatetype": {
  6022. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6023. "type": "integer"
  6024. },
  6025. "operatorid": {
  6026. "description": "登录账号(LoginID)",
  6027. "type": "integer"
  6028. },
  6029. "optiontype": {
  6030. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6031. "type": "integer"
  6032. },
  6033. "orderid": {
  6034. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6035. "type": "string"
  6036. },
  6037. "orderprice": {
  6038. "description": "委托价格",
  6039. "type": "number"
  6040. },
  6041. "orderqty": {
  6042. "description": "委托数量",
  6043. "type": "integer"
  6044. },
  6045. "ordersrc": {
  6046. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6047. "type": "integer"
  6048. },
  6049. "orderstatus": {
  6050. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6051. "type": "integer"
  6052. },
  6053. "ordertime": {
  6054. "description": "委托时间",
  6055. "type": "string"
  6056. },
  6057. "preexerciseprice": {
  6058. "description": "预申报价格",
  6059. "type": "number"
  6060. },
  6061. "premium": {
  6062. "description": "权利金",
  6063. "type": "number"
  6064. },
  6065. "preorderid": {
  6066. "description": "关联预埋单号(止盈止损单时填写)",
  6067. "type": "string"
  6068. },
  6069. "pricemode": {
  6070. "description": "取价方式 - 1:市价 2: 限价",
  6071. "type": "integer"
  6072. },
  6073. "quoteid": {
  6074. "description": "报价单ID",
  6075. "type": "integer"
  6076. },
  6077. "relatedid": {
  6078. "description": "关联单号(交割单)",
  6079. "type": "string"
  6080. },
  6081. "retcode": {
  6082. "description": "错误代码",
  6083. "type": "integer"
  6084. },
  6085. "sessionid": {
  6086. "description": "会话ID",
  6087. "type": "integer"
  6088. },
  6089. "tradedate": {
  6090. "description": "交易日(yyyyMMdd)",
  6091. "type": "string"
  6092. },
  6093. "trademode": {
  6094. "description": "交易模式",
  6095. "type": "integer"
  6096. },
  6097. "tradeproperty": {
  6098. "description": "交易属性",
  6099. "type": "integer"
  6100. },
  6101. "tradeqty": {
  6102. "description": "成交数量",
  6103. "type": "integer"
  6104. },
  6105. "unfreezecharge": {
  6106. "description": "解冻手续费",
  6107. "type": "number"
  6108. },
  6109. "unfreezemargin": {
  6110. "description": "解冻保证金",
  6111. "type": "number"
  6112. },
  6113. "updatetime": {
  6114. "description": "更新时间",
  6115. "type": "string"
  6116. },
  6117. "uuid": {
  6118. "description": "发起端唯一id",
  6119. "type": "string"
  6120. },
  6121. "validtime": {
  6122. "description": "有效期限",
  6123. "type": "string"
  6124. },
  6125. "validtype": {
  6126. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6127. "type": "integer"
  6128. },
  6129. "volumetype": {
  6130. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6131. "type": "integer"
  6132. }
  6133. }
  6134. },
  6135. "order.QueryTradeDetailRsp": {
  6136. "type": "object",
  6137. "required": [
  6138. "accountid",
  6139. "buyorsell",
  6140. "goodsid",
  6141. "marketid",
  6142. "memberuserid",
  6143. "orderid",
  6144. "tradeamount",
  6145. "tradedate",
  6146. "tradeid",
  6147. "tradeprice",
  6148. "tradeqty",
  6149. "tradetime"
  6150. ],
  6151. "properties": {
  6152. "accountid": {
  6153. "description": "账户ID[报价币种]",
  6154. "type": "integer"
  6155. },
  6156. "buildtype": {
  6157. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  6158. "type": "integer"
  6159. },
  6160. "buyorsell": {
  6161. "description": "方向 - 0:买 1:卖",
  6162. "type": "integer"
  6163. },
  6164. "charge": {
  6165. "description": "手续费",
  6166. "type": "number"
  6167. },
  6168. "closecharge": {
  6169. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  6170. "type": "number"
  6171. },
  6172. "closeexchagechargevalue": {
  6173. "description": "平仓交易所手续费设置值",
  6174. "type": "number"
  6175. },
  6176. "closefeealgorithm": {
  6177. "description": "平仓手续费收取方式 1:比率 2:固定",
  6178. "type": "integer"
  6179. },
  6180. "closememberchargevalue": {
  6181. "description": "平仓会员手续费设置值",
  6182. "type": "number"
  6183. },
  6184. "closepl": {
  6185. "description": "平仓盈亏",
  6186. "type": "number"
  6187. },
  6188. "closepl2": {
  6189. "description": "平仓盈亏[逐笔]",
  6190. "type": "number"
  6191. },
  6192. "closeqty": {
  6193. "description": "平仓数量(先建后平操作 需要记录)",
  6194. "type": "integer"
  6195. },
  6196. "creditamount": {
  6197. "description": "授信金额",
  6198. "type": "number"
  6199. },
  6200. "gcaccountid": {
  6201. "description": "账户ID[合约币种]",
  6202. "type": "integer"
  6203. },
  6204. "goodscode": {
  6205. "description": "商品代码",
  6206. "type": "string"
  6207. },
  6208. "goodsid": {
  6209. "description": "商品ID",
  6210. "type": "integer"
  6211. },
  6212. "goodsname": {
  6213. "description": "商品名称",
  6214. "type": "string"
  6215. },
  6216. "intclosepl": {
  6217. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  6218. "type": "integer"
  6219. },
  6220. "isconfirmexercise": {
  6221. "description": "是否确认行权- 0:否 1:是",
  6222. "type": "integer"
  6223. },
  6224. "ismain": {
  6225. "description": "是否主单 - 0:不是 1:是",
  6226. "type": "integer"
  6227. },
  6228. "ispreexercise": {
  6229. "description": "是否预申报- 0:否 1:是",
  6230. "type": "integer"
  6231. },
  6232. "isreckoned": {
  6233. "description": "是否结算 - 0:未结算 1:已结算",
  6234. "type": "integer"
  6235. },
  6236. "listingselecttype": {
  6237. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6238. "type": "integer"
  6239. },
  6240. "marketid": {
  6241. "description": "市场ID",
  6242. "type": "integer"
  6243. },
  6244. "marketname": {
  6245. "description": "市场名称",
  6246. "type": "string"
  6247. },
  6248. "matchaccountid": {
  6249. "description": "对手账号id",
  6250. "type": "integer"
  6251. },
  6252. "memberuserid": {
  6253. "description": "会员id 个人投资者 需要填写",
  6254. "type": "integer"
  6255. },
  6256. "opencharge": {
  6257. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  6258. "type": "number"
  6259. },
  6260. "openexchagechargevalue": {
  6261. "description": "建仓交易所手续费设置值",
  6262. "type": "number"
  6263. },
  6264. "openfeealgorithm": {
  6265. "description": "建仓手续费收取方式 1:比率 2:固定",
  6266. "type": "integer"
  6267. },
  6268. "openmemberchargevalue": {
  6269. "description": "建仓会员手续费设置值",
  6270. "type": "number"
  6271. },
  6272. "openqty": {
  6273. "description": "开仓数量(先建后平操作 需要记录)",
  6274. "type": "integer"
  6275. },
  6276. "optiontype": {
  6277. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6278. "type": "integer"
  6279. },
  6280. "orderid": {
  6281. "description": "委托单号",
  6282. "type": "string"
  6283. },
  6284. "performanceplanid": {
  6285. "description": "履约计划ID[期权]",
  6286. "type": "integer"
  6287. },
  6288. "performancestatus": {
  6289. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  6290. "type": "integer"
  6291. },
  6292. "preexerciseprice": {
  6293. "description": "预申报价格",
  6294. "type": "number"
  6295. },
  6296. "premium": {
  6297. "description": "权利金 - [持仓单的权利金]",
  6298. "type": "number"
  6299. },
  6300. "relatedouttradeid": {
  6301. "description": "关联外部成交单ID",
  6302. "type": "integer"
  6303. },
  6304. "status": {
  6305. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  6306. "type": "integer"
  6307. },
  6308. "tradeamount": {
  6309. "description": "成交金额[账户币种,用于所有权]",
  6310. "type": "number"
  6311. },
  6312. "tradedate": {
  6313. "description": "交易日(yyyyMMdd)",
  6314. "type": "string"
  6315. },
  6316. "tradeid": {
  6317. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6318. "type": "string"
  6319. },
  6320. "trademode": {
  6321. "description": "交易模式",
  6322. "type": "integer"
  6323. },
  6324. "tradeprice": {
  6325. "description": "成交价格",
  6326. "type": "number"
  6327. },
  6328. "tradeproperty": {
  6329. "description": "交易属性",
  6330. "type": "integer"
  6331. },
  6332. "tradeqty": {
  6333. "description": "成交数量",
  6334. "type": "integer"
  6335. },
  6336. "tradetime": {
  6337. "description": "成交时间",
  6338. "type": "string"
  6339. },
  6340. "tradetype": {
  6341. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  6342. "type": "integer"
  6343. }
  6344. }
  6345. },
  6346. "order.QueryTradeOrderDetailRsp": {
  6347. "type": "object",
  6348. "required": [
  6349. "accountid",
  6350. "buildtype",
  6351. "buyorsell",
  6352. "goodsid",
  6353. "marketid",
  6354. "operatetype",
  6355. "orderqty",
  6356. "ordertime",
  6357. "pricemode",
  6358. "tradedate",
  6359. "validtype"
  6360. ],
  6361. "properties": {
  6362. "accountid": {
  6363. "description": "账户ID[报价币种]",
  6364. "type": "integer"
  6365. },
  6366. "buildtype": {
  6367. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6368. "type": "integer"
  6369. },
  6370. "buyorsell": {
  6371. "description": "买卖 - 0:买 1:卖",
  6372. "type": "integer"
  6373. },
  6374. "cancelorderid": {
  6375. "description": "撤单单号(撤单时填写)",
  6376. "type": "string"
  6377. },
  6378. "cancelqty": {
  6379. "description": "撤单数量",
  6380. "type": "integer"
  6381. },
  6382. "clienttype": {
  6383. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6384. "type": "integer"
  6385. },
  6386. "closefreezecharge": {
  6387. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6388. "type": "number"
  6389. },
  6390. "closeqty": {
  6391. "description": "平仓数量(先建后平操作 需要记录)",
  6392. "type": "integer"
  6393. },
  6394. "closetradeqty": {
  6395. "description": "平仓成交数量(先建后平操作,需要记录)",
  6396. "type": "integer"
  6397. },
  6398. "closeunfreezecharge": {
  6399. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6400. "type": "number"
  6401. },
  6402. "delistingtype": {
  6403. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6404. "type": "integer"
  6405. },
  6406. "enableqty": {
  6407. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  6408. "type": "integer"
  6409. },
  6410. "freezecharge": {
  6411. "description": "冻结手续费",
  6412. "type": "number"
  6413. },
  6414. "freezemargin": {
  6415. "description": "冻结保证金(冻结交易金额)",
  6416. "type": "number"
  6417. },
  6418. "goodscode": {
  6419. "description": "商品代码",
  6420. "type": "string"
  6421. },
  6422. "goodsid": {
  6423. "description": "商品ID",
  6424. "type": "integer"
  6425. },
  6426. "goodsname": {
  6427. "description": "商品名称",
  6428. "type": "string"
  6429. },
  6430. "listingselecttype": {
  6431. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6432. "type": "integer"
  6433. },
  6434. "marketid": {
  6435. "description": "市场ID",
  6436. "type": "integer"
  6437. },
  6438. "marketname": {
  6439. "description": "市场名称",
  6440. "type": "string"
  6441. },
  6442. "openfreezecharge": {
  6443. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6444. "type": "number"
  6445. },
  6446. "openqty": {
  6447. "description": "开仓数量(先建后平操作,需要记录)",
  6448. "type": "integer"
  6449. },
  6450. "opentradeqty": {
  6451. "description": "开仓成交数量(先建后平操作,需要记录)",
  6452. "type": "integer"
  6453. },
  6454. "openunfreezecharge": {
  6455. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6456. "type": "number"
  6457. },
  6458. "operatetype": {
  6459. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6460. "type": "integer"
  6461. },
  6462. "operatorid": {
  6463. "description": "登录账号(LoginID)",
  6464. "type": "integer"
  6465. },
  6466. "orderid": {
  6467. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6468. "type": "string"
  6469. },
  6470. "orderprice": {
  6471. "description": "委托价格",
  6472. "type": "number"
  6473. },
  6474. "orderqty": {
  6475. "description": "委托数量",
  6476. "type": "integer"
  6477. },
  6478. "ordersrc": {
  6479. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6480. "type": "integer"
  6481. },
  6482. "orderstatus": {
  6483. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6484. "type": "integer"
  6485. },
  6486. "ordertime": {
  6487. "description": "委托时间",
  6488. "type": "string"
  6489. },
  6490. "preorderid": {
  6491. "description": "关联预埋单号(止盈止损单时填写)",
  6492. "type": "string"
  6493. },
  6494. "pricemode": {
  6495. "description": "取价方式 - 1:市价 2: 限价",
  6496. "type": "integer"
  6497. },
  6498. "relatedid": {
  6499. "description": "关联单号(交割单)",
  6500. "type": "string"
  6501. },
  6502. "tradedate": {
  6503. "description": "交易日(yyyyMMdd)",
  6504. "type": "string"
  6505. },
  6506. "trademode": {
  6507. "description": "交易模式",
  6508. "type": "integer"
  6509. },
  6510. "tradeqty": {
  6511. "description": "成交数量",
  6512. "type": "integer"
  6513. },
  6514. "unfreezecharge": {
  6515. "description": "解冻手续费",
  6516. "type": "number"
  6517. },
  6518. "unfreezemargin": {
  6519. "description": "解冻保证金",
  6520. "type": "number"
  6521. },
  6522. "validtime": {
  6523. "description": "有效期限",
  6524. "type": "string"
  6525. },
  6526. "validtype": {
  6527. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6528. "type": "integer"
  6529. },
  6530. "volumetype": {
  6531. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6532. "type": "integer"
  6533. }
  6534. }
  6535. },
  6536. "order.QueryTradePositionRsp": {
  6537. "type": "object",
  6538. "required": [
  6539. "goodsid"
  6540. ],
  6541. "properties": {
  6542. "accountid": {
  6543. "description": "资金账户",
  6544. "type": "integer"
  6545. },
  6546. "agreeunit": {
  6547. "description": "合约单位",
  6548. "type": "number"
  6549. },
  6550. "averageprice": {
  6551. "description": "持仓均价",
  6552. "type": "number"
  6553. },
  6554. "buyorsell": {
  6555. "description": "方向 - 0:买 1:卖",
  6556. "type": "integer"
  6557. },
  6558. "closetotalqty": {
  6559. "description": "平仓总数量",
  6560. "type": "integer"
  6561. },
  6562. "curholderamount": {
  6563. "description": "当前持仓总金额[商品币种]",
  6564. "type": "number"
  6565. },
  6566. "curpositionqty": {
  6567. "description": "当前持仓总数量",
  6568. "type": "integer"
  6569. },
  6570. "currencyid": {
  6571. "description": "报价货币ID",
  6572. "type": "integer"
  6573. },
  6574. "curtdposition": {
  6575. "description": "期末今日头寸",
  6576. "type": "integer"
  6577. },
  6578. "decimalplace": {
  6579. "description": "报价小数位",
  6580. "type": "integer"
  6581. },
  6582. "enableqty": {
  6583. "description": "可用量",
  6584. "type": "integer"
  6585. },
  6586. "fretdposition": {
  6587. "description": "冻结今日头寸",
  6588. "type": "integer"
  6589. },
  6590. "frozenqty": {
  6591. "description": "持仓冻结数量",
  6592. "type": "integer"
  6593. },
  6594. "goodscode": {
  6595. "description": "商品代码",
  6596. "type": "string"
  6597. },
  6598. "goodsid": {
  6599. "description": "商品Id",
  6600. "type": "integer"
  6601. },
  6602. "goodsname": {
  6603. "description": "商品名称",
  6604. "type": "string"
  6605. },
  6606. "goodunit": {
  6607. "description": "报价单位",
  6608. "type": "string"
  6609. },
  6610. "goodunitid": {
  6611. "description": "报价单位ID",
  6612. "type": "integer"
  6613. },
  6614. "holderamount": {
  6615. "description": "期初持仓总金额[商品币种]",
  6616. "type": "number"
  6617. },
  6618. "marketid": {
  6619. "description": "所属市场ID",
  6620. "type": "integer"
  6621. },
  6622. "openreqqty": {
  6623. "description": "开仓申请数量(用于比较最大持仓数量)",
  6624. "type": "integer"
  6625. },
  6626. "opentotalqty": {
  6627. "description": "开仓总数量",
  6628. "type": "integer"
  6629. },
  6630. "otherfrozenqty": {
  6631. "description": "持仓其他冻结数量(交割冻结)",
  6632. "type": "integer"
  6633. },
  6634. "positionqty": {
  6635. "description": "期初持仓数量",
  6636. "type": "integer"
  6637. },
  6638. "tnqty": {
  6639. "description": "T+N冻结总量",
  6640. "type": "integer"
  6641. },
  6642. "tnusedqty": {
  6643. "description": "T+N使用量(可以使用T+N的冻结数量)",
  6644. "type": "integer"
  6645. },
  6646. "trademode": {
  6647. "description": "交易模式",
  6648. "type": "integer"
  6649. }
  6650. }
  6651. },
  6652. "quote.HistoryData": {
  6653. "type": "object",
  6654. "properties": {
  6655. "c": {
  6656. "description": "收盘价",
  6657. "type": "number"
  6658. },
  6659. "h": {
  6660. "description": "最高价",
  6661. "type": "number"
  6662. },
  6663. "hv": {
  6664. "description": "持仓量",
  6665. "type": "integer"
  6666. },
  6667. "l": {
  6668. "description": "最低价",
  6669. "type": "number"
  6670. },
  6671. "o": {
  6672. "description": "开盘价",
  6673. "type": "number"
  6674. },
  6675. "s": {
  6676. "description": "结算价,日线周期(包括)以上才有",
  6677. "type": "number"
  6678. },
  6679. "ts": {
  6680. "description": "时间",
  6681. "type": "string"
  6682. },
  6683. "tt": {
  6684. "description": "总金额",
  6685. "type": "number"
  6686. },
  6687. "tv": {
  6688. "description": "总量",
  6689. "type": "integer"
  6690. }
  6691. }
  6692. },
  6693. "quote.QueryTSDataRsp": {
  6694. "type": "object",
  6695. "properties": {
  6696. "decimalPlace": {
  6697. "description": "小数位",
  6698. "type": "integer"
  6699. },
  6700. "endTime": {
  6701. "description": "结束时间",
  6702. "type": "string"
  6703. },
  6704. "goodsCode": {
  6705. "description": "商品代码",
  6706. "type": "string"
  6707. },
  6708. "historyDatas": {
  6709. "description": "历史数据",
  6710. "type": "array",
  6711. "items": {
  6712. "$ref": "#/definitions/quote.HistoryData"
  6713. }
  6714. },
  6715. "preSettle": {
  6716. "description": "昨结",
  6717. "type": "number"
  6718. },
  6719. "startTime": {
  6720. "description": "开始时间",
  6721. "type": "string"
  6722. },
  6723. "tradeDate": {
  6724. "description": "交易日",
  6725. "type": "string"
  6726. }
  6727. }
  6728. },
  6729. "szdz.QueryConvertLogRsp": {
  6730. "type": "object",
  6731. "required": [
  6732. "logid"
  6733. ],
  6734. "properties": {
  6735. "accountid": {
  6736. "description": "资金账户ID",
  6737. "type": "integer"
  6738. },
  6739. "clientticket": {
  6740. "description": "客户端流水号",
  6741. "type": "string"
  6742. },
  6743. "converttype": {
  6744. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  6745. "type": "integer"
  6746. },
  6747. "createtime": {
  6748. "description": "记账时间",
  6749. "type": "string"
  6750. },
  6751. "daymaxvalue": {
  6752. "description": "配置当日最大转入限制",
  6753. "type": "number"
  6754. },
  6755. "daymaxvalue2": {
  6756. "description": "配置当日最大转入限制(转入)",
  6757. "type": "number"
  6758. },
  6759. "goodscode": {
  6760. "description": "商品代码",
  6761. "type": "string"
  6762. },
  6763. "goodsname": {
  6764. "description": "商品名称",
  6765. "type": "string"
  6766. },
  6767. "handlestatus": {
  6768. "description": "处理状态",
  6769. "type": "integer"
  6770. },
  6771. "innergoodsid": {
  6772. "description": "内部商品ID",
  6773. "type": "integer"
  6774. },
  6775. "inratio": {
  6776. "description": "配置转入比值",
  6777. "type": "integer"
  6778. },
  6779. "invalue": {
  6780. "description": "目标值",
  6781. "type": "number"
  6782. },
  6783. "logid": {
  6784. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6785. "type": "integer"
  6786. },
  6787. "mobile": {
  6788. "description": "手机号码(加密存储)",
  6789. "type": "string"
  6790. },
  6791. "outergoodscode": {
  6792. "description": "外部商品代码[JD\\PD]",
  6793. "type": "string"
  6794. },
  6795. "outratio": {
  6796. "description": "配置转出比值",
  6797. "type": "integer"
  6798. },
  6799. "outvalue": {
  6800. "description": "源值",
  6801. "type": "number"
  6802. },
  6803. "pddecimalplace": {
  6804. "description": "PD小数位",
  6805. "type": "integer"
  6806. },
  6807. "qty": {
  6808. "description": "数量",
  6809. "type": "string"
  6810. },
  6811. "remark": {
  6812. "description": "备注",
  6813. "type": "string"
  6814. },
  6815. "sessionid": {
  6816. "description": "会话ID",
  6817. "type": "integer"
  6818. },
  6819. "timemaxvalue": {
  6820. "description": "配置单次最大转入限制",
  6821. "type": "number"
  6822. },
  6823. "timemaxvalue2": {
  6824. "description": "配置单次最大转入限制(转入)",
  6825. "type": "number"
  6826. },
  6827. "timeminvalue": {
  6828. "description": "配置单次最小数量限制",
  6829. "type": "number"
  6830. },
  6831. "timeminvalue2": {
  6832. "description": "配置单次最小数量限制(转入)",
  6833. "type": "number"
  6834. },
  6835. "tradedate": {
  6836. "description": "交易日(yyyyMMdd)",
  6837. "type": "string"
  6838. },
  6839. "userid": {
  6840. "description": "用户ID",
  6841. "type": "integer"
  6842. }
  6843. }
  6844. },
  6845. "szdz.QueryGoodsPickupRsp": {
  6846. "type": "object",
  6847. "required": [
  6848. "takeorderid"
  6849. ],
  6850. "properties": {
  6851. "accountid": {
  6852. "description": "账户ID",
  6853. "type": "integer"
  6854. },
  6855. "address": {
  6856. "description": "提货人详细地址",
  6857. "type": "string"
  6858. },
  6859. "auditer": {
  6860. "description": "审核人",
  6861. "type": "integer"
  6862. },
  6863. "audittime": {
  6864. "description": "审核时间",
  6865. "type": "string"
  6866. },
  6867. "cardnum": {
  6868. "description": "提货人证件号码",
  6869. "type": "string"
  6870. },
  6871. "cardtypeid": {
  6872. "description": "提货人证件类型",
  6873. "type": "integer"
  6874. },
  6875. "checkremark": {
  6876. "description": "审核备注",
  6877. "type": "string"
  6878. },
  6879. "goodscode": {
  6880. "description": "商品代码",
  6881. "type": "string"
  6882. },
  6883. "goodsid": {
  6884. "description": "商品ID",
  6885. "type": "integer"
  6886. },
  6887. "goodsname": {
  6888. "description": "商品名称",
  6889. "type": "string"
  6890. },
  6891. "handlestatus": {
  6892. "description": "处理状态",
  6893. "type": "integer"
  6894. },
  6895. "marketid": {
  6896. "description": "市场ID",
  6897. "type": "integer"
  6898. },
  6899. "phonenum": {
  6900. "description": "提货人联系方式",
  6901. "type": "string"
  6902. },
  6903. "qty": {
  6904. "description": "提货数量",
  6905. "type": "number"
  6906. },
  6907. "recivername": {
  6908. "description": "提货人姓名",
  6909. "type": "string"
  6910. },
  6911. "reqtime": {
  6912. "description": "更新时间",
  6913. "type": "string"
  6914. },
  6915. "takemode": {
  6916. "description": "提货方式 - 2:自提 3:配送",
  6917. "type": "integer"
  6918. },
  6919. "takeorderid": {
  6920. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  6921. "type": "string"
  6922. },
  6923. "takeorderstatus": {
  6924. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6925. "type": "integer"
  6926. },
  6927. "takeremark": {
  6928. "description": "提货备注",
  6929. "type": "string"
  6930. },
  6931. "tradedate": {
  6932. "description": "交易日(yyyyMMdd)",
  6933. "type": "string"
  6934. },
  6935. "userid": {
  6936. "description": "用户ID",
  6937. "type": "integer"
  6938. }
  6939. }
  6940. },
  6941. "szdz.QueryRecieptOrderRsp": {
  6942. "type": "object",
  6943. "properties": {
  6944. "accountName": {
  6945. "description": "所属账号名称(已脱敏)",
  6946. "type": "string"
  6947. },
  6948. "accountid": {
  6949. "description": "资金账号",
  6950. "type": "integer"
  6951. },
  6952. "buyorsell": {
  6953. "description": "方向 - 0:买 1:卖",
  6954. "type": "integer"
  6955. },
  6956. "enableqty": {
  6957. "description": "可摘数量",
  6958. "type": "integer"
  6959. },
  6960. "goodscode": {
  6961. "description": "商品代码",
  6962. "type": "string"
  6963. },
  6964. "goodsid": {
  6965. "description": "商品ID",
  6966. "type": "integer"
  6967. },
  6968. "goodsname": {
  6969. "description": "商品名称",
  6970. "type": "string"
  6971. },
  6972. "orderid": {
  6973. "description": "委托单号",
  6974. "type": "string"
  6975. },
  6976. "orderprice": {
  6977. "description": "委托价格",
  6978. "type": "number"
  6979. },
  6980. "tradedate": {
  6981. "description": "交易日(yyyyMMdd)",
  6982. "type": "string"
  6983. }
  6984. }
  6985. },
  6986. "szdz.QuerySZDZTradePositionRsp": {
  6987. "type": "object",
  6988. "properties": {
  6989. "accountid": {
  6990. "description": "账号Id",
  6991. "type": "integer"
  6992. },
  6993. "agreeunit": {
  6994. "description": "合约单位",
  6995. "type": "number"
  6996. },
  6997. "averageprice": {
  6998. "description": "持仓均价",
  6999. "type": "number"
  7000. },
  7001. "buyorsell": {
  7002. "description": "方向 - 0:买 1:卖",
  7003. "type": "integer"
  7004. },
  7005. "closetotalqty": {
  7006. "description": "平仓总数量",
  7007. "type": "integer"
  7008. },
  7009. "curholderamount": {
  7010. "description": "当前持仓总金额",
  7011. "type": "number"
  7012. },
  7013. "curpositionqty": {
  7014. "description": "当前持仓总数量",
  7015. "type": "integer"
  7016. },
  7017. "currencyid": {
  7018. "description": "报价货币ID",
  7019. "type": "integer"
  7020. },
  7021. "curtdposition": {
  7022. "description": "期末今日头寸",
  7023. "type": "integer"
  7024. },
  7025. "decimalplace": {
  7026. "description": "报价小数位",
  7027. "type": "integer"
  7028. },
  7029. "enableqty": {
  7030. "description": "可用量",
  7031. "type": "integer"
  7032. },
  7033. "fretdposition": {
  7034. "description": "冻结今日头寸",
  7035. "type": "integer"
  7036. },
  7037. "frozenqty": {
  7038. "description": "持仓冻结数量",
  7039. "type": "integer"
  7040. },
  7041. "goodscode": {
  7042. "description": "商品代码(内部)",
  7043. "type": "string"
  7044. },
  7045. "goodsid": {
  7046. "description": "商品Id",
  7047. "type": "integer"
  7048. },
  7049. "goodsname": {
  7050. "description": "商品名称",
  7051. "type": "string"
  7052. },
  7053. "goodunit": {
  7054. "description": "报价单位",
  7055. "type": "string"
  7056. },
  7057. "goodunitid": {
  7058. "description": "报价单位ID",
  7059. "type": "integer"
  7060. },
  7061. "holderamount": {
  7062. "description": "期初持仓总金额",
  7063. "type": "number"
  7064. },
  7065. "marketid": {
  7066. "description": "市场ID",
  7067. "type": "integer"
  7068. },
  7069. "openreqqty": {
  7070. "description": "开仓申请数量",
  7071. "type": "integer"
  7072. },
  7073. "opentotalqty": {
  7074. "description": "开仓总数量",
  7075. "type": "integer"
  7076. },
  7077. "otherfrozenqty": {
  7078. "description": "持仓其他冻结数量(交割冻结)",
  7079. "type": "integer"
  7080. },
  7081. "positionqty": {
  7082. "description": "期初持仓数量",
  7083. "type": "integer"
  7084. },
  7085. "szdz3freezqty": {
  7086. "description": "尚志大宗转换冻结总数量",
  7087. "type": "integer"
  7088. },
  7089. "tnqty": {
  7090. "description": "T+N冻结总量",
  7091. "type": "integer"
  7092. },
  7093. "tnusedqty": {
  7094. "description": "T+N使用量",
  7095. "type": "integer"
  7096. },
  7097. "trademode": {
  7098. "description": "交易模式",
  7099. "type": "integer"
  7100. },
  7101. "usedmargin": {
  7102. "description": "占用保证金",
  7103. "type": "number"
  7104. }
  7105. }
  7106. },
  7107. "taaccount.QueryAmountLogRsp": {
  7108. "type": "object",
  7109. "required": [
  7110. "accountid",
  7111. "amount",
  7112. "amountadjusttype",
  7113. "autoid",
  7114. "balance",
  7115. "createtime",
  7116. "currentbalance",
  7117. "operatetype"
  7118. ],
  7119. "properties": {
  7120. "OPERATETYPENAME": {
  7121. "description": "资金操作类型名称",
  7122. "type": "string"
  7123. },
  7124. "accountid": {
  7125. "description": "资金账户ID",
  7126. "type": "integer"
  7127. },
  7128. "agoodscode": {
  7129. "description": "竞拍商品代码",
  7130. "type": "string"
  7131. },
  7132. "agoodsname": {
  7133. "description": "竞拍商品名称",
  7134. "type": "string"
  7135. },
  7136. "amount": {
  7137. "description": "资金金额",
  7138. "type": "number"
  7139. },
  7140. "amountadjusttype": {
  7141. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  7142. "type": "integer"
  7143. },
  7144. "autoid": {
  7145. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  7146. "type": "integer"
  7147. },
  7148. "balance": {
  7149. "description": "期初余额",
  7150. "type": "number"
  7151. },
  7152. "businesscode": {
  7153. "description": "业务编号",
  7154. "type": "integer"
  7155. },
  7156. "createtime": {
  7157. "description": "发生时间",
  7158. "type": "string"
  7159. },
  7160. "currencyid": {
  7161. "description": "币种ID",
  7162. "type": "integer"
  7163. },
  7164. "currentbalance": {
  7165. "description": "期末余额(变动后金额)",
  7166. "type": "number"
  7167. },
  7168. "dgoodscode": {
  7169. "description": "交割商品代码",
  7170. "type": "string"
  7171. },
  7172. "dgoodsname": {
  7173. "description": "交割商品名称",
  7174. "type": "string"
  7175. },
  7176. "goodscode": {
  7177. "description": "商品代码",
  7178. "type": "string"
  7179. },
  7180. "goodsid": {
  7181. "description": "商品ID",
  7182. "type": "integer"
  7183. },
  7184. "goodsname": {
  7185. "description": "商品名称",
  7186. "type": "string"
  7187. },
  7188. "marketid": {
  7189. "description": "市场ID",
  7190. "type": "integer"
  7191. },
  7192. "marketname": {
  7193. "description": "市场名称",
  7194. "type": "string"
  7195. },
  7196. "moneyticket": {
  7197. "description": "资金流水号:银行端流水号",
  7198. "type": "integer"
  7199. },
  7200. "operatetype": {
  7201. "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:营销收款",
  7202. "type": "integer"
  7203. },
  7204. "relationorderid": {
  7205. "description": "关联单号",
  7206. "type": "string"
  7207. },
  7208. "remark": {
  7209. "description": "备注",
  7210. "type": "string"
  7211. },
  7212. "trademode": {
  7213. "description": "交易模式",
  7214. "type": "integer"
  7215. }
  7216. }
  7217. },
  7218. "taaccount.QueryHisAmountLogRsp": {
  7219. "type": "object",
  7220. "required": [
  7221. "accountid",
  7222. "amount",
  7223. "amountadjusttype",
  7224. "autoid",
  7225. "balance",
  7226. "createtime",
  7227. "currentbalance",
  7228. "histradedate",
  7229. "operatetype"
  7230. ],
  7231. "properties": {
  7232. "OPERATETYPENAME": {
  7233. "description": "资金操作类型名称",
  7234. "type": "string"
  7235. },
  7236. "accountid": {
  7237. "description": "资金账户ID",
  7238. "type": "integer"
  7239. },
  7240. "agoodscode": {
  7241. "description": "竞拍商品代码",
  7242. "type": "string"
  7243. },
  7244. "agoodsname": {
  7245. "description": "竞拍商品名称",
  7246. "type": "string"
  7247. },
  7248. "amount": {
  7249. "description": "资金金额",
  7250. "type": "number"
  7251. },
  7252. "amountadjusttype": {
  7253. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  7254. "type": "integer"
  7255. },
  7256. "autoid": {
  7257. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  7258. "type": "integer"
  7259. },
  7260. "balance": {
  7261. "description": "期初余额",
  7262. "type": "number"
  7263. },
  7264. "businesscode": {
  7265. "description": "业务编号",
  7266. "type": "integer"
  7267. },
  7268. "createtime": {
  7269. "description": "发生时间",
  7270. "type": "string"
  7271. },
  7272. "currencyid": {
  7273. "description": "币种ID",
  7274. "type": "integer"
  7275. },
  7276. "currentbalance": {
  7277. "description": "期末余额(变动后金额)",
  7278. "type": "number"
  7279. },
  7280. "dgoodscode": {
  7281. "description": "交割商品代码",
  7282. "type": "string"
  7283. },
  7284. "dgoodsname": {
  7285. "description": "交割商品名称",
  7286. "type": "string"
  7287. },
  7288. "goodscode": {
  7289. "description": "商品代码",
  7290. "type": "string"
  7291. },
  7292. "goodsid": {
  7293. "description": "商品ID",
  7294. "type": "integer"
  7295. },
  7296. "goodsname": {
  7297. "description": "商品名称",
  7298. "type": "string"
  7299. },
  7300. "histradedate": {
  7301. "description": "历史交易日",
  7302. "type": "string"
  7303. },
  7304. "isvaliddata": {
  7305. "description": "是否有效 - 0:无效 1:有效",
  7306. "type": "integer"
  7307. },
  7308. "marketid": {
  7309. "description": "市场ID",
  7310. "type": "integer"
  7311. },
  7312. "marketname": {
  7313. "description": "市场名称",
  7314. "type": "string"
  7315. },
  7316. "moneyticket": {
  7317. "description": "资金流水号:银行端流水号",
  7318. "type": "integer"
  7319. },
  7320. "operatetype": {
  7321. "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:营销收款",
  7322. "type": "integer"
  7323. },
  7324. "relationorderid": {
  7325. "description": "关联单号",
  7326. "type": "string"
  7327. },
  7328. "remark": {
  7329. "description": "备注",
  7330. "type": "string"
  7331. },
  7332. "trademode": {
  7333. "description": "交易模式",
  7334. "type": "integer"
  7335. }
  7336. }
  7337. }
  7338. },
  7339. "securityDefinitions": {
  7340. "ApiKeyAuth": {
  7341. "type": "apiKey",
  7342. "name": "Authorization",
  7343. "in": "header"
  7344. }
  7345. }
  7346. }`
  7347. type swaggerInfo struct {
  7348. Version string
  7349. Host string
  7350. BasePath string
  7351. Schemes []string
  7352. Title string
  7353. Description string
  7354. }
  7355. // SwaggerInfo holds exported Swagger Info so clients can modify it
  7356. var SwaggerInfo = swaggerInfo{
  7357. Version: "1.0",
  7358. Host: "",
  7359. BasePath: "/api",
  7360. Schemes: []string{},
  7361. Title: "MTP2.0 查询服务 API",
  7362. Description: "新的查询服务,替代原通用查询服务。",
  7363. }
  7364. type s struct{}
  7365. func (s *s) ReadDoc() string {
  7366. sInfo := SwaggerInfo
  7367. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  7368. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  7369. "marshal": func(v interface{}) string {
  7370. a, _ := json.Marshal(v)
  7371. return string(a)
  7372. },
  7373. }).Parse(doc)
  7374. if err != nil {
  7375. return doc
  7376. }
  7377. var tpl bytes.Buffer
  7378. if err := t.Execute(&tpl, sInfo); err != nil {
  7379. return doc
  7380. }
  7381. return tpl.String()
  7382. }
  7383. func init() {
  7384. swag.Register(swag.Name, &s{})
  7385. }