docs.go 267 KB

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