swagger.yaml 247 KB

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