install_base.sql 489 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295
  1. DROP TABLE IF EXISTS `#__activity`;
  2. CREATE TABLE IF NOT EXISTS `#__activity` (
  3. `activity_id` mediumint(9) NOT NULL AUTO_INCREMENT COMMENT '活动自增ID',
  4. `activity_title` varchar(255) NOT NULL COMMENT '活动标题',
  5. `activity_type` enum('1','2') DEFAULT NULL COMMENT '活动类型 1:商品 2:抢购',
  6. `activity_banner` varchar(255) NOT NULL COMMENT '活动图片',
  7. `activity_banner_mobile` varchar(255) NOT NULL COMMENT '手机活动图片',
  8. `activity_style` varchar(255) NOT NULL DEFAULT 'default' COMMENT '活动页面样式',
  9. `activity_desc` varchar(1000) NOT NULL COMMENT '活动描述',
  10. `activity_startdate` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '活动开始时间',
  11. `activity_enddate` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '活动结束时间',
  12. `activity_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '活动排序',
  13. `activity_state` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '活动状态 0为关闭 1为开启',
  14. PRIMARY KEY (`activity_id`)
  15. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='活动表';
  16. DROP TABLE IF EXISTS `#__activitydetail`;
  17. CREATE TABLE IF NOT EXISTS `#__activitydetail` (
  18. `activitydetail_id` mediumint(9) NOT NULL AUTO_INCREMENT COMMENT '活动详情自增ID',
  19. `activity_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '活动ID',
  20. `item_id` int(11) NOT NULL COMMENT '商品或抢购的编号',
  21. `item_name` varchar(255) NOT NULL COMMENT '商品或抢购名称',
  22. `store_id` int(11) NOT NULL COMMENT '店铺ID',
  23. `store_name` varchar(255) NOT NULL COMMENT '店铺名称',
  24. `activitydetail_state` enum('0','1','2','3') NOT NULL DEFAULT '0' COMMENT '审核状态 0:(默认)待审核 1:通过 2:未通过 3:再次申请',
  25. `activitydetail_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '活动详情排序',
  26. PRIMARY KEY (`activitydetail_id`),
  27. KEY `activity_id` (`activity_id`),
  28. KEY `store_id` (`store_id`)
  29. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='活动详情表';
  30. DROP TABLE IF EXISTS `#__address`;
  31. CREATE TABLE IF NOT EXISTS `#__address` (
  32. `address_id` mediumint(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '地址ID',
  33. `member_id` mediumint(10) unsigned NOT NULL DEFAULT '0' COMMENT '会员ID',
  34. `address_realname` varchar(50) NOT NULL COMMENT '会员姓名',
  35. `city_id` mediumint(9) DEFAULT NULL COMMENT '市级ID',
  36. `area_id` mediumint(10) unsigned NOT NULL DEFAULT '0' COMMENT '地区ID',
  37. `area_info` varchar(255) NOT NULL DEFAULT '' COMMENT '地区内容',
  38. `address_detail` varchar(255) NOT NULL COMMENT '详细地址',
  39. `address_tel_phone` varchar(20) DEFAULT NULL COMMENT '座机',
  40. `address_mob_phone` varchar(15) DEFAULT NULL COMMENT '手机',
  41. `address_is_default` enum('0','1') NOT NULL DEFAULT '0' COMMENT '1默认收货地址',
  42. `chain_id` int(11) DEFAULT '0' COMMENT '门店ID',
  43. `address_longitude` varchar(20) DEFAULT '' COMMENT '经度',
  44. `address_latitude` varchar(20) DEFAULT '' COMMENT '纬度',
  45. PRIMARY KEY (`address_id`),
  46. KEY `member_id` (`member_id`)
  47. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='买家地址信息表';
  48. DROP TABLE IF EXISTS `#__admin`;
  49. CREATE TABLE IF NOT EXISTS `#__admin` (
  50. `admin_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '管理员自增ID',
  51. `admin_name` varchar(20) NOT NULL COMMENT '管理员名称',
  52. `admin_password` varchar(32) NOT NULL DEFAULT '' COMMENT '管理员密码',
  53. `admin_login_time` int(10) NOT NULL DEFAULT '0' COMMENT '登录时间',
  54. `admin_login_num` int(11) NOT NULL DEFAULT '0' COMMENT '登录次数',
  55. `admin_is_super` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否超级管理员',
  56. `admin_gid` smallint(6) DEFAULT '0' COMMENT '权限组ID',
  57. PRIMARY KEY (`admin_id`)
  58. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='管理员表';
  59. DROP TABLE IF EXISTS `#__adminlog`;
  60. CREATE TABLE IF NOT EXISTS `#__adminlog` (
  61. `adminlog_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '管理员记录自增ID',
  62. `admin_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '管理员ID',
  63. `admin_name` char(20) NOT NULL COMMENT '管理员名称',
  64. `adminlog_content` varchar(255) NOT NULL COMMENT '操作内容',
  65. `adminlog_time` int(10) unsigned DEFAULT NULL COMMENT '发生时间',
  66. `adminlog_ip` char(15) NOT NULL COMMENT '管理员操作IP',
  67. `adminlog_url` varchar(50) NOT NULL DEFAULT '' COMMENT 'controller/action',
  68. PRIMARY KEY (`adminlog_id`)
  69. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='管理员操作日志';
  70. DROP TABLE IF EXISTS `#__adv`;
  71. CREATE TABLE IF NOT EXISTS `#__adv` (
  72. `adv_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT '广告自增ID',
  73. `ap_id` mediumint(8) unsigned NOT NULL COMMENT '广告位ID',
  74. `adv_title` varchar(255) NOT NULL COMMENT '广告内容描述',
  75. `adv_link` varchar(255) NOT NULL COMMENT '广告链接地址',
  76. `adv_code` varchar(1000) DEFAULT NULL COMMENT '广告图片地址',
  77. `adv_startdate` int(10) DEFAULT NULL COMMENT '广告开始时间',
  78. `adv_enddate` int(10) DEFAULT NULL COMMENT '广告结束时间',
  79. `adv_sort` tinyint(3) unsigned DEFAULT '255' COMMENT '广告图片排序',
  80. `adv_enabled` tinyint(1) unsigned DEFAULT '1' COMMENT '广告是否有效',
  81. `adv_clicknum` int(10) unsigned DEFAULT '0' COMMENT '广告点击次数',
  82. `adv_bgcolor` varchar(50) DEFAULT NULL COMMENT '广告背景颜色',
  83. PRIMARY KEY (`adv_id`),
  84. KEY `ap_id` (`ap_id`)
  85. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='广告表';
  86. DROP TABLE IF EXISTS `#__advposition`;
  87. CREATE TABLE IF NOT EXISTS `#__advposition` (
  88. `ap_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT '广告位置自增ID',
  89. `ap_name` varchar(100) NOT NULL COMMENT '广告位名称',
  90. `ap_intro` varchar(255) NOT NULL DEFAULT '' COMMENT '广告位简介',
  91. `ap_isuse` smallint(1) unsigned NOT NULL DEFAULT '1' COMMENT '广告位是否启用:0不启用1启用',
  92. `ap_width` int(10) DEFAULT '0' COMMENT '广告位宽度',
  93. `ap_height` int(10) DEFAULT '0' COMMENT '广告位高度',
  94. PRIMARY KEY (`ap_id`)
  95. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='广告位表';
  96. DROP TABLE IF EXISTS `#__albumclass`;
  97. CREATE TABLE IF NOT EXISTS `#__albumclass` (
  98. `aclass_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '相册自增ID',
  99. `aclass_name` varchar(100) NOT NULL COMMENT '相册名称',
  100. `store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  101. `aclass_des` varchar(255) NOT NULL COMMENT '相册描述',
  102. `aclass_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '相册排序',
  103. `aclass_cover` varchar(255) DEFAULT NULL COMMENT '相册封面',
  104. `aclass_uploadtime` int(10) unsigned NOT NULL COMMENT '图片上传时间',
  105. `aclass_isdefault` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否为默认相册,1代表默认',
  106. PRIMARY KEY (`aclass_id`),
  107. KEY `store_id` (`store_id`)
  108. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='相册表';
  109. DROP TABLE IF EXISTS `#__albumpic`;
  110. CREATE TABLE IF NOT EXISTS `#__albumpic` (
  111. `apic_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '相册图片自增ID',
  112. `apic_name` varchar(100) NOT NULL COMMENT '图片名称',
  113. `apic_tag` varchar(255) NOT NULL COMMENT '图片标签',
  114. `aclass_id` int(10) unsigned NOT NULL COMMENT '相册ID',
  115. `apic_cover` varchar(255) NOT NULL COMMENT '图片路径',
  116. `apic_size` int(10) unsigned NOT NULL COMMENT '图片大小',
  117. `apic_spec` varchar(100) NOT NULL COMMENT '图片规格',
  118. `store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  119. `apic_uploadtime` int(10) unsigned NOT NULL COMMENT '图片上传时间',
  120. PRIMARY KEY (`apic_id`),
  121. KEY `aclass_id` (`aclass_id`),
  122. KEY `store_id` (`store_id`)
  123. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='相册图片表';
  124. DROP TABLE IF EXISTS `#__appadv`;
  125. CREATE TABLE IF NOT EXISTS `#__appadv` (
  126. `adv_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT 'APP广告自增ID',
  127. `ap_id` mediumint(8) unsigned NOT NULL COMMENT 'APP广告位ID',
  128. `adv_title` varchar(255) NOT NULL COMMENT 'APP广告内容描述',
  129. `adv_type` varchar(255) DEFAULT NULL COMMENT 'APP广告类型,goods,store,article',
  130. `adv_typedate` text COMMENT 'APP广告类型对应的值,判断具体跳转内容',
  131. `adv_code` varchar(1000) DEFAULT NULL COMMENT 'APP广告图片地址',
  132. `adv_startdate` int(10) DEFAULT NULL COMMENT 'APP广告开始时间',
  133. `adv_enddate` int(10) DEFAULT NULL COMMENT 'APP广告结束时间',
  134. `adv_sort` int(10) unsigned DEFAULT '255' COMMENT 'APP广告图片排序',
  135. `adv_enabled` tinyint(1) unsigned DEFAULT '1' COMMENT 'APP广告是否有效',
  136. PRIMARY KEY (`adv_id`),
  137. KEY `ap_id` (`ap_id`)
  138. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='APP广告表';
  139. DROP TABLE IF EXISTS `#__appadvposition`;
  140. CREATE TABLE IF NOT EXISTS `#__appadvposition` (
  141. `ap_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT 'APP广告位自增ID',
  142. `ap_name` varchar(100) NOT NULL COMMENT 'APP广告位名称',
  143. `ap_intro` varchar(255) NOT NULL DEFAULT '' COMMENT 'APP广告位简介',
  144. `ap_isuse` smallint(1) unsigned NOT NULL DEFAULT '1' COMMENT 'APP广告位是否启用:0不启用1启用',
  145. `ap_width` int(10) DEFAULT '0' COMMENT 'APP广告位宽度',
  146. `ap_height` int(10) DEFAULT '0' COMMENT 'APP广告位高度',
  147. PRIMARY KEY (`ap_id`)
  148. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='APP广告位表';
  149. DROP TABLE IF EXISTS `#__area`;
  150. CREATE TABLE IF NOT EXISTS `#__area` (
  151. `area_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '地区自增ID',
  152. `area_name` varchar(50) NOT NULL COMMENT '地区名称',
  153. `area_parent_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '地区上级ID',
  154. `area_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '地区排序',
  155. `area_deep` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '地区深度',
  156. `area_region` varchar(3) DEFAULT NULL COMMENT '大区名称',
  157. `area_initial` varchar(1) DEFAULT NULL COMMENT '品牌首字母',
  158. PRIMARY KEY (`area_id`),
  159. KEY `area_parent_id` (`area_parent_id`)
  160. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='地区表';
  161. DROP TABLE IF EXISTS `#__arrivalnotice`;
  162. CREATE TABLE IF NOT EXISTS `#__arrivalnotice` (
  163. `arrivalnotice_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '到货通知自增ID',
  164. `goods_id` int(10) unsigned NOT NULL COMMENT '商品ID',
  165. `goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  166. `member_id` int(10) unsigned NOT NULL COMMENT '会员ID',
  167. `arrivalnotice_addtime` int(10) unsigned NOT NULL COMMENT '到货通知添加时间',
  168. `arrivalnotice_email` varchar(100) NOT NULL COMMENT '邮箱',
  169. `arrivalnotice_mobile` varchar(11) NOT NULL COMMENT '手机号',
  170. `arrivalnotice_type` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '状态 1:到货通知 2:预售',
  171. `arrivalnotice_state` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '到货通知状态 1:未通知 2:已通知',
  172. `arrivalnotice_time` int(10) DEFAULT '0' COMMENT '通知时间',
  173. PRIMARY KEY (`arrivalnotice_id`),
  174. KEY `member_id` (`member_id`)
  175. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品到货通知表';
  176. DROP TABLE IF EXISTS `#__article`;
  177. CREATE TABLE IF NOT EXISTS `#__article` (
  178. `article_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '文章自增ID',
  179. `ac_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '分类id',
  180. `article_url` varchar(100) DEFAULT NULL COMMENT '文章跳转链接',
  181. `article_show` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '文章是否显示,0为否,1为是,默认为1',
  182. `article_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '文章排序',
  183. `article_title` varchar(100) DEFAULT NULL COMMENT '文章标题',
  184. `article_content` text COMMENT '内容',
  185. `article_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '文章发布时间',
  186. `article_pic` varchar(255) NOT NULL DEFAULT '' COMMENT '文章主图',
  187. PRIMARY KEY (`article_id`),
  188. KEY `ac_id` (`ac_id`)
  189. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='文章表';
  190. DROP TABLE IF EXISTS `#__articleclass`;
  191. CREATE TABLE IF NOT EXISTS `#__articleclass` (
  192. `ac_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '文章分类自增ID',
  193. `ac_code` varchar(20) DEFAULT NULL COMMENT '文章分类标识码',
  194. `ac_name` varchar(100) NOT NULL COMMENT '文章分类名称',
  195. `ac_parent_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '文章分类父ID',
  196. `ac_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '文章分类排序',
  197. PRIMARY KEY (`ac_id`),
  198. KEY `ac_parent_id` (`ac_parent_id`)
  199. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='文章分类表';
  200. DROP TABLE IF EXISTS `#__attribute`;
  201. CREATE TABLE IF NOT EXISTS `#__attribute` (
  202. `attr_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '属性自增ID',
  203. `attr_name` varchar(100) NOT NULL COMMENT '属性名称',
  204. `type_id` int(10) unsigned NOT NULL COMMENT '所属类型id',
  205. `attr_value` text NOT NULL COMMENT '属性值',
  206. `attr_show` tinyint(1) unsigned NOT NULL COMMENT '属性是否显示。0不显示、1显示',
  207. `attr_sort` tinyint(1) unsigned NOT NULL COMMENT '属性排序',
  208. PRIMARY KEY (`attr_id`),
  209. KEY `attr_id` (`attr_id`,`type_id`)
  210. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品属性表';
  211. DROP TABLE IF EXISTS `#__attributevalue`;
  212. CREATE TABLE IF NOT EXISTS `#__attributevalue` (
  213. `attrvalue_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '属性值id',
  214. `attrvalue_name` varchar(100) NOT NULL COMMENT '属性值名称',
  215. `attr_id` int(10) unsigned NOT NULL COMMENT '所属属性id',
  216. `type_id` int(10) unsigned NOT NULL COMMENT '类型id',
  217. `attrvalue_sort` tinyint(1) unsigned NOT NULL COMMENT '属性值排序',
  218. PRIMARY KEY (`attrvalue_id`),
  219. KEY `attr_id` (`attr_id`),
  220. KEY `type_id` (`type_id`)
  221. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品属性值表';
  222. DROP TABLE IF EXISTS `#__bonus`;
  223. CREATE TABLE IF NOT EXISTS `#__bonus` (
  224. `bonus_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '红包自增ID',
  225. `bonus_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '红包类型 1活动红包 2关注红包 3奖品红包',
  226. `bonus_name` varchar(20) NOT NULL DEFAULT '' COMMENT '红包名称',
  227. `bonus_blessing` varchar(255) NOT NULL DEFAULT '' COMMENT '红包祝福语',
  228. `bonus_totalprice` decimal(10,2) NOT NULL COMMENT '总面额',
  229. `bonus_pricetype` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否固定金额 1固定金额',
  230. `bonus_fixedprice` decimal(10,2) NOT NULL COMMENT '固定金额',
  231. `bonus_randomprice_start` decimal(10,2) NOT NULL COMMENT '金额范围',
  232. `bonus_randomprice_end` decimal(10,2) NOT NULL COMMENT '金额范围',
  233. `bonus_receivecount` int(11) NOT NULL DEFAULT '0' COMMENT '领取人数',
  234. `bonus_receiveprice` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '领取金额',
  235. `bonus_state` tinyint(2) NOT NULL DEFAULT '0' COMMENT '红包状态 1正在进行 2过期 3失效',
  236. `bonus_begintime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '开始时间',
  237. `bonus_endtime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '结束时间',
  238. `bonus_remark` varchar(255) NOT NULL DEFAULT '' COMMENT '红包备注',
  239. PRIMARY KEY (`bonus_id`)
  240. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='吸粉红包表';
  241. DROP TABLE IF EXISTS `#__bonusreceive`;
  242. CREATE TABLE IF NOT EXISTS `#__bonusreceive` (
  243. `bonusreceive_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  244. `bonus_id` int(11) NOT NULL COMMENT '吸粉红包ID',
  245. `member_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户ID',
  246. `member_name` varchar(50) NOT NULL DEFAULT '' COMMENT '会员名',
  247. `bonusreceive_time` int(11) NOT NULL DEFAULT '0' COMMENT '领取时间',
  248. `bonusreceive_price` decimal(10,2) NOT NULL COMMENT '领取金额',
  249. `bonusreceive_transformed` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否转入预存款',
  250. PRIMARY KEY (`bonusreceive_id`),
  251. KEY `member_id` (`member_id`)
  252. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='吸粉红包领取信息表';
  253. DROP TABLE IF EXISTS `#__brand`;
  254. CREATE TABLE IF NOT EXISTS `#__brand` (
  255. `brand_id` mediumint(11) NOT NULL AUTO_INCREMENT COMMENT '品牌自增ID',
  256. `store_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '店铺ID',
  257. `gc_id` int(10) unsigned DEFAULT '0' COMMENT '商品分类id',
  258. `brand_name` varchar(100) DEFAULT NULL COMMENT '品牌名称',
  259. `brand_initial` varchar(1) DEFAULT NULL COMMENT '品牌首字母',
  260. `brand_class` varchar(50) DEFAULT NULL COMMENT '类别名称',
  261. `brand_pic` varchar(100) DEFAULT NULL COMMENT '品牌图片',
  262. `brand_sort` tinyint(3) unsigned DEFAULT '255' COMMENT '品牌排序',
  263. `brand_recommend` tinyint(1) DEFAULT '0' COMMENT '品牌推荐,0为否,1为是',
  264. `brand_apply` tinyint(1) NOT NULL DEFAULT '1' COMMENT '品牌申请,0为申请中,1为通过,默认为1,申请功能是会员使用',
  265. `brand_showtype` tinyint(1) NOT NULL DEFAULT '0' COMMENT '品牌展示类型 0表示图片 1表示文字 ',
  266. PRIMARY KEY (`brand_id`),
  267. KEY `store_id` (`store_id`),
  268. KEY `gc_id` (`gc_id`)
  269. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='品牌表';
  270. DROP TABLE IF EXISTS `#__cart`;
  271. CREATE TABLE IF NOT EXISTS `#__cart` (
  272. `cart_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '购物车自增ID',
  273. `buyer_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '买家ID',
  274. `store_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '店铺ID',
  275. `store_name` varchar(50) NOT NULL DEFAULT '' COMMENT '店铺名称',
  276. `goods_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '商品ID',
  277. `goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  278. `goods_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '商品价格',
  279. `goods_num` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT '商品数量',
  280. `goods_image` varchar(100) DEFAULT NULL COMMENT '商品图片',
  281. `bl_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '组合套装ID',
  282. PRIMARY KEY (`cart_id`),
  283. KEY `member_id` (`buyer_id`)
  284. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='购物车数据表';
  285. DROP TABLE IF EXISTS `#__complain`;
  286. CREATE TABLE IF NOT EXISTS `#__complain` (
  287. `complain_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '投诉自增ID',
  288. `order_id` int(11) NOT NULL COMMENT '订单ID',
  289. `order_goods_id` int(10) unsigned DEFAULT '0' COMMENT '订单商品ID',
  290. `accuser_id` int(11) NOT NULL COMMENT '原告ID',
  291. `accuser_name` varchar(50) NOT NULL COMMENT '原告用户名',
  292. `accused_id` int(11) NOT NULL COMMENT '被告ID',
  293. `accused_name` varchar(50) NOT NULL COMMENT '被告名称',
  294. `complain_subject_content` varchar(50) NOT NULL COMMENT '投诉主题',
  295. `complain_subject_id` int(11) NOT NULL COMMENT '投诉主题id',
  296. `complain_content` varchar(255) NOT NULL COMMENT '投诉内容',
  297. `complain_pic1` varchar(100) DEFAULT NULL COMMENT '投诉图片1',
  298. `complain_pic2` varchar(100) DEFAULT NULL COMMENT '投诉图片2',
  299. `complain_pic3` varchar(100) DEFAULT NULL COMMENT '投诉图片3',
  300. `complain_datetime` int(11) DEFAULT NULL COMMENT '投诉时间',
  301. `complain_handle_datetime` int(11) DEFAULT NULL COMMENT '投诉处理时间',
  302. `complain_handle_member_id` int(11) DEFAULT NULL COMMENT '投诉处理人ID',
  303. `appeal_message` varchar(255) DEFAULT NULL COMMENT '申诉内容',
  304. `appeal_datetime` int(11) DEFAULT NULL COMMENT '申诉时间',
  305. `appeal_pic1` varchar(100) DEFAULT NULL COMMENT '申诉图片1',
  306. `appeal_pic2` varchar(100) DEFAULT NULL COMMENT '申诉图片2',
  307. `appeal_pic3` varchar(100) DEFAULT NULL COMMENT '申诉图片3',
  308. `final_handle_message` varchar(255) DEFAULT NULL COMMENT '最终处理意见',
  309. `final_handle_datetime` int(11) DEFAULT NULL COMMENT '最终处理时间',
  310. `final_handle_member_id` int(11) DEFAULT NULL COMMENT '最终处理人ID',
  311. `complain_state` tinyint(4) DEFAULT NULL COMMENT '投诉状态 10:新投诉 20:投诉通过转给被投诉人 30:被投诉人已申诉 40:提交仲裁 99:已关闭',
  312. `complain_active` tinyint(4) DEFAULT '1' COMMENT '投诉是否通过平台审批 1:未通过 2:通过',
  313. PRIMARY KEY (`complain_id`),
  314. KEY `accuser_id` (`accuser_id`),
  315. KEY `accused_id` (`accused_id`)
  316. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='投诉表';
  317. DROP TABLE IF EXISTS `#__complainsubject`;
  318. CREATE TABLE IF NOT EXISTS `#__complainsubject` (
  319. `complainsubject_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '投诉主题id',
  320. `complainsubject_content` varchar(50) NOT NULL COMMENT '投诉主题',
  321. `complainsubject_desc` varchar(100) NOT NULL COMMENT '投诉主题描述',
  322. `complainsubject_state` tinyint(4) NOT NULL COMMENT '投诉主题状态 1:有效 2:失效',
  323. PRIMARY KEY (`complainsubject_id`)
  324. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='投诉主题表';
  325. DROP TABLE IF EXISTS `#__complaintalk`;
  326. CREATE TABLE IF NOT EXISTS `#__complaintalk` (
  327. `talk_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '投诉对话自增ID',
  328. `complain_id` int(11) NOT NULL COMMENT '投诉ID',
  329. `talk_member_id` int(11) NOT NULL COMMENT '发言人ID',
  330. `talk_member_name` varchar(50) NOT NULL COMMENT '发言人用户名',
  331. `talk_member_type` varchar(10) NOT NULL COMMENT '发言人类型(1-投诉人/2-被投诉人/3-平台)',
  332. `talk_content` varchar(255) NOT NULL COMMENT '发言内容',
  333. `talk_state` tinyint(4) NOT NULL COMMENT '发言状态(1-显示/2-不显示)',
  334. `talk_admin` int(11) NOT NULL DEFAULT '0' COMMENT '对话管理员,屏蔽对话人的id',
  335. `talk_datetime` int(11) NOT NULL COMMENT '对话发表时间',
  336. PRIMARY KEY (`talk_id`),
  337. KEY `complain_id` (`complain_id`),
  338. KEY `talk_member_id` (`talk_member_id`)
  339. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='投诉对话表';
  340. DROP TABLE IF EXISTS `#__config`;
  341. CREATE TABLE IF NOT EXISTS `#__config` (
  342. `id` smallint(5) NOT NULL AUTO_INCREMENT,
  343. `code` varchar(30) NOT NULL,
  344. `value` text,
  345. `remark` varchar(100) DEFAULT '解释,备注',
  346. PRIMARY KEY (`id`)
  347. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='配置参数表';
  348. DROP TABLE IF EXISTS `#__consult`;
  349. CREATE TABLE IF NOT EXISTS `#__consult` (
  350. `consult_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '咨询自增ID',
  351. `goods_id` int(11) unsigned DEFAULT '0' COMMENT '商品编号',
  352. `goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  353. `member_id` int(11) NOT NULL DEFAULT '0' COMMENT '咨询发布者会员ID 0:游客',
  354. `member_name` varchar(100) DEFAULT NULL COMMENT '会员名称',
  355. `store_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '店铺ID',
  356. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  357. `consulttype_id` int(10) unsigned NOT NULL COMMENT '咨询类型',
  358. `consult_content` varchar(255) DEFAULT NULL COMMENT '咨询内容',
  359. `consult_addtime` int(10) DEFAULT NULL COMMENT '咨询发布时间',
  360. `consult_reply` varchar(255) DEFAULT '' COMMENT '咨询回复内容',
  361. `consult_replytime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '咨询回复时间',
  362. `consult_isanonymous` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0表示不匿名 1表示匿名',
  363. PRIMARY KEY (`consult_id`),
  364. KEY `goods_id` (`goods_id`),
  365. KEY `seller_id` (`store_id`),
  366. KEY `member_id` (`member_id`)
  367. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='产品咨询表';
  368. DROP TABLE IF EXISTS `#__consulttype`;
  369. CREATE TABLE IF NOT EXISTS `#__consulttype` (
  370. `consulttype_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '咨询类型ID',
  371. `consulttype_name` varchar(10) NOT NULL COMMENT '咨询类型名称',
  372. `consulttype_introduce` text NOT NULL COMMENT '咨询类型详细介绍',
  373. `consulttype_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '咨询类型排序',
  374. PRIMARY KEY (`consulttype_id`)
  375. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='咨询类型表';
  376. DROP TABLE IF EXISTS `#__cron`;
  377. CREATE TABLE IF NOT EXISTS `#__cron` (
  378. `cron_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '执行自增ID',
  379. `cron_type` varchar(255) NOT NULL COMMENT '任务类型',
  380. `cron_value` text NOT NULL COMMENT '关联任务的值',
  381. `cron_exetime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '执行时间',
  382. PRIMARY KEY (`cron_id`),
  383. KEY `cron_type` (`cron_type`)
  384. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='任务队列表';
  385. DROP TABLE IF EXISTS `#__daddress`;
  386. CREATE TABLE IF NOT EXISTS `#__daddress` (
  387. `daddress_id` mediumint(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '发货地址ID',
  388. `store_id` mediumint(10) unsigned NOT NULL DEFAULT '0' COMMENT '店铺ID',
  389. `seller_name` varchar(50) NOT NULL DEFAULT '' COMMENT '联系人',
  390. `city_id` mediumint(9) DEFAULT NULL COMMENT '市级ID',
  391. `area_id` mediumint(10) unsigned NOT NULL DEFAULT '0' COMMENT '地区ID',
  392. `area_info` varchar(100) DEFAULT NULL COMMENT '省市县',
  393. `daddress_detail` varchar(100) NOT NULL COMMENT '发货地址',
  394. `daddress_telphone` varchar(40) DEFAULT NULL COMMENT '发货电话',
  395. `daddress_company` varchar(50) NOT NULL COMMENT '发货公司',
  396. `daddress_isdefault` enum('0','1') NOT NULL DEFAULT '0' COMMENT '是否默认 1:是0:不是',
  397. PRIMARY KEY (`daddress_id`),
  398. KEY `store_id` (`store_id`)
  399. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='卖家发货地址信息表';
  400. DROP TABLE IF EXISTS `#__chain`;
  401. CREATE TABLE IF NOT EXISTS `#__chain` (
  402. `chain_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '门店自增ID',
  403. `store_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '店铺ID',
  404. `chain_name` varchar(50) NOT NULL COMMENT '门店登录名',
  405. `chain_passwd` varchar(32) NOT NULL COMMENT '门店登录密码',
  406. `chain_truename` varchar(20) NOT NULL COMMENT '真实姓名',
  407. `chain_mobile` varchar(11) NOT NULL COMMENT '手机号码',
  408. `chain_telephony` varchar(20) DEFAULT NULL COMMENT '座机号码',
  409. `chain_addressname` varchar(20) NOT NULL COMMENT '服务站名称',
  410. `chain_area_2` int(10) unsigned NOT NULL COMMENT '二级地区id',
  411. `chain_area_3` int(10) unsigned NOT NULL COMMENT '三级地区id',
  412. `chain_area_info` varchar(255) NOT NULL COMMENT '门店地区内容',
  413. `chain_address` varchar(255) NOT NULL COMMENT '门店详细地址',
  414. `chain_idcard` varchar(18) NOT NULL DEFAULT '' COMMENT '身份证号码',
  415. `chain_idcardimage` varchar(255) NOT NULL DEFAULT '' COMMENT '身份证照片',
  416. `chain_addtime` int(10) unsigned NOT NULL COMMENT '门店添加时间',
  417. `chain_state` tinyint(3) unsigned NOT NULL COMMENT '门店状态 0关闭,1开启,10等待审核, 20审核失败',
  418. `chain_failreason` varchar(255) DEFAULT NULL COMMENT '失败原因',
  419. `chain_longitude` varchar(20) DEFAULT '' COMMENT '经度',
  420. `chain_latitude` varchar(20) DEFAULT '' COMMENT '纬度',
  421. `chain_if_pickup` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否支持自提',
  422. `chain_if_collect` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否支持代收',
  423. PRIMARY KEY (`chain_id`)
  424. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='门店表';
  425. DROP TABLE IF EXISTS `#__chain_goods`;
  426. CREATE TABLE IF NOT EXISTS `#__chain_goods` (
  427. `chain_goods_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增ID',
  428. `goods_id` int(10) unsigned NOT NULL COMMENT '商品ID',
  429. `goods_commonid` int(10) unsigned NOT NULL COMMENT '商品公共ID',
  430. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  431. `chain_id` int(10) unsigned NOT NULL COMMENT '门店ID',
  432. `goods_storage` int(10) unsigned NOT NULL COMMENT '库存',
  433. PRIMARY KEY (`chain_goods_id`),
  434. UNIQUE KEY `goods_id_2` (`goods_id`,`chain_id`),
  435. KEY `goods_id` (`goods_id`),
  436. KEY `goods_commonid` (`goods_commonid`),
  437. KEY `store_id` (`store_id`),
  438. KEY `chain_id` (`chain_id`)
  439. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='门店商品' AUTO_INCREMENT=1 ;
  440. DROP TABLE IF EXISTS `#__chain_order`;
  441. CREATE TABLE IF NOT EXISTS `#__chain_order` (
  442. `chain_order_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增ID',
  443. `order_id` int(11) NOT NULL COMMENT '订单ID',
  444. `order_goods_id` int(10) unsigned DEFAULT '0' COMMENT '订单商品ID,0:全部商品',
  445. `chain_order_type` tinyint(11) unsigned NOT NULL DEFAULT '0' COMMENT '门店订单类型(1代收2自提)',
  446. `chain_order_pickup_code` varchar(4) DEFAULT NULL COMMENT '订单提货码',
  447. `chain_order_add_time` int(11) DEFAULT '0' COMMENT '订单生成时间',
  448. `order_sn` varchar(20) DEFAULT NULL COMMENT '订单号',
  449. `chain_id` int(11) DEFAULT NULL COMMENT '门店ID',
  450. `store_id` int(11) unsigned NOT NULL COMMENT '卖家店铺ID',
  451. `payment_code` char(20) NOT NULL DEFAULT '' COMMENT '支付方式名称代码',
  452. `shipping_code` varchar(50) DEFAULT NULL COMMENT '物流单号',
  453. `express_code` varchar(30) DEFAULT NULL COMMENT '快递公司编码',
  454. `express_name` varchar(30) DEFAULT NULL COMMENT '快递公司名称',
  455. `chain_order_state` tinyint(1) unsigned NOT NULL DEFAULT '10' COMMENT '门店订单状态(0:取消 10:默认 20:未到站 30:已发货 35:待自提 40:已收货)',
  456. `chain_order_refund_state` tinyint(1) unsigned DEFAULT '0' COMMENT '退款状态 0:无退款 2:全部退款',
  457. `chain_order_lock_state` tinyint(1) unsigned DEFAULT '0' COMMENT '锁定状态:0:正常,大于0:锁定',
  458. PRIMARY KEY (`chain_order_id`),
  459. KEY `order_id` (`order_id`),
  460. KEY `order_goods_id` (`order_goods_id`),
  461. KEY `chain_id` (`chain_id`),
  462. KEY `store_id` (`store_id`)
  463. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='门店订单表';
  464. DROP TABLE IF EXISTS `#__document`;
  465. CREATE TABLE IF NOT EXISTS `#__document` (
  466. `document_id` mediumint(11) NOT NULL AUTO_INCREMENT COMMENT '系统文章自增ID',
  467. `document_code` varchar(255) NOT NULL COMMENT '调用标识码',
  468. `document_title` varchar(255) NOT NULL COMMENT '系统文章标题',
  469. `document_content` text NOT NULL COMMENT '系统文章内容',
  470. `document_time` int(10) unsigned NOT NULL COMMENT '添加时间/修改时间',
  471. PRIMARY KEY (`document_id`),
  472. UNIQUE KEY `document_code` (`document_code`)
  473. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='系统文章表';
  474. DROP TABLE IF EXISTS `#__editable_page`;
  475. CREATE TABLE IF NOT EXISTS `#__editable_page` (
  476. `editable_page_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '页面类型id',
  477. `editable_page_name` varchar(60) NOT NULL COMMENT '页面名称',
  478. `editable_page_path` varchar(60) NOT NULL DEFAULT '' COMMENT 'index/index商场首页store/index店铺首页special/index专题活动页',
  479. `editable_page_item_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '页面项目id',
  480. `store_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '店铺id',
  481. `editable_page_client` varchar(10) NOT NULL COMMENT '客户端pc、h5',
  482. `editable_page_theme` varchar(60) NOT NULL COMMENT '页面主题',
  483. `editable_page_theme_config` text NOT NULL COMMENT '页面主题配置',
  484. `editable_page_edit_time` int(10) unsigned NOT NULL COMMENT '页面编辑时间',
  485. PRIMARY KEY (`editable_page_id`),
  486. KEY `store_id` (`store_id`),
  487. KEY `editable_page_item_id` (`editable_page_item_id`)
  488. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='可编辑页面表';
  489. DROP TABLE IF EXISTS `#__editable_page_config`;
  490. CREATE TABLE IF NOT EXISTS `#__editable_page_config` (
  491. `editable_page_config_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '页面配置id',
  492. `editable_page_id` int(10) unsigned NOT NULL COMMENT '页面id',
  493. `editable_page_model_id` int(10) unsigned NOT NULL COMMENT '页面模块id',
  494. `editable_page_config_sort_order` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '排序',
  495. `editable_page_config_content` text COMMENT '配置内容',
  496. PRIMARY KEY (`editable_page_config_id`),
  497. KEY `editable_page_id` (`editable_page_id`)
  498. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='可编辑页面配置表';
  499. DROP TABLE IF EXISTS `#__editable_page_model`;
  500. CREATE TABLE IF NOT EXISTS `#__editable_page_model` (
  501. `editable_page_model_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '页面模块id',
  502. `editable_page_model_name` varchar(60) NOT NULL COMMENT '页面模块名称',
  503. `editable_page_model_intro` varchar(255) NOT NULL DEFAULT '' COMMENT '页面模块简介',
  504. `editable_page_model_type` text NOT NULL COMMENT 'mall商城store店铺,空表示通用',
  505. `editable_page_theme` text NOT NULL COMMENT '页面主题,多个用|分隔,空表示通用',
  506. `editable_page_model_client` varchar(10) NOT NULL DEFAULT '' COMMENT '客户端pc、h5,空表示通用',
  507. `editable_page_model_content` text NOT NULL COMMENT '配置内容',
  508. PRIMARY KEY (`editable_page_model_id`)
  509. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='可编辑页面模块表';
  510. DROP TABLE IF EXISTS `#__evaluategoods`;
  511. CREATE TABLE IF NOT EXISTS `#__evaluategoods` (
  512. `geval_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '信誉评价自增ID',
  513. `geval_orderid` int(11) NOT NULL COMMENT '订单表ID',
  514. `geval_orderno` varchar(20) NOT NULL COMMENT '订单编号',
  515. `geval_ordergoodsid` int(11) NOT NULL COMMENT '订单商品表编号',
  516. `geval_goodsid` int(11) NOT NULL COMMENT '商品表编号',
  517. `geval_goodsname` varchar(100) NOT NULL COMMENT '商品名称',
  518. `geval_goodsprice` decimal(10,2) DEFAULT NULL COMMENT '商品价格',
  519. `geval_goodsimage` varchar(255) DEFAULT NULL COMMENT '商品图片',
  520. `geval_scores` tinyint(1) NOT NULL COMMENT '1-5分',
  521. `geval_content` varchar(255) DEFAULT NULL COMMENT '信誉评价内容',
  522. `geval_isanonymous` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0:不是 1:匿名评价',
  523. `geval_addtime` int(11) NOT NULL COMMENT '评价时间',
  524. `geval_storeid` int(11) NOT NULL COMMENT '店铺编号',
  525. `geval_storename` varchar(100) NOT NULL COMMENT '店铺名称',
  526. `geval_frommemberid` int(11) NOT NULL COMMENT '评价人编号',
  527. `geval_frommembername` varchar(100) NOT NULL COMMENT '评价人名称',
  528. `geval_state` tinyint(1) NOT NULL DEFAULT '0' COMMENT '评价信息的状态 0为正常 1为禁止显示',
  529. `geval_remark` varchar(255) DEFAULT NULL COMMENT '管理员对评价的处理备注',
  530. `geval_explain` varchar(255) DEFAULT NULL COMMENT '解释内容',
  531. `geval_image` varchar(255) DEFAULT NULL COMMENT '晒单图片',
  532. PRIMARY KEY (`geval_id`),
  533. KEY `geval_orderid` (`geval_orderid`),
  534. KEY `geval_ordergoodsid` (`geval_ordergoodsid`),
  535. KEY `geval_goodsid` (`geval_goodsid`),
  536. KEY `geval_storeid` (`geval_storeid`),
  537. KEY `geval_frommemberid` (`geval_frommemberid`)
  538. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='信誉评价表';
  539. DROP TABLE IF EXISTS `#__evaluatestore`;
  540. CREATE TABLE IF NOT EXISTS `#__evaluatestore` (
  541. `seval_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '店铺评分自增ID',
  542. `seval_orderid` int(11) unsigned NOT NULL COMMENT '订单ID',
  543. `seval_orderno` varchar(100) NOT NULL COMMENT '订单编号',
  544. `seval_addtime` int(11) unsigned NOT NULL COMMENT '评价时间',
  545. `seval_storeid` int(11) unsigned NOT NULL COMMENT '店铺ID',
  546. `seval_storename` varchar(100) NOT NULL COMMENT '店铺名称',
  547. `seval_memberid` int(11) unsigned NOT NULL COMMENT '买家ID',
  548. `seval_membername` varchar(100) NOT NULL COMMENT '买家名称',
  549. `seval_desccredit` tinyint(1) unsigned NOT NULL DEFAULT '5' COMMENT '描述相符评分',
  550. `seval_servicecredit` tinyint(1) unsigned NOT NULL DEFAULT '5' COMMENT '服务态度评分',
  551. `seval_deliverycredit` tinyint(1) unsigned NOT NULL DEFAULT '5' COMMENT '发货速度评分',
  552. PRIMARY KEY (`seval_id`),
  553. KEY `seval_orderid` (`seval_orderid`),
  554. KEY `seval_storeid` (`seval_storeid`),
  555. KEY `seval_memberid` (`seval_memberid`)
  556. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺评分表';
  557. DROP TABLE IF EXISTS `#__exppointslog`;
  558. CREATE TABLE IF NOT EXISTS `#__exppointslog` (
  559. `explog_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '经验值日志自增ID',
  560. `explog_memberid` int(11) NOT NULL COMMENT '会员ID',
  561. `explog_membername` varchar(100) NOT NULL COMMENT '会员名称',
  562. `explog_points` int(11) NOT NULL DEFAULT '0' COMMENT '经验值负数表示扣除',
  563. `explog_addtime` int(11) NOT NULL COMMENT '经验值添加时间',
  564. `explog_desc` varchar(100) NOT NULL COMMENT '经验值操作描述',
  565. `explog_stage` varchar(50) NOT NULL COMMENT '经验值操作状态',
  566. PRIMARY KEY (`explog_id`),
  567. KEY `explog_memberid` (`explog_memberid`)
  568. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='经验值日志表';
  569. DROP TABLE IF EXISTS `#__express`;
  570. CREATE TABLE IF NOT EXISTS `#__express` (
  571. `express_id` tinyint(1) unsigned NOT NULL AUTO_INCREMENT COMMENT '快递公司自增ID',
  572. `express_name` varchar(50) NOT NULL COMMENT '快递公司名称',
  573. `express_state` enum('0','1') NOT NULL DEFAULT '1' COMMENT '快递公司状态',
  574. `express_code` varchar(50) NOT NULL COMMENT '快递公司编号',
  575. `express_letter` char(1) NOT NULL COMMENT '快递公司首字母',
  576. `express_order` enum('1','2') NOT NULL DEFAULT '2' COMMENT '1:常用2:不常用',
  577. `express_url` varchar(100) NOT NULL COMMENT '快递公司网址',
  578. PRIMARY KEY (`express_id`)
  579. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='快递公司';
  580. DROP TABLE IF EXISTS `#__expresscf_kdn_config`;
  581. CREATE TABLE IF NOT EXISTS `#__expresscf_kdn_config` (
  582. `expresscf_kdn_config_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '快递鸟电子面单ID',
  583. `expresscf_kdn_config_customer_name` varchar(50) NOT NULL COMMENT '账号',
  584. `expresscf_kdn_config_customer_pwd` varchar(30) NOT NULL COMMENT '密钥',
  585. `expresscf_kdn_config_send_site` varchar(30) NOT NULL COMMENT '所属网点',
  586. `expresscf_kdn_config_send_staff` varchar(30) NOT NULL COMMENT '收件员',
  587. `expresscf_kdn_config_month_code` varchar(20) NOT NULL COMMENT '月结号',
  588. `express_code` varchar(30) NOT NULL COMMENT '快递公司编码',
  589. `expresscf_kdn_config_pay_type` int(1) unsigned NOT NULL COMMENT '运费支付方式',
  590. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  591. PRIMARY KEY (`expresscf_kdn_config_id`),
  592. UNIQUE KEY `express_code` (`express_code`,`store_id`)
  593. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='快递鸟电子面单' AUTO_INCREMENT=1 ;
  594. DROP TABLE IF EXISTS `#__favorites`;
  595. CREATE TABLE IF NOT EXISTS `#__favorites` (
  596. `favlog_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '收藏记录自增ID',
  597. `member_id` int(10) unsigned NOT NULL COMMENT '会员ID',
  598. `member_name` varchar(50) NOT NULL COMMENT '会员名',
  599. `fav_id` int(10) unsigned NOT NULL COMMENT '商品ID或店铺ID',
  600. `fav_type` char(5) NOT NULL DEFAULT 'goods' COMMENT '类型:goods为商品,store为店铺',
  601. `fav_time` int(10) unsigned NOT NULL COMMENT '收藏时间',
  602. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  603. `store_name` varchar(20) NOT NULL COMMENT '店铺名称',
  604. `storeclass_id` int(10) unsigned DEFAULT '0' COMMENT '店铺分类ID',
  605. `goods_name` varchar(200) DEFAULT NULL COMMENT '商品名称',
  606. `goods_image` varchar(100) DEFAULT NULL COMMENT '商品图片',
  607. `gc_id` int(10) unsigned DEFAULT '0' COMMENT '商品分类ID',
  608. `favlog_price` decimal(10,2) DEFAULT '0.00' COMMENT '商品收藏时价格',
  609. `favlog_msg` varchar(20) DEFAULT NULL COMMENT '收藏备注',
  610. PRIMARY KEY (`favlog_id`),
  611. KEY `member_id` (`member_id`),
  612. KEY `fav_id` (`fav_id`,`fav_type`),
  613. KEY `store_id` (`store_id`)
  614. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='收藏表';
  615. DROP TABLE IF EXISTS `#__feedback`;
  616. CREATE TABLE IF NOT EXISTS `#__feedback` (
  617. `fb_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '反馈自增ID',
  618. `fb_content` varchar(500) DEFAULT NULL COMMENT '反馈内容',
  619. `fb_type` varchar(50) DEFAULT NULL COMMENT '1:手机端 2:PC端',
  620. `fb_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '反馈时间',
  621. `member_id` int(10) unsigned NOT NULL COMMENT '用户ID',
  622. `member_name` varchar(50) NOT NULL COMMENT '用户名',
  623. PRIMARY KEY (`fb_id`),
  624. KEY `member_id` (`member_id`)
  625. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='意见反馈';
  626. DROP TABLE IF EXISTS `#__flea`;
  627. CREATE TABLE IF NOT EXISTS `#__flea` (
  628. `goods_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '闲置自增ID',
  629. `goods_name` varchar(200) NOT NULL COMMENT '闲置名称',
  630. `fleaclass_id` int(11) NOT NULL COMMENT '闲置分类ID',
  631. `fleaclass_name` varchar(200) NOT NULL COMMENT '闲置分类名称',
  632. `member_id` int(11) NOT NULL COMMENT '店铺ID',
  633. `member_name` varchar(110) NOT NULL COMMENT '会员名称',
  634. `goods_image` varchar(100) DEFAULT NULL COMMENT '闲置默认封面图片',
  635. `goods_tag` varchar(100) NOT NULL COMMENT '闲置标签',
  636. `goods_price` decimal(10,2) NOT NULL COMMENT '闲置原价',
  637. `goods_store_price` decimal(10,2) NOT NULL COMMENT '闲置转让价格',
  638. `goods_show` tinyint(1) NOT NULL COMMENT '闲置上架',
  639. `goods_click` int(11) NOT NULL DEFAULT '0' COMMENT '闲置浏览数',
  640. `flea_collect_num` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '闲置物品总收藏次数',
  641. `goods_commend` tinyint(1) NOT NULL DEFAULT '0' COMMENT '闲置推荐',
  642. `goods_addtime` varchar(10) NOT NULL COMMENT '闲置添加时间',
  643. `goods_keywords` varchar(255) NOT NULL COMMENT '闲置关键字',
  644. `goods_description` varchar(255) NOT NULL COMMENT '闲置描述',
  645. `goods_body` text NOT NULL COMMENT '商品详细内容',
  646. `flea_commentnum` int(11) NOT NULL DEFAULT '0' COMMENT '评论次数',
  647. `flea_salenum` int(11) NOT NULL DEFAULT '0' COMMENT '售出数量',
  648. `flea_quality` tinyint(4) NOT NULL DEFAULT '0' COMMENT '闲置物品成色,0未选择,9-5九五成新,3是低于五成新',
  649. `flea_pname` varchar(20) DEFAULT NULL COMMENT '闲置商品联系人',
  650. `flea_pphone` varchar(20) DEFAULT NULL COMMENT '闲置商品联系人电话',
  651. `fleaarea_id` int(11) unsigned NOT NULL COMMENT '闲置物品地区id',
  652. `fleaarea_name` varchar(50) NOT NULL COMMENT '闲置物品地区名称',
  653. PRIMARY KEY (`goods_id`),
  654. KEY `goods_name` (`goods_name`,`fleaclass_id`,`member_id`),
  655. KEY `member_id` (`member_id`)
  656. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='闲置商品';
  657. DROP TABLE IF EXISTS `#__fleaarea`;
  658. CREATE TABLE IF NOT EXISTS `#__fleaarea` (
  659. `fleaarea_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '闲置地区自增ID',
  660. `fleaarea_name` varchar(50) NOT NULL COMMENT '闲置地区名称',
  661. `fleaarea_parent_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '闲置地区上级地区ID',
  662. `fleaarea_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '闲置地区排序',
  663. `fleaarea_deep` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '闲置地区层级',
  664. `fleaarea_hot` int(11) NOT NULL DEFAULT '0' COMMENT '地区检索热度',
  665. PRIMARY KEY (`fleaarea_id`)
  666. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='闲置地区';
  667. DROP TABLE IF EXISTS `#__fleaclass`;
  668. CREATE TABLE IF NOT EXISTS `#__fleaclass` (
  669. `fleaclass_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '闲置分类自增ID',
  670. `fleaclass_name` varchar(100) NOT NULL COMMENT '闲置分类名称',
  671. `fleaclass_name_index` varchar(100) DEFAULT NULL COMMENT '闲置首页显示的名称',
  672. `fleaclass_parent_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '上级ID',
  673. `fleaclass_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '闲置分类排序',
  674. `fleaclass_show` tinyint(1) NOT NULL DEFAULT '1' COMMENT '前台显示 0:否 1:是',
  675. `fleaclass_index_show` tinyint(1) NOT NULL DEFAULT '1' COMMENT '首页显示 1:显示 0:不显示',
  676. PRIMARY KEY (`fleaclass_id`)
  677. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='闲置分类';
  678. DROP TABLE IF EXISTS `#__fleaclassindex`;
  679. CREATE TABLE IF NOT EXISTS `#__fleaclassindex` (
  680. `fcindex_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id',
  681. `fcindex_class` varchar(50) NOT NULL COMMENT '类别名称',
  682. `fcindex_code` varchar(50) NOT NULL COMMENT '类别code',
  683. `fcindex_id1` varchar(50) NOT NULL DEFAULT '0' COMMENT '分类id1',
  684. `fcindex_name1` varchar(50) NOT NULL,
  685. `fcindex_id2` varchar(50) NOT NULL DEFAULT '0' COMMENT '分类id2',
  686. `fcindex_name2` varchar(50) NOT NULL,
  687. `fcindex_id3` varchar(50) NOT NULL DEFAULT '0' COMMENT '分类id3',
  688. `fcindex_name3` varchar(50) NOT NULL,
  689. `fcindex_id4` varchar(50) NOT NULL DEFAULT '0' COMMENT '分类id4',
  690. `fcindex_name4` varchar(50) NOT NULL,
  691. PRIMARY KEY (`fcindex_id`)
  692. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='闲置首页分类';
  693. DROP TABLE IF EXISTS `#__fleaconsult`;
  694. CREATE TABLE IF NOT EXISTS `#__fleaconsult` (
  695. `fleaconsult_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '闲置咨询自增ID',
  696. `goods_id` int(11) DEFAULT '0' COMMENT '商品ID',
  697. `member_id` int(11) NOT NULL DEFAULT '0' COMMENT '咨询发布者会员编号(0:游客)',
  698. `seller_id` int(11) NOT NULL COMMENT '信息发布者编号',
  699. `fleaconsult_email` varchar(255) DEFAULT NULL COMMENT '闲置咨询发布者邮箱',
  700. `fleaconsult_content` varchar(4000) DEFAULT NULL COMMENT '闲置咨询内容',
  701. `fleaconsult_addtime` int(10) DEFAULT NULL COMMENT '闲置咨询发布时间',
  702. `fleaconsult_reply` varchar(4000) DEFAULT NULL COMMENT '闲置咨询回复内容',
  703. `fleaconsult_reply_time` int(10) DEFAULT NULL COMMENT '闲置咨询回复时间',
  704. `fleaconsult_type` varchar(20) NOT NULL DEFAULT 'flea' COMMENT '闲置咨询类型',
  705. PRIMARY KEY (`fleaconsult_id`),
  706. KEY `member_id` (`member_id`),
  707. KEY `seller_id` (`seller_id`),
  708. KEY `goods_id` (`goods_id`)
  709. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='闲置咨询';
  710. DROP TABLE IF EXISTS `#__fleafavorites`;
  711. CREATE TABLE IF NOT EXISTS `#__fleafavorites` (
  712. `member_id` int(10) unsigned NOT NULL COMMENT '会员ID',
  713. `fleafav_id` int(10) unsigned NOT NULL COMMENT '收藏ID',
  714. `fleafav_type` varchar(20) NOT NULL COMMENT '闲置收藏类型',
  715. `fleafav_time` varchar(10) NOT NULL COMMENT '闲置收藏时间',
  716. KEY `member_id` (`member_id`),
  717. KEY `fleafav_id` (`fleafav_id`)
  718. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='买家闲置收藏表';
  719. DROP TABLE IF EXISTS `#__fleaupload`;
  720. CREATE TABLE IF NOT EXISTS `#__fleaupload` (
  721. `fleaupload_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '闲置上传文件自增ID',
  722. `fleafile_name` varchar(100) DEFAULT NULL COMMENT '文件名',
  723. `fleafile_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '文件大小',
  724. `store_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '会员ID',
  725. `fleaupload_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '默认为0,12为商品切换图片,13为商品内容图片',
  726. `fleaupload_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  727. `item_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '信息ID',
  728. PRIMARY KEY (`fleaupload_id`),
  729. KEY `store_id` (`store_id`)
  730. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='闲置上传文件表';
  731. DROP TABLE IF EXISTS `#__flowstat`;
  732. CREATE TABLE IF NOT EXISTS `#__flowstat` (
  733. `flowstat_stattime` int(11) unsigned NOT NULL COMMENT '访问日期',
  734. `flowstat_clicknum` int(11) unsigned NOT NULL COMMENT '访问量',
  735. `flowstat_type` varchar(10) NOT NULL COMMENT '类型',
  736. `store_id` int(11) unsigned NOT NULL COMMENT '店铺ID',
  737. `goods_id` int(11) unsigned NOT NULL COMMENT '商品ID',
  738. KEY `store_id` (`store_id`),
  739. KEY `goods_id` (`goods_id`)
  740. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='访问量统计表';
  741. DROP TABLE IF EXISTS `#__gadmin`;
  742. CREATE TABLE IF NOT EXISTS `#__gadmin` (
  743. `gid` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT '权限自增id',
  744. `gname` varchar(50) DEFAULT NULL COMMENT '权限组名',
  745. `glimits` text COMMENT '权限组序列',
  746. PRIMARY KEY (`gid`)
  747. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='权限组';
  748. DROP TABLE IF EXISTS `#__goods`;
  749. CREATE TABLE IF NOT EXISTS `#__goods` (
  750. `goods_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '商品自增ID(SKU)',
  751. `goods_commonid` int(10) unsigned NOT NULL COMMENT '商品公共表id',
  752. `goods_name` varchar(200) NOT NULL COMMENT '商品名称+规格名称',
  753. `goods_advword` varchar(150) DEFAULT NULL COMMENT '商品广告词',
  754. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  755. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  756. `gc_id` int(10) unsigned NOT NULL COMMENT '商品分类ID',
  757. `gc_id_1` int(10) DEFAULT NULL COMMENT '一级分类ID',
  758. `gc_id_2` int(10) DEFAULT NULL COMMENT '二级分类ID',
  759. `gc_id_3` int(10) DEFAULT NULL COMMENT '三级分类ID',
  760. `brand_id` int(10) unsigned DEFAULT '0' COMMENT '品牌ID',
  761. `goods_price` decimal(10,2) NOT NULL COMMENT '商品价格',
  762. `goods_promotion_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '商品促销价格',
  763. `goods_promotion_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '促销类型 0:无促销 1:抢购 2:限时折扣',
  764. `goods_marketprice` decimal(10,2) DEFAULT NULL COMMENT '商品市场价',
  765. `goods_serial` varchar(50) NOT NULL COMMENT '商家编号',
  766. `goods_storage_alarm` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '商品库存报警值',
  767. `goods_click` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '商品点击数量',
  768. `goods_salenum` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '商品销售数量',
  769. `goods_collect` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '商品收藏数量',
  770. `goods_spec` text NOT NULL COMMENT '商品规格序列化',
  771. `goods_storage` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '商品库存',
  772. `goods_weight` decimal(5,3) unsigned NOT NULL DEFAULT '0.000' COMMENT '商品重量',
  773. `goods_image` varchar(100) DEFAULT '' COMMENT '商品主图',
  774. `goods_lock` tinyint(3) unsigned DEFAULT '0' COMMENT '商品锁定 0未锁,1已锁',
  775. `goods_state` tinyint(3) unsigned DEFAULT '0' COMMENT '商品状态 0:下架 1:正常,10:违规(禁售)',
  776. `goods_verify` tinyint(3) unsigned DEFAULT NULL COMMENT '商品审核 1:通过 0:未通过 10:审核中',
  777. `goods_addtime` int(10) unsigned NOT NULL COMMENT '商品添加时间',
  778. `goods_edittime` int(10) unsigned NOT NULL COMMENT '商品编辑时间',
  779. `areaid_1` int(10) unsigned DEFAULT NULL COMMENT '一级地区id',
  780. `areaid_2` int(10) unsigned DEFAULT NULL COMMENT '二级地区id',
  781. `region_id` int(10) unsigned DEFAULT '0' COMMENT '一级地区id',
  782. `color_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '颜色规格id',
  783. `transport_id` mediumint(8) unsigned DEFAULT '0' COMMENT '售卖区域id',
  784. `goods_freight` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '运费 0:免运费',
  785. `goods_vat` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否开具增值税发票 1:是 0:否',
  786. `goods_commend` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '商品推荐 1:是 0:否',
  787. `goods_stcids` varchar(255) NOT NULL DEFAULT '' COMMENT '店铺分类ID 首尾用,隔开',
  788. `evaluation_good_star` tinyint(3) unsigned NOT NULL DEFAULT '5' COMMENT '好评星级',
  789. `evaluation_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '评价数',
  790. `is_virtual` tinyint(3) DEFAULT '0' COMMENT '是否为虚拟商品 1:是 0:否',
  791. `virtual_indate` int(10) DEFAULT NULL COMMENT '虚拟商品有效期',
  792. `virtual_limit` tinyint(3) unsigned DEFAULT NULL COMMENT '虚拟商品购买上限',
  793. `virtual_invalid_refund` tinyint(3) unsigned DEFAULT '1' COMMENT '是否允许过期退款 1:是 0:否',
  794. `virtual_content` TEXT COMMENT '虚拟商品内容',
  795. `is_goodsfcode` tinyint(4) DEFAULT '0' COMMENT '是否为F码商品 1:是 0:否',
  796. `is_appoint` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否是预约商品 1:是 0:否',
  797. `is_have_gift` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否拥有赠品',
  798. `is_platform_store` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否为平台自营',
  799. `goods_mgdiscount` text COMMENT '序列化会员等级折扣(商品)',
  800. `goods_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '店铺排序',
  801. PRIMARY KEY (`goods_id`),
  802. KEY `store_id` (`store_id`),
  803. KEY `gc_id` (`gc_id`),
  804. KEY `gc_id_1` (`gc_id_1`),
  805. KEY `gc_id_2` (`gc_id_2`),
  806. KEY `gc_id_3` (`gc_id_3`),
  807. KEY `brand_id` (`brand_id`),
  808. KEY `goods_commonid` (`goods_commonid`)
  809. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品表';
  810. DROP TABLE IF EXISTS `#__goodsattrindex`;
  811. CREATE TABLE IF NOT EXISTS `#__goodsattrindex` (
  812. `goods_id` int(10) unsigned NOT NULL COMMENT '商品ID',
  813. `goods_commonid` int(10) unsigned NOT NULL COMMENT '商品公共表ID',
  814. `gc_id` int(10) unsigned NOT NULL COMMENT '商品分类ID',
  815. `type_id` int(10) unsigned NOT NULL COMMENT '类型ID',
  816. `attr_id` int(10) unsigned NOT NULL COMMENT '属性ID',
  817. `attrvalue_id` int(10) unsigned NOT NULL COMMENT '属性值ID',
  818. PRIMARY KEY (`goods_id`,`gc_id`,`attrvalue_id`),
  819. KEY `goods_id` (`goods_id`),
  820. KEY `attrvalue_id` (`attrvalue_id`)
  821. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品与属性对应表';
  822. DROP TABLE IF EXISTS `#__goodsbrowse`;
  823. CREATE TABLE IF NOT EXISTS `#__goodsbrowse` (
  824. `goodsbrowse_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增ID',
  825. `goods_id` int(11) NOT NULL COMMENT '商品ID',
  826. `member_id` int(11) NOT NULL COMMENT '会员ID',
  827. `goodsbrowse_time` int(11) NOT NULL COMMENT '浏览时间',
  828. `gc_id` int(11) NOT NULL COMMENT '商品分类',
  829. `gc_id_1` int(11) NOT NULL COMMENT '商品一级分类',
  830. `gc_id_2` int(11) NOT NULL COMMENT '商品二级分类',
  831. `gc_id_3` int(11) NOT NULL COMMENT '商品三级分类',
  832. PRIMARY KEY (`goodsbrowse_id`),
  833. KEY `member_id` (`member_id`)
  834. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品浏览历史表';
  835. DROP TABLE IF EXISTS `#__goodsclass`;
  836. CREATE TABLE IF NOT EXISTS `#__goodsclass` (
  837. `gc_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '商品分类自增ID',
  838. `gc_name` varchar(100) NOT NULL COMMENT '商品分类名称',
  839. `gc_image` varchar(100) DEFAULT '' COMMENT '商品分类图',
  840. `type_id` int(10) unsigned NOT NULL COMMENT '类型id',
  841. `type_name` varchar(100) NOT NULL COMMENT '类型名称',
  842. `gc_parent_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '商品分类上级ID',
  843. `commis_rate` float unsigned NOT NULL DEFAULT '0' COMMENT '商品分类佣金比例',
  844. `gc_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '商品分类排序',
  845. `gc_virtual` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否允许发布虚拟商品 1:是 0:否',
  846. `gc_title` varchar(200) DEFAULT NULL COMMENT '商品分类名称',
  847. `gc_keywords` varchar(255) DEFAULT '' COMMENT '商品分类关键词',
  848. `gc_description` varchar(255) DEFAULT '' COMMENT '商品分类描述',
  849. `gc_show` tinyint(1) NOT NULL DEFAULT '1' COMMENT '商品分类前台显示 0:否 1:是',
  850. PRIMARY KEY (`gc_id`),
  851. KEY `store_id` (`gc_parent_id`),
  852. KEY `gc_parent_id` (`gc_parent_id`)
  853. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品分类表';
  854. DROP TABLE IF EXISTS `#__goodsclassnav`;
  855. CREATE TABLE IF NOT EXISTS `#__goodsclassnav` (
  856. `gc_id` int(10) unsigned NOT NULL COMMENT '商品分类ID',
  857. `goodscn_alias` varchar(100) DEFAULT '' COMMENT '商品分类别名',
  858. `goodscn_classids` varchar(100) DEFAULT '' COMMENT '推荐子级分类',
  859. `goodscn_brandids` varchar(100) DEFAULT '' COMMENT '推荐的品牌',
  860. `goodscn_pic` varchar(100) DEFAULT '' COMMENT '分类图片',
  861. `goodscn_adv1` varchar(100) DEFAULT '' COMMENT '广告图1',
  862. `goodscn_adv1_link` varchar(100) DEFAULT '' COMMENT '广告1链接',
  863. `goodscn_adv2` varchar(100) DEFAULT '' COMMENT '广告图2',
  864. `goodscn_adv2_link` varchar(100) NOT NULL COMMENT '广告2链接',
  865. PRIMARY KEY (`gc_id`)
  866. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='分类导航表';
  867. DROP TABLE IF EXISTS `#__goodsclassstaple`;
  868. CREATE TABLE IF NOT EXISTS `#__goodsclassstaple` (
  869. `staple_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '常用分类id',
  870. `staple_counter` int(10) unsigned NOT NULL DEFAULT '1' COMMENT '计数器',
  871. `staple_name` varchar(255) NOT NULL COMMENT '常用分类名称',
  872. `gc_id_1` int(10) unsigned NOT NULL COMMENT '一级分类id',
  873. `gc_id_2` int(10) unsigned NOT NULL COMMENT '二级商品分类',
  874. `gc_id_3` int(10) unsigned NOT NULL COMMENT '三级商品分类',
  875. `type_id` int(10) unsigned NOT NULL COMMENT '类型id',
  876. `member_id` int(10) unsigned NOT NULL COMMENT '会员id',
  877. PRIMARY KEY (`staple_id`),
  878. KEY `store_id` (`member_id`)
  879. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺常用分类表';
  880. DROP TABLE IF EXISTS `#__goodsclasstag`;
  881. CREATE TABLE IF NOT EXISTS `#__goodsclasstag` (
  882. `gctag_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'TAG自增ID',
  883. `gctag_name` varchar(255) NOT NULL COMMENT '分类TAG名称',
  884. `gctag_value` text NOT NULL COMMENT '分类TAG值',
  885. `type_id` int(10) unsigned NOT NULL COMMENT '类型ID',
  886. `gc_id` int(10) unsigned NOT NULL COMMENT '商品分类ID',
  887. `gc_id_1` int(10) unsigned NOT NULL COMMENT '一级分类ID',
  888. `gc_id_2` int(10) unsigned NOT NULL COMMENT '二级分类ID',
  889. `gc_id_3` int(10) unsigned NOT NULL COMMENT '三级分类ID',
  890. PRIMARY KEY (`gctag_id`),
  891. KEY `gc_id` (`gc_id`),
  892. KEY `type_id` (`type_id`),
  893. KEY `gc_id_1` (`gc_id_1`),
  894. KEY `gc_id_2` (`gc_id_2`),
  895. KEY `gc_id_3` (`gc_id_3`)
  896. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品分类TAG表';
  897. DROP TABLE IF EXISTS `#__goodscombo`;
  898. CREATE TABLE IF NOT EXISTS `#__goodscombo` (
  899. `combo_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '推荐组合自增ID ',
  900. `goods_id` int(10) unsigned NOT NULL COMMENT '主商品ID',
  901. `goods_commonid` int(10) unsigned NOT NULL COMMENT '主商品公共ID',
  902. `combo_goodsid` int(10) unsigned NOT NULL COMMENT '推荐组合商品ID',
  903. PRIMARY KEY (`combo_id`),
  904. KEY `goods_id` (`goods_id`),
  905. KEY `combo_goodsid` (`combo_goodsid`)
  906. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品推荐组合表';
  907. DROP TABLE IF EXISTS `#__goodscommon`;
  908. CREATE TABLE IF NOT EXISTS `#__goodscommon` (
  909. `goods_commonid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '商品公共表id',
  910. `goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  911. `goods_advword` varchar(150) DEFAULT NULL COMMENT '商品广告词',
  912. `gc_id` int(10) unsigned NOT NULL COMMENT '商品分类',
  913. `gc_id_1` int(10) unsigned DEFAULT NULL COMMENT '一级分类id',
  914. `gc_id_2` int(10) unsigned DEFAULT NULL COMMENT '二级分类id',
  915. `gc_id_3` int(10) unsigned DEFAULT NULL COMMENT '三级分类id',
  916. `gc_name` varchar(200) NOT NULL COMMENT '商品分类',
  917. `store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  918. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  919. `spec_name` varchar(255) NOT NULL COMMENT '规格名称',
  920. `spec_value` text NOT NULL COMMENT '规格值',
  921. `brand_id` int(10) unsigned DEFAULT '0' COMMENT '品牌id',
  922. `brand_name` varchar(100) DEFAULT NULL COMMENT '品牌名称',
  923. `type_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '类型id',
  924. `goods_image` varchar(100) DEFAULT NULL COMMENT '商品主图',
  925. `goodsvideo_name` varchar(100) DEFAULT NULL COMMENT '商品视频名称',
  926. `goods_attr` text NOT NULL COMMENT '商品属性',
  927. `goods_body` text COMMENT '商品内容',
  928. `mobile_body` text COMMENT '手机端商品描述',
  929. `goods_state` tinyint(3) unsigned DEFAULT '0' COMMENT '商品状态 0:下架 1:正常 10:违规(禁售)',
  930. `goods_stateremark` varchar(255) DEFAULT NULL COMMENT '违规原因',
  931. `goods_verify` tinyint(3) unsigned DEFAULT NULL COMMENT '商品审核 1通过,0未通过,10审核中',
  932. `goods_verifyremark` varchar(255) DEFAULT NULL COMMENT '审核失败原因',
  933. `goods_lock` tinyint(3) unsigned DEFAULT '0' COMMENT '商品锁定 0未锁,1已锁',
  934. `goods_addtime` int(10) unsigned NOT NULL COMMENT '商品添加时间',
  935. `goods_shelftime` int(10) unsigned NOT NULL COMMENT '上架时间',
  936. `goods_specname` text COMMENT '规格名称序列化(下标为规格id)',
  937. `goods_price` decimal(10,2) NOT NULL COMMENT '商品价格',
  938. `goods_marketprice` decimal(10,2) DEFAULT NULL COMMENT '商品市场价',
  939. `goods_costprice` decimal(10,2) NOT NULL COMMENT '商品成本价',
  940. `goods_discount` float unsigned NOT NULL COMMENT '商品折扣',
  941. `goods_serial` varchar(50) NOT NULL COMMENT '商家编号',
  942. `goods_storage_alarm` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '商品库存报警值',
  943. `transport_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '商品售卖区域',
  944. `transport_title` varchar(60) DEFAULT '' COMMENT '商品售卖区域名称',
  945. `goods_commend` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '商品推荐 1:是 0:否',
  946. `goods_freight` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '商品运费 0为免运费',
  947. `goods_vat` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '商品是否开具增值税发票 1:是 0:否',
  948. `areaid_1` int(10) DEFAULT NULL COMMENT '一级地区id',
  949. `areaid_2` int(10) DEFAULT NULL COMMENT '二级地区id',
  950. `goods_stcids` varchar(255) NOT NULL DEFAULT '' COMMENT '店铺分类id 首尾用,隔开',
  951. `plateid_top` int(10) unsigned DEFAULT NULL COMMENT '顶部关联板式',
  952. `plateid_bottom` int(10) unsigned DEFAULT NULL COMMENT '底部关联板式',
  953. `is_virtual` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否为虚拟商品 1:是 0:否',
  954. `virtual_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '虚拟商品类型 0:核销商品 1:卡券商品 2:网盘商品 3:下载商品',
  955. `virtual_indate` int(10) unsigned DEFAULT NULL COMMENT '虚拟商品有效期',
  956. `virtual_limit` tinyint(3) unsigned DEFAULT NULL COMMENT '虚拟商品购买上限',
  957. `virtual_invalid_refund` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '是否允许过期退款 1:是 0:否',
  958. `is_goodsfcode` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否为F码商品 1:是 0:否',
  959. `is_appoint` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否是预约商品 1:是 0:否',
  960. `appoint_satedate` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '预约商品出售时间',
  961. `is_platform_store` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否为平台自营',
  962. `goods_mgdiscount` text COMMENT '序列化会员等级折扣(商品)',
  963. `inviter_ratio` decimal(4,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '分销比例',
  964. `inviter_total_quantity` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '已分销的商品数量',
  965. `inviter_total_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '已分销的商品金额',
  966. `inviter_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '商品已结算的分销佣金',
  967. `inviter_open` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '开启推广',
  968. `mall_goods_commend` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '商品推荐 1:是 0:否',
  969. `mall_goods_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '商品推荐排序',
  970. `goods_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '店铺排序',
  971. `store_service_ids` text COMMENT '店铺服务ID列表 首尾用,隔开',
  972. PRIMARY KEY (`goods_commonid`),
  973. KEY `store_id` (`store_id`),
  974. KEY `gc_id` (`gc_id`),
  975. KEY `gc_id_1` (`gc_id_1`),
  976. KEY `gc_id_2` (`gc_id_2`),
  977. KEY `gc_id_3` (`gc_id_3`)
  978. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品公共内容表';
  979. DROP TABLE IF EXISTS `#__goodsfcode`;
  980. CREATE TABLE IF NOT EXISTS `#__goodsfcode` (
  981. `goodsfcode_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'F码自增ID',
  982. `goods_commonid` int(10) unsigned NOT NULL COMMENT '商品公共ID',
  983. `goodsfcode_code` varchar(20) NOT NULL COMMENT 'F码内容',
  984. `goodsfcode_state` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '状态 0:未使用 1:已使用',
  985. PRIMARY KEY (`goodsfcode_id`),
  986. KEY `goods_commonid` (`goods_commonid`),
  987. KEY `goodsfcode_code` (`goodsfcode_code`)
  988. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品F码';
  989. DROP TABLE IF EXISTS `#__goodsvideo`;
  990. CREATE TABLE IF NOT EXISTS `#__goodsvideo` (
  991. `goodsvideo_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '商品视频id',
  992. `store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  993. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  994. `goodsvideo_name` varchar(100) NOT NULL COMMENT '视频文件名',
  995. `goodsvideo_add_time` int(10) unsigned NOT NULL COMMENT '新增时间',
  996. PRIMARY KEY (`goodsvideo_id`),
  997. KEY `store_id` (`store_id`)
  998. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品视频' AUTO_INCREMENT=1 ;
  999. DROP TABLE IF EXISTS `#__goodsgift`;
  1000. CREATE TABLE IF NOT EXISTS `#__goodsgift` (
  1001. `gift_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '赠品ID',
  1002. `gift_goodsid` int(10) unsigned NOT NULL COMMENT '赠品商品ID',
  1003. `gift_goodsname` varchar(50) NOT NULL COMMENT '主商品名称',
  1004. `gift_goodsimage` varchar(100) NOT NULL COMMENT '主商品图片',
  1005. `gift_amount` tinyint(3) unsigned NOT NULL COMMENT '赠品数量',
  1006. `goods_id` int(10) unsigned NOT NULL COMMENT '主商品ID',
  1007. `goods_commonid` int(10) unsigned NOT NULL COMMENT '主商品公共ID',
  1008. PRIMARY KEY (`gift_id`),
  1009. KEY `goods_id` (`goods_id`)
  1010. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品赠品表';
  1011. DROP TABLE IF EXISTS `#__goodsimages`;
  1012. CREATE TABLE IF NOT EXISTS `#__goodsimages` (
  1013. `goodsimage_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '商品图片自增ID',
  1014. `goods_commonid` int(10) unsigned NOT NULL COMMENT '商品公共ID',
  1015. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  1016. `color_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '颜色规格值ID',
  1017. `goodsimage_url` varchar(1000) NOT NULL COMMENT '商品图片',
  1018. `goodsimage_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '商品图片排序',
  1019. `goodsimage_isdefault` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '商品图片默认主图,1是,0否',
  1020. PRIMARY KEY (`goodsimage_id`),
  1021. KEY `goods_commonid` (`goods_commonid`),
  1022. KEY `store_id` (`store_id`)
  1023. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品图片';
  1024. DROP TABLE IF EXISTS `#__goods_resource`;
  1025. CREATE TABLE IF NOT EXISTS `#__goods_resource` (
  1026. `goods_resource_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '商品资源id',
  1027. `store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  1028. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  1029. `file_name` varchar(100) DEFAULT NULL COMMENT '上传文件名',
  1030. `file_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '上传文件大小',
  1031. `goods_resource_name` varchar(100) NOT NULL COMMENT '资源文件名',
  1032. `goods_resource_add_time` int(10) unsigned NOT NULL COMMENT '新增时间',
  1033. PRIMARY KEY (`goods_resource_id`),
  1034. KEY `store_id` (`store_id`)
  1035. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品资源' AUTO_INCREMENT=1 ;
  1036. DROP TABLE IF EXISTS `#__groupbuy`;
  1037. CREATE TABLE IF NOT EXISTS `#__groupbuy` (
  1038. `groupbuy_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '抢购自增ID',
  1039. `groupbuy_name` varchar(255) NOT NULL COMMENT '抢购活动名称',
  1040. `groupbuy_starttime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '抢购开始时间',
  1041. `groupbuy_endtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '抢购结束时间',
  1042. `goods_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '商品ID',
  1043. `goods_commonid` int(10) unsigned NOT NULL COMMENT '商品公共表ID',
  1044. `goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  1045. `store_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '店铺ID',
  1046. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  1047. `goods_price` decimal(10,2) NOT NULL COMMENT '商品原价',
  1048. `groupbuy_price` decimal(10,2) NOT NULL COMMENT '抢购价格',
  1049. `groupbuy_rebate` decimal(10,2) NOT NULL COMMENT '折扣',
  1050. `virtual_quantity` int(10) unsigned NOT NULL COMMENT '虚拟购买数量',
  1051. `groupbuy_upper_limit` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '购买上限',
  1052. `groupbuy_buyer_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '已购买人数',
  1053. `groupbuy_buy_quantity` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '购买数量',
  1054. `groupbuy_intro` text COMMENT '本团介绍',
  1055. `groupbuy_state` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '抢购状态 10-审核中 20-正常 30-审核失败 31-管理员关闭 32-已结束',
  1056. `groupbuy_recommended` tinyint(1) unsigned NOT NULL COMMENT '是否推荐 0.未推荐 1.已推荐',
  1057. `groupbuy_views` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '查看次数',
  1058. `gclass_id` int(10) unsigned NOT NULL COMMENT '抢购类别编号',
  1059. `s_gclass_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '抢购2级分类id',
  1060. `groupbuy_image` varchar(100) NOT NULL COMMENT '抢购图片',
  1061. `groupbuy_image1` varchar(100) DEFAULT NULL COMMENT '抢购图片1',
  1062. `groupbuy_remark` varchar(255) NOT NULL COMMENT '备注',
  1063. `groupbuy_is_vr` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否虚拟抢购 1是0否',
  1064. `vr_class_id` int(11) DEFAULT NULL COMMENT '虚拟抢购大分类id',
  1065. `vr_s_class_id` int(11) DEFAULT NULL COMMENT '虚拟抢购小分类id',
  1066. PRIMARY KEY (`groupbuy_id`),
  1067. KEY `goods_id` (`goods_id`),
  1068. KEY `store_id` (`store_id`),
  1069. KEY `gclass_id` (`gclass_id`),
  1070. KEY `s_gclass_id` (`s_gclass_id`),
  1071. KEY `vr_class_id` (`vr_class_id`),
  1072. KEY `vr_s_class_id` (`vr_s_class_id`)
  1073. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='抢购商品表';
  1074. DROP TABLE IF EXISTS `#__groupbuyclass`;
  1075. CREATE TABLE IF NOT EXISTS `#__groupbuyclass` (
  1076. `gclass_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '抢购类别自增ID',
  1077. `gclass_name` varchar(20) NOT NULL COMMENT '抢购类别名称',
  1078. `gclass_parent_id` int(10) unsigned NOT NULL COMMENT '抢购上级类别ID',
  1079. `gclass_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '抢购类别排序',
  1080. `gclass_deep` tinyint(1) unsigned DEFAULT NULL COMMENT '抢购类别深度',
  1081. PRIMARY KEY (`gclass_id`),
  1082. KEY `gclass_parent_id` (`gclass_parent_id`)
  1083. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='抢购类别表';
  1084. DROP TABLE IF EXISTS `#__groupbuypricerange`;
  1085. CREATE TABLE IF NOT EXISTS `#__groupbuypricerange` (
  1086. `gprange_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '抢购价格区间ID',
  1087. `gprange_name` varchar(20) NOT NULL COMMENT '抢购价格区间名称',
  1088. `gprange_start` int(10) unsigned NOT NULL COMMENT '抢购价格区间下限',
  1089. `gprange_end` int(10) unsigned NOT NULL COMMENT '抢购价格区间上限',
  1090. PRIMARY KEY (`gprange_id`)
  1091. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='抢购价格区间表';
  1092. DROP TABLE IF EXISTS `#__groupbuyquota`;
  1093. CREATE TABLE IF NOT EXISTS `#__groupbuyquota` (
  1094. `groupbuyquota_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '抢购套餐ID',
  1095. `member_id` int(10) unsigned NOT NULL COMMENT '用户编号',
  1096. `store_id` int(10) unsigned NOT NULL COMMENT '店铺编号',
  1097. `member_name` varchar(50) NOT NULL COMMENT '用户名',
  1098. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  1099. `groupbuyquota_starttime` int(10) unsigned NOT NULL COMMENT '抢购套餐开始时间',
  1100. `groupbuyquota_endtime` int(10) unsigned NOT NULL COMMENT '抢购套餐结束时间',
  1101. PRIMARY KEY (`groupbuyquota_id`),
  1102. KEY `store_id` (`store_id`)
  1103. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='抢购套餐表';
  1104. DROP TABLE IF EXISTS `#__help`;
  1105. CREATE TABLE IF NOT EXISTS `#__help` (
  1106. `help_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '帮助自增ID',
  1107. `help_sort` tinyint(3) unsigned DEFAULT '255' COMMENT '帮助排序',
  1108. `help_title` varchar(100) NOT NULL COMMENT '帮助标题',
  1109. `help_info` text COMMENT '帮助内容',
  1110. `help_url` varchar(100) DEFAULT '' COMMENT '帮助跳转链接',
  1111. `help_updatetime` int(10) unsigned NOT NULL COMMENT '帮助更新时间',
  1112. `helptype_id` int(10) unsigned NOT NULL COMMENT '帮助类型',
  1113. `page_show` tinyint(1) unsigned DEFAULT '1' COMMENT '页面类型 1:店铺 2:会员',
  1114. PRIMARY KEY (`help_id`),
  1115. KEY `helptype_id` (`helptype_id`)
  1116. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='帮助内容表';
  1117. DROP TABLE IF EXISTS `#__helptype`;
  1118. CREATE TABLE IF NOT EXISTS `#__helptype` (
  1119. `helptype_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '帮助类型自增ID',
  1120. `helptype_name` varchar(50) NOT NULL COMMENT '帮助类型名称',
  1121. `helptype_sort` tinyint(3) unsigned DEFAULT '255' COMMENT '帮助类型',
  1122. `helptype_code` varchar(10) DEFAULT 'auto' COMMENT '调用编号(auto的可删除)',
  1123. `helptype_show` tinyint(1) unsigned DEFAULT '1' COMMENT '帮助类型是否显示 0:否 1:是',
  1124. `page_show` tinyint(1) unsigned DEFAULT '1' COMMENT '页面类型:1:店铺 2:会员',
  1125. PRIMARY KEY (`helptype_id`)
  1126. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='帮助类型表';
  1127. DROP TABLE IF EXISTS `#__inform`;
  1128. CREATE TABLE IF NOT EXISTS `#__inform` (
  1129. `inform_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '举报自增ID',
  1130. `inform_member_id` int(11) NOT NULL COMMENT '举报人ID',
  1131. `inform_member_name` varchar(50) NOT NULL COMMENT '举报人会员名',
  1132. `inform_goods_id` int(11) NOT NULL COMMENT '被举报的商品ID',
  1133. `inform_goods_name` varchar(200) NOT NULL COMMENT '被举报的商品名称',
  1134. `informsubject_id` int(11) NOT NULL COMMENT '举报主题ID',
  1135. `informsubject_content` varchar(50) NOT NULL COMMENT '举报主题',
  1136. `inform_content` varchar(100) NOT NULL COMMENT '举报信息',
  1137. `inform_pic1` varchar(100) NOT NULL COMMENT '图片1',
  1138. `inform_pic2` varchar(100) NOT NULL COMMENT '图片2',
  1139. `inform_pic3` varchar(100) NOT NULL COMMENT '图片3',
  1140. `inform_datetime` int(11) NOT NULL COMMENT '举报时间',
  1141. `inform_store_id` int(11) NOT NULL COMMENT '被举报商品的店铺ID',
  1142. `inform_state` tinyint(4) NOT NULL COMMENT '举报状态(1未处理/2已处理)',
  1143. `inform_handle_type` tinyint(4) DEFAULT NULL COMMENT '举报处理结果(1无效举报/2恶意举报/3有效举报)',
  1144. `inform_handle_message` varchar(100) NOT NULL COMMENT '举报处理信息',
  1145. `inform_handle_datetime` int(11) NOT NULL DEFAULT '0' COMMENT '举报处理时间',
  1146. `inform_handle_member_id` int(11) NOT NULL DEFAULT '0' COMMENT '管理员ID',
  1147. `inform_goods_image` varchar(150) DEFAULT NULL COMMENT '商品图',
  1148. `inform_store_name` varchar(100) DEFAULT NULL COMMENT '店铺名',
  1149. PRIMARY KEY (`inform_id`),
  1150. KEY `inform_member_id` (`inform_member_id`),
  1151. KEY `inform_store_id` (`inform_store_id`)
  1152. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='举报表';
  1153. DROP TABLE IF EXISTS `#__informsubject`;
  1154. CREATE TABLE IF NOT EXISTS `#__informsubject` (
  1155. `informsubject_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '举报主题自增ID',
  1156. `informsubject_content` varchar(100) NOT NULL COMMENT '举报主题内容',
  1157. `informsubject_type_id` int(11) NOT NULL COMMENT '举报类型ID',
  1158. `informsubject_type_name` varchar(50) NOT NULL COMMENT '举报类型名称 ',
  1159. `informsubject_state` tinyint(3) NOT NULL COMMENT '举报主题状态 1:可用 2:失效',
  1160. PRIMARY KEY (`informsubject_id`),
  1161. KEY `informsubject_type_id` (`informsubject_type_id`)
  1162. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='举报主题表';
  1163. DROP TABLE IF EXISTS `#__informsubjecttype`;
  1164. CREATE TABLE IF NOT EXISTS `#__informsubjecttype` (
  1165. `informtype_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '举报类型自增ID',
  1166. `informtype_name` varchar(50) NOT NULL COMMENT '举报类型名称 ',
  1167. `informtype_desc` varchar(100) NOT NULL COMMENT '举报类型描述',
  1168. `informtype_state` tinyint(4) NOT NULL COMMENT '举报类型状态 1:有效 2:失效',
  1169. PRIMARY KEY (`informtype_id`)
  1170. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='举报类型表';
  1171. DROP TABLE IF EXISTS `#__instant_message`;
  1172. CREATE TABLE IF NOT EXISTS `#__instant_message` (
  1173. `instant_message_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '消息自增ID',
  1174. `instant_message_from_id` int(10) unsigned NOT NULL COMMENT '发送ID',
  1175. `instant_message_from_type` tinyint(1) unsigned NOT NULL COMMENT '发送类型(0用户1商家2直播)',
  1176. `instant_message_from_name` varchar(500) NOT NULL COMMENT '发送名称',
  1177. `instant_message_from_ip` varchar(15) NOT NULL COMMENT '发自IP',
  1178. `instant_message_to_id` int(10) unsigned NOT NULL COMMENT '接收ID',
  1179. `instant_message_to_type` tinyint(1) unsigned NOT NULL COMMENT '接收类型(0用户1商家2直播)',
  1180. `instant_message_to_name` varchar(500) NOT NULL COMMENT '接收名称',
  1181. `instant_message` text COMMENT '消息内容',
  1182. `instant_message_type` tinyint(1) unsigned DEFAULT '0' COMMENT '消息类型(0文字1商品)',
  1183. `instant_message_state` tinyint(1) unsigned DEFAULT '2' COMMENT '状态:1为已读,2为未读,默认为2',
  1184. `instant_message_add_time` int(10) unsigned DEFAULT '0' COMMENT '添加时间',
  1185. PRIMARY KEY (`instant_message_id`),
  1186. KEY `instant_message_from_id` (`instant_message_from_id`,`instant_message_from_type`),
  1187. KEY `instant_message_to_id` (`instant_message_to_id`,`instant_message_to_type`)
  1188. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='消息表';
  1189. DROP TABLE IF EXISTS `#__inviter`;
  1190. CREATE TABLE IF NOT EXISTS `#__inviter` (
  1191. `inviter_id` int(10) unsigned NOT NULL COMMENT '推广员id即会员id',
  1192. `inviter_state` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '推广员状态(0审核中1已审核2已清退)',
  1193. `inviter_total_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '总共结算的佣金 ',
  1194. `inviter_1_quantity` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '1级成员数量',
  1195. `inviter_2_quantity` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '2级成员数量',
  1196. `inviter_3_quantity` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '3级成员数量',
  1197. `inviter_applytime` int(10) unsigned NOT NULL COMMENT '申请时间',
  1198. `inviter_goods_quantity` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '总共分销的商品件数',
  1199. `inviter_goods_amount` decimal(10,0) unsigned NOT NULL DEFAULT '0' COMMENT '总共分销的商品金额',
  1200. PRIMARY KEY (`inviter_id`)
  1201. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='推广员表';
  1202. DROP TABLE IF EXISTS `#__inviterclass`;
  1203. CREATE TABLE IF NOT EXISTS `#__inviterclass` (
  1204. `inviterclass_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '推广员等级id',
  1205. `inviterclass_name` varchar(60) NOT NULL COMMENT '等级名',
  1206. `inviterclass_amount` decimal(10,2) NOT NULL COMMENT '等级门槛',
  1207. PRIMARY KEY (`inviterclass_id`)
  1208. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='推广等级表';
  1209. DROP TABLE IF EXISTS `#__invoice`;
  1210. CREATE TABLE IF NOT EXISTS `#__invoice` (
  1211. `invoice_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '发票信息ID',
  1212. `member_id` int(10) unsigned NOT NULL COMMENT '会员ID',
  1213. `invoice_state` enum('1','2') DEFAULT NULL COMMENT '发票类型 1:普通发票 2:增值税发票',
  1214. `invoice_title` varchar(50) DEFAULT '' COMMENT '发票抬头[普通发票]',
  1215. `invoice_code` varchar(50) DEFAULT '' COMMENT '纳税人识别号[普通发票]',
  1216. `invoice_content` varchar(10) DEFAULT '' COMMENT '发票内容[普通发票]',
  1217. `invoice_company` varchar(50) DEFAULT '' COMMENT '单位名称',
  1218. `invoice_company_code` varchar(50) DEFAULT '' COMMENT '纳税人识别号',
  1219. `invoice_reg_addr` varchar(50) DEFAULT '' COMMENT '注册地址',
  1220. `invoice_reg_phone` varchar(30) DEFAULT '' COMMENT '注册电话',
  1221. `invoice_reg_bname` varchar(30) DEFAULT '' COMMENT '开户银行',
  1222. `invoice_reg_baccount` varchar(30) DEFAULT '' COMMENT '银行帐户',
  1223. `invoice_rec_name` varchar(20) DEFAULT '' COMMENT '收票人姓名',
  1224. `invoice_rec_mobphone` varchar(15) DEFAULT '' COMMENT '收票人手机号',
  1225. `invoice_rec_province` varchar(30) DEFAULT '' COMMENT '收票人省份',
  1226. `invoice_goto_addr` varchar(50) DEFAULT '' COMMENT '送票地址',
  1227. PRIMARY KEY (`invoice_id`),
  1228. KEY `member_id` (`member_id`)
  1229. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='买家发票信息表';
  1230. DROP TABLE IF EXISTS `#__link`;
  1231. CREATE TABLE IF NOT EXISTS `#__link` (
  1232. `link_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '友情链接自增ID',
  1233. `link_title` varchar(100) DEFAULT NULL COMMENT '友情链接标题',
  1234. `link_url` varchar(100) DEFAULT NULL COMMENT '友情链接地址',
  1235. `link_pic` varchar(100) DEFAULT NULL COMMENT '友情链接图片',
  1236. `link_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '友情链接排序',
  1237. PRIMARY KEY (`link_id`)
  1238. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='友情链接';
  1239. DROP TABLE IF EXISTS `#__live_apply`;
  1240. CREATE TABLE IF NOT EXISTS `#__live_apply` (
  1241. `live_apply_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '直播申请id',
  1242. `live_apply_name` varchar(255) NOT NULL COMMENT '直播标题',
  1243. `live_apply_state` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '直播申请状态(0申请中1已通过2已拒绝)',
  1244. `live_apply_push_state` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '推流状态(0主播未进入直播间1主播已进入2主播停止直播)',
  1245. `live_apply_push_message` varchar(255) NOT NULL DEFAULT '' COMMENT '断流提示信息',
  1246. `live_apply_play_time` int(10) unsigned NOT NULL COMMENT '直播时间',
  1247. `live_apply_end_time` int(10) unsigned DEFAULT NULL COMMENT '过期时间',
  1248. `live_apply_video` varchar(500) DEFAULT NULL COMMENT '回放视频',
  1249. `live_apply_cover_image` varchar(255) DEFAULT NULL COMMENT '封面图片',
  1250. `live_apply_cover_video` varchar(255) DEFAULT NULL COMMENT '封面视频',
  1251. `live_apply_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '申请类别 0:无 1:课程 2:商品',
  1252. `live_apply_type_id` int(10) NOT NULL DEFAULT '0' COMMENT '申请类别id',
  1253. `live_apply_add_time` int(10) unsigned NOT NULL COMMENT '申请时间',
  1254. `live_apply_user_type` tinyint(1) unsigned NOT NULL COMMENT '申请用户类型(1用户2商家)',
  1255. `live_apply_user_id` int(10) unsigned NOT NULL COMMENT '申请用户id',
  1256. `live_apply_remark` varchar(255) NOT NULL COMMENT '备注',
  1257. `live_apply_like_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '喜欢数',
  1258. `live_apply_view_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '观看数',
  1259. PRIMARY KEY (`live_apply_id`),
  1260. KEY `live_apply_state` (`live_apply_state`),
  1261. KEY `live_apply_type_id` (`live_apply_type_id`,`live_apply_user_type`)
  1262. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='直播申请';
  1263. DROP TABLE IF EXISTS `#__live_apply_goods`;
  1264. CREATE TABLE IF NOT EXISTS `#__live_apply_goods` (
  1265. `live_apply_id` int(10) unsigned NOT NULL COMMENT '直播申请id',
  1266. `store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  1267. `store_name` varchar(200) NOT NULL COMMENT '店铺名称',
  1268. `goods_commonid` int(10) unsigned NOT NULL COMMENT '商品id',
  1269. `goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  1270. `gc_id` int(10) unsigned NOT NULL COMMENT '商品分类',
  1271. `gc_id_1` int(10) unsigned DEFAULT NULL COMMENT '一级分类id',
  1272. `gc_id_2` int(10) unsigned DEFAULT NULL COMMENT '二级分类id',
  1273. `gc_id_3` int(10) unsigned DEFAULT NULL COMMENT '三级分类id',
  1274. `gc_name` varchar(200) NOT NULL COMMENT '商品分类',
  1275. PRIMARY KEY (`live_apply_id`,`goods_commonid`),
  1276. KEY `goods_commonid` (`goods_commonid`),
  1277. KEY `gc_id` (`gc_id`),
  1278. KEY `gc_id_1` (`gc_id_1`),
  1279. KEY `gc_id_2` (`gc_id_2`),
  1280. KEY `gc_id_3` (`gc_id_3`)
  1281. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='直播申请商品';
  1282. DROP TABLE IF EXISTS `#__mailcron`;
  1283. CREATE TABLE IF NOT EXISTS `#__mailcron` (
  1284. `mailcron_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '消息任务计划自增ID',
  1285. `mailcron_address` varchar(100) NOT NULL COMMENT '邮箱地址',
  1286. `mailcron_subject` varchar(255) NOT NULL COMMENT '邮件标题',
  1287. `mailcron_contnet` text NOT NULL COMMENT '邮件内容',
  1288. PRIMARY KEY (`mailcron_id`)
  1289. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='邮件任务计划表';
  1290. DROP TABLE IF EXISTS `#__mailmsgtemlates`;
  1291. CREATE TABLE IF NOT EXISTS `#__mailmsgtemlates` (
  1292. `mailmt_name` varchar(100) NOT NULL COMMENT '模板名称',
  1293. `mailmt_title` varchar(100) DEFAULT NULL COMMENT '模板标题',
  1294. `mailmt_code` varchar(30) NOT NULL COMMENT '模板调用代码',
  1295. `mailmt_content` text NOT NULL COMMENT '模板内容',
  1296. `ali_template_code` varchar(255) DEFAULT NULL COMMENT '阿里云短信模板ID',
  1297. `ten_template_code` varchar(255) DEFAULT NULL COMMENT '腾讯云短信模板ID',
  1298. PRIMARY KEY (`mailmt_code`)
  1299. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='邮件模板表';
  1300. DROP TABLE IF EXISTS `#__mallconsult`;
  1301. CREATE TABLE IF NOT EXISTS `#__mallconsult` (
  1302. `mallconsult_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '平台客服咨询自增ID',
  1303. `mallconsulttype_id` int(10) unsigned NOT NULL COMMENT '咨询类型ID',
  1304. `member_id` int(10) unsigned NOT NULL COMMENT '会员ID',
  1305. `member_name` varchar(50) NOT NULL COMMENT '会员名称',
  1306. `mallconsult_content` varchar(500) NOT NULL COMMENT '咨询内容',
  1307. `mallconsult_addtime` int(10) unsigned NOT NULL COMMENT '咨询时间',
  1308. `mallconsult_isreply` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否回复 1:是 0:否',
  1309. `mallconsult_reply_content` varchar(500) NOT NULL DEFAULT '' COMMENT '平台回复内容',
  1310. `mallconsult_replytime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '平台回复时间',
  1311. `admin_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '管理员id',
  1312. `admin_name` varchar(50) NOT NULL DEFAULT '' COMMENT '管理员名称',
  1313. PRIMARY KEY (`mallconsult_id`),
  1314. KEY `member_id` (`member_id`)
  1315. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='平台客服咨询表';
  1316. DROP TABLE IF EXISTS `#__mallconsulttype`;
  1317. CREATE TABLE IF NOT EXISTS `#__mallconsulttype` (
  1318. `mallconsulttype_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '平台客服咨询类型ID',
  1319. `mallconsulttype_name` varchar(50) NOT NULL COMMENT '咨询类型名称',
  1320. `mallconsulttype_introduce` text NOT NULL COMMENT '平台客服咨询类型备注',
  1321. `mallconsulttype_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '咨询类型排序',
  1322. PRIMARY KEY (`mallconsulttype_id`)
  1323. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='平台客服咨询类型表';
  1324. DROP TABLE IF EXISTS `#__mallvouchertemplate`;
  1325. CREATE TABLE IF NOT EXISTS `#__mallvouchertemplate` (
  1326. `mallvouchertemplate_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '平台代金券类型ID',
  1327. `mallvouchertemplate_title` varchar(50) NOT NULL COMMENT '平台代金券类型标题',
  1328. `mallvouchertemplate_price` int(11) NOT NULL COMMENT '平台代金券面额',
  1329. `mallvouchertemplate_startdate` int(11) NOT NULL COMMENT '平台代金券使用开始时间',
  1330. `mallvouchertemplate_enddate` int(11) NOT NULL COMMENT '平台代金券使用结束时间',
  1331. `mallvouchertemplate_limit` int(11) NOT NULL COMMENT '平台代金券订单使用限额',
  1332. `mallvouchertemplate_gcidarr` text COMMENT '商品分类ID组成的串,以,隔开,两端也有,',
  1333. `mallvouchertemplate_gcid` int(11) NOT NULL COMMENT '平台代金券所属商品分类ID',
  1334. `mallvouchertemplate_gcname` varchar(50) NOT NULL COMMENT '平台代金券所属分类名称',
  1335. `mallvouchertemplate_points` int(11) NOT NULL DEFAULT '0' COMMENT '领取代金券所需积分',
  1336. `mallvouchertemplate_quantity` int(11) NOT NULL COMMENT '代金券发放总数',
  1337. `mallvouchertemplate_giveout` int(11) NOT NULL COMMENT '代金券已领取数量',
  1338. `mallvouchertemplate_used` int(11) NOT NULL COMMENT '代金券已使用数量',
  1339. `mallvouchertemplate_eachlimit` int(11) NOT NULL COMMENT '每人限制领取数',
  1340. PRIMARY KEY (`mallvouchertemplate_id`)
  1341. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='平台代金券模板表';
  1342. DROP TABLE IF EXISTS `#__mallvoucheruser`;
  1343. CREATE TABLE IF NOT EXISTS `#__mallvoucheruser` (
  1344. `mallvoucheruser_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '平台代金券ID',
  1345. `mallvoucheruser_code` varchar(32) DEFAULT NULL COMMENT '平台代金券编码',
  1346. `mallvoucheruser_title` varchar(50) NOT NULL COMMENT '平台代金券标题',
  1347. `mallvoucheruser_startdate` int(11) NOT NULL COMMENT '平台代金券有效期开始时间',
  1348. `mallvoucheruser_enddate` int(11) NOT NULL COMMENT '平台代金券有效期结束时间',
  1349. `mallvoucheruser_price` int(11) NOT NULL COMMENT '平台代金券面额',
  1350. `mallvoucheruser_limit` decimal(10,2) NOT NULL COMMENT '平台代金券使用时的订单限额',
  1351. `mallvoucheruser_activedate` int(11) NOT NULL COMMENT '平台代金券发放时间',
  1352. `mallvoucheruser_ownerid` int(11) NOT NULL COMMENT '平台代金券所有者ID',
  1353. `mallvoucheruser_ownername` varchar(50) NOT NULL COMMENT '平台代金券所有者名称',
  1354. `mallvoucheruser_state` tinyint(4) DEFAULT '0' COMMENT '使用状态 0:未使用 1:已使用 2:已过期',
  1355. `mallvouchertemplate_id` int(11) NOT NULL DEFAULT '0' COMMENT '平台代金券ID',
  1356. `mallvouchertemplate_gcidarr` text COMMENT '商品分类ID组成的串,以,隔开,两端也有,',
  1357. `mallvouchertemplate_gcid` int(11) NOT NULL COMMENT '平台代金券所属商品分类ID',
  1358. `mallvouchertemplate_points` int(11) NOT NULL DEFAULT '0' COMMENT '领取代金券所需积分',
  1359. PRIMARY KEY (`mallvoucheruser_id`)
  1360. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='平台代金券会员表';
  1361. DROP TABLE IF EXISTS `#__marketmanage`;
  1362. CREATE TABLE IF NOT EXISTS `#__marketmanage` (
  1363. `marketmanage_id` int(11) NOT NULL AUTO_INCREMENT,
  1364. `marketmanage_name` varchar(100) NOT NULL DEFAULT '' COMMENT '营销活动活动名称',
  1365. `marketmanage_detail` varchar(255) NOT NULL DEFAULT '' COMMENT '营销活动详情',
  1366. `marketmanage_begintime` int(11) NOT NULL DEFAULT '0' COMMENT '开始时间',
  1367. `marketmanage_endtime` int(11) NOT NULL DEFAULT '0' COMMENT '结束时间',
  1368. `marketmanage_jointype` tinyint(2) NOT NULL DEFAULT '0' COMMENT '参与类型 0共几次 1每天几次 2无限制',
  1369. `marketmanage_joincount` int(11) NOT NULL DEFAULT '0' COMMENT '参与次数限制',
  1370. `marketmanage_totalcount` int(11) NOT NULL DEFAULT '0' COMMENT '总参与次数',
  1371. `marketmanage_totalwin` int(11) NOT NULL DEFAULT '0' COMMENT '总中奖次数',
  1372. `marketmanage_point` int(11) NOT NULL DEFAULT '0' COMMENT '0不消耗积分 大于0消耗积分',
  1373. `marketmanage_addtime` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
  1374. `marketmanage_failed` varchar(255) NOT NULL DEFAULT '' COMMENT '未中奖说明',
  1375. `marketmanage_type` tinyint(3) NOT NULL DEFAULT '0' COMMENT '营销活动类型 1刮刮卡2大转盘3砸金蛋4生肖翻翻看',
  1376. PRIMARY KEY (`marketmanage_id`)
  1377. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='营销活动活动 刮刮卡大转盘砸金蛋生肖翻翻看';
  1378. DROP TABLE IF EXISTS `#__marketmanageaward`;
  1379. CREATE TABLE IF NOT EXISTS `#__marketmanageaward` (
  1380. `marketmanageaward_id` int(11) NOT NULL AUTO_INCREMENT,
  1381. `marketmanage_id` int(11) NOT NULL DEFAULT '0' COMMENT '营销活动ID',
  1382. `marketmanageaward_level` tinyint(3) NOT NULL COMMENT '奖品等级',
  1383. `marketmanageaward_type` tinyint(3) NOT NULL DEFAULT '0' COMMENT '奖品类型 1积分 2红包 3优惠券',
  1384. `marketmanageaward_count` int(11) NOT NULL DEFAULT '0' COMMENT '奖品数量',
  1385. `marketmanageaward_send` int(11) NOT NULL DEFAULT '0' COMMENT '中奖数量',
  1386. `marketmanageaward_probability` int(3) NOT NULL DEFAULT '0' COMMENT '奖品概率',
  1387. `marketmanageaward_point` int(11) NOT NULL DEFAULT '0' COMMENT '奖品积分',
  1388. `bonus_id` int(11) NOT NULL DEFAULT '0' COMMENT '红包ID',
  1389. `vouchertemplate_id` int(11) NOT NULL DEFAULT '0' COMMENT '优惠券ID',
  1390. PRIMARY KEY (`marketmanageaward_id`)
  1391. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='营销活动活动奖品记录';
  1392. DROP TABLE IF EXISTS `#__marketmanagelog`;
  1393. CREATE TABLE IF NOT EXISTS `#__marketmanagelog` (
  1394. `marketmanagelog_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  1395. `member_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户ID',
  1396. `member_name` varchar(50) NOT NULL COMMENT '会员名',
  1397. `marketmanage_id` int(11) NOT NULL DEFAULT '0' COMMENT '营销活动活动ID',
  1398. `marketmanageaward_id` int(11) NOT NULL DEFAULT '0' COMMENT '中奖的奖品ID',
  1399. `marketmanagelog_win` tinyint(2) NOT NULL DEFAULT '0' COMMENT '是否中奖 0未中奖 1中奖',
  1400. `marketmanagelog_time` int(11) NOT NULL DEFAULT '0' COMMENT '参与时间',
  1401. `marketmanagelog_remark` varchar(255) NOT NULL DEFAULT '' COMMENT '备注领取信息',
  1402. PRIMARY KEY (`marketmanagelog_id`),
  1403. KEY `member_id` (`member_id`)
  1404. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='营销活动活动领取记录';
  1405. DROP TABLE IF EXISTS `#__mbchaintoken`;
  1406. CREATE TABLE IF NOT EXISTS `#__mbchaintoken` (
  1407. `chain_token_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '令牌编号',
  1408. `chain_id` int(10) unsigned NOT NULL COMMENT '门店编号',
  1409. `chain_name` varchar(60) NOT NULL COMMENT '门店登录名',
  1410. `chain_token` varchar(60) NOT NULL COMMENT 'token',
  1411. `chain_logintime` int(10) unsigned NOT NULL COMMENT '登录时间',
  1412. `chain_clienttype` varchar(10) NOT NULL COMMENT '客户端类型',
  1413. PRIMARY KEY (`chain_token_id`),
  1414. UNIQUE KEY `chain_token` (`chain_token`),
  1415. UNIQUE KEY `chain_id` (`chain_id`)
  1416. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='门店登录token表';
  1417. DROP TABLE IF EXISTS `#__mbsellertoken`;
  1418. CREATE TABLE IF NOT EXISTS `#__mbsellertoken` (
  1419. `seller_token_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '令牌编号',
  1420. `seller_id` int(10) unsigned NOT NULL COMMENT '用户编号',
  1421. `seller_name` varchar(50) NOT NULL COMMENT '用户名',
  1422. `seller_token` varchar(50) NOT NULL COMMENT '登录令牌',
  1423. `seller_logintime` int(10) unsigned NOT NULL COMMENT '登录时间',
  1424. `seller_clienttype` varchar(10) NOT NULL COMMENT '客户端类型 windows',
  1425. PRIMARY KEY (`seller_token_id`),
  1426. KEY `seller_token` (`seller_token`),
  1427. KEY `seller_id` (`seller_id`)
  1428. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='客户端商家登录令牌表';
  1429. DROP TABLE IF EXISTS `#__mbusertoken`;
  1430. CREATE TABLE IF NOT EXISTS `#__mbusertoken` (
  1431. `member_token_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '令牌编号',
  1432. `member_id` int(10) unsigned NOT NULL COMMENT '用户编号',
  1433. `member_name` varchar(50) NOT NULL COMMENT '用户名',
  1434. `member_token` varchar(50) NOT NULL COMMENT '登录令牌',
  1435. `member_logintime` int(10) unsigned NOT NULL COMMENT '登录时间',
  1436. `member_clienttype` varchar(10) NOT NULL COMMENT '客户端类型 android wap',
  1437. `member_openid` varchar(50) DEFAULT NULL COMMENT '微信支付jsapi的openid缓存',
  1438. PRIMARY KEY (`member_token_id`),
  1439. KEY `member_id` (`member_id`),
  1440. KEY `member_token` (`member_token`)
  1441. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='移动端登录令牌表';
  1442. DROP TABLE IF EXISTS `#__member`;
  1443. CREATE TABLE IF NOT EXISTS `#__member` (
  1444. `member_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '会员自增ID',
  1445. `member_name` varchar(50) NOT NULL COMMENT '会员用户名',
  1446. `member_truename` varchar(20) DEFAULT NULL COMMENT '会员真实姓名',
  1447. `member_nickname` varchar(20) DEFAULT NULL COMMENT '会员昵称',
  1448. `member_auth_state` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '实名认证状态(0默认1审核中2未通过3已认证)',
  1449. `member_idcard` varchar(255) DEFAULT NULL COMMENT '实名认证身份证号',
  1450. `member_idcard_image1` varchar(255) DEFAULT NULL COMMENT '手持身份证照',
  1451. `member_idcard_image2` varchar(255) DEFAULT NULL COMMENT '身份证正面照',
  1452. `member_idcard_image3` varchar(255) DEFAULT NULL COMMENT '身份证反面照',
  1453. `member_avatar` varchar(50) DEFAULT NULL COMMENT '会员头像',
  1454. `member_sex` tinyint(1) DEFAULT NULL COMMENT '会员性别',
  1455. `member_birthday` int(11) DEFAULT NULL COMMENT '会员生日',
  1456. `member_password` varchar(32) NOT NULL COMMENT '会员密码',
  1457. `member_paypwd` varchar(32) DEFAULT NULL COMMENT '支付密码',
  1458. `member_email` varchar(50) DEFAULT NULL COMMENT '会员邮箱',
  1459. `member_emailbind` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否绑定邮箱',
  1460. `member_mobile` varchar(11) DEFAULT NULL COMMENT '手机号码',
  1461. `member_mobilebind` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否绑定手机',
  1462. `member_qq` varchar(20) DEFAULT NULL COMMENT '会员QQ',
  1463. `member_ww` varchar(20) DEFAULT NULL COMMENT '会员旺旺',
  1464. `member_loginnum` int(11) NOT NULL DEFAULT '0' COMMENT '会员登录次数',
  1465. `member_addtime` int(11) NOT NULL COMMENT '会员添加时间',
  1466. `member_logintime` int(11) DEFAULT '0' COMMENT '会员当前登录时间',
  1467. `member_old_logintime` int(11) DEFAULT '0' COMMENT '会员上次登录时间',
  1468. `member_login_ip` varchar(20) DEFAULT NULL COMMENT '会员当前登录IP',
  1469. `member_old_login_ip` varchar(20) DEFAULT NULL COMMENT '会员上次登录IP',
  1470. `member_qqopenid` varchar(100) DEFAULT NULL COMMENT 'qq互联id',
  1471. `member_qqinfo` text COMMENT 'qq账号相关信息',
  1472. `member_sinaopenid` varchar(100) DEFAULT NULL COMMENT '新浪微博登录id',
  1473. `member_sinainfo` text COMMENT '新浪账号相关信息序列化值',
  1474. `member_wxopenid` varchar(100) DEFAULT '' COMMENT '微信互联openid',
  1475. `member_wxunionid` varchar(100) DEFAULT '' COMMENT '微信用户统一标识',
  1476. `member_wxinfo` text COMMENT '微信用户相关信息',
  1477. `member_points` int(11) NOT NULL DEFAULT '0' COMMENT '会员积分',
  1478. `available_predeposit` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '预存款可用金额',
  1479. `freeze_predeposit` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '预存款冻结金额',
  1480. `available_rc_balance` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '可用充值卡余额',
  1481. `freeze_rc_balance` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '冻结充值卡余额',
  1482. `inform_allow` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否允许举报(1可以/2不可以)',
  1483. `is_buylimit` tinyint(1) NOT NULL DEFAULT '1' COMMENT '会员是否有购买权限 1为开启 0为关闭',
  1484. `is_allowtalk` tinyint(1) NOT NULL DEFAULT '1' COMMENT '会员是否有咨询和发送站内信的权限 1为开启 0为关闭',
  1485. `member_state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '会员的开启状态 1为开启 0为关闭',
  1486. `member_areaid` int(11) DEFAULT NULL COMMENT '地区ID',
  1487. `member_cityid` int(11) DEFAULT NULL COMMENT '城市ID',
  1488. `member_provinceid` int(11) DEFAULT NULL COMMENT '省份ID',
  1489. `member_areainfo` varchar(255) DEFAULT NULL COMMENT '地区内容',
  1490. `member_privacy` text COMMENT '隐私设定',
  1491. `member_exppoints` int(11) NOT NULL DEFAULT '0' COMMENT '会员经验值',
  1492. `inviter_id` int(11) DEFAULT NULL COMMENT '邀请人ID',
  1493. `member_signin_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最后一次签到时间',
  1494. `member_signin_days_cycle` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '持续签到天数,每周期后清零',
  1495. `member_signin_days_total` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '签到总天数',
  1496. `member_signin_days_series` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '持续签到天数总数,非连续周期清零',
  1497. PRIMARY KEY (`member_id`),
  1498. KEY `member_name` (`member_name`),
  1499. KEY `member_email` (`member_email`,`member_emailbind`),
  1500. KEY `member_mobile` (`member_mobile`,`member_mobilebind`),
  1501. KEY `member_wxunionid` (`member_wxunionid`),
  1502. KEY `member_qqopenid` (`member_qqopenid`),
  1503. KEY `member_sinaopenid` (`member_sinaopenid`),
  1504. KEY `inviter_id` (`inviter_id`)
  1505. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='会员表';
  1506. DROP TABLE IF EXISTS `#__memberbank`;
  1507. CREATE TABLE IF NOT EXISTS `#__memberbank` (
  1508. `memberbank_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  1509. `memberbank_type` varchar(10) NOT NULL DEFAULT 'bank' COMMENT 'bank银行 alipay 支付宝收款',
  1510. `memberbank_truename` varchar(20) NOT NULL COMMENT '收款方真实姓名',
  1511. `memberbank_name` varchar(20) NOT NULL DEFAULT '' COMMENT '收款银行',
  1512. `memberbank_no` varchar(30) NOT NULL COMMENT '收款银行卡号/支付宝账户',
  1513. `member_id` int(11) NOT NULL COMMENT '所属用户id',
  1514. PRIMARY KEY (`memberbank_id`),
  1515. KEY `member_id` (`member_id`)
  1516. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户收款账户表';
  1517. DROP TABLE IF EXISTS `#__membermsgsetting`;
  1518. CREATE TABLE IF NOT EXISTS `#__membermsgsetting` (
  1519. `membermt_code` varchar(50) NOT NULL COMMENT '用户消息模板代码',
  1520. `membermt_isreceive` tinyint(3) unsigned NOT NULL COMMENT '是否接收 1是,0否',
  1521. `member_id` int(10) unsigned NOT NULL COMMENT '会员ID',
  1522. PRIMARY KEY (`membermt_code`,`member_id`),
  1523. KEY `member_id` (`member_id`)
  1524. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户消息接收设置表';
  1525. DROP TABLE IF EXISTS `#__membermsgtpl`;
  1526. CREATE TABLE IF NOT EXISTS `#__membermsgtpl` (
  1527. `membermt_code` varchar(50) NOT NULL COMMENT '用户消息模板编号',
  1528. `membermt_name` varchar(50) NOT NULL COMMENT '模板名称',
  1529. `membermt_message_switch` tinyint(3) unsigned NOT NULL COMMENT '站内信接收开关',
  1530. `membermt_message_content` varchar(255) NOT NULL COMMENT '站内信消息内容',
  1531. `membermt_short_switch` tinyint(3) unsigned NOT NULL COMMENT '短信接收开关',
  1532. `membermt_short_content` varchar(255) NOT NULL COMMENT '短信接收内容',
  1533. `membermt_mail_switch` tinyint(3) unsigned NOT NULL COMMENT '邮件接收开关',
  1534. `membermt_mail_subject` varchar(255) NOT NULL COMMENT '邮件标题',
  1535. `membermt_mail_content` text NOT NULL COMMENT '邮件内容',
  1536. `membermt_weixin_switch` tinyint(3) unsigned NOT NULL COMMENT '微信接收开关',
  1537. `membermt_weixin_code` varchar(255) NOT NULL COMMENT '微信消息code',
  1538. `ali_template_code` varchar(255) DEFAULT NULL COMMENT '阿里云短信模板ID',
  1539. `ten_template_code` varchar(255) DEFAULT NULL COMMENT '腾讯云短信模板ID',
  1540. PRIMARY KEY (`membermt_code`)
  1541. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户消息模板';
  1542. DROP TABLE IF EXISTS `#__message`;
  1543. CREATE TABLE IF NOT EXISTS `#__message` (
  1544. `message_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '短消息自增ID',
  1545. `message_parent_id` int(11) NOT NULL COMMENT '回复短消息message_id',
  1546. `from_member_id` int(11) NOT NULL COMMENT '短消息发送人',
  1547. `to_member_id` varchar(1000) NOT NULL COMMENT '短消息接收人',
  1548. `message_title` varchar(50) DEFAULT NULL COMMENT '短消息标题',
  1549. `message_body` varchar(255) NOT NULL COMMENT '短消息内容',
  1550. `message_time` varchar(10) NOT NULL COMMENT '短消息发送时间',
  1551. `message_update_time` varchar(10) DEFAULT NULL COMMENT '短消息回复更新时间',
  1552. `message_open` tinyint(1) NOT NULL DEFAULT '0' COMMENT '短消息打开状态',
  1553. `message_state` tinyint(1) NOT NULL DEFAULT '0' COMMENT '短消息状态,0为正常状态,1为发送人删除状态,2为接收人删除状态',
  1554. `message_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0为私信、1为系统消息、2为留言',
  1555. `read_member_id` varchar(1000) DEFAULT NULL COMMENT '已经读过该消息的会员id',
  1556. `del_member_id` varchar(1000) DEFAULT NULL COMMENT '已经删除该消息的会员id',
  1557. `message_ismore` tinyint(1) NOT NULL DEFAULT '0' COMMENT '站内信是否为一条发给多个用户 0为否 1为多条 ',
  1558. `from_member_name` varchar(100) DEFAULT NULL COMMENT '发信息人用户名',
  1559. `to_member_name` varchar(100) DEFAULT NULL COMMENT '接收人用户名',
  1560. PRIMARY KEY (`message_id`),
  1561. KEY `from_member_id` (`from_member_id`),
  1562. KEY `to_member_id` (`to_member_id`(255)),
  1563. KEY `message_ismore` (`message_ismore`),
  1564. KEY `message_parent_id` (`message_parent_id`)
  1565. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='短消息';
  1566. DROP TABLE IF EXISTS `#__minipro_live`;
  1567. CREATE TABLE IF NOT EXISTS `#__minipro_live` (
  1568. `minipro_live_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增ID',
  1569. `minipro_live_name` varchar(60) NOT NULL COMMENT '直播间名称',
  1570. `member_id` int(10) unsigned NOT NULL COMMENT '用户id',
  1571. `store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  1572. `minipro_live_wxid` varchar(60) NOT NULL COMMENT '微信号',
  1573. `minipro_live_nickname` varchar(60) NOT NULL COMMENT '微信昵称',
  1574. `minipro_live_start_time` int(10) unsigned NOT NULL COMMENT '开始时间',
  1575. `minipro_live_end_time` int(10) unsigned NOT NULL COMMENT '结束时间',
  1576. `minipro_live_image` varchar(60) NOT NULL COMMENT '封面图地址',
  1577. `minipro_live_add_time` int(10) unsigned NOT NULL COMMENT '添加时间',
  1578. `minipro_live_room_id` int(10) unsigned NOT NULL COMMENT '直播间id',
  1579. `minipro_live_video` text NOT NULL DEFAULT '' COMMENT '回放视频',
  1580. PRIMARY KEY (`minipro_live_id`),
  1581. KEY `member_id` (`member_id`),
  1582. KEY `store_id` (`store_id`)
  1583. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='小程序直播' AUTO_INCREMENT=1 ;
  1584. DROP TABLE IF EXISTS `#__minipro_live_room_goods`;
  1585. CREATE TABLE IF NOT EXISTS `#__minipro_live_room_goods` (
  1586. `minipro_live_room_goods_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增ID',
  1587. `minipro_live_id` int(10) unsigned NOT NULL COMMENT '直播间id',
  1588. `store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  1589. `store_name` varchar(60) NOT NULL COMMENT '店铺名称',
  1590. `goods_id` int(10) unsigned NOT NULL COMMENT '商品id',
  1591. `goods_commonid` int(10) unsigned NOT NULL COMMENT '商品公共id',
  1592. `goods_name` varchar(255) NOT NULL COMMENT '商品名称',
  1593. `goods_image` varchar(255) NOT NULL COMMENT '商品图片',
  1594. `goods_price` decimal(10,2) unsigned NOT NULL COMMENT '商品价格',
  1595. `minipro_live_goods_result_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '直播商品id',
  1596. `gc_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '商品分类',
  1597. `gc_id_1` int(10) unsigned DEFAULT NULL DEFAULT '0' COMMENT '一级分类id',
  1598. `gc_id_2` int(10) unsigned DEFAULT NULL DEFAULT '0' COMMENT '二级分类id',
  1599. `gc_id_3` int(10) unsigned DEFAULT NULL DEFAULT '0' COMMENT '三级分类id',
  1600. `gc_name` varchar(200) NOT NULL DEFAULT '' COMMENT '商品分类',
  1601. PRIMARY KEY (`minipro_live_room_goods_id`),
  1602. KEY `store_id` (`store_id`),
  1603. KEY `minipro_live_goods_result_id` (`minipro_live_goods_result_id`),
  1604. KEY `goods_id` (`goods_id`),
  1605. KEY `goods_commonid` (`goods_commonid`),
  1606. KEY `gc_id` (`gc_id`),
  1607. KEY `gc_id_1` (`gc_id_1`),
  1608. KEY `gc_id_2` (`gc_id_2`),
  1609. KEY `gc_id_3` (`gc_id_3`)
  1610. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='小程序直播商品' AUTO_INCREMENT=1 ;
  1611. DROP TABLE IF EXISTS `#__minipro_live_goods`;
  1612. CREATE TABLE IF NOT EXISTS `#__minipro_live_goods` (
  1613. `minipro_live_goods_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增ID',
  1614. `store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  1615. `store_name` varchar(60) NOT NULL COMMENT '店铺名称',
  1616. `goods_id` int(10) unsigned NOT NULL COMMENT '商品id',
  1617. `goods_commonid` int(10) unsigned NOT NULL COMMENT '商品公共id',
  1618. `goods_name` varchar(255) NOT NULL COMMENT '商品名称',
  1619. `goods_image` varchar(255) NOT NULL COMMENT '商品图片',
  1620. `goods_price` decimal(10,2) unsigned NOT NULL COMMENT '商品价格',
  1621. `minipro_live_goods_add_time` int(10) unsigned NOT NULL COMMENT '添加时间',
  1622. `minipro_live_goods_state` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '状态',
  1623. `minipro_live_goods_result_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '直播商品id',
  1624. `minipro_live_goods_verify_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '直播商品审核id',
  1625. `minipro_live_goods_close` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '关闭',
  1626. PRIMARY KEY (`minipro_live_goods_id`),
  1627. KEY `store_id` (`store_id`),
  1628. KEY `minipro_live_goods_result_id` (`minipro_live_goods_result_id`),
  1629. KEY `goods_id` (`goods_id`),
  1630. KEY `goods_commonid` (`goods_commonid`)
  1631. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='小程序直播商品' AUTO_INCREMENT=1 ;
  1632. DROP TABLE IF EXISTS `#__navigation`;
  1633. CREATE TABLE IF NOT EXISTS `#__navigation` (
  1634. `nav_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '页面导航自增ID',
  1635. `nav_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '页面导航类别,0自定义导航,1商品分类,2文章导航,3活动导航,默认为0',
  1636. `nav_title` varchar(100) DEFAULT NULL COMMENT '页面导航标题',
  1637. `nav_url` varchar(255) DEFAULT NULL COMMENT '页面导航链接',
  1638. `nav_location` varchar(10) NOT NULL COMMENT '页面导航位置,header头部,middle中部,footer底部',
  1639. `nav_new_open` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否以新窗口打开,0为否,1为是,默认为0',
  1640. `nav_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '页面导航排序',
  1641. `item_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '页面导航类别ID,对应着nav_type中的内容,默认为0',
  1642. `nav_is_close` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否前台显示,0为否,1为是,默认为1',
  1643. PRIMARY KEY (`nav_id`)
  1644. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='页面导航表';
  1645. DROP TABLE IF EXISTS `#__offpayarea`;
  1646. CREATE TABLE IF NOT EXISTS `#__offpayarea` (
  1647. `store_id` int(8) unsigned NOT NULL COMMENT '商家ID',
  1648. `area_id` text COMMENT '县ID组合',
  1649. PRIMARY KEY (`store_id`)
  1650. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='货到付款支持地区表';
  1651. DROP TABLE IF EXISTS `#__order`;
  1652. CREATE TABLE IF NOT EXISTS `#__order` (
  1653. `order_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '订单自增id',
  1654. `order_sn` varchar(20) NOT NULL COMMENT '订单编号',
  1655. `pay_sn` varchar(20) NOT NULL COMMENT '支付单号',
  1656. `store_id` int(11) unsigned NOT NULL COMMENT '卖家店铺ID',
  1657. `store_name` varchar(50) NOT NULL COMMENT '卖家店铺名称',
  1658. `buyer_id` int(11) unsigned NOT NULL COMMENT '买家ID',
  1659. `buyer_name` varchar(50) NOT NULL COMMENT '买家姓名',
  1660. `buyer_email` varchar(80) DEFAULT NULL COMMENT '买家电子邮箱',
  1661. `chain_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '门店ID',
  1662. `add_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '订单生成时间',
  1663. `payment_code` char(20) NOT NULL DEFAULT '' COMMENT '支付方式名称代码',
  1664. `payment_time` int(10) unsigned DEFAULT '0' COMMENT '支付(付款)时间',
  1665. `trade_no` varchar(35) DEFAULT NULL COMMENT '第三方平台交易号',
  1666. `finnshed_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '订单完成时间',
  1667. `goods_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '商品总价格',
  1668. `order_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '订单总价格',
  1669. `rcb_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '充值卡支付金额',
  1670. `pd_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '预存款支付金额',
  1671. `presell_deposit_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '定金金额',
  1672. `presell_rcb_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '定金充值卡支付金额',
  1673. `presell_pd_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '定金预存款支付金额',
  1674. `presell_trade_no` varchar(35) DEFAULT NULL COMMENT '第三方平台交易号',
  1675. `presell_payment_code` char(20) NOT NULL DEFAULT '' COMMENT '支付方式名称代码',
  1676. `presell_end_time` int(10) unsigned DEFAULT '0' COMMENT '预售结束时间',
  1677. `shipping_fee` decimal(10,2) unsigned DEFAULT '0.00' COMMENT '运费',
  1678. `evaluation_state` tinyint(4) DEFAULT '0' COMMENT '评价状态 0:未评价 1:已评价 2:已过期未评价',
  1679. `order_state` tinyint(4) NOT NULL DEFAULT '10' COMMENT '订单状态:0:已取消 10:未付款 14:待付定金 15:待付尾款 20:待发货 30:已发货 35:待自提 40:已收货',
  1680. `refund_state` tinyint(1) unsigned DEFAULT '0' COMMENT '退款状态 0:无退款 1:部分退款 2:全部退款',
  1681. `lock_state` tinyint(1) unsigned DEFAULT '0' COMMENT '锁定状态:0:正常,大于0:锁定',
  1682. `delete_state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '删除状态 0:未删除 1:放入回收站 2:彻底删除',
  1683. `refund_amount` decimal(10,2) DEFAULT '0.00' COMMENT '退款金额',
  1684. `delay_time` int(10) unsigned DEFAULT '0' COMMENT '延迟时间,默认为0',
  1685. `order_from` tinyint(4) NOT NULL DEFAULT '1' COMMENT '订单来源,1:PC 2:手机',
  1686. `shipping_code` varchar(50) DEFAULT '' COMMENT '订单物流单号',
  1687. `order_type` tinyint(4) DEFAULT NULL COMMENT '订单类型',
  1688. `ob_no` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '相关结算单号',
  1689. PRIMARY KEY (`order_id`),
  1690. KEY `store_id` (`store_id`),
  1691. KEY `buyer_id` (`buyer_id`)
  1692. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='订单表';
  1693. DROP TABLE IF EXISTS `#__orderbill`;
  1694. CREATE TABLE IF NOT EXISTS `#__orderbill` (
  1695. `ob_no` int(11) NOT NULL AUTO_INCREMENT COMMENT '结算单编号(年月店铺ID)',
  1696. `ob_startdate` int(11) NOT NULL COMMENT '开始日期',
  1697. `ob_enddate` int(11) NOT NULL COMMENT '结束日期',
  1698. `ob_order_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '结算订单金额',
  1699. `ob_shipping_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '结算运费',
  1700. `ob_order_return_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '结算退单金额',
  1701. `ob_commis_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '结算佣金金额',
  1702. `ob_commis_return_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '结算退还佣金',
  1703. `ob_store_cost_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '店铺促销活动费用',
  1704. `ob_mall_voucher_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '店铺平台代金券金额',
  1705. `ob_vr_order_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '虚拟订单金额',
  1706. `ob_vr_order_return_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '虚拟订单退款金额',
  1707. `ob_vr_commis_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '虚拟佣金金额',
  1708. `ob_vr_commis_return_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '虚拟退还佣金金额',
  1709. `ob_vr_inviter_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '虚拟分销佣金金额',
  1710. `ob_result_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '应结金额',
  1711. `ob_createdate` int(11) DEFAULT '0' COMMENT '生成结算单日期',
  1712. `ob_state` enum('1','2','3','4') DEFAULT '1' COMMENT '结算状态 1,默认2,店家已确认3,平台已审核4,结算完成',
  1713. `ob_store_id` int(11) NOT NULL COMMENT '店铺ID',
  1714. `ob_store_name` varchar(50) DEFAULT NULL COMMENT '店铺名',
  1715. `ob_inviter_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '分销的佣金',
  1716. `ob_seller_content` varchar(255) NOT NULL DEFAULT '' COMMENT '商家备注',
  1717. `ob_admin_content` varchar(255) NOT NULL DEFAULT '' COMMENT '管理员备注',
  1718. PRIMARY KEY (`ob_no`),
  1719. KEY `ob_store_id` (`ob_store_id`)
  1720. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='结算表';
  1721. DROP TABLE IF EXISTS `#__ordercommon`;
  1722. CREATE TABLE IF NOT EXISTS `#__ordercommon` (
  1723. `order_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '订单ID',
  1724. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  1725. `shipping_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '配送时间',
  1726. `shipping_express_id` tinyint(1) NOT NULL DEFAULT '0' COMMENT '配送公司ID',
  1727. `evaluation_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '评价时间',
  1728. `evalseller_state` enum('0','1') NOT NULL DEFAULT '0' COMMENT '卖家是否已评价买家',
  1729. `evalseller_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '卖家评价买家的时间',
  1730. `order_message` varchar(300) DEFAULT NULL COMMENT '订单留言',
  1731. `order_pointscount` int(11) NOT NULL DEFAULT '0' COMMENT '订单赠送积分',
  1732. `voucher_price` int(11) DEFAULT NULL COMMENT '店铺代金券面额',
  1733. `voucher_code` varchar(32) DEFAULT NULL COMMENT '店铺代金券编码',
  1734. `mallvoucher_price` int(11) DEFAULT NULL COMMENT '平台代金券面额',
  1735. `mallvoucher_code` varchar(32) DEFAULT NULL COMMENT '平台代金券编码',
  1736. `deliver_explain` text COMMENT '订单发货备注',
  1737. `daddress_id` mediumint(9) NOT NULL DEFAULT '0' COMMENT '发货地址ID',
  1738. `reciver_name` varchar(50) NOT NULL COMMENT '收货人姓名',
  1739. `reciver_info` varchar(500) NOT NULL COMMENT '收货人其它信息',
  1740. `reciver_province_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '收货人省级ID',
  1741. `reciver_city_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '收货人市级ID',
  1742. `invoice_info` varchar(500) DEFAULT NULL COMMENT '订单发票信息',
  1743. `promotion_info` varchar(500) DEFAULT NULL COMMENT '订单促销信息备注',
  1744. PRIMARY KEY (`order_id`),
  1745. KEY `store_id` (`store_id`)
  1746. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='订单信息扩展表';
  1747. DROP TABLE IF EXISTS `#__ordergoods`;
  1748. CREATE TABLE IF NOT EXISTS `#__ordergoods` (
  1749. `rec_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '订单商品表自增ID',
  1750. `order_id` int(11) NOT NULL COMMENT '订单ID',
  1751. `goods_id` int(11) NOT NULL COMMENT '商品ID',
  1752. `goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  1753. `goods_price` decimal(10,2) NOT NULL COMMENT '商品价格',
  1754. `goods_num` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT '商品数量',
  1755. `goods_image` varchar(100) DEFAULT NULL COMMENT '商品图片',
  1756. `goods_pay_price` decimal(10,2) unsigned NOT NULL COMMENT '商品实际成交价',
  1757. `store_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '店铺ID',
  1758. `buyer_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '买家ID',
  1759. `goods_type` enum('1','2','3','4','5','6','7','8','9','10') NOT NULL DEFAULT '1' COMMENT '1默认2抢购商品3限时折扣商品4组合套装5赠品6拼团7会员等级折扣8砍价9批发10预售',
  1760. `promotions_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '促销活动ID(抢购ID/限时折扣ID/优惠套装ID)与goods_type搭配使用',
  1761. `commis_rate` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '佣金比例',
  1762. `gc_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '商品最底级分类ID',
  1763. PRIMARY KEY (`rec_id`),
  1764. KEY `order_id` (`order_id`)
  1765. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='订单商品表';
  1766. DROP TABLE IF EXISTS `#__orderinviter`;
  1767. CREATE TABLE IF NOT EXISTS `#__orderinviter` (
  1768. `orderinviter_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '分销详情自增ID',
  1769. `orderinviter_order_id` int(10) unsigned NOT NULL COMMENT '订单ID',
  1770. `orderinviter_member_id` int(10) unsigned NOT NULL COMMENT '推荐人ID',
  1771. `orderinviter_money` decimal(10,2) unsigned NOT NULL COMMENT '佣金',
  1772. `orderinviter_remark` varchar(255) NOT NULL COMMENT '分销详情备注',
  1773. `orderinviter_member_name` varchar(60) NOT NULL COMMENT '推荐人用户名',
  1774. `orderinviter_order_sn` varchar(20) NOT NULL COMMENT '订单号',
  1775. `orderinviter_goods_commonid` int(10) unsigned NOT NULL COMMENT '商品公共id',
  1776. `orderinviter_goods_id` int(10) unsigned NOT NULL COMMENT '商品id',
  1777. `orderinviter_level` int(10) unsigned NOT NULL COMMENT '分销级别',
  1778. `orderinviter_ratio` decimal(4,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '分销比例',
  1779. `orderinviter_goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  1780. `orderinviter_valid` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '0待结算1已结算2无效',
  1781. `orderinviter_store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  1782. `orderinviter_order_type` tinyint(1) unsigned NOT NULL COMMENT '订单类型(0实物订单1虚拟订单)',
  1783. `orderinviter_goods_quantity` int(10) unsigned NOT NULL COMMENT '商品数量',
  1784. `orderinviter_goods_amount` decimal(10,2) unsigned NOT NULL COMMENT '商品金额',
  1785. `orderinviter_store_name` varchar(60) NOT NULL COMMENT '店铺名',
  1786. `orderinviter_addtime` int(10) unsigned NOT NULL COMMENT '添加时间',
  1787. PRIMARY KEY (`orderinviter_id`),
  1788. KEY `orderinviter_member_id` (`orderinviter_member_id`)
  1789. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='分销详情表';
  1790. DROP TABLE IF EXISTS `#__orderlog`;
  1791. CREATE TABLE IF NOT EXISTS `#__orderlog` (
  1792. `log_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '订单记录自增ID',
  1793. `order_id` int(11) NOT NULL COMMENT '订单id',
  1794. `log_msg` varchar(150) DEFAULT '' COMMENT '订单记录文字描述',
  1795. `log_time` int(10) unsigned NOT NULL COMMENT '订单记录处理时间',
  1796. `log_role` char(2) NOT NULL COMMENT '操作角色',
  1797. `log_user` varchar(30) DEFAULT '' COMMENT '操作人',
  1798. `log_orderstate` enum('0','10','14','15','20','30','35','40') DEFAULT NULL COMMENT '订单状态:0:已取消10:未付款;14:待付定金;15:待付尾款;20:已付款;30:已发货;35:待自提;40:已收货;',
  1799. PRIMARY KEY (`log_id`),
  1800. KEY `order_id` (`order_id`)
  1801. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='订单记录表';
  1802. DROP TABLE IF EXISTS `#__orderpay`;
  1803. CREATE TABLE IF NOT EXISTS `#__orderpay` (
  1804. `pay_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '订单支付自增ID',
  1805. `pay_sn` varchar(20) NOT NULL COMMENT '支付单号',
  1806. `buyer_id` int(10) unsigned NOT NULL COMMENT '买家ID',
  1807. `api_paystate` enum('0','1') DEFAULT '0' COMMENT '0默认未支付1已支付(只有第三方支付接口通知到时才会更改此状态)',
  1808. PRIMARY KEY (`pay_id`),
  1809. KEY `pay_sn` (`pay_sn`)
  1810. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='订单支付表';
  1811. DROP TABLE IF EXISTS `#__orderstatis`;
  1812. CREATE TABLE IF NOT EXISTS `#__orderstatis` (
  1813. `os_month` mediumint(9) unsigned NOT NULL DEFAULT '0' COMMENT '统计编号(年月)',
  1814. `os_order_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '订单金额',
  1815. `os_shipping_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '运费',
  1816. `os_order_returntotals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '退单金额',
  1817. `os_commis_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '佣金金额',
  1818. `os_commis_returntotals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '退还佣金',
  1819. `os_store_costtotals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '店铺促销活动费用',
  1820. `os_vr_order_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '虚拟订单金额',
  1821. `os_vr_order_return_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '虚拟订单退款金额',
  1822. `os_vr_commis_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '虚拟佣金金额',
  1823. `os_vr_commis_return_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '虚拟退还佣金金额',
  1824. `os_vr_inviter_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '虚拟分销佣金金额',
  1825. `os_result_totals` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '本期应结',
  1826. `os_createdate` int(11) DEFAULT NULL COMMENT '创建记录日期',
  1827. `os_inviter_totals` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '分销佣金',
  1828. PRIMARY KEY (`os_month`)
  1829. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='月销量统计表';
  1830. DROP TABLE IF EXISTS `#__payment`;
  1831. CREATE TABLE IF NOT EXISTS `#__payment` (
  1832. `payment_code` char(20) NOT NULL COMMENT '支付代码',
  1833. `payment_name` char(20) NOT NULL COMMENT '支付名称',
  1834. `payment_config` text COMMENT '支付接口配置信息',
  1835. `payment_platform` char(10) NOT NULL COMMENT '支付方式所适应平台 pc h5 app',
  1836. `payment_state` enum('0','1') NOT NULL DEFAULT '0' COMMENT '接口状态0禁用1启用',
  1837. PRIMARY KEY (`payment_code`)
  1838. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='支付方式表';
  1839. DROP TABLE IF EXISTS `#__pbargain`;
  1840. CREATE TABLE IF NOT EXISTS `#__pbargain` (
  1841. `bargain_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '砍价活动自增ID',
  1842. `member_id` int(11) unsigned NOT NULL COMMENT '卖家用户ID',
  1843. `member_name` varchar(50) NOT NULL COMMENT '卖家用户名',
  1844. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  1845. `store_id` int(11) unsigned NOT NULL COMMENT '店铺ID',
  1846. `bargain_name` varchar(50) NOT NULL COMMENT '砍价名称',
  1847. `bargain_goods_id` int(11) unsigned NOT NULL COMMENT '商品ID',
  1848. `bargain_goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  1849. `bargain_goods_image` varchar(100) DEFAULT '' COMMENT '商品图片',
  1850. `bargain_goods_price` decimal(10,2) NOT NULL COMMENT '商品原价',
  1851. `bargain_goods_commonid` int(10) unsigned NOT NULL COMMENT '商品公共表ID',
  1852. `bargain_limit` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '砍价限购数量',
  1853. `bargain_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '砍价有效期/小时',
  1854. `bargain_floorprice` decimal(10,2) NOT NULL COMMENT '商品底价',
  1855. `bargain_total` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '共多少刀砍至底价',
  1856. `bargain_max` decimal(10,2) NOT NULL COMMENT '每刀最多可砍金额',
  1857. `bargain_remark` varchar(50) NOT NULL COMMENT '分享描述',
  1858. `bargain_begintime` int(10) unsigned NOT NULL COMMENT '砍价开始时间',
  1859. `bargain_endtime` int(10) unsigned NOT NULL COMMENT '砍价结束时间',
  1860. `bargain_state` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '状态,0:已取消 1:未开始 2:进行中 3:已结束',
  1861. PRIMARY KEY (`bargain_id`),
  1862. KEY `member_id` (`member_id`),
  1863. KEY `store_id` (`store_id`),
  1864. KEY `bargain_goods_id` (`bargain_goods_id`)
  1865. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺砍价活动表';
  1866. DROP TABLE IF EXISTS `#__pbargainlog`;
  1867. CREATE TABLE IF NOT EXISTS `#__pbargainlog` (
  1868. `pbargainlog_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '砍价记录自增ID',
  1869. `pbargainlog_member_id` int(11) unsigned NOT NULL COMMENT '帮砍价ID',
  1870. `pbargainlog_member_name` varchar(50) NOT NULL COMMENT '帮砍价用户名',
  1871. `pbargainlog_price` decimal(10,2) NOT NULL COMMENT '砍掉的价格',
  1872. `pbargainlog_time` int(10) unsigned NOT NULL COMMENT '砍价时间',
  1873. `bargain_id` int(10) unsigned NOT NULL COMMENT '砍价活动ID',
  1874. `bargainorder_id` int(10) unsigned NOT NULL COMMENT '砍价订单ID',
  1875. PRIMARY KEY (`pbargainlog_id`),
  1876. KEY `pbargainlog_member_id` (`pbargainlog_member_id`,`bargainorder_id`),
  1877. KEY `bargain_id` (`bargain_id`)
  1878. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='砍价记录表';
  1879. DROP TABLE IF EXISTS `#__pbargainorder`;
  1880. CREATE TABLE IF NOT EXISTS `#__pbargainorder` (
  1881. `bargainorder_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '砍价订单自增ID',
  1882. `bargainorder_initiator_id` int(11) unsigned NOT NULL COMMENT '砍价订单发起人ID',
  1883. `bargainorder_initiator_name` varchar(50) NOT NULL COMMENT '砍价订单发起人用户名',
  1884. `store_id` int(11) unsigned NOT NULL COMMENT '店铺ID',
  1885. `bargain_id` int(10) unsigned NOT NULL COMMENT '砍价活动ID',
  1886. `bargain_name` varchar(50) NOT NULL COMMENT '砍价名称',
  1887. `bargain_total` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '共多少刀砍至底价',
  1888. `bargain_goods_id` int(11) unsigned NOT NULL COMMENT '商品ID',
  1889. `bargain_goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  1890. `bargain_goods_price` decimal(10,2) NOT NULL COMMENT '商品原价',
  1891. `bargain_goods_image` varchar(100) DEFAULT '' COMMENT '商品图片',
  1892. `bargainorder_times` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '砍价次数',
  1893. `bargainorder_current_price` decimal(10,2) NOT NULL COMMENT '砍价后价格',
  1894. `bargainorder_begintime` int(10) unsigned NOT NULL COMMENT '开始时间',
  1895. `bargainorder_endtime` int(10) unsigned NOT NULL COMMENT '结束时间',
  1896. `bargainorder_state` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '状态,0:取消 1:正常 2:砍价成功 3:砍价失败',
  1897. `order_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '订单ID',
  1898. PRIMARY KEY (`bargainorder_id`),
  1899. KEY `bargainorder_initiator_id` (`bargainorder_initiator_id`),
  1900. KEY `store_id` (`store_id`),
  1901. KEY `bargain_id` (`bargain_id`),
  1902. KEY `bargain_goods_id` (`bargain_goods_id`)
  1903. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='砍价订单表';
  1904. DROP TABLE IF EXISTS `#__pbargainquota`;
  1905. CREATE TABLE IF NOT EXISTS `#__pbargainquota` (
  1906. `bargainquota_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '砍价套餐ID',
  1907. `member_id` int(11) unsigned NOT NULL COMMENT '卖家用户ID',
  1908. `member_name` varchar(50) NOT NULL COMMENT '卖家用户名',
  1909. `store_id` int(11) unsigned NOT NULL COMMENT '店铺ID',
  1910. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  1911. `bargainquota_starttime` int(10) unsigned NOT NULL COMMENT '砍价套餐开始时间',
  1912. `bargainquota_endtime` int(10) unsigned NOT NULL COMMENT '砍价套餐结束时间',
  1913. PRIMARY KEY (`bargainquota_id`),
  1914. KEY `store_id` (`store_id`)
  1915. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='砍价套餐表';
  1916. DROP TABLE IF EXISTS `#__pboothgoods`;
  1917. CREATE TABLE IF NOT EXISTS `#__pboothgoods` (
  1918. `boothgoods_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '展位商品ID',
  1919. `store_id` int(10) unsigned NOT NULL COMMENT '展位店铺id',
  1920. `goods_id` int(10) unsigned NOT NULL COMMENT '展位商品id',
  1921. `gc_id` int(10) unsigned NOT NULL COMMENT '商品分类id',
  1922. `boothgoods_state` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '展位商品状态 1开启 0关闭 默认1',
  1923. PRIMARY KEY (`boothgoods_id`),
  1924. KEY `store_id` (`store_id`),
  1925. KEY `gc_id` (`gc_id`)
  1926. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='展位商品表';
  1927. DROP TABLE IF EXISTS `#__pboothquota`;
  1928. CREATE TABLE IF NOT EXISTS `#__pboothquota` (
  1929. `boothquota_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '展位套餐自增ID',
  1930. `store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  1931. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  1932. `boothquota_starttime` int(10) unsigned NOT NULL COMMENT '展位开始时间',
  1933. `boothquota_endtime` int(10) unsigned NOT NULL COMMENT '展位结束时间',
  1934. `boothquota_state` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '套餐状态 1:开启 0:关闭',
  1935. PRIMARY KEY (`boothquota_id`),
  1936. KEY `store_id` (`store_id`)
  1937. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='展位套餐表';
  1938. DROP TABLE IF EXISTS `#__pbundling`;
  1939. CREATE TABLE IF NOT EXISTS `#__pbundling` (
  1940. `bl_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '组合ID',
  1941. `store_id` int(11) NOT NULL COMMENT '店铺名称',
  1942. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  1943. `bl_name` varchar(50) NOT NULL COMMENT '组合名称',
  1944. `bl_discount_price` decimal(10,2) NOT NULL COMMENT '组合价格',
  1945. `bl_freight_choose` tinyint(1) NOT NULL COMMENT '运费承担方式',
  1946. `bl_freight` decimal(10,2) NOT NULL COMMENT '运费',
  1947. `bl_state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '组合状态 0:关闭 1:开启',
  1948. PRIMARY KEY (`bl_id`),
  1949. KEY `store_id` (`store_id`)
  1950. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='组合销售活动表';
  1951. DROP TABLE IF EXISTS `#__pbundlinggoods`;
  1952. CREATE TABLE IF NOT EXISTS `#__pbundlinggoods` (
  1953. `blgoods_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '组合商品id',
  1954. `blgoods_price` decimal(10,2) NOT NULL COMMENT '商品价格',
  1955. `blgoods_appoint` tinyint(3) unsigned NOT NULL COMMENT '指定商品 1是,0否',
  1956. `bl_id` int(11) NOT NULL COMMENT '组合id',
  1957. `goods_id` int(10) unsigned NOT NULL COMMENT '商品id',
  1958. `goods_commonid` int(10) unsigned NOT NULL COMMENT '商品公共表ID',
  1959. `goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  1960. `goods_image` varchar(100) NOT NULL COMMENT '商品图片',
  1961. PRIMARY KEY (`blgoods_id`),
  1962. KEY `bl_id` (`bl_id`),
  1963. KEY `goods_id` (`goods_id`)
  1964. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='组合销售活动商品表';
  1965. DROP TABLE IF EXISTS `#__pbundlingquota`;
  1966. CREATE TABLE IF NOT EXISTS `#__pbundlingquota` (
  1967. `blquota_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '组合套餐自增ID',
  1968. `store_id` int(11) NOT NULL COMMENT '店铺ID',
  1969. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  1970. `member_id` int(11) NOT NULL COMMENT '会员ID',
  1971. `member_name` varchar(50) NOT NULL COMMENT '会员名称',
  1972. `blquota_month` tinyint(3) unsigned NOT NULL COMMENT '组合套餐购买数量(单位月)',
  1973. `blquota_starttime` varchar(10) NOT NULL COMMENT '组合套餐开始时间',
  1974. `blquota_endtime` varchar(10) NOT NULL COMMENT '组合套餐结束时间',
  1975. `blquota_state` tinyint(1) unsigned NOT NULL COMMENT '组合套餐状态:0关闭,1开启。默认为 1',
  1976. PRIMARY KEY (`blquota_id`)
  1977. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='组合销售套餐表';
  1978. DROP TABLE IF EXISTS `#__pdcash`;
  1979. CREATE TABLE IF NOT EXISTS `#__pdcash` (
  1980. `pdc_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '提现记录自增ID',
  1981. `pdc_sn` varchar(20) NOT NULL COMMENT '记录唯一标示',
  1982. `pdc_member_id` int(11) NOT NULL COMMENT '会员ID',
  1983. `pdc_member_name` varchar(50) NOT NULL COMMENT '会员名称',
  1984. `pdc_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '金额',
  1985. `pdc_bank_type` varchar(10) NOT NULL DEFAULT 'bank' COMMENT 'bank银行 alipay 支付宝 weixin 微信收款',
  1986. `pdc_bank_name` varchar(40) NOT NULL COMMENT '收款银行',
  1987. `pdc_bank_no` varchar(30) DEFAULT NULL COMMENT '收款账号',
  1988. `pdc_bank_user` varchar(10) DEFAULT NULL COMMENT '开户人姓名',
  1989. `pdc_addtime` int(11) NOT NULL COMMENT '添加时间',
  1990. `pdc_payment_time` int(11) DEFAULT NULL COMMENT '付款时间',
  1991. `pdc_payment_state` enum('0','1') NOT NULL DEFAULT '0' COMMENT '提现支付状态 0:默认1:支付完成',
  1992. `pdc_payment_admin` varchar(30) DEFAULT NULL COMMENT '支付管理员',
  1993. `pdc_payment_code` varchar(20) DEFAULT '' COMMENT '支付方式',
  1994. `pdc_trade_sn` varchar(50) DEFAULT '' COMMENT '第三方支付接口交易号',
  1995. PRIMARY KEY (`pdc_id`),
  1996. KEY `pdc_member_id` (`pdc_member_id`)
  1997. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='预存款提现记录表';
  1998. DROP TABLE IF EXISTS `#__pdlog`;
  1999. CREATE TABLE IF NOT EXISTS `#__pdlog` (
  2000. `lg_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '预存款变更日志自增ID',
  2001. `lg_member_id` int(11) NOT NULL COMMENT '会员ID',
  2002. `lg_member_name` varchar(50) NOT NULL COMMENT '会员名称',
  2003. `lg_admin_name` varchar(50) DEFAULT NULL COMMENT '管理员名称',
  2004. `lg_type` varchar(50) NOT NULL DEFAULT '' COMMENT 'order_pay下单支付预存款,order_freeze下单冻结预存款,order_cancel取消订单解冻预存款,order_comb_pay下单支付被冻结的预存款,recharge充值,cash_apply申请提现冻结预存款,cash_pay提现成功,cash_del取消提现申请,解冻预存款,refund退款',
  2005. `lg_av_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '可用金额变更0:未变更',
  2006. `lg_freeze_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '冻结金额变更0:未变更',
  2007. `lg_addtime` int(11) NOT NULL COMMENT '变更添加时间',
  2008. `lg_desc` varchar(150) DEFAULT NULL COMMENT '变更描述',
  2009. PRIMARY KEY (`lg_id`),
  2010. KEY `lg_member_id` (`lg_member_id`)
  2011. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='预存款变更日志表';
  2012. DROP TABLE IF EXISTS `#__pdrecharge`;
  2013. CREATE TABLE IF NOT EXISTS `#__pdrecharge` (
  2014. `pdr_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '充值自增ID',
  2015. `pdr_sn` varchar(20) NOT NULL COMMENT '记录唯一标示',
  2016. `pdr_member_id` int(11) NOT NULL COMMENT '会员ID',
  2017. `pdr_member_name` varchar(50) NOT NULL COMMENT '会员名称',
  2018. `pdr_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '充值金额',
  2019. `pdr_payment_code` varchar(20) DEFAULT '' COMMENT '支付方式',
  2020. `pdr_trade_sn` varchar(50) DEFAULT '' COMMENT '第三方支付接口交易号',
  2021. `pdr_addtime` int(11) NOT NULL COMMENT '充值添加时间',
  2022. `pdr_payment_state` enum('0','1') NOT NULL DEFAULT '0' COMMENT '支付状态 0未支付1支付',
  2023. `pdr_paymenttime` int(11) NOT NULL DEFAULT '0' COMMENT '支付时间',
  2024. `pdr_admin` varchar(30) DEFAULT '' COMMENT '管理员名',
  2025. PRIMARY KEY (`pdr_id`),
  2026. KEY `pdr_member_id` (`pdr_member_id`)
  2027. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='预存款充值表';
  2028. DROP TABLE IF EXISTS `#__pmansong`;
  2029. CREATE TABLE IF NOT EXISTS `#__pmansong` (
  2030. `mansong_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '满送活动编号',
  2031. `mansong_name` varchar(50) NOT NULL COMMENT '活动名称',
  2032. `mansongquota_id` int(10) unsigned NOT NULL COMMENT '套餐编号',
  2033. `mansong_starttime` int(10) unsigned NOT NULL COMMENT '活动开始时间',
  2034. `mansong_endtime` int(10) unsigned NOT NULL COMMENT '活动结束时间',
  2035. `member_id` int(10) unsigned NOT NULL COMMENT '用户ID',
  2036. `member_name` varchar(50) NOT NULL COMMENT '用户名',
  2037. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  2038. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  2039. `mansong_state` tinyint(1) unsigned NOT NULL COMMENT '活动状态 1:未发布 2:正常 3:取消 4:失效 5:结束',
  2040. `mansong_remark` varchar(200) NOT NULL COMMENT '满就送备注',
  2041. PRIMARY KEY (`mansong_id`),
  2042. KEY `store_id` (`store_id`)
  2043. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='满就送活动表';
  2044. DROP TABLE IF EXISTS `#__pmansongquota`;
  2045. CREATE TABLE IF NOT EXISTS `#__pmansongquota` (
  2046. `mansongquota_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '满就送套餐编号',
  2047. `member_id` int(10) unsigned NOT NULL COMMENT '用户ID',
  2048. `member_name` varchar(50) NOT NULL COMMENT '用户名',
  2049. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  2050. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  2051. `mansongquota_apply_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '申请ID',
  2052. `mansongquota_starttime` int(10) unsigned NOT NULL COMMENT '开始时间',
  2053. `mansongquota_endtime` int(10) unsigned NOT NULL COMMENT '结束时间',
  2054. `mansongquota_state` tinyint(1) unsigned DEFAULT NULL COMMENT '配额状态 1:可用 2:取消 3:结束',
  2055. PRIMARY KEY (`mansongquota_id`),
  2056. KEY `store_id` (`store_id`)
  2057. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='满就送套餐表';
  2058. DROP TABLE IF EXISTS `#__pmansongrule`;
  2059. CREATE TABLE IF NOT EXISTS `#__pmansongrule` (
  2060. `mansongrule_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '满就送规则ID',
  2061. `mansong_id` int(10) unsigned NOT NULL COMMENT '满就送活动ID',
  2062. `mansongrule_price` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '满就送级别价格',
  2063. `mansongrule_discount` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '满就送减现金优惠金额',
  2064. `mansong_goods_name` varchar(200) DEFAULT NULL COMMENT '满就送礼品名称',
  2065. `goods_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '满就送商品ID',
  2066. PRIMARY KEY (`mansongrule_id`),
  2067. KEY `mansong_id` (`mansong_id`)
  2068. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='满就送活动规则表';
  2069. DROP TABLE IF EXISTS `#__pmgdiscountquota`;
  2070. CREATE TABLE IF NOT EXISTS `#__pmgdiscountquota` (
  2071. `mgdiscountquota_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '会员等级折扣套餐ID',
  2072. `member_id` int(10) unsigned NOT NULL COMMENT '用户ID',
  2073. `member_name` varchar(50) NOT NULL COMMENT '用户名',
  2074. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  2075. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  2076. `mgdiscountquota_starttime` int(10) unsigned NOT NULL COMMENT '会员等级折扣套餐开始时间',
  2077. `mgdiscountquota_endtime` int(10) unsigned NOT NULL COMMENT '会员等级折扣套餐结束时间',
  2078. PRIMARY KEY (`mgdiscountquota_id`),
  2079. KEY `store_id` (`store_id`)
  2080. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='会员等级折扣套餐表';
  2081. DROP TABLE IF EXISTS `#__pointscart`;
  2082. CREATE TABLE IF NOT EXISTS `#__pointscart` (
  2083. `pcart_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '积分购物车自增ID',
  2084. `pmember_id` int(11) NOT NULL COMMENT '会员ID',
  2085. `pgoods_id` int(11) NOT NULL COMMENT '积分礼品序号',
  2086. `pgoods_name` varchar(200) NOT NULL COMMENT '积分礼品名称',
  2087. `pgoods_points` int(11) NOT NULL COMMENT '积分礼品兑换积分',
  2088. `pgoods_choosenum` int(11) NOT NULL COMMENT '选择积分礼品数量',
  2089. `pgoods_image` varchar(100) DEFAULT NULL COMMENT '积分礼品图片',
  2090. PRIMARY KEY (`pcart_id`),
  2091. KEY `pmember_id` (`pmember_id`)
  2092. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='积分礼品兑换购物车';
  2093. DROP TABLE IF EXISTS `#__pointsgoods`;
  2094. CREATE TABLE IF NOT EXISTS `#__pointsgoods` (
  2095. `pgoods_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '积分礼品自增ID',
  2096. `pgoods_name` varchar(200) NOT NULL COMMENT '积分礼品名称',
  2097. `pgoods_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '积分礼品原价',
  2098. `pgoods_points` int(11) NOT NULL COMMENT '积分礼品兑换积分',
  2099. `pgoods_image` varchar(100) DEFAULT NULL COMMENT '积分礼品封面图片',
  2100. `pgoods_tag` varchar(100) NOT NULL COMMENT '积分礼品标签',
  2101. `pgoods_serial` varchar(50) NOT NULL COMMENT '积分礼品货号',
  2102. `pgoods_storage` int(11) NOT NULL DEFAULT '0' COMMENT '积分礼品库存',
  2103. `pgoods_show` tinyint(1) NOT NULL COMMENT '积分礼品上架 0:下架 1:上架',
  2104. `pgoods_commend` tinyint(1) NOT NULL COMMENT '积分礼品是否推荐',
  2105. `pgoods_addtime` int(11) NOT NULL COMMENT '积分礼品添加时间',
  2106. `pgoods_keywords` varchar(100) DEFAULT NULL COMMENT '积分礼品关键字',
  2107. `pgoods_description` varchar(200) DEFAULT NULL COMMENT '积分礼品描述',
  2108. `pgoods_body` text COMMENT '积分礼品内容',
  2109. `pgoods_state` tinyint(1) NOT NULL DEFAULT '0' COMMENT '积分礼品状态 0:开启 1:禁售',
  2110. `pgoods_close_reason` varchar(255) DEFAULT NULL COMMENT '积分礼品禁售原因',
  2111. `pgoods_salenum` int(11) NOT NULL DEFAULT '0' COMMENT '积分礼品售出数量',
  2112. `pgoods_view` int(11) NOT NULL DEFAULT '0' COMMENT '积分商品浏览量',
  2113. `pgoods_islimit` tinyint(1) NOT NULL COMMENT '是否限制兑换数量',
  2114. `pgoods_limitnum` int(11) DEFAULT NULL COMMENT '限制兑换数量',
  2115. `pgoods_islimittime` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否限制兑换时间 0:不限制 1:限制',
  2116. `pgoods_limitmgrade` int(11) NOT NULL DEFAULT '0' COMMENT '限制参与兑换的会员级别',
  2117. `pgoods_starttime` int(11) DEFAULT NULL COMMENT '积分兑换开始时间',
  2118. `pgoods_endtime` int(11) DEFAULT NULL COMMENT '积分兑换结束时间',
  2119. `pgoods_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '积分礼品排序',
  2120. PRIMARY KEY (`pgoods_id`)
  2121. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='积分礼品表';
  2122. DROP TABLE IF EXISTS `#__pointslog`;
  2123. CREATE TABLE IF NOT EXISTS `#__pointslog` (
  2124. `pl_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '积分日志自增ID',
  2125. `pl_memberid` int(11) NOT NULL COMMENT '会员ID',
  2126. `pl_membername` varchar(100) NOT NULL COMMENT '会员名称',
  2127. `pl_adminid` int(11) DEFAULT NULL COMMENT '管理员ID',
  2128. `pl_adminname` varchar(100) DEFAULT NULL COMMENT '管理员名称',
  2129. `pl_points` int(11) NOT NULL DEFAULT '0' COMMENT '积分数 负数为扣除',
  2130. `pl_addtime` int(11) NOT NULL COMMENT '积分添加时间',
  2131. `pl_desc` varchar(100) NOT NULL COMMENT '积分操作描述',
  2132. `pl_stage` varchar(50) NOT NULL COMMENT '积分操作阶段',
  2133. PRIMARY KEY (`pl_id`),
  2134. KEY `pl_memberid` (`pl_memberid`)
  2135. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='会员积分日志表';
  2136. DROP TABLE IF EXISTS `#__pointsorder`;
  2137. CREATE TABLE IF NOT EXISTS `#__pointsorder` (
  2138. `point_orderid` int(11) NOT NULL AUTO_INCREMENT COMMENT '兑换订单自增ID',
  2139. `point_ordersn` varchar(20) NOT NULL COMMENT '兑换订单编号',
  2140. `point_buyerid` int(11) NOT NULL COMMENT '兑换会员ID',
  2141. `point_buyername` varchar(50) NOT NULL COMMENT '兑换会员姓名',
  2142. `point_buyeremail` varchar(100) DEFAULT NULL COMMENT '兑换会员email',
  2143. `point_addtime` int(11) NOT NULL COMMENT '兑换订单添加时间',
  2144. `point_shippingtime` int(11) DEFAULT NULL COMMENT '兑换配送时间',
  2145. `point_shippingcode` varchar(50) DEFAULT NULL COMMENT '兑换物流单号',
  2146. `point_shipping_ecode` varchar(30) DEFAULT NULL COMMENT '兑换物流公司编码',
  2147. `point_finnshedtime` int(11) DEFAULT NULL COMMENT '兑换订单完成时间',
  2148. `point_allpoint` int(11) NOT NULL DEFAULT '0' COMMENT '兑换总积分',
  2149. `point_ordermessage` varchar(300) DEFAULT NULL COMMENT '兑换订单留言',
  2150. `point_orderstate` int(11) NOT NULL DEFAULT '20' COMMENT '订单状态:20:已兑换并扣除积分;30:已发货;40:已收货;50:已完成;2:已取消',
  2151. PRIMARY KEY (`point_orderid`),
  2152. KEY `point_buyerid` (`point_buyerid`)
  2153. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='兑换订单表';
  2154. DROP TABLE IF EXISTS `#__pointsorderaddress`;
  2155. CREATE TABLE IF NOT EXISTS `#__pointsorderaddress` (
  2156. `pointoa_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '积分兑换地址自增ID',
  2157. `pointoa_orderid` int(11) NOT NULL COMMENT '订单id',
  2158. `pointoa_truename` varchar(50) NOT NULL COMMENT '收货人姓名',
  2159. `pointoa_areaid` int(11) NOT NULL COMMENT '地区id',
  2160. `pointoa_areainfo` varchar(100) NOT NULL COMMENT '地区内容',
  2161. `pointoa_address` varchar(200) NOT NULL COMMENT '详细地址',
  2162. `pointoa_zipcode` varchar(20) NOT NULL COMMENT '邮政编码',
  2163. `pointoa_telphone` varchar(20) NOT NULL COMMENT '电话号码',
  2164. `pointoa_mobphone` varchar(20) NOT NULL COMMENT '手机号码',
  2165. PRIMARY KEY (`pointoa_id`),
  2166. KEY `pointoa_orderid` (`pointoa_orderid`)
  2167. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='积分兑换地址表';
  2168. DROP TABLE IF EXISTS `#__pointsordergoods`;
  2169. CREATE TABLE IF NOT EXISTS `#__pointsordergoods` (
  2170. `pointog_recid` int(11) NOT NULL AUTO_INCREMENT COMMENT '积分订单商品自增ID',
  2171. `pointog_orderid` int(11) NOT NULL COMMENT '订单ID',
  2172. `pointog_goodsid` int(11) NOT NULL COMMENT '礼品ID',
  2173. `pointog_goodsname` varchar(100) NOT NULL COMMENT '礼品名称',
  2174. `pointog_goodspoints` int(11) NOT NULL COMMENT '礼品兑换积分',
  2175. `pointog_goodsnum` int(11) NOT NULL COMMENT '礼品数量',
  2176. `pointog_goodsimage` varchar(100) DEFAULT NULL COMMENT '礼品图片',
  2177. PRIMARY KEY (`pointog_recid`),
  2178. KEY `pointog_orderid` (`pointog_orderid`)
  2179. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='兑换订单商品表';
  2180. DROP TABLE IF EXISTS `#__ppintuan`;
  2181. CREATE TABLE IF NOT EXISTS `#__ppintuan` (
  2182. `pintuan_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '拼团自增ID',
  2183. `member_id` int(11) unsigned NOT NULL COMMENT '用户ID',
  2184. `member_name` varchar(50) NOT NULL COMMENT '用户名',
  2185. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  2186. `store_id` int(11) unsigned NOT NULL COMMENT '店铺ID',
  2187. `pintuanquota_id` int(10) unsigned NOT NULL COMMENT '拼团套餐ID',
  2188. `pintuan_name` varchar(50) NOT NULL COMMENT '拼团名称',
  2189. `pintuan_goods_id` int(11) unsigned NOT NULL COMMENT '商品ID',
  2190. `pintuan_goods_name` varchar(200) NOT NULL COMMENT '拼团名称',
  2191. `pintuan_goods_commonid` int(10) unsigned NOT NULL COMMENT '商品公共表ID',
  2192. `pintuan_goods_price` decimal(10,2) NOT NULL COMMENT '商品价格',
  2193. `pintuan_is_virtual` tinyint(3) DEFAULT '0' COMMENT '是否为虚拟商品 1:是 0:否',
  2194. `pintuan_zhe` int(10) unsigned NOT NULL COMMENT '拼团折扣',
  2195. `pintuan_image` varchar(50) DEFAULT NULL COMMENT '拼团图片',
  2196. `pintuan_starttime` int(10) unsigned NOT NULL COMMENT '拼团开始时间',
  2197. `pintuan_end_time` int(10) unsigned NOT NULL COMMENT '拼团结束时间',
  2198. `pintuan_limit_number` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '成团人数',
  2199. `pintuan_limit_hour` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '成团时限',
  2200. `pintuan_limit_quantity` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '成团数量限制',
  2201. `pintuan_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '组团数量',
  2202. `pintuan_ok_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '成功组团数量',
  2203. `pintuan_state` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '状态,0:取消 1:正常',
  2204. PRIMARY KEY (`pintuan_id`),
  2205. KEY `store_id` (`store_id`),
  2206. KEY `pintuan_goods_id` (`pintuan_goods_id`)
  2207. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺拼团表';
  2208. DROP TABLE IF EXISTS `#__ppintuangroup`;
  2209. CREATE TABLE IF NOT EXISTS `#__ppintuangroup` (
  2210. `pintuangroup_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '拼团开团ID',
  2211. `pintuan_id` int(10) unsigned NOT NULL COMMENT '拼团ID',
  2212. `pintuangroup_goods_id` int(10) unsigned NOT NULL COMMENT '商品ID',
  2213. `pintuangroup_is_virtual` tinyint(3) DEFAULT '0' COMMENT '是否为虚拟商品 1:是 0:否',
  2214. `pintuangroup_limit_number` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '成团人数',
  2215. `pintuangroup_limit_hour` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '成团时限',
  2216. `pintuangroup_joined` int(10) unsigned NOT NULL COMMENT '己参团人数',
  2217. `pintuangroup_headid` int(10) unsigned NOT NULL COMMENT '团长用户编号',
  2218. `pintuangroup_starttime` int(10) unsigned NOT NULL COMMENT '开团时间',
  2219. `pintuangroup_endtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '结束时间 成功或失败',
  2220. `pintuangroup_state` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '状态,0:取消 1:参团中 2:成功',
  2221. PRIMARY KEY (`pintuangroup_id`),
  2222. KEY `pintuan_id` (`pintuan_id`),
  2223. KEY `pintuangroup_goods_id` (`pintuangroup_goods_id`)
  2224. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='拼团开团表';
  2225. DROP TABLE IF EXISTS `#__ppintuanorder`;
  2226. CREATE TABLE IF NOT EXISTS `#__ppintuanorder` (
  2227. `pintuanorder_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '拼团开团ID',
  2228. `pintuan_id` int(10) unsigned NOT NULL COMMENT '拼团ID',
  2229. `pintuangroup_id` int(11) unsigned NOT NULL COMMENT '拼团开团ID',
  2230. `order_id` int(11) NOT NULL COMMENT '订单ID',
  2231. `order_sn` varchar(20) NOT NULL COMMENT '订单编号',
  2232. `pintuanorder_isfirst` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否首团订单,0:否 1:是',
  2233. `pintuanorder_state` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '状态,0:取消 1:参团中 2:成功',
  2234. `pintuanorder_type` tinyint(1) unsigned NOT NULL COMMENT '订单类型(0实物1虚拟)',
  2235. PRIMARY KEY (`pintuanorder_id`),
  2236. KEY `pintuan_id` (`pintuan_id`),
  2237. KEY `pintuangroup_id` (`pintuangroup_id`)
  2238. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='拼团订单辅助表';
  2239. DROP TABLE IF EXISTS `#__ppintuanquota`;
  2240. CREATE TABLE IF NOT EXISTS `#__ppintuanquota` (
  2241. `pintuanquota_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '拼团套餐ID',
  2242. `member_id` int(11) unsigned NOT NULL COMMENT '用户ID',
  2243. `member_name` varchar(50) NOT NULL COMMENT '用户名',
  2244. `store_id` int(11) unsigned NOT NULL COMMENT '店铺ID',
  2245. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  2246. `pintuanquota_starttime` int(10) unsigned NOT NULL COMMENT '拼团套餐开始时间',
  2247. `pintuanquota_endtime` int(10) unsigned NOT NULL COMMENT '拼团套餐结束时间',
  2248. PRIMARY KEY (`pintuanquota_id`),
  2249. KEY `store_id` (`store_id`)
  2250. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='拼团套餐表';
  2251. DROP TABLE IF EXISTS `#__presell`;
  2252. CREATE TABLE IF NOT EXISTS `#__presell` (
  2253. `presell_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '预售ID',
  2254. `presell_type` tinyint(1) unsigned NOT NULL COMMENT '预售类型(1全款预售2定金预售)',
  2255. `member_id` int(10) unsigned NOT NULL COMMENT '用户ID',
  2256. `member_name` varchar(50) NOT NULL COMMENT '用户名',
  2257. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  2258. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  2259. `goods_commonid` int(10) unsigned NOT NULL COMMENT '主商品公共ID',
  2260. `goods_id` int(10) unsigned NOT NULL COMMENT '商品ID',
  2261. `goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  2262. `presell_deposit_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '定金金额',
  2263. `presell_price` decimal(10,2) unsigned NOT NULL COMMENT '预售价',
  2264. `presell_start_time` int(10) unsigned NOT NULL COMMENT '活动开始时间',
  2265. `presell_end_time` int(10) unsigned NOT NULL COMMENT '活动结束时间',
  2266. `presell_shipping_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '预售发货时间',
  2267. `presell_state` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '状态,0:已取消 1:待开始 2:进行中 3:已结束',
  2268. PRIMARY KEY (`presell_id`),
  2269. KEY `store_id` (`store_id`),
  2270. KEY `goods_id` (`goods_id`),
  2271. KEY `goods_commonid` (`goods_commonid`)
  2272. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='预售表' AUTO_INCREMENT=1 ;
  2273. DROP TABLE IF EXISTS `#__presellquota`;
  2274. CREATE TABLE IF NOT EXISTS `#__presellquota` (
  2275. `presellquota_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '预售套餐ID',
  2276. `member_id` int(10) unsigned NOT NULL COMMENT '用户ID',
  2277. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  2278. `member_name` varchar(50) NOT NULL COMMENT '用户名称',
  2279. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  2280. `presellquota_starttime` int(10) unsigned NOT NULL COMMENT '开始时间',
  2281. `presellquota_endtime` int(10) unsigned NOT NULL COMMENT '结束时间',
  2282. PRIMARY KEY (`presellquota_id`),
  2283. KEY `store_id` (`store_id`)
  2284. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='预售套餐' AUTO_INCREMENT=1 ;
  2285. DROP TABLE IF EXISTS `#__pxianshi`;
  2286. CREATE TABLE IF NOT EXISTS `#__pxianshi` (
  2287. `xianshi_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '限时折扣自增ID',
  2288. `member_id` int(10) unsigned NOT NULL COMMENT '用户ID',
  2289. `member_name` varchar(50) NOT NULL COMMENT '用户名',
  2290. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  2291. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  2292. `xianshiquota_id` int(10) unsigned NOT NULL COMMENT '套餐ID',
  2293. `xianshi_name` varchar(50) NOT NULL COMMENT '活动名称',
  2294. `xianshi_title` varchar(10) DEFAULT NULL COMMENT '活动标题',
  2295. `xianshi_explain` varchar(50) DEFAULT NULL COMMENT '活动说明',
  2296. `xianshi_starttime` int(10) unsigned NOT NULL COMMENT '活动开始时间',
  2297. `xianshi_end_time` int(10) unsigned NOT NULL COMMENT '活动结束时间',
  2298. `xianshi_lower_limit` int(10) unsigned NOT NULL DEFAULT '1' COMMENT '购买下限,1:不限制',
  2299. `xianshi_state` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '状态,0:取消 1:正常',
  2300. PRIMARY KEY (`xianshi_id`),
  2301. KEY `store_id` (`store_id`)
  2302. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='限时折扣活动表';
  2303. DROP TABLE IF EXISTS `#__pxianshigoods`;
  2304. CREATE TABLE IF NOT EXISTS `#__pxianshigoods` (
  2305. `xianshigoods_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '限时折扣商品表',
  2306. `xianshi_id` int(10) unsigned NOT NULL COMMENT '限时折扣ID',
  2307. `xianshi_name` varchar(50) NOT NULL COMMENT '限时折扣名称',
  2308. `xianshi_title` varchar(10) DEFAULT NULL COMMENT '限时折扣标题',
  2309. `xianshi_explain` varchar(50) DEFAULT NULL COMMENT '限时折扣说明',
  2310. `goods_id` int(10) unsigned NOT NULL COMMENT '商品ID',
  2311. `goods_commonid` int(10) unsigned NOT NULL COMMENT '主商品公共ID',
  2312. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  2313. `goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  2314. `goods_price` decimal(10,2) NOT NULL COMMENT '店铺价格',
  2315. `goods_image` varchar(100) NOT NULL COMMENT '商品图片',
  2316. `xianshigoods_price` decimal(10,2) NOT NULL COMMENT '限时折扣价格',
  2317. `xianshigoods_starttime` int(10) unsigned NOT NULL COMMENT '限时折扣开始时间',
  2318. `xianshigoods_end_time` int(10) unsigned NOT NULL COMMENT '限时折扣结束时间',
  2319. `xianshigoods_lower_limit` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '购买下限,0为不限制',
  2320. `xianshigoods_state` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '限时折扣状态,0-取消 1-正常',
  2321. `xianshigoods_recommend` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '限时折扣推荐标志 0-未推荐 1-已推荐',
  2322. `gc_id_1` mediumint(9) DEFAULT '0' COMMENT '商品分类一级ID',
  2323. PRIMARY KEY (`xianshigoods_id`),
  2324. KEY `store_id` (`store_id`),
  2325. KEY `goods_id` (`goods_id`)
  2326. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='限时折扣商品表';
  2327. DROP TABLE IF EXISTS `#__pxianshiquota`;
  2328. CREATE TABLE IF NOT EXISTS `#__pxianshiquota` (
  2329. `xianshiquota_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '限时折扣套餐ID',
  2330. `member_id` int(10) unsigned NOT NULL COMMENT '用户ID',
  2331. `member_name` varchar(50) NOT NULL COMMENT '用户名',
  2332. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  2333. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  2334. `xianshiquota_starttime` int(10) unsigned NOT NULL COMMENT '限时折扣套餐开始时间',
  2335. `xianshiquota_endtime` int(10) unsigned NOT NULL COMMENT '限时折扣套餐结束时间',
  2336. PRIMARY KEY (`xianshiquota_id`),
  2337. KEY `store_id` (`store_id`)
  2338. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='限时折扣套餐表';
  2339. DROP TABLE IF EXISTS `#__rcblog`;
  2340. CREATE TABLE IF NOT EXISTS `#__rcblog` (
  2341. `rcblog_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '余额变更日志自增ID',
  2342. `member_id` int(11) NOT NULL COMMENT '会员ID',
  2343. `member_name` varchar(50) NOT NULL COMMENT '会员名称',
  2344. `rcblog_type` varchar(15) NOT NULL DEFAULT '' COMMENT 'order_pay:下单使用 order_freeze:下单冻结 order_cancel:取消订单解冻 order_comb_pay:下单扣除被冻结 recharge:平台充值卡充值 refund:确认退款 vr_refund:虚拟兑码退款',
  2345. `rcblog_addtime` int(11) NOT NULL COMMENT '变更添加时间',
  2346. `available_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '可用充值卡余额变更 0表示未变更',
  2347. `freeze_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '冻结充值卡余额变更 0表示未变更',
  2348. `rcblog_description` varchar(150) DEFAULT NULL COMMENT '变更描述',
  2349. PRIMARY KEY (`rcblog_id`),
  2350. KEY `member_id` (`member_id`)
  2351. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='充值卡余额变更日志表';
  2352. DROP TABLE IF EXISTS `#__rechargecard`;
  2353. CREATE TABLE IF NOT EXISTS `#__rechargecard` (
  2354. `rc_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '充值卡自增ID',
  2355. `rc_sn` varchar(50) NOT NULL COMMENT '充值卡卡号',
  2356. `rc_denomination` decimal(10,2) NOT NULL COMMENT '充值卡面额',
  2357. `rc_batchflag` varchar(20) NOT NULL COMMENT '充值卡批次标识',
  2358. `rc_admin_name` varchar(50) DEFAULT NULL COMMENT '充值卡创建者名称',
  2359. `rc_tscreated` int(10) unsigned NOT NULL COMMENT '充值卡创建时间',
  2360. `rc_tsused` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '充值卡使用时间',
  2361. `rc_state` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '充值卡状态 0可用 1已用 2已删',
  2362. `member_id` int(11) NOT NULL DEFAULT '0' COMMENT '使用者会员ID',
  2363. `member_name` varchar(50) DEFAULT NULL COMMENT '使用者会员名称',
  2364. PRIMARY KEY (`rc_id`),
  2365. KEY `member_id` (`member_id`)
  2366. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='平台充值卡';
  2367. DROP TABLE IF EXISTS `#__refundreason`;
  2368. CREATE TABLE IF NOT EXISTS `#__refundreason` (
  2369. `reason_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '原因自增ID',
  2370. `reason_info` varchar(50) NOT NULL COMMENT '原因内容',
  2371. `reason_sort` tinyint(3) unsigned DEFAULT '255' COMMENT '退款退货原因排序',
  2372. `reason_updatetime` int(10) unsigned NOT NULL COMMENT '退款退货原因更新时间',
  2373. PRIMARY KEY (`reason_id`)
  2374. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='退款退货原因表';
  2375. DROP TABLE IF EXISTS `#__refundreturn`;
  2376. CREATE TABLE IF NOT EXISTS `#__refundreturn` (
  2377. `refund_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '退款退货记录自增ID',
  2378. `order_id` int(10) unsigned NOT NULL COMMENT '订单ID',
  2379. `order_sn` varchar(20) NOT NULL COMMENT '订单编号',
  2380. `refund_sn` varchar(50) NOT NULL COMMENT '申请编号',
  2381. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  2382. `store_name` varchar(20) NOT NULL COMMENT '店铺名称',
  2383. `buyer_id` int(10) unsigned NOT NULL COMMENT '买家ID',
  2384. `buyer_name` varchar(50) NOT NULL COMMENT '买家会员名',
  2385. `goods_id` int(10) unsigned NOT NULL COMMENT '商品ID,0:全部退款',
  2386. `order_goods_id` int(10) unsigned DEFAULT '0' COMMENT '订单商品ID,0:全部退款',
  2387. `goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  2388. `goods_num` int(10) unsigned DEFAULT '1' COMMENT '商品数量',
  2389. `refund_amount` decimal(10,2) DEFAULT '0.00' COMMENT '退款金额',
  2390. `goods_image` varchar(100) DEFAULT NULL COMMENT '商品图片',
  2391. `order_goods_type` tinyint(1) unsigned DEFAULT '1' COMMENT '订单商品类型:1:默认2:抢购商品3:限时折扣商品4:组合套装 5:赠品6:拼团7:会员等级折扣8:砍价',
  2392. `refund_type` tinyint(1) unsigned DEFAULT '1' COMMENT '申请类型:1:退款,2:退货',
  2393. `seller_state` tinyint(1) unsigned DEFAULT '1' COMMENT '卖家处理状态:1:待审核,2:同意,3:不同意',
  2394. `refund_state` tinyint(1) unsigned DEFAULT '1' COMMENT '申请状态:1:处理中,2:待管理员处理,3:已完成,4:已拒绝',
  2395. `return_type` tinyint(1) unsigned DEFAULT '1' COMMENT '退货类型:1:不用退货,2:需要退货',
  2396. `order_lock` tinyint(1) unsigned DEFAULT '1' COMMENT '订单锁定类型:1:不用锁定,2:需要锁定',
  2397. `goods_state` tinyint(1) unsigned DEFAULT '1' COMMENT '物流状态:1:待发货,2:待收货,3:未收到,4:已收货',
  2398. `add_time` int(10) unsigned NOT NULL COMMENT '添加时间',
  2399. `seller_time` int(10) unsigned DEFAULT '0' COMMENT '卖家处理时间',
  2400. `admin_time` int(10) unsigned DEFAULT '0' COMMENT '管理员处理时间',
  2401. `reason_id` int(10) unsigned DEFAULT '0' COMMENT '原因ID:0:其它',
  2402. `reason_info` varchar(300) DEFAULT '' COMMENT '原因内容',
  2403. `pic_info` varchar(300) DEFAULT '' COMMENT '退款退货图片',
  2404. `buyer_message` varchar(300) DEFAULT NULL COMMENT '退款退货申请原因',
  2405. `seller_message` varchar(300) DEFAULT NULL COMMENT '卖家备注',
  2406. `admin_message` varchar(300) DEFAULT NULL COMMENT '管理员备注',
  2407. `express_id` tinyint(1) unsigned DEFAULT '0' COMMENT '物流公司编号',
  2408. `invoice_no` varchar(50) DEFAULT NULL COMMENT '物流单号',
  2409. `ship_time` int(10) unsigned DEFAULT '0' COMMENT '发货时间,默认为0',
  2410. `delay_time` int(10) unsigned DEFAULT '0' COMMENT '收货延迟时间,默认为0',
  2411. `receive_time` int(10) unsigned DEFAULT '0' COMMENT '收货时间,默认为0',
  2412. `receive_message` varchar(300) DEFAULT NULL COMMENT '收货备注',
  2413. `commis_rate` smallint(6) DEFAULT '0' COMMENT '佣金比例',
  2414. PRIMARY KEY (`refund_id`),
  2415. KEY `order_id` (`order_id`),
  2416. KEY `store_id` (`store_id`),
  2417. KEY `buyer_id` (`buyer_id`),
  2418. KEY `order_goods_id` (`order_goods_id`)
  2419. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='退款退货表';
  2420. DROP TABLE IF EXISTS `#__seller`;
  2421. CREATE TABLE IF NOT EXISTS `#__seller` (
  2422. `seller_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '卖家自增ID',
  2423. `seller_name` varchar(50) NOT NULL COMMENT '卖家用户名',
  2424. `member_id` int(10) unsigned NOT NULL COMMENT '用户ID',
  2425. `sellergroup_id` int(10) unsigned NOT NULL COMMENT '卖家组ID',
  2426. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  2427. `is_admin` tinyint(3) unsigned NOT NULL COMMENT '是否管理员 0:不是 1:是',
  2428. `last_logintime` int(10) unsigned DEFAULT NULL COMMENT '最后登录时间',
  2429. PRIMARY KEY (`seller_id`),
  2430. KEY `member_id` (`member_id`),
  2431. KEY `store_id` (`store_id`)
  2432. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='卖家用户表';
  2433. DROP TABLE IF EXISTS `#__sellergroup`;
  2434. CREATE TABLE IF NOT EXISTS `#__sellergroup` (
  2435. `sellergroup_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '卖家组自增ID',
  2436. `sellergroup_name` varchar(50) NOT NULL COMMENT '卖家组名称',
  2437. `sellergroup_limits` text NOT NULL COMMENT '卖家组权限',
  2438. `smt_limits` text NOT NULL COMMENT '消卖家组息权限范围',
  2439. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  2440. PRIMARY KEY (`sellergroup_id`),
  2441. KEY `store_id` (`store_id`)
  2442. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='卖家用户组表';
  2443. DROP TABLE IF EXISTS `#__sellerlog`;
  2444. CREATE TABLE IF NOT EXISTS `#__sellerlog` (
  2445. `sellerlog_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '卖家日志自增ID',
  2446. `sellerlog_content` varchar(100) NOT NULL COMMENT '卖家日志内容',
  2447. `sellerlog_time` int(10) unsigned NOT NULL COMMENT '卖家日志时间',
  2448. `sellerlog_seller_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '卖家ID',
  2449. `sellerlog_seller_name` varchar(50) NOT NULL COMMENT '卖家帐号',
  2450. `sellerlog_store_id` int(10) unsigned NOT NULL COMMENT '店铺编号',
  2451. `sellerlog_seller_ip` varchar(50) NOT NULL COMMENT '卖家ip',
  2452. `sellerlog_url` varchar(100) NOT NULL COMMENT '卖家日志url',
  2453. `sellerlog_state` tinyint(3) unsigned NOT NULL COMMENT '日志状态 0:失败 1:成功',
  2454. PRIMARY KEY (`sellerlog_id`),
  2455. KEY `sellerlog_seller_id` (`sellerlog_seller_id`),
  2456. KEY `sellerlog_store_id` (`sellerlog_store_id`)
  2457. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='卖家日志表';
  2458. DROP TABLE IF EXISTS `#__seo`;
  2459. CREATE TABLE IF NOT EXISTS `#__seo` (
  2460. `seo_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT 'SEO自增ID',
  2461. `seo_title` varchar(255) NOT NULL COMMENT 'SEO标题',
  2462. `seo_keywords` varchar(255) NOT NULL COMMENT 'SEO关键词',
  2463. `seo_description` text NOT NULL COMMENT 'SEO描述',
  2464. `seo_type` varchar(20) NOT NULL COMMENT 'SEO类型',
  2465. PRIMARY KEY (`seo_id`)
  2466. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='SEO信息存放表';
  2467. DROP TABLE IF EXISTS `#__smslog`;
  2468. CREATE TABLE IF NOT EXISTS `#__smslog` (
  2469. `smslog_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '短信记录自增ID',
  2470. `smslog_phone` char(11) NOT NULL COMMENT '短信手机号',
  2471. `smslog_captcha` char(6) NOT NULL COMMENT '短信动态码',
  2472. `smslog_ip` varchar(15) NOT NULL COMMENT '短信请求IP',
  2473. `smslog_msg` text COMMENT '短信内容',
  2474. `smslog_type` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '短信类型:1为注册,2为登录,3为找回密码,4绑定手机,5安全验证,默认为1',
  2475. `smslog_smstime` int(10) unsigned NOT NULL COMMENT '短信添加时间',
  2476. `member_id` int(10) unsigned DEFAULT '0' COMMENT '短信会员ID,注册为0',
  2477. `member_name` varchar(50) DEFAULT '' COMMENT '短信会员名',
  2478. `smslog_state` tinyint(1) unsigned DEFAULT '0' COMMENT '0待发送1发送成功2发送失败',
  2479. PRIMARY KEY (`smslog_id`),
  2480. KEY `smslog_phone` (`smslog_phone`),
  2481. KEY `member_id` (`member_id`),
  2482. KEY `smslog_state` (`smslog_state`)
  2483. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='手机短信记录表';
  2484. DROP TABLE IF EXISTS `#__snsalbumclass`;
  2485. CREATE TABLE IF NOT EXISTS `#__snsalbumclass` (
  2486. `ac_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '相册自增ID',
  2487. `member_id` int(10) unsigned NOT NULL COMMENT '会员ID',
  2488. `ac_name` varchar(100) NOT NULL COMMENT '相册名称',
  2489. `ac_des` varchar(255) NOT NULL COMMENT '相册描述',
  2490. `ac_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '相册排序',
  2491. `ac_cover` varchar(255) DEFAULT NULL COMMENT '相册封面',
  2492. `ac_uploadtime` int(10) unsigned NOT NULL COMMENT '图片上传时间',
  2493. `ac_isdefault` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否为买家秀相册 1:是 0:否',
  2494. PRIMARY KEY (`ac_id`),
  2495. KEY `member_id` (`member_id`)
  2496. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='相册表';
  2497. DROP TABLE IF EXISTS `#__snsalbumpic`;
  2498. CREATE TABLE IF NOT EXISTS `#__snsalbumpic` (
  2499. `ap_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '相册图片自增ID',
  2500. `ac_id` int(10) unsigned DEFAULT NULL COMMENT '相册ID',
  2501. `member_id` int(10) unsigned NOT NULL COMMENT '会员ID',
  2502. `ap_name` varchar(100) NOT NULL COMMENT '图片名称',
  2503. `ap_cover` varchar(255) NOT NULL COMMENT '图片路径',
  2504. `ap_size` int(10) unsigned NOT NULL COMMENT '图片大小',
  2505. `ap_spec` varchar(100) NOT NULL COMMENT '图片规格',
  2506. `ap_uploadtime` int(10) unsigned NOT NULL COMMENT '图片上传时间',
  2507. `ap_type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '图片类型,0为无、1为买家秀',
  2508. `item_id` tinyint(4) NOT NULL DEFAULT '0' COMMENT '信息ID',
  2509. PRIMARY KEY (`ap_id`),
  2510. KEY `member_id` (`member_id`),
  2511. KEY `ac_id` (`ac_id`)
  2512. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='相册图片表';
  2513. DROP TABLE IF EXISTS `#__snsfriend`;
  2514. CREATE TABLE IF NOT EXISTS `#__snsfriend` (
  2515. `friend_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '好友自增ID',
  2516. `friend_frommid` int(11) NOT NULL COMMENT '会员ID',
  2517. `friend_frommname` varchar(100) DEFAULT NULL COMMENT '会员名称',
  2518. `friend_frommavatar` varchar(100) DEFAULT NULL COMMENT '会员头像',
  2519. `friend_tomid` int(11) NOT NULL COMMENT '朋友ID',
  2520. `friend_tomname` varchar(100) NOT NULL COMMENT '好友会员名称',
  2521. `friend_tomavatar` varchar(100) DEFAULT NULL COMMENT '好友头像',
  2522. `friend_addtime` int(11) NOT NULL COMMENT '好友添加时间',
  2523. `friend_followstate` tinyint(1) NOT NULL DEFAULT '1' COMMENT '关注状态 1:单方关注 2:双方关注',
  2524. PRIMARY KEY (`friend_id`),
  2525. KEY `friend_frommid` (`friend_frommid`),
  2526. KEY `friend_tomid` (`friend_tomid`)
  2527. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='好友数据表';
  2528. DROP TABLE IF EXISTS `#__snsmembertag`;
  2529. CREATE TABLE IF NOT EXISTS `#__snsmembertag` (
  2530. `mtag_id` int(10) NOT NULL AUTO_INCREMENT COMMENT '会员标签自增ID',
  2531. `mtag_name` varchar(20) NOT NULL COMMENT '会员标签名称',
  2532. `mtag_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '会员标签排序',
  2533. `mtag_recommend` tinyint(4) NOT NULL DEFAULT '0' COMMENT '标签推荐 0:未推荐 1:已推荐',
  2534. `mtag_desc` varchar(50) NOT NULL COMMENT '标签描述',
  2535. `mtag_img` varchar(50) DEFAULT NULL COMMENT '标签图片',
  2536. PRIMARY KEY (`mtag_id`)
  2537. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='会员标签表';
  2538. DROP TABLE IF EXISTS `#__snsmtagmember`;
  2539. CREATE TABLE IF NOT EXISTS `#__snsmtagmember` (
  2540. `mtag_id` int(11) NOT NULL COMMENT '会员标签表ID',
  2541. `member_id` int(11) NOT NULL COMMENT '会员ID',
  2542. `recommend` tinyint(4) NOT NULL DEFAULT '0' COMMENT '推荐,默认为0',
  2543. PRIMARY KEY (`mtag_id`,`member_id`),
  2544. KEY `member_id` (`member_id`)
  2545. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='会员标签会员对照表';
  2546. DROP TABLE IF EXISTS `#__spec`;
  2547. CREATE TABLE IF NOT EXISTS `#__spec` (
  2548. `sp_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '规格自增ID',
  2549. `sp_name` varchar(100) NOT NULL COMMENT '规格名称',
  2550. `sp_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '规格排序',
  2551. `gc_id` int(10) unsigned DEFAULT '0' COMMENT '所属商品分类id',
  2552. `gc_name` varchar(100) DEFAULT NULL COMMENT '所属商品分类名称',
  2553. PRIMARY KEY (`sp_id`),
  2554. KEY `gc_id` (`gc_id`)
  2555. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品规格表';
  2556. DROP TABLE IF EXISTS `#__specvalue`;
  2557. CREATE TABLE IF NOT EXISTS `#__specvalue` (
  2558. `spvalue_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '规格值自增ID',
  2559. `spvalue_name` varchar(100) NOT NULL COMMENT '规格值名称',
  2560. `sp_id` int(10) unsigned NOT NULL COMMENT '所属规格ID',
  2561. `gc_id` int(10) unsigned NOT NULL COMMENT '分类ID',
  2562. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  2563. `spvalue_color` varchar(10) DEFAULT NULL COMMENT '规格颜色',
  2564. `spvalue_sort` tinyint(1) unsigned NOT NULL COMMENT '规格排序',
  2565. PRIMARY KEY (`spvalue_id`),
  2566. KEY `store_id` (`store_id`),
  2567. KEY `sp_id` (`sp_id`)
  2568. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品规格值表';
  2569. DROP TABLE IF EXISTS `#__statmember`;
  2570. CREATE TABLE IF NOT EXISTS `#__statmember` (
  2571. `statm_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '统计自增ID',
  2572. `statm_memberid` int(11) NOT NULL COMMENT '会员ID',
  2573. `statm_membername` varchar(100) NOT NULL COMMENT '会员名称',
  2574. `statm_time` int(11) NOT NULL COMMENT '统计时间',
  2575. `statm_ordernum` int(11) NOT NULL DEFAULT '0' COMMENT '下单量',
  2576. `statm_orderamount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '下单金额',
  2577. `statm_goodsnum` int(11) NOT NULL DEFAULT '0' COMMENT '下单商品件数',
  2578. `statm_predincrease` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '预存款增加额',
  2579. `statm_predreduce` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '预存款减少额',
  2580. `statm_pointsincrease` int(11) NOT NULL DEFAULT '0' COMMENT '积分增加额',
  2581. `statm_pointsreduce` int(11) NOT NULL DEFAULT '0' COMMENT '积分减少额',
  2582. `statm_updatetime` int(11) NOT NULL COMMENT '更新时间',
  2583. PRIMARY KEY (`statm_id`)
  2584. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='会员相关数据统计';
  2585. DROP TABLE IF EXISTS `#__statorder`;
  2586. CREATE TABLE IF NOT EXISTS `#__statorder` (
  2587. `order_id` int(11) NOT NULL COMMENT '订单id',
  2588. `order_sn` varchar(20) NOT NULL COMMENT '订单编号',
  2589. `order_add_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '订单生成时间',
  2590. `payment_code` char(20) DEFAULT '' COMMENT '支付方式',
  2591. `order_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '订单总价格',
  2592. `shipping_fee` decimal(10,2) unsigned DEFAULT '0.00' COMMENT '运费',
  2593. `evaluation_state` enum('0','1') DEFAULT '0' COMMENT '评价状态 0未评价,1已评价',
  2594. `order_state` enum('0','10','14','15','20','30','35','40') NOT NULL DEFAULT '10' COMMENT '订单状态:0(已取消)10(默认):未付款 14:待付定金 15:待付尾款;20:已付款;30:已发货;35:待自提;40:已收货;',
  2595. `refund_state` tinyint(1) unsigned DEFAULT '0' COMMENT '退款状态:0是无退款,1是部分退款,2是全部退款',
  2596. `refund_amount` decimal(10,2) DEFAULT '0.00' COMMENT '退款金额',
  2597. `order_from` enum('1','2') NOT NULL DEFAULT '1' COMMENT '订单来源,1:PC 2:手机',
  2598. `order_isvalid` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否为计入统计的有效订单,0为无效 1为有效',
  2599. `reciver_province_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '收货人省级ID',
  2600. `store_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '店铺ID',
  2601. `store_name` varchar(50) NOT NULL COMMENT '卖家店铺名称',
  2602. `grade_id` int(11) NOT NULL COMMENT '店铺等级',
  2603. `storeclass_id` int(11) NOT NULL COMMENT '店铺分类',
  2604. `buyer_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '买家ID',
  2605. `buyer_name` varchar(50) NOT NULL COMMENT '买家姓名',
  2606. UNIQUE KEY `order_id` (`order_id`),
  2607. KEY `order_add_time` (`order_add_time`),
  2608. KEY `order_isvalid` (`order_isvalid`)
  2609. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='统计功能订单缓存表';
  2610. DROP TABLE IF EXISTS `#__statordergoods`;
  2611. CREATE TABLE IF NOT EXISTS `#__statordergoods` (
  2612. `rec_id` int(11) NOT NULL COMMENT '订单商品表索引ID',
  2613. `stat_updatetime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '缓存生成时间',
  2614. `order_id` int(11) NOT NULL COMMENT '订单id',
  2615. `order_sn` varchar(20) NOT NULL COMMENT '订单编号',
  2616. `order_add_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '订单生成时间',
  2617. `payment_code` char(20) DEFAULT '' COMMENT '支付方式',
  2618. `order_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '订单总价格',
  2619. `shipping_fee` decimal(10,2) unsigned DEFAULT '0.00' COMMENT '运费',
  2620. `evaluation_state` enum('0','1') DEFAULT '0' COMMENT '评价状态 0:未评价,1:已评价',
  2621. `order_state` enum('0','10','14','15','20','30','35','40') NOT NULL DEFAULT '10' COMMENT '订单状态 0:已取消;10:未付款 14:待付定金 15:待付尾款;20:已付款;30:已发货;35:待自提;40:已收货;',
  2622. `refund_state` tinyint(1) unsigned DEFAULT '0' COMMENT '退款状态:0:无退款,1:部分退款,2:全部退款',
  2623. `refund_amount` decimal(10,2) DEFAULT '0.00' COMMENT '退款金额',
  2624. `order_from` enum('1','2') NOT NULL DEFAULT '1' COMMENT '来源 1:PC 2:手机',
  2625. `order_isvalid` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否为计入统计的有效订单,0为无效 1为有效',
  2626. `reciver_province_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '收货人省级ID',
  2627. `store_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '店铺ID',
  2628. `store_name` varchar(50) NOT NULL COMMENT '卖家店铺名称',
  2629. `grade_id` int(11) NOT NULL COMMENT '店铺等级',
  2630. `storeclass_id` int(11) NOT NULL COMMENT '店铺分类',
  2631. `buyer_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '买家ID',
  2632. `buyer_name` varchar(50) NOT NULL COMMENT '买家姓名',
  2633. `goods_id` int(11) NOT NULL COMMENT '商品ID',
  2634. `goods_name` varchar(200) NOT NULL COMMENT '商品名称+规格',
  2635. `goods_commonid` int(10) unsigned NOT NULL COMMENT '商品公共表id',
  2636. `goods_commonname` varchar(50) NOT NULL COMMENT '商品公共表中商品名称',
  2637. `gc_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '商品最底级分类ID',
  2638. `gc_parentid_1` int(11) NOT NULL DEFAULT '0' COMMENT '一级父类ID',
  2639. `gc_parentid_2` int(11) NOT NULL DEFAULT '0' COMMENT '二级父类ID',
  2640. `gc_parentid_3` int(11) NOT NULL DEFAULT '0' COMMENT '三级父类ID',
  2641. `brand_id` int(10) unsigned NOT NULL COMMENT '品牌id',
  2642. `brand_name` varchar(100) NOT NULL COMMENT '品牌名称',
  2643. `goods_serial` varchar(50) NOT NULL COMMENT '商家编号',
  2644. `goods_price` decimal(10,2) NOT NULL COMMENT '商品价格',
  2645. `goods_num` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT '商品数量',
  2646. `goods_image` varchar(100) DEFAULT NULL COMMENT '商品图片',
  2647. `goods_pay_price` decimal(10,2) unsigned NOT NULL COMMENT '商品实际成交价',
  2648. `goods_type` enum('1','2','3','4','5','6','7','8','9') NOT NULL DEFAULT '1' COMMENT '1:默认 2:抢购商品 3:限时折扣商品 4:优惠套装 5:赠品 6:拼团 7:会员等级折扣 8:砍价',
  2649. `promotions_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '促销活动ID(抢购ID/限时折扣ID/优惠套装ID)与goods_type搭配使用',
  2650. `commis_rate` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '佣金比例',
  2651. UNIQUE KEY `rec_id` (`rec_id`),
  2652. KEY `order_id` (`order_id`),
  2653. KEY `order_add_time` (`order_add_time`)
  2654. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='统计功能订单商品缓存表';
  2655. DROP TABLE IF EXISTS `#__store`;
  2656. CREATE TABLE IF NOT EXISTS `#__store` (
  2657. `store_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '店铺自增ID',
  2658. `store_name` varchar(100) NOT NULL COMMENT '店铺名称',
  2659. `grade_id` int(11) DEFAULT '0' COMMENT '店铺等级ID',
  2660. `member_id` int(11) NOT NULL COMMENT '用户ID',
  2661. `member_name` varchar(50) NOT NULL COMMENT '用户名',
  2662. `seller_name` varchar(50) NOT NULL COMMENT '店主卖家用户名',
  2663. `storeclass_id` int(11) DEFAULT '0' COMMENT '店铺分类ID',
  2664. `store_company_name` varchar(50) DEFAULT NULL COMMENT '店铺公司名称',
  2665. `region_id` int(10) DEFAULT NULL COMMENT '地区ID',
  2666. `area_info` varchar(100) DEFAULT NULL COMMENT '地区名称',
  2667. `store_address` varchar(100) DEFAULT NULL COMMENT '店铺地址',
  2668. `store_zip` varchar(10) DEFAULT NULL COMMENT '邮政编码',
  2669. `store_state` tinyint(1) NOT NULL DEFAULT '2' COMMENT '店铺状态:0关闭,1开启,2审核中',
  2670. `store_close_info` varchar(255) DEFAULT NULL COMMENT '店铺关闭原因',
  2671. `store_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '店铺排序',
  2672. `store_addtime` int(11) NOT NULL DEFAULT '0' COMMENT '店铺时间',
  2673. `store_endtime` int(11) NOT NULL DEFAULT '0' COMMENT '店铺关闭时间',
  2674. `store_logo` varchar(255) DEFAULT NULL COMMENT '店铺LOGO',
  2675. `store_banner` varchar(255) DEFAULT NULL COMMENT '店铺Banner',
  2676. `store_avatar` varchar(255) DEFAULT NULL COMMENT '店铺头像',
  2677. `store_keywords` varchar(255) DEFAULT NULL COMMENT '店铺SEO关键字',
  2678. `store_description` varchar(255) DEFAULT NULL COMMENT '店铺SEO描述',
  2679. `store_qq` varchar(50) DEFAULT NULL COMMENT '店铺QQ',
  2680. `store_ww` varchar(50) DEFAULT NULL COMMENT '店铺WW',
  2681. `store_phone` varchar(20) DEFAULT NULL COMMENT '商家电话',
  2682. `store_mainbusiness` text COMMENT '主营商品',
  2683. `store_recommend` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否推荐:0否 1是',
  2684. `store_theme` varchar(50) NOT NULL DEFAULT 'default' COMMENT '店铺当前主题',
  2685. `store_credit` int(11) NOT NULL DEFAULT '100' COMMENT '店铺信用',
  2686. `store_desccredit` float unsigned NOT NULL DEFAULT '5' COMMENT '描述相符度分数',
  2687. `store_servicecredit` float unsigned NOT NULL DEFAULT '5' COMMENT '服务态度分数',
  2688. `store_deliverycredit` float unsigned NOT NULL DEFAULT '5' COMMENT '发货速度分数',
  2689. `store_collect` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '店铺收藏数量',
  2690. `store_slide` text COMMENT '店铺幻灯片',
  2691. `store_slide_url` text COMMENT '店铺幻灯片链接',
  2692. `store_seal` varchar(255) DEFAULT NULL COMMENT '店铺印章',
  2693. `store_printexplain` varchar(500) DEFAULT NULL COMMENT '打印订单页面下方说明文字',
  2694. `store_sales` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '店铺销量',
  2695. `store_presales` text COMMENT '售前客服',
  2696. `store_aftersales` text COMMENT '售后客服',
  2697. `store_workingtime` varchar(100) DEFAULT NULL COMMENT '工作时间',
  2698. `store_free_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '超出该金额免运费,大于0才表示该值有效',
  2699. `store_decoration_switch` int(10) unsigned DEFAULT '0' COMMENT '店铺装修开关(0-关闭 装修编号-开启)',
  2700. `store_decoration_only` tinyint(1) unsigned DEFAULT '0' COMMENT '开启店铺装修时,仅显示店铺装修(1-是 0-否',
  2701. `store_decoration_image_count` int(10) unsigned DEFAULT '0' COMMENT '店铺装修相册图片数量',
  2702. `is_platform_store` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否自营店铺 1是 0否',
  2703. `bind_all_gc` tinyint(1) NOT NULL DEFAULT '0' COMMENT '自营店是否绑定全部分类 0否1是',
  2704. `store_vrcode_prefix` char(3) DEFAULT NULL COMMENT '商家兑换码前缀',
  2705. `store_baozh` tinyint(1) DEFAULT '0' COMMENT '保证服务开关',
  2706. `store_qtian` tinyint(1) DEFAULT '0' COMMENT '7天退换',
  2707. `store_zhping` tinyint(1) DEFAULT '0' COMMENT '正品保障',
  2708. `store_erxiaoshi` tinyint(1) DEFAULT '0' COMMENT '两小时发货',
  2709. `store_tuihuo` tinyint(1) DEFAULT '0' COMMENT '退货承诺',
  2710. `store_shiyong` tinyint(1) DEFAULT '0' COMMENT '试用中心',
  2711. `store_shiti` tinyint(1) DEFAULT '0' COMMENT '实体验证',
  2712. `store_xiaoxie` tinyint(1) DEFAULT '0' COMMENT '消协保证',
  2713. `store_huodaofk` tinyint(1) DEFAULT '0' COMMENT '货到付款',
  2714. `store_free_time` varchar(10) DEFAULT NULL COMMENT '商家配送时间',
  2715. `store_longitude` varchar(20) DEFAULT '' COMMENT '经度',
  2716. `store_latitude` varchar(20) DEFAULT '' COMMENT '纬度',
  2717. `mb_title_img` varchar(150) DEFAULT NULL COMMENT '手机店铺背景图',
  2718. `mb_sliders` text COMMENT '手机店铺轮播图',
  2719. `deliver_region` varchar(50) DEFAULT NULL COMMENT '店铺默认配送区域',
  2720. `store_mgdiscount` text COMMENT '序列化会员等级折扣(店铺)',
  2721. `store_mgdiscount_state` tinyint(1) DEFAULT '0' COMMENT '店铺是否开启序列化会员等级折扣',
  2722. `store_bill_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '上一期结算时间',
  2723. `store_avaliable_deposit` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '店铺已缴保证金',
  2724. `store_freeze_deposit` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '店铺审核保证金',
  2725. `store_payable_deposit` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '店铺应缴保证金',
  2726. `store_avaliable_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '店铺可用金额',
  2727. `store_freeze_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '店铺冻结金额',
  2728. `expresscf_kdn_if_open` tinyint(1) DEFAULT '0' COMMENT '快递鸟开启',
  2729. `expresscf_kdn_id` varchar(20) DEFAULT NULL COMMENT '快递鸟-用户ID',
  2730. `expresscf_kdn_key` varchar(100) DEFAULT NULL COMMENT '快递鸟-API key',
  2731. `expresscf_kdn_printer` varchar(100) DEFAULT NULL COMMENT '快递鸟-打印机',
  2732. PRIMARY KEY (`store_id`),
  2733. KEY `seller_name` (`seller_name`)
  2734. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺数据表';
  2735. DROP TABLE IF EXISTS `#__storebindclass`;
  2736. CREATE TABLE IF NOT EXISTS `#__storebindclass` (
  2737. `storebindclass_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '类目自增ID',
  2738. `store_id` int(11) unsigned DEFAULT '0' COMMENT '店铺ID',
  2739. `commis_rate` tinyint(4) unsigned DEFAULT '0' COMMENT '佣金比例',
  2740. `class_1` mediumint(9) unsigned DEFAULT '0' COMMENT '一级分类',
  2741. `class_2` mediumint(9) unsigned DEFAULT '0' COMMENT '二级分类',
  2742. `class_3` mediumint(9) unsigned DEFAULT '0' COMMENT '三级分类',
  2743. `storebindclass_state` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '状态0:审核中1:已审核 2:平台自营店铺',
  2744. PRIMARY KEY (`storebindclass_id`),
  2745. KEY `store_id` (`store_id`),
  2746. KEY `class_1` (`class_1`),
  2747. KEY `class_2` (`class_2`),
  2748. KEY `class_3` (`class_3`)
  2749. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺可发布商品类目表';
  2750. DROP TABLE IF EXISTS `#__storeclass`;
  2751. CREATE TABLE IF NOT EXISTS `#__storeclass` (
  2752. `storeclass_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '店铺分类自增ID',
  2753. `storeclass_name` varchar(50) NOT NULL COMMENT '店铺分类名称',
  2754. `storeclass_bail` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '店铺分类保证金数额',
  2755. `storeclass_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '店铺分类排序',
  2756. PRIMARY KEY (`storeclass_id`)
  2757. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺分类表';
  2758. DROP TABLE IF EXISTS `#__storecost`;
  2759. CREATE TABLE IF NOT EXISTS `#__storecost` (
  2760. `storecost_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '店铺消费自增ID',
  2761. `storecost_store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  2762. `storecost_seller_id` int(10) unsigned NOT NULL COMMENT '卖家ID',
  2763. `storecost_price` int(10) unsigned NOT NULL COMMENT '店铺消费价格',
  2764. `storecost_remark` varchar(255) NOT NULL COMMENT '店铺消费备注',
  2765. `storecost_state` tinyint(3) unsigned NOT NULL COMMENT '费用状态 0:未结算 1:已结算',
  2766. `storecost_time` int(10) unsigned NOT NULL COMMENT '费用发生时间',
  2767. PRIMARY KEY (`storecost_id`),
  2768. KEY `storecost_store_id` (`storecost_store_id`)
  2769. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺消费表';
  2770. DROP TABLE IF EXISTS `#__storedepositlog`;
  2771. CREATE TABLE IF NOT EXISTS `#__storedepositlog` (
  2772. `storedepositlog_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '保证金日志id',
  2773. `store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  2774. `store_name` varchar(60) NOT NULL COMMENT '店铺名称',
  2775. `store_avaliable_deposit` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '已缴保证金',
  2776. `store_freeze_deposit` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '审核保证金',
  2777. `store_payable_deposit` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '应缴保证金',
  2778. `storedepositlog_state` tinyint(1) unsigned NOT NULL COMMENT '状态(0无效1有效2待审核3已同意4已拒绝5已缴纳6已取消)',
  2779. `storedepositlog_type` smallint(5) unsigned NOT NULL COMMENT '日志类型',
  2780. `storedepositlog_desc` varchar(255) NOT NULL COMMENT '日志详情',
  2781. `storedepositlog_add_time` int(10) unsigned NOT NULL COMMENT '添加时间',
  2782. PRIMARY KEY (`storedepositlog_id`),
  2783. KEY `store_id` (`store_id`)
  2784. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺保证金日志表';
  2785. DROP TABLE IF EXISTS `#__storeextend`;
  2786. CREATE TABLE IF NOT EXISTS `#__storeextend` (
  2787. `store_id` mediumint(8) unsigned NOT NULL COMMENT '店铺ID',
  2788. `express` text COMMENT '快递公司ID的组合',
  2789. `pricerange` text COMMENT '店铺统计设置的商品价格区间',
  2790. `orderpricerange` text COMMENT '店铺统计设置的订单价格区间',
  2791. PRIMARY KEY (`store_id`)
  2792. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺信息扩展表';
  2793. DROP TABLE IF EXISTS `#__storegoodsclass`;
  2794. CREATE TABLE IF NOT EXISTS `#__storegoodsclass` (
  2795. `storegc_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '店铺商品分类ID',
  2796. `store_id` int(11) NOT NULL DEFAULT '0' COMMENT '店铺ID',
  2797. `storegc_name` varchar(50) NOT NULL COMMENT '店铺商品分类名称',
  2798. `storegc_parent_id` int(11) NOT NULL COMMENT '上级ID',
  2799. `storegc_state` tinyint(1) NOT NULL DEFAULT '0' COMMENT '店铺商品分类状态',
  2800. `storegc_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '商品分类排序',
  2801. PRIMARY KEY (`storegc_id`),
  2802. KEY `storegc_parent_id` (`storegc_parent_id`,`storegc_sort`),
  2803. KEY `store_id` (`store_id`)
  2804. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺商品分类表';
  2805. DROP TABLE IF EXISTS `#__storegrade`;
  2806. CREATE TABLE IF NOT EXISTS `#__storegrade` (
  2807. `storegrade_id` int(10) NOT NULL AUTO_INCREMENT COMMENT '店铺等级自增ID',
  2808. `storegrade_name` varchar(50) NOT NULL COMMENT '店铺等级名称',
  2809. `storegrade_goods_limit` int(10) DEFAULT '0' COMMENT '允许发布商品数量',
  2810. `storegrade_album_limit` int(10) DEFAULT '0' COMMENT '允许发布图片数量',
  2811. `storegrade_space_limit` int(10) DEFAULT '0' COMMENT '允许上传空间大小,单位MB',
  2812. `storegrade_template_number` tinyint(3) DEFAULT '0' COMMENT '店铺等级选择店铺模板套数',
  2813. `storegrade_template` varchar(255) DEFAULT NULL COMMENT '店铺等级模板内容',
  2814. `storegrade_price` int(10) DEFAULT '0' COMMENT '店铺等级费用',
  2815. `storegrade_confirm` tinyint(1) DEFAULT '1' COMMENT '店铺等级审核,0为否 1为是',
  2816. `storegrade_description` text COMMENT '店铺等级申请说明',
  2817. `storegrade_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '店铺等级排序',
  2818. PRIMARY KEY (`storegrade_id`)
  2819. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺等级表';
  2820. DROP TABLE IF EXISTS `#__storejoinin`;
  2821. CREATE TABLE IF NOT EXISTS `#__storejoinin` (
  2822. `member_id` int(10) unsigned NOT NULL COMMENT '用户ID',
  2823. `member_name` varchar(50) DEFAULT NULL COMMENT '店主用户名',
  2824. `store_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '店铺类型:0公司,1个人',
  2825. `company_name` varchar(50) DEFAULT NULL COMMENT '公司名称',
  2826. `company_province_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '所在地省ID',
  2827. `company_address` varchar(50) DEFAULT NULL COMMENT '公司地址',
  2828. `company_address_detail` varchar(50) DEFAULT NULL COMMENT '公司详细地址',
  2829. `company_registered_capital` int(10) unsigned DEFAULT NULL COMMENT '注册资金',
  2830. `contacts_name` varchar(50) DEFAULT NULL COMMENT '联系人姓名',
  2831. `contacts_phone` varchar(20) DEFAULT NULL COMMENT '联系人电话',
  2832. `contacts_email` varchar(50) DEFAULT NULL COMMENT '联系人邮箱',
  2833. `business_licence_number` varchar(50) DEFAULT NULL COMMENT '营业执照号',
  2834. `business_licence_address` varchar(50) DEFAULT NULL COMMENT '营业执所在地',
  2835. `business_licence_start` date DEFAULT NULL COMMENT '营业执照有效期开始',
  2836. `business_licence_end` date DEFAULT NULL COMMENT '营业执照有效期结束',
  2837. `business_sphere` varchar(1000) DEFAULT NULL COMMENT '法定经营范围',
  2838. `business_licence_number_electronic` varchar(50) DEFAULT NULL COMMENT '营业执照电子版',
  2839. `bank_account_name` varchar(50) DEFAULT NULL COMMENT '银行开户名',
  2840. `bank_account_number` varchar(50) DEFAULT NULL COMMENT '公司银行账号',
  2841. `bank_name` varchar(50) DEFAULT NULL COMMENT '开户银行支行名称',
  2842. `bank_address` varchar(50) DEFAULT NULL COMMENT '开户银行所在地',
  2843. `is_settlement_account` tinyint(1) DEFAULT NULL COMMENT '开户行账号是否为结算账号 1-开户行就是结算账号 2-独立的计算账号',
  2844. `settlement_bank_account_name` varchar(50) DEFAULT NULL COMMENT '结算银行开户名',
  2845. `settlement_bank_account_number` varchar(50) DEFAULT NULL COMMENT '结算公司银行账号',
  2846. `settlement_bank_name` varchar(50) DEFAULT NULL COMMENT '结算开户银行支行名称',
  2847. `settlement_bank_address` varchar(50) DEFAULT NULL COMMENT '结算开户银行所在地',
  2848. `seller_name` varchar(50) DEFAULT NULL COMMENT '卖家帐号',
  2849. `store_name` varchar(50) DEFAULT NULL COMMENT '店铺名称',
  2850. `store_class_ids` varchar(1000) DEFAULT NULL COMMENT '店铺分类编号集合',
  2851. `store_class_names` varchar(1000) DEFAULT NULL COMMENT '店铺分类名称集合',
  2852. `store_longitude` varchar(20) DEFAULT '' COMMENT '经度',
  2853. `store_latitude` varchar(20) DEFAULT '' COMMENT '纬度',
  2854. `joinin_state` varchar(50) DEFAULT NULL COMMENT '申请状态 10-已提交申请 11-缴费完成 20-审核成功 30-审核失败 31-缴费审核失败 40-审核通过开店',
  2855. `joinin_message` varchar(200) DEFAULT NULL COMMENT '管理员审核信息',
  2856. `joinin_year` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '开店时长(年)',
  2857. `storegrade_name` varchar(50) DEFAULT NULL COMMENT '店铺等级名称',
  2858. `storegrade_id` int(10) unsigned DEFAULT NULL COMMENT '店铺等级编号',
  2859. `sg_info` varchar(200) DEFAULT NULL COMMENT '店铺等级下的收费等信息',
  2860. `storeclass_name` varchar(50) DEFAULT NULL COMMENT '店铺分类名称',
  2861. `storeclass_id` int(10) unsigned DEFAULT NULL COMMENT '店铺分类编号',
  2862. `storeclass_bail` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '店铺分类保证金',
  2863. `store_class_commis_rates` varchar(200) DEFAULT NULL COMMENT '分类佣金比例',
  2864. `paying_money_certificate` varchar(50) DEFAULT NULL COMMENT '付款凭证',
  2865. `paying_money_certificate_explain` varchar(200) DEFAULT NULL COMMENT '付款凭证说明',
  2866. `paying_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '付款金额',
  2867. `pay_sn` varchar(20) NOT NULL DEFAULT '' COMMENT '支付单号',
  2868. `payment_code` varchar(20) DEFAULT '' COMMENT '支付方式',
  2869. `trade_sn` varchar(50) DEFAULT '' COMMENT '第三方支付接口交易号',
  2870. `rcb_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '充值卡支付金额',
  2871. `pd_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '预存款支付金额'
  2872. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺入住表';
  2873. DROP TABLE IF EXISTS `#__storemoneylog`;
  2874. CREATE TABLE IF NOT EXISTS `#__storemoneylog` (
  2875. `storemoneylog_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '金额日志id',
  2876. `store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  2877. `store_name` varchar(60) NOT NULL COMMENT '店铺名称',
  2878. `store_avaliable_money` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '变动可用金额',
  2879. `store_freeze_money` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '变动冻结金额',
  2880. `storemoneylog_type` smallint(5) unsigned NOT NULL COMMENT '日志类型',
  2881. `storemoneylog_desc` varchar(255) NOT NULL COMMENT '日志详情',
  2882. `storemoneylog_state` tinyint(1) unsigned NOT NULL COMMENT '状态(0无效1有效2待审核3已同意4已拒绝)',
  2883. `storemoneylog_add_time` int(10) unsigned NOT NULL COMMENT '添加时间',
  2884. `storemoneylog_payment_code` varchar(20) DEFAULT '' COMMENT '支付方式',
  2885. `storemoneylog_trade_sn` varchar(50) DEFAULT '' COMMENT '第三方支付接口交易号',
  2886. PRIMARY KEY (`storemoneylog_id`),
  2887. KEY `store_id` (`store_id`)
  2888. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺金额日志表';
  2889. DROP TABLE IF EXISTS `#__storemsg`;
  2890. CREATE TABLE IF NOT EXISTS `#__storemsg` (
  2891. `storemsg_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '店铺消息自增ID',
  2892. `storemt_code` varchar(100) NOT NULL COMMENT '模板编码',
  2893. `store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  2894. `storemsg_content` varchar(255) NOT NULL COMMENT '消息内容',
  2895. `storemsg_addtime` int(10) unsigned NOT NULL COMMENT '发送时间',
  2896. `storemsg_readids` varchar(255) DEFAULT NULL COMMENT '已读卖家id',
  2897. PRIMARY KEY (`storemsg_id`),
  2898. KEY `store_id` (`store_id`)
  2899. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺消息表';
  2900. DROP TABLE IF EXISTS `#__storemsgread`;
  2901. CREATE TABLE IF NOT EXISTS `#__storemsgread` (
  2902. `storemsg_id` int(11) NOT NULL COMMENT '店铺消息ID',
  2903. `seller_id` int(11) NOT NULL COMMENT '卖家ID',
  2904. `storemsg_readtime` int(11) NOT NULL COMMENT '阅读时间',
  2905. PRIMARY KEY (`storemsg_id`,`seller_id`),
  2906. KEY `seller_id` (`seller_id`)
  2907. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺消息阅读表';
  2908. DROP TABLE IF EXISTS `#__storemsgsetting`;
  2909. CREATE TABLE IF NOT EXISTS `#__storemsgsetting` (
  2910. `storemt_code` varchar(100) NOT NULL COMMENT '模板编码',
  2911. `store_id` int(10) unsigned NOT NULL COMMENT '店铺id',
  2912. `storems_message_switch` tinyint(3) unsigned NOT NULL COMMENT '站内信接收开关 0:关闭 1:开启',
  2913. `storems_short_switch` tinyint(3) unsigned NOT NULL COMMENT '短消息接收开关 0:关闭 1:开启',
  2914. `storems_mail_switch` tinyint(3) unsigned NOT NULL COMMENT '邮件接收开关 0:关闭 1:开启',
  2915. `storems_weixin_switch` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '微信接收开关 0:关闭 1:开启',
  2916. `storems_short_number` varchar(11) NOT NULL COMMENT '手机号码',
  2917. `storems_mail_number` varchar(100) NOT NULL COMMENT '邮箱号码',
  2918. PRIMARY KEY (`storemt_code`,`store_id`),
  2919. KEY `store_id` (`store_id`)
  2920. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺消息接收设置';
  2921. DROP TABLE IF EXISTS `#__storemsgtpl`;
  2922. CREATE TABLE IF NOT EXISTS `#__storemsgtpl` (
  2923. `storemt_code` varchar(100) NOT NULL COMMENT '商家消息模板编码',
  2924. `storemt_name` varchar(100) NOT NULL COMMENT '商家消息模板名称',
  2925. `storemt_message_switch` tinyint(3) unsigned NOT NULL COMMENT '站内信默认开关 0:关 1:开',
  2926. `storemt_message_content` varchar(255) NOT NULL COMMENT '站内信内容',
  2927. `storemt_message_forced` tinyint(3) unsigned NOT NULL COMMENT '站内信强制接收 0:否 1:是',
  2928. `storemt_short_switch` tinyint(3) unsigned NOT NULL COMMENT '短信默认开关 0:关 1:开',
  2929. `storemt_short_content` varchar(255) NOT NULL COMMENT '短信内容',
  2930. `smt_short_forced` tinyint(3) unsigned NOT NULL COMMENT '短信强制接收 0:否 1:是',
  2931. `storemt_mail_switch` tinyint(3) unsigned NOT NULL COMMENT '邮件默认开 0:关 1:开',
  2932. `storemt_mail_subject` varchar(255) NOT NULL COMMENT '邮件标题',
  2933. `storemt_mail_content` text NOT NULL COMMENT '邮件内容',
  2934. `storemt_mail_forced` tinyint(3) unsigned NOT NULL COMMENT '邮件强制接收 0:否 1:是',
  2935. `storemt_weixin_switch` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '微信默认开关 0:关 1:开',
  2936. `storemt_weixin_code` varchar(255) NOT NULL DEFAULT '' COMMENT '微信code',
  2937. `storemt_weixin_forced` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '微信强制接收 0:否 1:是',
  2938. `ali_template_code` varchar(255) DEFAULT NULL COMMENT '阿里云短信模板ID',
  2939. `ten_template_code` varchar(255) DEFAULT NULL COMMENT '腾讯云短信模板ID',
  2940. PRIMARY KEY (`storemt_code`)
  2941. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商家消息模板';
  2942. DROP TABLE IF EXISTS `#__storenavigation`;
  2943. CREATE TABLE IF NOT EXISTS `#__storenavigation` (
  2944. `storenav_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '卖家店铺导航自增ID',
  2945. `storenav_title` varchar(50) NOT NULL COMMENT '卖家店铺导航名称',
  2946. `storenav_store_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '卖家店铺ID',
  2947. `storenav_content` text COMMENT '卖家店铺导航内容',
  2948. `storenav_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '卖家店铺导航排序',
  2949. `storenav_url` varchar(255) DEFAULT NULL COMMENT '店铺导航的外链URL',
  2950. PRIMARY KEY (`storenav_id`),
  2951. KEY `storenav_store_id` (`storenav_store_id`)
  2952. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='卖家店铺导航信息表';
  2953. DROP TABLE IF EXISTS `#__storeplate`;
  2954. CREATE TABLE IF NOT EXISTS `#__storeplate` (
  2955. `storeplate_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '关联板式id',
  2956. `storeplate_name` varchar(10) NOT NULL COMMENT '关联板式名称',
  2957. `storeplate_position` tinyint(3) unsigned NOT NULL COMMENT '关联板式位置 1:顶部 0:底部',
  2958. `storeplate_content` text NOT NULL COMMENT '关联板式内容',
  2959. `store_id` int(10) unsigned NOT NULL COMMENT '所属店铺ID',
  2960. PRIMARY KEY (`storeplate_id`),
  2961. KEY `store_id` (`store_id`)
  2962. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='关联板式表';
  2963. DROP TABLE IF EXISTS `#__storereopen`;
  2964. CREATE TABLE IF NOT EXISTS `#__storereopen` (
  2965. `storereopen_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '续签自增ID',
  2966. `storereopen_grade_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '店铺等级ID',
  2967. `storereopen_grade_name` varchar(30) DEFAULT NULL COMMENT '等级名称',
  2968. `storereopen_grade_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '等级收费(元/年)',
  2969. `storereopen_year` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '续签时长(年)',
  2970. `storereopen_pay_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '应付总金额',
  2971. `storereopen_store_name` varchar(50) DEFAULT NULL COMMENT '店铺名字',
  2972. `storereopen_store_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '店铺ID',
  2973. `storereopen_state` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '状态 0:未上传凭证 1:审核中 2:审核通过',
  2974. `storereopen_pay_cert` varchar(50) DEFAULT NULL COMMENT '付款凭证',
  2975. `storereopen_pay_cert_explain` varchar(200) DEFAULT NULL COMMENT '付款说明',
  2976. PRIMARY KEY (`storereopen_id`),
  2977. KEY `storereopen_store_id` (`storereopen_store_id`)
  2978. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='续签内容表';
  2979. DROP TABLE IF EXISTS `#__storesnscomment`;
  2980. CREATE TABLE IF NOT EXISTS `#__storesnscomment` (
  2981. `storesnscomm_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '店铺动态评论自增ID',
  2982. `stracelog_id` int(11) NOT NULL COMMENT '店铺动态ID',
  2983. `storesnscomm_content` varchar(150) DEFAULT NULL COMMENT '评论内容',
  2984. `storesnscomm_memberid` int(11) DEFAULT NULL COMMENT '会员ID',
  2985. `storesnscomm_membername` varchar(45) DEFAULT NULL COMMENT '会员名称',
  2986. `storesnscomm_memberavatar` varchar(50) DEFAULT NULL COMMENT '会员头像',
  2987. `storesnscomm_time` varchar(11) DEFAULT NULL COMMENT '评论时间',
  2988. `storesnscomm_state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '评论状态 1:正常 0:屏蔽',
  2989. PRIMARY KEY (`storesnscomm_id`),
  2990. KEY `stracelog_id` (`stracelog_id`),
  2991. KEY `storesnscomm_memberid` (`storesnscomm_memberid`)
  2992. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺动态评论表';
  2993. DROP TABLE IF EXISTS `#__storesnssetting`;
  2994. CREATE TABLE IF NOT EXISTS `#__storesnssetting` (
  2995. `storesnsset_storeid` int(11) NOT NULL COMMENT '店铺ID',
  2996. `storesnsset_new` tinyint(4) NOT NULL DEFAULT '1' COMMENT '新品 0:关闭 1:开启',
  2997. `storesnsset_newtitle` varchar(150) NOT NULL COMMENT '新品内容',
  2998. `storesnsset_coupon` tinyint(4) NOT NULL DEFAULT '1' COMMENT '优惠券 0:关闭 1:开启',
  2999. `storesnsset_coupontitle` varchar(150) NOT NULL COMMENT '优惠券内容',
  3000. `storesnsset_xianshi` tinyint(4) NOT NULL DEFAULT '1' COMMENT '限时折扣 0:关闭 1:开启',
  3001. `storesnsset_xianshititle` varchar(150) NOT NULL COMMENT '限时折扣内容',
  3002. `storesnsset_mansong` tinyint(4) NOT NULL DEFAULT '1' COMMENT '满即送 0:关闭 1:开启',
  3003. `storesnsset_mansongtitle` varchar(150) NOT NULL COMMENT '满即送内容',
  3004. `storesnsset_bundling` tinyint(4) NOT NULL DEFAULT '1' COMMENT '组合销售 0:关闭 1:开启',
  3005. `storesnsset_bundlingtitle` varchar(150) NOT NULL COMMENT '组合销售内容',
  3006. `storesnsset_groupbuy` tinyint(4) NOT NULL DEFAULT '1' COMMENT '抢购,0:关闭 1:开启',
  3007. `storesnsset_groupbuytitle` varchar(150) NOT NULL COMMENT '抢购内容',
  3008. PRIMARY KEY (`storesnsset_storeid`)
  3009. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺自动发布动态设置表';
  3010. DROP TABLE IF EXISTS `#__storesnstracelog`;
  3011. CREATE TABLE IF NOT EXISTS `#__storesnstracelog` (
  3012. `stracelog_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '店铺动态自增ID',
  3013. `stracelog_storeid` int(11) DEFAULT NULL COMMENT '店铺ID',
  3014. `stracelog_storename` varchar(100) DEFAULT NULL COMMENT '店铺名称',
  3015. `stracelog_storelogo` varchar(255) NOT NULL COMMENT '店标',
  3016. `stracelog_title` varchar(150) DEFAULT NULL COMMENT '动态标题',
  3017. `stracelog_content` text COMMENT '发表内容',
  3018. `stracelog_time` varchar(11) DEFAULT NULL COMMENT '动态发表时间',
  3019. `stracelog_cool` int(11) DEFAULT '0' COMMENT '动态赞数量',
  3020. `stracelog_spread` int(11) DEFAULT '0' COMMENT '动态转播数量',
  3021. `stracelog_comment` int(11) DEFAULT '0' COMMENT '动态评论数量',
  3022. `stracelog_type` tinyint(4) DEFAULT '1' COMMENT '1:relay,2:normal,3:new,4:coupon,5:xianshi,6:mansong,7:bundling,8:groupbuy,9:recommend,10:hotsell',
  3023. `stracelog_goodsdata` text COMMENT '商品信息',
  3024. `stracelog_state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '动态状态 1:正常 0:屏蔽',
  3025. PRIMARY KEY (`stracelog_id`),
  3026. KEY `stracelog_storeid` (`stracelog_storeid`)
  3027. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺动态表';
  3028. DROP TABLE IF EXISTS `#__storewatermark`;
  3029. CREATE TABLE IF NOT EXISTS `#__storewatermark` (
  3030. `swm_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '水印自增ID',
  3031. `swm_quality` int(3) NOT NULL DEFAULT '90' COMMENT '水印图片质量',
  3032. `swm_image_name` varchar(255) DEFAULT NULL COMMENT '水印文件名',
  3033. `swm_image_pos` tinyint(1) NOT NULL DEFAULT '1' COMMENT '水印图片存放位置',
  3034. `swm_image_transition` int(3) NOT NULL DEFAULT '20' COMMENT '水印图片融合度 ',
  3035. `swm_text` text COMMENT '水印文字',
  3036. `swm_text_size` int(3) NOT NULL DEFAULT '20' COMMENT '水印文字大小',
  3037. `swm_text_angle` tinyint(1) NOT NULL DEFAULT '4' COMMENT '水印文字角度',
  3038. `swm_text_pos` tinyint(1) NOT NULL DEFAULT '3' COMMENT '水印文字位置',
  3039. `swm_text_font` varchar(50) DEFAULT NULL COMMENT '水印文字字体',
  3040. `swm_text_color` varchar(7) NOT NULL DEFAULT '#CCCCCC' COMMENT '水印字体颜色值',
  3041. `store_id` int(11) DEFAULT NULL COMMENT '店铺ID',
  3042. PRIMARY KEY (`swm_id`),
  3043. KEY `store_id` (`store_id`)
  3044. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺水印图片表';
  3045. DROP TABLE IF EXISTS `#__store_service`;
  3046. CREATE TABLE IF NOT EXISTS `#__store_service` (
  3047. `store_service_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '店铺服务ID',
  3048. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  3049. `store_service_title` varchar(20) NOT NULL COMMENT '店铺服务标题',
  3050. `store_service_desc` varchar(60) NOT NULL COMMENT '店铺服务描述',
  3051. `store_service_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '店铺服务排序',
  3052. PRIMARY KEY (`store_service_id`)
  3053. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='店铺服务' AUTO_INCREMENT=1 ;
  3054. DROP TABLE IF EXISTS `#__transport`;
  3055. CREATE TABLE IF NOT EXISTS `#__transport` (
  3056. `transport_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT '售卖区域自增ID',
  3057. `transport_title` varchar(30) NOT NULL COMMENT '售卖区域名称',
  3058. `send_tpl_id` mediumint(8) unsigned DEFAULT NULL COMMENT '发货地区模板ID',
  3059. `store_id` mediumint(8) unsigned NOT NULL COMMENT '店铺ID',
  3060. `transport_updatetime` int(10) unsigned DEFAULT '0' COMMENT '最后更新时间',
  3061. `transport_is_limited` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否限制配送',
  3062. `transport_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '计费方式(0件1重量)',
  3063. PRIMARY KEY (`transport_id`),
  3064. KEY `store_id` (`store_id`)
  3065. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='售卖区域';
  3066. DROP TABLE IF EXISTS `#__transportextend`;
  3067. CREATE TABLE IF NOT EXISTS `#__transportextend` (
  3068. `transportext_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT '运费模板扩展ID',
  3069. `transportext_area_id` text COMMENT '市级地区ID组成的串,以,隔开,两端也有,',
  3070. `transportext_top_area_id` text COMMENT '省级地区ID组成的串,以,隔开,两端也有,',
  3071. `transportext_area_name` text COMMENT '地区name组成的串,以,隔开',
  3072. `transportext_sprice` decimal(10,2) DEFAULT '0.00' COMMENT '首件运费',
  3073. `transport_id` mediumint(8) unsigned NOT NULL COMMENT '运费模板ID',
  3074. `transport_title` varchar(60) DEFAULT NULL COMMENT '运费模板',
  3075. `transportext_is_default` tinyint(2) NOT NULL DEFAULT '0',
  3076. `transportext_snum` int(11) DEFAULT '1' COMMENT '起始件数',
  3077. `transportext_xnum` int(11) DEFAULT NULL,
  3078. `transportext_xprice` decimal(10,2) DEFAULT NULL,
  3079. PRIMARY KEY (`transportext_id`),
  3080. KEY `transport_id` (`transport_id`)
  3081. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='运费模板扩展表';
  3082. DROP TABLE IF EXISTS `#__type`;
  3083. CREATE TABLE IF NOT EXISTS `#__type` (
  3084. `type_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '类型自增ID',
  3085. `type_name` varchar(100) NOT NULL COMMENT '类型名称',
  3086. `type_sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '类型排序',
  3087. `class_id` int(10) unsigned DEFAULT '0' COMMENT '所属商品分类id',
  3088. `class_name` varchar(100) NOT NULL COMMENT '所属商品分类名称',
  3089. PRIMARY KEY (`type_id`),
  3090. KEY `class_id` (`class_id`)
  3091. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品类型表';
  3092. DROP TABLE IF EXISTS `#__typebrand`;
  3093. CREATE TABLE IF NOT EXISTS `#__typebrand` (
  3094. `type_id` int(10) unsigned NOT NULL COMMENT '类型ID',
  3095. `brand_id` int(10) unsigned NOT NULL COMMENT '品牌ID'
  3096. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品类型与品牌对应表';
  3097. DROP TABLE IF EXISTS `#__typespec`;
  3098. CREATE TABLE IF NOT EXISTS `#__typespec` (
  3099. `type_id` int(10) unsigned NOT NULL COMMENT '类型ID',
  3100. `sp_id` int(10) unsigned NOT NULL COMMENT '规格ID'
  3101. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品类型与规格对应表';
  3102. DROP TABLE IF EXISTS `#__upload`;
  3103. CREATE TABLE IF NOT EXISTS `#__upload` (
  3104. `upload_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '上传文件自增ID',
  3105. `file_name` varchar(100) DEFAULT NULL COMMENT '上传文件名',
  3106. `file_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '上传文件大小',
  3107. `upload_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '上传文件类别 0:无 1:后台文章图片 2:帮助内容图片 3:店铺幻灯片 4:会员协议图片 5:积分礼品切换图片 6:积分礼品内容图片 7:可视化编辑模块图片',
  3108. `upload_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '上传文件添加时间',
  3109. `item_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '信息ID',
  3110. PRIMARY KEY (`upload_id`),
  3111. KEY `upload_type` (`upload_type`)
  3112. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='上传文件表';
  3113. DROP TABLE IF EXISTS `#__verify_code`;
  3114. CREATE TABLE IF NOT EXISTS `#__verify_code` (
  3115. `verify_code_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '验证码id',
  3116. `verify_code_type` tinyint(1) unsigned NOT NULL COMMENT '验证码类型(1登录2注册3修改密码4绑定手机5绑定邮箱6安全验证)',
  3117. `verify_code` char(6) NOT NULL COMMENT '验证码',
  3118. `verify_code_user_type` tinyint(1) unsigned NOT NULL COMMENT '发送验证码的用户类型(1会员2店长3配送员)',
  3119. `verify_code_user_id` int(10) unsigned NOT NULL COMMENT '发送验证码的用户id',
  3120. `verify_code_user_name` varchar(60) NOT NULL COMMENT '发送验证码的用户名',
  3121. `verify_code_add_time` int(10) unsigned NOT NULL COMMENT '发送时间',
  3122. `verify_code_ip` varchar(15) NOT NULL COMMENT 'ip地址',
  3123. PRIMARY KEY (`verify_code_id`),
  3124. KEY `verify_code_type` (`verify_code_type`,`verify_code_user_type`,`verify_code_user_id`,`verify_code`,`verify_code_add_time`)
  3125. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='验证码表';
  3126. DROP TABLE IF EXISTS `#__voucher`;
  3127. CREATE TABLE IF NOT EXISTS `#__voucher` (
  3128. `voucher_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '代金券自增ID',
  3129. `voucher_code` varchar(32) NOT NULL COMMENT '代金券编码',
  3130. `vouchertemplate_id` int(11) NOT NULL COMMENT '代金券模版编号',
  3131. `voucher_title` varchar(50) NOT NULL COMMENT '代金券标题',
  3132. `voucher_desc` varchar(255) NOT NULL COMMENT '代金券描述',
  3133. `voucher_startdate` int(11) NOT NULL COMMENT '代金券有效期开始时间',
  3134. `voucher_enddate` int(11) NOT NULL COMMENT '代金券有效期结束时间',
  3135. `voucher_price` int(11) NOT NULL COMMENT '代金券面额',
  3136. `voucher_limit` decimal(10,2) NOT NULL COMMENT '代金券使用时的订单限额',
  3137. `voucher_store_id` int(11) NOT NULL COMMENT '代金券的店铺id',
  3138. `voucher_state` tinyint(4) NOT NULL COMMENT '代金券状态 1:未用 2:已用 3:过期 4:收回 ',
  3139. `voucher_activedate` int(11) NOT NULL COMMENT '代金券发放日期',
  3140. `voucher_type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '代金券类别',
  3141. `voucher_owner_id` int(11) NOT NULL COMMENT '代金券所有者ID',
  3142. `voucher_owner_name` varchar(50) NOT NULL COMMENT '代金券所有者名称',
  3143. `voucher_order_id` int(11) DEFAULT NULL COMMENT '使用该代金券的订单编号',
  3144. PRIMARY KEY (`voucher_id`),
  3145. KEY `voucher_store_id` (`voucher_store_id`),
  3146. KEY `voucher_owner_id` (`voucher_owner_id`)
  3147. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='代金券表';
  3148. DROP TABLE IF EXISTS `#__voucherprice`;
  3149. CREATE TABLE IF NOT EXISTS `#__voucherprice` (
  3150. `voucherprice_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '代金券面值自增ID',
  3151. `voucherprice_describe` varchar(255) NOT NULL COMMENT '代金券描述',
  3152. `voucherprice` int(11) NOT NULL COMMENT '代金券面值',
  3153. `voucherprice_defaultpoints` int(11) NOT NULL DEFAULT '0' COMMENT '代金劵默认的兑换所需积分可以为0',
  3154. PRIMARY KEY (`voucherprice_id`)
  3155. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='代金券面额表';
  3156. DROP TABLE IF EXISTS `#__voucherquota`;
  3157. CREATE TABLE IF NOT EXISTS `#__voucherquota` (
  3158. `voucherquota_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '代金券套餐自增ID',
  3159. `voucherquota_applyid` int(11) DEFAULT NULL COMMENT '代金券套餐申请编号',
  3160. `voucherquota_memberid` int(11) NOT NULL COMMENT '会员ID',
  3161. `voucherquota_membername` varchar(100) NOT NULL COMMENT '会员名称',
  3162. `voucherquota_storeid` int(11) NOT NULL COMMENT '店铺ID',
  3163. `voucherquota_storename` varchar(100) NOT NULL COMMENT '店铺名称',
  3164. `voucherquota_starttime` int(11) NOT NULL COMMENT '代金券套餐开始时间',
  3165. `voucherquota_endtime` int(11) NOT NULL COMMENT '代金券套餐结束时间',
  3166. `voucherquota_state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态 1:可用 2:取消 3:结束',
  3167. PRIMARY KEY (`voucherquota_id`),
  3168. KEY `voucherquota_storeid` (`voucherquota_storeid`)
  3169. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='代金券套餐表';
  3170. DROP TABLE IF EXISTS `#__vouchertemplate`;
  3171. CREATE TABLE IF NOT EXISTS `#__vouchertemplate` (
  3172. `vouchertemplate_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '代金券模版自增ID',
  3173. `vouchertemplate_title` varchar(50) NOT NULL COMMENT '代金券模版名称',
  3174. `vouchertemplate_desc` varchar(255) NOT NULL COMMENT '代金券模版描述',
  3175. `vouchertemplate_startdate` int(11) NOT NULL COMMENT '代金券模版有效期开始时间',
  3176. `vouchertemplate_enddate` int(11) NOT NULL COMMENT '代金券模版有效期结束时间',
  3177. `vouchertemplate_price` int(11) NOT NULL COMMENT '代金券模版面额',
  3178. `vouchertemplate_limit` decimal(10,2) NOT NULL COMMENT '代金券使用时的订单限额',
  3179. `vouchertemplate_store_id` int(11) NOT NULL COMMENT '代金券模版的店铺ID',
  3180. `vouchertemplate_storename` varchar(100) DEFAULT NULL COMMENT '店铺名称',
  3181. `vouchertemplate_sc_id` int(11) NOT NULL DEFAULT '0' COMMENT '所属店铺分类ID',
  3182. `vouchertemplate_creator_id` int(11) NOT NULL COMMENT '代金券模版的创建者ID',
  3183. `vouchertemplate_state` tinyint(4) NOT NULL COMMENT '代金券模版状态 1:有效 2:失效',
  3184. `vouchertemplate_total` int(11) NOT NULL COMMENT '模版可发放的代金券总数',
  3185. `vouchertemplate_giveout` int(11) NOT NULL COMMENT '模版已发放的代金券数量',
  3186. `vouchertemplate_used` int(11) NOT NULL COMMENT '模版已经使用过的代金券',
  3187. `vouchertemplate_adddate` int(11) NOT NULL COMMENT '模版的创建时间',
  3188. `vouchertemplate_quotaid` int(11) NOT NULL COMMENT '套餐编号',
  3189. `vouchertemplate_points` int(11) NOT NULL DEFAULT '0' COMMENT '兑换所需积分',
  3190. `vouchertemplate_eachlimit` int(11) NOT NULL DEFAULT '1' COMMENT '每人限领张数',
  3191. `vouchertemplate_styleimg` varchar(200) DEFAULT NULL COMMENT '样式模版图片',
  3192. `vouchertemplate_customimg` varchar(200) DEFAULT NULL COMMENT '自定义代金券模板图片',
  3193. `vouchertemplate_recommend` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否推荐 0:不推荐 1:推荐',
  3194. `vouchertemplate_gettype` tinyint(1) NOT NULL COMMENT '代金券类型',
  3195. `vouchertemplate_if_private` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否私密 0:否 1:是',
  3196. PRIMARY KEY (`vouchertemplate_id`),
  3197. KEY `vouchertemplate_store_id` (`vouchertemplate_store_id`)
  3198. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='代金券模版表';
  3199. DROP TABLE IF EXISTS `#__vrgroupbuyclass`;
  3200. CREATE TABLE IF NOT EXISTS `#__vrgroupbuyclass` (
  3201. `vrgclass_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '虚拟抢购分类自增ID',
  3202. `vrgclass_name` varchar(100) NOT NULL COMMENT '分类名称',
  3203. `vrgclass_parent_id` int(11) NOT NULL COMMENT '上级分类ID',
  3204. `vrgclass_sort` tinyint(3) unsigned DEFAULT '255' COMMENT '虚拟抢购分类排序',
  3205. PRIMARY KEY (`vrgclass_id`),
  3206. KEY `vrgclass_parent_id` (`vrgclass_parent_id`)
  3207. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='虚拟抢购分类表';
  3208. DROP TABLE IF EXISTS `#__vrorder`;
  3209. CREATE TABLE IF NOT EXISTS `#__vrorder` (
  3210. `order_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '虚拟订单自增ID',
  3211. `order_sn` varchar(20) NOT NULL COMMENT '虚拟订单编号',
  3212. `store_id` int(11) unsigned NOT NULL COMMENT '卖家店铺ID',
  3213. `store_name` varchar(50) NOT NULL COMMENT '卖家店铺名称',
  3214. `buyer_id` int(11) unsigned NOT NULL COMMENT '买家ID',
  3215. `buyer_name` varchar(50) NOT NULL COMMENT '买家登录名',
  3216. `buyer_phone` varchar(11) NOT NULL COMMENT '买家手机',
  3217. `add_time` int(10) unsigned NOT NULL COMMENT '虚拟订单生成时间',
  3218. `payment_code` char(20) NOT NULL DEFAULT '' COMMENT '虚拟订单支付方式名称代码',
  3219. `payment_time` int(10) unsigned DEFAULT '0' COMMENT '虚拟订单支付(付款)时间',
  3220. `trade_no` varchar(35) DEFAULT NULL COMMENT '第三方平台交易号',
  3221. `close_time` int(10) unsigned DEFAULT '0' COMMENT '虚拟订单关闭时间',
  3222. `close_reason` varchar(50) DEFAULT NULL COMMENT '虚拟订单关闭原因',
  3223. `finnshed_time` int(11) DEFAULT NULL COMMENT '虚拟订单完成时间',
  3224. `order_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '订单总价格(支付金额)',
  3225. `refund_amount` decimal(10,2) DEFAULT '0.00' COMMENT '退款金额',
  3226. `rcb_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '充值卡支付金额',
  3227. `pd_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '预存款支付金额',
  3228. `voucher_price` int(11) DEFAULT NULL COMMENT '店铺代金券面额',
  3229. `voucher_code` varchar(32) DEFAULT NULL COMMENT '店铺代金券编码',
  3230. `mallvoucher_price` int(11) DEFAULT NULL COMMENT '平台代金券面额',
  3231. `mallvoucher_code` varchar(32) DEFAULT NULL COMMENT '平台代金券编码',
  3232. `order_state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '订单状态 0:已取消 10:未付款 20:已付款 40:已完成',
  3233. `refund_state` tinyint(1) unsigned DEFAULT '0' COMMENT '退款状态 0:无退款 1:部分退款 2:全部退款',
  3234. `buyer_msg` varchar(150) DEFAULT NULL COMMENT '虚拟订单买家留言',
  3235. `delete_state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '删除状态 0:未删除1:放入回收站2:彻底删除',
  3236. `goods_id` int(11) NOT NULL COMMENT '商品ID',
  3237. `goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  3238. `goods_price` decimal(10,2) NOT NULL COMMENT '商品价格',
  3239. `goods_num` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT '商品数量',
  3240. `goods_image` varchar(100) DEFAULT NULL COMMENT '商品图片',
  3241. `virtual_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '虚拟商品类型 0:核销商品 1:卡券商品 2:网盘商品 3:下载商品',
  3242. `virtual_content` text COMMENT '虚拟商品内容',
  3243. `commis_rate` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '佣金比例',
  3244. `gc_id` mediumint(9) DEFAULT '0' COMMENT '商品最底级分类ID',
  3245. `vr_indate` int(11) DEFAULT NULL COMMENT '虚拟订单有效期',
  3246. `vr_send_times` tinyint(4) NOT NULL DEFAULT '0' COMMENT '兑换码发送次数',
  3247. `vr_invalid_refund` tinyint(4) NOT NULL DEFAULT '1' COMMENT '允许过期退款 1:是 0:否',
  3248. `order_promotion_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '订单参加的促销类型 0:无促销 1:抢购 2:拼团',
  3249. `promotions_id` mediumint(9) DEFAULT '0' COMMENT '促销ID,与order_promotion_type配合使用',
  3250. `order_from` tinyint(4) NOT NULL DEFAULT '1' COMMENT '订单来源 1:PC 2:手机',
  3251. `evaluation_state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '评价状态 0:默认 1:已评价 2:禁止评价',
  3252. `evaluation_time` int(11) NOT NULL DEFAULT '0' COMMENT '评价时间',
  3253. `use_state` tinyint(4) DEFAULT '0' COMMENT '使用状态 0:未使用 1:已使用',
  3254. `ob_no` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '相关结算单号',
  3255. PRIMARY KEY (`order_id`),
  3256. KEY `store_id` (`store_id`),
  3257. KEY `buyer_id` (`buyer_id`)
  3258. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='虚拟订单表';
  3259. DROP TABLE IF EXISTS `#__vrordercode`;
  3260. CREATE TABLE IF NOT EXISTS `#__vrordercode` (
  3261. `rec_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '兑换码自增ID',
  3262. `order_id` int(11) NOT NULL COMMENT '虚拟订单ID',
  3263. `store_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '店铺ID',
  3264. `buyer_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '买家ID',
  3265. `vr_code` varchar(18) NOT NULL COMMENT '兑换码',
  3266. `vr_state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '使用状态 0:(默认)未使用1:已使用2:已过期',
  3267. `vr_usetime` int(11) DEFAULT NULL COMMENT '使用时间',
  3268. `pay_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '实际支付金额(结算)',
  3269. `vr_indate` int(11) DEFAULT NULL COMMENT '过期时间',
  3270. `commis_rate` smallint(6) NOT NULL DEFAULT '0' COMMENT '佣金比例',
  3271. `refund_lock` tinyint(1) unsigned DEFAULT '0' COMMENT '退款锁定状态:0:正常,1:锁定,2:同意',
  3272. `vr_invalid_refund` tinyint(4) NOT NULL DEFAULT '1' COMMENT '允许过期退款1:是0:否',
  3273. PRIMARY KEY (`rec_id`),
  3274. KEY `order_id` (`order_id`),
  3275. KEY `store_id` (`store_id`),
  3276. KEY `buyer_id` (`buyer_id`)
  3277. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='兑换码表';
  3278. DROP TABLE IF EXISTS `#__vrrefund`;
  3279. CREATE TABLE IF NOT EXISTS `#__vrrefund` (
  3280. `refund_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '虚拟退款记录自增ID',
  3281. `order_id` int(10) unsigned NOT NULL COMMENT '虚拟订单ID',
  3282. `order_sn` varchar(20) NOT NULL COMMENT '虚拟订单编号',
  3283. `refund_sn` varchar(50) NOT NULL COMMENT '申请编号',
  3284. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  3285. `store_name` varchar(20) NOT NULL COMMENT '店铺名称',
  3286. `buyer_id` int(10) unsigned NOT NULL COMMENT '买家ID',
  3287. `buyer_name` varchar(50) NOT NULL COMMENT '买家会员名',
  3288. `goods_id` int(10) unsigned NOT NULL COMMENT '商品ID',
  3289. `goods_num` int(10) unsigned DEFAULT '1' COMMENT '退款商品数量',
  3290. `goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  3291. `goods_image` varchar(100) DEFAULT NULL COMMENT '商品图片',
  3292. `redeemcode_sn` varchar(300) NOT NULL COMMENT '兑换码编号',
  3293. `refund_amount` decimal(10,2) DEFAULT '0.00' COMMENT '退款金额',
  3294. `admin_state` tinyint(1) unsigned DEFAULT '1' COMMENT '退款状态 1:待审核 2:同意 3:不同意',
  3295. `add_time` int(10) unsigned NOT NULL COMMENT '虚拟退款添加时间',
  3296. `admin_time` int(10) unsigned DEFAULT '0' COMMENT '管理员处理时间',
  3297. `buyer_message` varchar(300) DEFAULT NULL COMMENT '虚拟退款申请原因',
  3298. `admin_message` varchar(300) DEFAULT NULL COMMENT '管理员备注',
  3299. `commis_rate` smallint(6) DEFAULT '0' COMMENT '佣金比例',
  3300. PRIMARY KEY (`refund_id`),
  3301. KEY `order_id` (`order_id`),
  3302. KEY `store_id` (`store_id`),
  3303. KEY `buyer_id` (`buyer_id`)
  3304. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='虚拟退款表';
  3305. DROP TABLE IF EXISTS `#__wholesale`;
  3306. CREATE TABLE IF NOT EXISTS `#__wholesale` (
  3307. `wholesale_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '批发ID',
  3308. `member_id` int(10) unsigned NOT NULL COMMENT '用户ID',
  3309. `member_name` varchar(50) NOT NULL COMMENT '用户名',
  3310. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  3311. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  3312. `goods_commonid` int(10) unsigned NOT NULL COMMENT '主商品公共ID',
  3313. `goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  3314. `wholesalequota_id` int(10) unsigned NOT NULL COMMENT '批发套餐ID',
  3315. `wholesale_starttime` int(10) unsigned NOT NULL COMMENT '活动开始时间',
  3316. `wholesale_end_time` int(10) unsigned NOT NULL COMMENT '活动结束时间',
  3317. `wholesale_state` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '状态,0:取消 1:正常',
  3318. `wholesale_if_mix` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否混批',
  3319. PRIMARY KEY (`wholesale_id`),
  3320. KEY `store_id` (`store_id`),
  3321. KEY `goods_commonid` (`goods_commonid`)
  3322. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='批发表' AUTO_INCREMENT=1 ;
  3323. DROP TABLE IF EXISTS `#__wholesalegoods`;
  3324. CREATE TABLE IF NOT EXISTS `#__wholesalegoods` (
  3325. `wholesalegoods_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '批发商品表',
  3326. `wholesale_id` int(10) unsigned NOT NULL COMMENT '批发ID',
  3327. `goods_id` int(10) unsigned NOT NULL COMMENT '商品ID',
  3328. `goods_commonid` int(10) unsigned NOT NULL COMMENT '主商品公共ID',
  3329. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  3330. `goods_name` varchar(200) NOT NULL COMMENT '商品名称',
  3331. `goods_price` decimal(10,2) NOT NULL COMMENT '店铺价格',
  3332. `goods_image` varchar(100) NOT NULL COMMENT '商品图片',
  3333. `wholesalegoods_price` text NOT NULL COMMENT '批发价格',
  3334. `wholesale_starttime` int(10) unsigned NOT NULL COMMENT '开始时间',
  3335. `wholesale_end_time` int(10) unsigned NOT NULL COMMENT '结束时间',
  3336. `wholesalegoods_state` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '状态,0-取消 1-正常',
  3337. PRIMARY KEY (`wholesalegoods_id`),
  3338. KEY `store_id` (`store_id`),
  3339. KEY `goods_id` (`goods_id`),
  3340. KEY `goods_commonid` (`goods_commonid`)
  3341. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='批发商品表' AUTO_INCREMENT=1 ;
  3342. DROP TABLE IF EXISTS `#__wholesalequota`;
  3343. CREATE TABLE IF NOT EXISTS `#__wholesalequota` (
  3344. `wholesalequota_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '批发套餐ID',
  3345. `member_id` int(10) unsigned NOT NULL COMMENT '用户ID',
  3346. `store_id` int(10) unsigned NOT NULL COMMENT '店铺ID',
  3347. `member_name` varchar(50) NOT NULL COMMENT '用户名称',
  3348. `store_name` varchar(50) NOT NULL COMMENT '店铺名称',
  3349. `wholesalequota_starttime` int(10) unsigned NOT NULL COMMENT '开始时间',
  3350. `wholesalequota_endtime` int(10) unsigned NOT NULL COMMENT '结束时间',
  3351. PRIMARY KEY (`wholesalequota_id`),
  3352. KEY `store_id` (`store_id`)
  3353. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='批发套餐' AUTO_INCREMENT=1 ;
  3354. DROP TABLE IF EXISTS `#__wxconfig`;
  3355. CREATE TABLE IF NOT EXISTS `#__wxconfig` (
  3356. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '微信配置自增ID',
  3357. `wxname` varchar(60) NOT NULL DEFAULT '' COMMENT '公众号名称',
  3358. `appid` varchar(50) NOT NULL DEFAULT '' COMMENT 'appid',
  3359. `appsecret` varchar(50) NOT NULL DEFAULT '' COMMENT 'appsecret',
  3360. `token` char(255) NOT NULL COMMENT 'token',
  3361. `qrcode` varchar(200) NOT NULL DEFAULT '' COMMENT '公众号二维码',
  3362. `access_token` varchar(250) DEFAULT NULL COMMENT '令牌',
  3363. `expires_in` int(15) DEFAULT NULL COMMENT '过期时间',
  3364. `xcx_appid` varchar(50) NOT NULL DEFAULT '' COMMENT '小程序appid',
  3365. `xcx_appsecret` varchar(50) NOT NULL DEFAULT '' COMMENT '小程序appsecret',
  3366. `xcx_access_token` varchar(250) DEFAULT NULL COMMENT '小程序令牌',
  3367. `xcx_expires_in` int(15) DEFAULT NULL COMMENT '小程序过期时间',
  3368. `ticket` varchar(250) DEFAULT NULL COMMENT 'ticket',
  3369. `ticket_expires_in` int(15) DEFAULT NULL COMMENT 'ticket过期时间',
  3370. PRIMARY KEY (`id`)
  3371. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微信配置表';
  3372. DROP TABLE IF EXISTS `#__wxkeyword`;
  3373. CREATE TABLE IF NOT EXISTS `#__wxkeyword` (
  3374. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '表id',
  3375. `keyword` char(255) NOT NULL COMMENT '关键词',
  3376. `pid` int(11) NOT NULL COMMENT '对应表ID',
  3377. `type` varchar(30) DEFAULT 'TEXT' COMMENT '关键词操作类型',
  3378. PRIMARY KEY (`id`),
  3379. KEY `pid` (`pid`)
  3380. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微信关键词表';
  3381. DROP TABLE IF EXISTS `#__wxmenu`;
  3382. CREATE TABLE IF NOT EXISTS `#__wxmenu` (
  3383. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '微信菜单id',
  3384. `pid` int(11) NOT NULL DEFAULT '0' COMMENT '父菜单id',
  3385. `name` varchar(32) NOT NULL COMMENT '微信菜单名称',
  3386. `type` varchar(10) NOT NULL DEFAULT '' COMMENT '微信菜单类型',
  3387. `value` text COMMENT '微信菜单值',
  3388. `sort` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT '排序',
  3389. PRIMARY KEY (`id`),
  3390. KEY `pid` (`pid`)
  3391. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微信菜单表';
  3392. DROP TABLE IF EXISTS `#__wxmsg`;
  3393. CREATE TABLE IF NOT EXISTS `#__wxmsg` (
  3394. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '推送ID',
  3395. `member_id` int(11) DEFAULT NULL COMMENT '为空则推送全体微信用户',
  3396. `content` text NOT NULL COMMENT '推送内容',
  3397. `createtime` int(15) NOT NULL COMMENT '创建时间',
  3398. `issend` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0未发送1成功2失败',
  3399. PRIMARY KEY (`id`)
  3400. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微信推送表';
  3401. DROP TABLE IF EXISTS `#__wxtext`;
  3402. CREATE TABLE IF NOT EXISTS `#__wxtext` (
  3403. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '表id',
  3404. `keyword` char(255) NOT NULL COMMENT '关键词',
  3405. `text` text NOT NULL COMMENT 'text',
  3406. `createtime` varchar(13) NOT NULL DEFAULT '' COMMENT '创建时间',
  3407. `updatetime` varchar(13) NOT NULL DEFAULT '' COMMENT '更新时间',
  3408. `click` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '点击',
  3409. PRIMARY KEY (`id`)
  3410. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微信文本回复表';
  3411. INSERT INTO `#__area` (`area_id`, `area_name`, `area_parent_id`, `area_sort`, `area_deep`, `area_region`, `area_initial`) VALUES
  3412. (1, '北京市', 0, 255, 1, '华北','B'),
  3413. (2, '天津市', 0, 255, 1, '华北','T'),
  3414. (3, '河北省', 0, 255, 1, '华北','H'),
  3415. (4, '山西省', 0, 255, 1, '华北','S'),
  3416. (5, '内蒙古自治区', 0, 255, 1, '华北','N'),
  3417. (6, '辽宁省', 0, 255, 1, '东北','L'),
  3418. (7, '吉林省', 0, 255, 1, '东北','J'),
  3419. (8, '黑龙江省', 0, 255, 1, '东北','H'),
  3420. (9, '上海市', 0, 255, 1, '华东','S'),
  3421. (10, '江苏省', 0, 255, 1, '华东','J'),
  3422. (11, '浙江省', 0, 255, 1, '华东','Z'),
  3423. (12, '安徽省', 0, 255, 1, '华东','A'),
  3424. (13, '福建省', 0, 255, 1, '华南','F'),
  3425. (14, '江西省', 0, 255, 1, '华东','J'),
  3426. (15, '山东省', 0, 255, 1, '华东','S'),
  3427. (16, '河南省', 0, 255, 1, '华中','H'),
  3428. (17, '湖北省', 0, 255, 1, '华中','H'),
  3429. (18, '湖南省', 0, 255, 1, '华中','H'),
  3430. (19, '广东省', 0, 255, 1, '华南','G'),
  3431. (20, '广西壮族自治区', 0, 255, 1, '华南','G'),
  3432. (21, '海南省', 0, 255, 1, '华南','H'),
  3433. (22, '重庆市', 0, 255, 1, '西南','C'),
  3434. (23, '四川省', 0, 255, 1, '西南','S'),
  3435. (24, '贵州省', 0, 255, 1, '西南','G'),
  3436. (25, '云南省', 0, 255, 1, '西南','Y'),
  3437. (26, '西藏自治区', 0, 255, 1, '西南','X'),
  3438. (27, '陕西省', 0, 255, 1, '西北','S'),
  3439. (28, '甘肃省', 0, 255, 1, '西北','G'),
  3440. (29, '青海省', 0, 255, 1, '西北','Q'),
  3441. (30, '宁夏回族自治区', 0, 255, 1, '西北','N'),
  3442. (31, '新疆维吾尔自治区', 0, 255, 1, '西北','X'),
  3443. (3661, '香港', 0, 255, 1, '港澳台','X'),
  3444. (3662, '澳门', 0, 255, 1, '港澳台','A'),
  3445. (3663, '台湾', 0, 255, 1, '港澳台','T'),
  3446. (3664, '海外', 0, 255, 1, '海外','H');
  3447. INSERT INTO `#__area` (`area_id`, `area_name`, `area_parent_id`, `area_sort`, `area_deep`, `area_region`) VALUES
  3448. (32, '市辖区', 1, 255, 2, NULL),
  3449. (33, '市辖区', 2, 255, 2, NULL),
  3450. (34, '石家庄市', 3, 255, 2, NULL),
  3451. (35, '唐山市', 3, 255, 2, NULL),
  3452. (36, '秦皇岛市', 3, 255, 2, NULL),
  3453. (37, '邯郸市', 3, 255, 2, NULL),
  3454. (38, '邢台市', 3, 255, 2, NULL),
  3455. (39, '保定市', 3, 255, 2, NULL),
  3456. (40, '张家口市', 3, 255, 2, NULL),
  3457. (41, '承德市', 3, 255, 2, NULL),
  3458. (42, '沧州市', 3, 255, 2, NULL),
  3459. (43, '廊坊市', 3, 255, 2, NULL),
  3460. (44, '衡水市', 3, 255, 2, NULL),
  3461. (45, '太原市', 4, 255, 2, NULL),
  3462. (46, '大同市', 4, 255, 2, NULL),
  3463. (47, '阳泉市', 4, 255, 2, NULL),
  3464. (48, '长治市', 4, 255, 2, NULL),
  3465. (49, '晋城市', 4, 255, 2, NULL),
  3466. (50, '朔州市', 4, 255, 2, NULL),
  3467. (51, '晋中市', 4, 255, 2, NULL),
  3468. (52, '运城市', 4, 255, 2, NULL),
  3469. (53, '忻州市', 4, 255, 2, NULL),
  3470. (54, '临汾市', 4, 255, 2, NULL),
  3471. (55, '吕梁市', 4, 255, 2, NULL),
  3472. (56, '呼和浩特市', 5, 255, 2, NULL),
  3473. (57, '包头市', 5, 255, 2, NULL),
  3474. (58, '乌海市', 5, 255, 2, NULL),
  3475. (59, '赤峰市', 5, 255, 2, NULL),
  3476. (60, '通辽市', 5, 255, 2, NULL),
  3477. (61, '鄂尔多斯市', 5, 255, 2, NULL),
  3478. (62, '呼伦贝尔市', 5, 255, 2, NULL),
  3479. (63, '巴彦淖尔市', 5, 255, 2, NULL),
  3480. (64, '乌兰察布市', 5, 255, 2, NULL),
  3481. (65, '兴安盟', 5, 255, 2, NULL),
  3482. (66, '锡林郭勒盟', 5, 255, 2, NULL),
  3483. (67, '阿拉善盟', 5, 255, 2, NULL),
  3484. (68, '沈阳市', 6, 255, 2, NULL),
  3485. (69, '大连市', 6, 255, 2, NULL),
  3486. (70, '鞍山市', 6, 255, 2, NULL),
  3487. (71, '抚顺市', 6, 255, 2, NULL),
  3488. (72, '本溪市', 6, 255, 2, NULL),
  3489. (73, '丹东市', 6, 255, 2, NULL),
  3490. (74, '锦州市', 6, 255, 2, NULL),
  3491. (75, '营口市', 6, 255, 2, NULL),
  3492. (76, '阜新市', 6, 255, 2, NULL),
  3493. (77, '辽阳市', 6, 255, 2, NULL),
  3494. (78, '盘锦市', 6, 255, 2, NULL),
  3495. (79, '铁岭市', 6, 255, 2, NULL),
  3496. (80, '朝阳市', 6, 255, 2, NULL),
  3497. (81, '葫芦岛市', 6, 255, 2, NULL),
  3498. (82, '长春市', 7, 255, 2, NULL),
  3499. (83, '吉林市', 7, 255, 2, NULL),
  3500. (84, '四平市', 7, 255, 2, NULL),
  3501. (85, '辽源市', 7, 255, 2, NULL),
  3502. (86, '通化市', 7, 255, 2, NULL),
  3503. (87, '白山市', 7, 255, 2, NULL),
  3504. (88, '松原市', 7, 255, 2, NULL),
  3505. (89, '白城市', 7, 255, 2, NULL),
  3506. (90, '延边朝鲜族自治州', 7, 255, 2, NULL),
  3507. (91, '哈尔滨市', 8, 255, 2, NULL),
  3508. (92, '齐齐哈尔市', 8, 255, 2, NULL),
  3509. (93, '鸡西市', 8, 255, 2, NULL),
  3510. (94, '鹤岗市', 8, 255, 2, NULL),
  3511. (95, '双鸭山市', 8, 255, 2, NULL),
  3512. (96, '大庆市', 8, 255, 2, NULL),
  3513. (97, '伊春市', 8, 255, 2, NULL),
  3514. (98, '佳木斯市', 8, 255, 2, NULL),
  3515. (99, '七台河市', 8, 255, 2, NULL),
  3516. (100, '牡丹江市', 8, 255, 2, NULL),
  3517. (101, '黑河市', 8, 255, 2, NULL),
  3518. (102, '绥化市', 8, 255, 2, NULL),
  3519. (103, '大兴安岭地区', 8, 255, 2, NULL),
  3520. (104, '市辖区', 9, 255, 2, NULL),
  3521. (105, '南京市', 10, 255, 2, NULL),
  3522. (106, '无锡市', 10, 255, 2, NULL),
  3523. (107, '徐州市', 10, 255, 2, NULL),
  3524. (108, '常州市', 10, 255, 2, NULL),
  3525. (109, '苏州市', 10, 255, 2, NULL),
  3526. (110, '南通市', 10, 255, 2, NULL),
  3527. (111, '连云港市', 10, 255, 2, NULL),
  3528. (112, '淮安市', 10, 255, 2, NULL),
  3529. (113, '盐城市', 10, 255, 2, NULL),
  3530. (114, '扬州市', 10, 255, 2, NULL),
  3531. (115, '镇江市', 10, 255, 2, NULL),
  3532. (116, '泰州市', 10, 255, 2, NULL),
  3533. (117, '宿迁市', 10, 255, 2, NULL),
  3534. (118, '杭州市', 11, 255, 2, NULL),
  3535. (119, '宁波市', 11, 255, 2, NULL),
  3536. (120, '温州市', 11, 255, 2, NULL),
  3537. (121, '嘉兴市', 11, 255, 2, NULL),
  3538. (122, '湖州市', 11, 255, 2, NULL),
  3539. (123, '绍兴市', 11, 255, 2, NULL),
  3540. (124, '金华市', 11, 255, 2, NULL),
  3541. (125, '衢州市', 11, 255, 2, NULL),
  3542. (126, '舟山市', 11, 255, 2, NULL),
  3543. (127, '台州市', 11, 255, 2, NULL),
  3544. (128, '丽水市', 11, 255, 2, NULL),
  3545. (129, '合肥市', 12, 255, 2, NULL),
  3546. (130, '芜湖市', 12, 255, 2, NULL),
  3547. (131, '蚌埠市', 12, 255, 2, NULL),
  3548. (132, '淮南市', 12, 255, 2, NULL),
  3549. (133, '马鞍山市', 12, 255, 2, NULL),
  3550. (134, '淮北市', 12, 255, 2, NULL),
  3551. (135, '铜陵市', 12, 255, 2, NULL),
  3552. (136, '安庆市', 12, 255, 2, NULL),
  3553. (137, '黄山市', 12, 255, 2, NULL),
  3554. (138, '滁州市', 12, 255, 2, NULL),
  3555. (139, '阜阳市', 12, 255, 2, NULL),
  3556. (140, '宿州市', 12, 255, 2, NULL),
  3557. (141, '六安市', 12, 255, 2, NULL),
  3558. (142, '亳州市', 12, 255, 2, NULL),
  3559. (143, '池州市', 12, 255, 2, NULL),
  3560. (144, '宣城市', 12, 255, 2, NULL),
  3561. (145, '福州市', 13, 255, 2, NULL),
  3562. (146, '厦门市', 13, 255, 2, NULL),
  3563. (147, '莆田市', 13, 255, 2, NULL),
  3564. (148, '三明市', 13, 255, 2, NULL),
  3565. (149, '泉州市', 13, 255, 2, NULL),
  3566. (150, '漳州市', 13, 255, 2, NULL),
  3567. (151, '南平市', 13, 255, 2, NULL),
  3568. (152, '龙岩市', 13, 255, 2, NULL),
  3569. (153, '宁德市', 13, 255, 2, NULL),
  3570. (154, '南昌市', 14, 255, 2, NULL),
  3571. (155, '景德镇市', 14, 255, 2, NULL),
  3572. (156, '萍乡市', 14, 255, 2, NULL),
  3573. (157, '九江市', 14, 255, 2, NULL),
  3574. (158, '新余市', 14, 255, 2, NULL),
  3575. (159, '鹰潭市', 14, 255, 2, NULL),
  3576. (160, '赣州市', 14, 255, 2, NULL),
  3577. (161, '吉安市', 14, 255, 2, NULL),
  3578. (162, '宜春市', 14, 255, 2, NULL),
  3579. (163, '抚州市', 14, 255, 2, NULL),
  3580. (164, '上饶市', 14, 255, 2, NULL),
  3581. (165, '济南市', 15, 255, 2, NULL),
  3582. (166, '青岛市', 15, 255, 2, NULL),
  3583. (167, '淄博市', 15, 255, 2, NULL),
  3584. (168, '枣庄市', 15, 255, 2, NULL),
  3585. (169, '东营市', 15, 255, 2, NULL),
  3586. (170, '烟台市', 15, 255, 2, NULL),
  3587. (171, '潍坊市', 15, 255, 2, NULL),
  3588. (172, '济宁市', 15, 255, 2, NULL),
  3589. (173, '泰安市', 15, 255, 2, NULL),
  3590. (174, '威海市', 15, 255, 2, NULL),
  3591. (175, '日照市', 15, 255, 2, NULL),
  3592. (176, '临沂市', 15, 255, 2, NULL),
  3593. (177, '德州市', 15, 255, 2, NULL),
  3594. (178, '聊城市', 15, 255, 2, NULL),
  3595. (179, '滨州市', 15, 255, 2, NULL),
  3596. (180, '菏泽市', 15, 255, 2, NULL),
  3597. (181, '郑州市', 16, 255, 2, NULL),
  3598. (182, '开封市', 16, 255, 2, NULL),
  3599. (183, '洛阳市', 16, 255, 2, NULL),
  3600. (184, '平顶山市', 16, 255, 2, NULL),
  3601. (185, '安阳市', 16, 255, 2, NULL),
  3602. (186, '鹤壁市', 16, 255, 2, NULL),
  3603. (187, '新乡市', 16, 255, 2, NULL),
  3604. (188, '焦作市', 16, 255, 2, NULL),
  3605. (189, '濮阳市', 16, 255, 2, NULL),
  3606. (190, '许昌市', 16, 255, 2, NULL),
  3607. (191, '漯河市', 16, 255, 2, NULL),
  3608. (192, '三门峡市', 16, 255, 2, NULL),
  3609. (193, '南阳市', 16, 255, 2, NULL),
  3610. (194, '商丘市', 16, 255, 2, NULL),
  3611. (195, '信阳市', 16, 255, 2, NULL),
  3612. (196, '周口市', 16, 255, 2, NULL),
  3613. (197, '驻马店市', 16, 255, 2, NULL),
  3614. (198, '省直辖县级行政区划', 16, 255, 2, NULL),
  3615. (199, '武汉市', 17, 255, 2, NULL),
  3616. (200, '黄石市', 17, 255, 2, NULL),
  3617. (201, '十堰市', 17, 255, 2, NULL),
  3618. (202, '宜昌市', 17, 255, 2, NULL),
  3619. (203, '襄阳市', 17, 255, 2, NULL),
  3620. (204, '鄂州市', 17, 255, 2, NULL),
  3621. (205, '荆门市', 17, 255, 2, NULL),
  3622. (206, '孝感市', 17, 255, 2, NULL),
  3623. (207, '荆州市', 17, 255, 2, NULL),
  3624. (208, '黄冈市', 17, 255, 2, NULL),
  3625. (209, '咸宁市', 17, 255, 2, NULL),
  3626. (210, '随州市', 17, 255, 2, NULL),
  3627. (211, '恩施土家族苗族自治州', 17, 255, 2, NULL),
  3628. (212, '省直辖县级行政区划', 17, 255, 2, NULL),
  3629. (213, '长沙市', 18, 255, 2, NULL),
  3630. (214, '株洲市', 18, 255, 2, NULL),
  3631. (215, '湘潭市', 18, 255, 2, NULL),
  3632. (216, '衡阳市', 18, 255, 2, NULL),
  3633. (217, '邵阳市', 18, 255, 2, NULL),
  3634. (218, '岳阳市', 18, 255, 2, NULL),
  3635. (219, '常德市', 18, 255, 2, NULL),
  3636. (220, '张家界市', 18, 255, 2, NULL),
  3637. (221, '益阳市', 18, 255, 2, NULL),
  3638. (222, '郴州市', 18, 255, 2, NULL),
  3639. (223, '永州市', 18, 255, 2, NULL),
  3640. (224, '怀化市', 18, 255, 2, NULL),
  3641. (225, '娄底市', 18, 255, 2, NULL),
  3642. (226, '湘西土家族苗族自治州', 18, 255, 2, NULL),
  3643. (227, '广州市', 19, 255, 2, NULL),
  3644. (228, '韶关市', 19, 255, 2, NULL),
  3645. (229, '深圳市', 19, 255, 2, NULL),
  3646. (230, '珠海市', 19, 255, 2, NULL),
  3647. (231, '汕头市', 19, 255, 2, NULL),
  3648. (232, '佛山市', 19, 255, 2, NULL),
  3649. (233, '江门市', 19, 255, 2, NULL),
  3650. (234, '湛江市', 19, 255, 2, NULL),
  3651. (235, '茂名市', 19, 255, 2, NULL),
  3652. (236, '肇庆市', 19, 255, 2, NULL),
  3653. (237, '惠州市', 19, 255, 2, NULL),
  3654. (238, '梅州市', 19, 255, 2, NULL),
  3655. (239, '汕尾市', 19, 255, 2, NULL),
  3656. (240, '河源市', 19, 255, 2, NULL),
  3657. (241, '阳江市', 19, 255, 2, NULL),
  3658. (242, '清远市', 19, 255, 2, NULL),
  3659. (243, '东莞市', 19, 255, 2, NULL),
  3660. (244, '中山市', 19, 255, 2, NULL),
  3661. (245, '潮州市', 19, 255, 2, NULL),
  3662. (246, '揭阳市', 19, 255, 2, NULL),
  3663. (247, '云浮市', 19, 255, 2, NULL),
  3664. (248, '南宁市', 20, 255, 2, NULL),
  3665. (249, '柳州市', 20, 255, 2, NULL),
  3666. (250, '桂林市', 20, 255, 2, NULL),
  3667. (251, '梧州市', 20, 255, 2, NULL),
  3668. (252, '北海市', 20, 255, 2, NULL),
  3669. (253, '防城港市', 20, 255, 2, NULL),
  3670. (254, '钦州市', 20, 255, 2, NULL),
  3671. (255, '贵港市', 20, 255, 2, NULL),
  3672. (256, '玉林市', 20, 255, 2, NULL),
  3673. (257, '百色市', 20, 255, 2, NULL),
  3674. (258, '贺州市', 20, 255, 2, NULL),
  3675. (259, '河池市', 20, 255, 2, NULL),
  3676. (260, '来宾市', 20, 255, 2, NULL),
  3677. (261, '崇左市', 20, 255, 2, NULL),
  3678. (262, '海口市', 21, 255, 2, NULL),
  3679. (263, '三亚市', 21, 255, 2, NULL),
  3680. (264, '三沙市', 21, 255, 2, NULL),
  3681. (265, '儋州市', 21, 255, 2, NULL),
  3682. (266, '省直辖县级行政区划', 21, 255, 2, NULL),
  3683. (267, '市辖区', 22, 255, 2, NULL),
  3684. (268, '县', 22, 255, 2, NULL),
  3685. (269, '成都市', 23, 255, 2, NULL),
  3686. (270, '自贡市', 23, 255, 2, NULL),
  3687. (271, '攀枝花市', 23, 255, 2, NULL),
  3688. (272, '泸州市', 23, 255, 2, NULL),
  3689. (273, '德阳市', 23, 255, 2, NULL),
  3690. (274, '绵阳市', 23, 255, 2, NULL),
  3691. (275, '广元市', 23, 255, 2, NULL),
  3692. (276, '遂宁市', 23, 255, 2, NULL),
  3693. (277, '内江市', 23, 255, 2, NULL),
  3694. (278, '乐山市', 23, 255, 2, NULL),
  3695. (279, '南充市', 23, 255, 2, NULL),
  3696. (280, '眉山市', 23, 255, 2, NULL),
  3697. (281, '宜宾市', 23, 255, 2, NULL),
  3698. (282, '广安市', 23, 255, 2, NULL),
  3699. (283, '达州市', 23, 255, 2, NULL),
  3700. (284, '雅安市', 23, 255, 2, NULL),
  3701. (285, '巴中市', 23, 255, 2, NULL),
  3702. (286, '资阳市', 23, 255, 2, NULL),
  3703. (287, '阿坝藏族羌族自治州', 23, 255, 2, NULL),
  3704. (288, '甘孜藏族自治州', 23, 255, 2, NULL),
  3705. (289, '凉山彝族自治州', 23, 255, 2, NULL),
  3706. (290, '贵阳市', 24, 255, 2, NULL),
  3707. (291, '六盘水市', 24, 255, 2, NULL),
  3708. (292, '遵义市', 24, 255, 2, NULL),
  3709. (293, '安顺市', 24, 255, 2, NULL),
  3710. (294, '毕节市', 24, 255, 2, NULL),
  3711. (295, '铜仁市', 24, 255, 2, NULL),
  3712. (296, '黔西南布依族苗族自治州', 24, 255, 2, NULL),
  3713. (297, '黔东南苗族侗族自治州', 24, 255, 2, NULL),
  3714. (298, '黔南布依族苗族自治州', 24, 255, 2, NULL),
  3715. (299, '昆明市', 25, 255, 2, NULL),
  3716. (300, '曲靖市', 25, 255, 2, NULL),
  3717. (301, '玉溪市', 25, 255, 2, NULL),
  3718. (302, '保山市', 25, 255, 2, NULL),
  3719. (303, '昭通市', 25, 255, 2, NULL),
  3720. (304, '丽江市', 25, 255, 2, NULL),
  3721. (305, '普洱市', 25, 255, 2, NULL),
  3722. (306, '临沧市', 25, 255, 2, NULL),
  3723. (307, '楚雄彝族自治州', 25, 255, 2, NULL),
  3724. (308, '红河哈尼族彝族自治州', 25, 255, 2, NULL),
  3725. (309, '文山壮族苗族自治州', 25, 255, 2, NULL),
  3726. (310, '西双版纳傣族自治州', 25, 255, 2, NULL),
  3727. (311, '大理白族自治州', 25, 255, 2, NULL),
  3728. (312, '德宏傣族景颇族自治州', 25, 255, 2, NULL),
  3729. (313, '怒江傈僳族自治州', 25, 255, 2, NULL),
  3730. (314, '迪庆藏族自治州', 25, 255, 2, NULL),
  3731. (315, '拉萨市', 26, 255, 2, NULL),
  3732. (316, '日喀则市', 26, 255, 2, NULL),
  3733. (317, '昌都市', 26, 255, 2, NULL),
  3734. (318, '林芝市', 26, 255, 2, NULL),
  3735. (319, '山南市', 26, 255, 2, NULL),
  3736. (320, '那曲市', 26, 255, 2, NULL),
  3737. (321, '阿里地区', 26, 255, 2, NULL),
  3738. (322, '西安市', 27, 255, 2, NULL),
  3739. (323, '铜川市', 27, 255, 2, NULL),
  3740. (324, '宝鸡市', 27, 255, 2, NULL),
  3741. (325, '咸阳市', 27, 255, 2, NULL),
  3742. (326, '渭南市', 27, 255, 2, NULL),
  3743. (327, '延安市', 27, 255, 2, NULL),
  3744. (328, '汉中市', 27, 255, 2, NULL),
  3745. (329, '榆林市', 27, 255, 2, NULL),
  3746. (330, '安康市', 27, 255, 2, NULL),
  3747. (331, '商洛市', 27, 255, 2, NULL),
  3748. (332, '兰州市', 28, 255, 2, NULL),
  3749. (333, '嘉峪关市', 28, 255, 2, NULL),
  3750. (334, '金昌市', 28, 255, 2, NULL),
  3751. (335, '白银市', 28, 255, 2, NULL),
  3752. (336, '天水市', 28, 255, 2, NULL),
  3753. (337, '武威市', 28, 255, 2, NULL),
  3754. (338, '张掖市', 28, 255, 2, NULL),
  3755. (339, '平凉市', 28, 255, 2, NULL),
  3756. (340, '酒泉市', 28, 255, 2, NULL),
  3757. (341, '庆阳市', 28, 255, 2, NULL),
  3758. (342, '定西市', 28, 255, 2, NULL),
  3759. (343, '陇南市', 28, 255, 2, NULL),
  3760. (344, '临夏回族自治州', 28, 255, 2, NULL),
  3761. (345, '甘南藏族自治州', 28, 255, 2, NULL),
  3762. (346, '西宁市', 29, 255, 2, NULL),
  3763. (347, '海东市', 29, 255, 2, NULL),
  3764. (348, '海北藏族自治州', 29, 255, 2, NULL),
  3765. (349, '黄南藏族自治州', 29, 255, 2, NULL),
  3766. (350, '海南藏族自治州', 29, 255, 2, NULL),
  3767. (351, '果洛藏族自治州', 29, 255, 2, NULL),
  3768. (352, '玉树藏族自治州', 29, 255, 2, NULL),
  3769. (353, '海西蒙古族藏族自治州', 29, 255, 2, NULL),
  3770. (354, '银川市', 30, 255, 2, NULL),
  3771. (355, '石嘴山市', 30, 255, 2, NULL),
  3772. (356, '吴忠市', 30, 255, 2, NULL),
  3773. (357, '固原市', 30, 255, 2, NULL),
  3774. (358, '中卫市', 30, 255, 2, NULL),
  3775. (359, '乌鲁木齐市', 31, 255, 2, NULL),
  3776. (360, '克拉玛依市', 31, 255, 2, NULL),
  3777. (361, '吐鲁番市', 31, 255, 2, NULL),
  3778. (362, '哈密市', 31, 255, 2, NULL),
  3779. (363, '昌吉回族自治州', 31, 255, 2, NULL),
  3780. (364, '博尔塔拉蒙古自治州', 31, 255, 2, NULL),
  3781. (365, '巴音郭楞蒙古自治州', 31, 255, 2, NULL),
  3782. (366, '阿克苏地区', 31, 255, 2, NULL),
  3783. (367, '克孜勒苏柯尔克孜自治州', 31, 255, 2, NULL),
  3784. (368, '喀什地区', 31, 255, 2, NULL),
  3785. (369, '和田地区', 31, 255, 2, NULL),
  3786. (370, '伊犁哈萨克自治州', 31, 255, 2, NULL),
  3787. (371, '塔城地区', 31, 255, 2, NULL),
  3788. (372, '阿勒泰地区', 31, 255, 2, NULL),
  3789. (373, '自治区直辖县级行政区划', 31, 255, 2, NULL),
  3790. (374, '东城区', 32, 255, 3, NULL),
  3791. (375, '西城区', 32, 255, 3, NULL),
  3792. (376, '朝阳区', 32, 255, 3, NULL),
  3793. (377, '丰台区', 32, 255, 3, NULL),
  3794. (378, '石景山区', 32, 255, 3, NULL),
  3795. (379, '海淀区', 32, 255, 3, NULL),
  3796. (380, '门头沟区', 32, 255, 3, NULL),
  3797. (381, '房山区', 32, 255, 3, NULL),
  3798. (382, '通州区', 32, 255, 3, NULL),
  3799. (383, '顺义区', 32, 255, 3, NULL),
  3800. (384, '昌平区', 32, 255, 3, NULL),
  3801. (385, '大兴区', 32, 255, 3, NULL),
  3802. (386, '怀柔区', 32, 255, 3, NULL),
  3803. (387, '平谷区', 32, 255, 3, NULL),
  3804. (388, '密云区', 32, 255, 3, NULL),
  3805. (389, '延庆区', 32, 255, 3, NULL),
  3806. (390, '和平区', 33, 255, 3, NULL),
  3807. (391, '河东区', 33, 255, 3, NULL),
  3808. (392, '河西区', 33, 255, 3, NULL),
  3809. (393, '南开区', 33, 255, 3, NULL),
  3810. (394, '河北区', 33, 255, 3, NULL),
  3811. (395, '红桥区', 33, 255, 3, NULL),
  3812. (396, '东丽区', 33, 255, 3, NULL),
  3813. (397, '西青区', 33, 255, 3, NULL),
  3814. (398, '津南区', 33, 255, 3, NULL),
  3815. (399, '北辰区', 33, 255, 3, NULL),
  3816. (400, '武清区', 33, 255, 3, NULL),
  3817. (401, '宝坻区', 33, 255, 3, NULL),
  3818. (402, '滨海新区', 33, 255, 3, NULL),
  3819. (403, '宁河区', 33, 255, 3, NULL),
  3820. (404, '静海区', 33, 255, 3, NULL),
  3821. (405, '蓟州区', 33, 255, 3, NULL),
  3822. (406, '和平区', 33, 255, 3, NULL),
  3823. (407, '河东区', 33, 255, 3, NULL),
  3824. (408, '河西区', 33, 255, 3, NULL),
  3825. (409, '南开区', 33, 255, 3, NULL),
  3826. (410, '河北区', 33, 255, 3, NULL),
  3827. (411, '红桥区', 33, 255, 3, NULL),
  3828. (412, '东丽区', 33, 255, 3, NULL),
  3829. (413, '西青区', 33, 255, 3, NULL),
  3830. (414, '津南区', 33, 255, 3, NULL),
  3831. (415, '北辰区', 33, 255, 3, NULL),
  3832. (416, '武清区', 33, 255, 3, NULL),
  3833. (417, '宝坻区', 33, 255, 3, NULL),
  3834. (418, '滨海新区', 33, 255, 3, NULL),
  3835. (419, '宁河区', 33, 255, 3, NULL),
  3836. (420, '静海区', 33, 255, 3, NULL),
  3837. (421, '蓟州区', 33, 255, 3, NULL),
  3838. (422, '市辖区', 34, 255, 3, NULL),
  3839. (423, '长安区', 34, 255, 3, NULL),
  3840. (424, '桥西区', 34, 255, 3, NULL),
  3841. (425, '新华区', 34, 255, 3, NULL),
  3842. (426, '井陉矿区', 34, 255, 3, NULL),
  3843. (427, '裕华区', 34, 255, 3, NULL),
  3844. (428, '藁城区', 34, 255, 3, NULL),
  3845. (429, '鹿泉区', 34, 255, 3, NULL),
  3846. (430, '栾城区', 34, 255, 3, NULL),
  3847. (431, '井陉县', 34, 255, 3, NULL),
  3848. (432, '正定县', 34, 255, 3, NULL),
  3849. (433, '行唐县', 34, 255, 3, NULL),
  3850. (434, '灵寿县', 34, 255, 3, NULL),
  3851. (435, '高邑县', 34, 255, 3, NULL),
  3852. (436, '深泽县', 34, 255, 3, NULL),
  3853. (437, '赞皇县', 34, 255, 3, NULL),
  3854. (438, '无极县', 34, 255, 3, NULL),
  3855. (439, '平山县', 34, 255, 3, NULL),
  3856. (440, '元氏县', 34, 255, 3, NULL),
  3857. (441, '赵县', 34, 255, 3, NULL),
  3858. (442, '石家庄高新技术产业开发区', 34, 255, 3, NULL),
  3859. (443, '石家庄循环化工园区', 34, 255, 3, NULL),
  3860. (444, '辛集市', 34, 255, 3, NULL),
  3861. (445, '晋州市', 34, 255, 3, NULL),
  3862. (446, '新乐市', 34, 255, 3, NULL),
  3863. (447, '市辖区', 35, 255, 3, NULL),
  3864. (448, '路南区', 35, 255, 3, NULL),
  3865. (449, '路北区', 35, 255, 3, NULL),
  3866. (450, '古冶区', 35, 255, 3, NULL),
  3867. (451, '开平区', 35, 255, 3, NULL),
  3868. (452, '丰南区', 35, 255, 3, NULL),
  3869. (453, '丰润区', 35, 255, 3, NULL),
  3870. (454, '曹妃甸区', 35, 255, 3, NULL),
  3871. (455, '滦南县', 35, 255, 3, NULL),
  3872. (456, '乐亭县', 35, 255, 3, NULL),
  3873. (457, '迁西县', 35, 255, 3, NULL),
  3874. (458, '玉田县', 35, 255, 3, NULL),
  3875. (459, '河北唐山芦台经济开发区', 35, 255, 3, NULL),
  3876. (460, '唐山市汉沽管理区', 35, 255, 3, NULL),
  3877. (461, '唐山高新技术产业开发区', 35, 255, 3, NULL),
  3878. (462, '河北唐山海港经济开发区', 35, 255, 3, NULL),
  3879. (463, '遵化市', 35, 255, 3, NULL),
  3880. (464, '迁安市', 35, 255, 3, NULL),
  3881. (465, '滦州市', 35, 255, 3, NULL),
  3882. (466, '市辖区', 36, 255, 3, NULL),
  3883. (467, '海港区', 36, 255, 3, NULL),
  3884. (468, '山海关区', 36, 255, 3, NULL),
  3885. (469, '北戴河区', 36, 255, 3, NULL),
  3886. (470, '抚宁区', 36, 255, 3, NULL),
  3887. (471, '青龙满族自治县', 36, 255, 3, NULL),
  3888. (472, '昌黎县', 36, 255, 3, NULL),
  3889. (473, '卢龙县', 36, 255, 3, NULL),
  3890. (474, '秦皇岛市经济技术开发区', 36, 255, 3, NULL),
  3891. (475, '北戴河新区', 36, 255, 3, NULL),
  3892. (476, '市辖区', 37, 255, 3, NULL),
  3893. (477, '邯山区', 37, 255, 3, NULL),
  3894. (478, '丛台区', 37, 255, 3, NULL),
  3895. (479, '复兴区', 37, 255, 3, NULL),
  3896. (480, '峰峰矿区', 37, 255, 3, NULL),
  3897. (481, '肥乡区', 37, 255, 3, NULL),
  3898. (482, '永年区', 37, 255, 3, NULL),
  3899. (483, '临漳县', 37, 255, 3, NULL),
  3900. (484, '成安县', 37, 255, 3, NULL),
  3901. (485, '大名县', 37, 255, 3, NULL),
  3902. (486, '涉县', 37, 255, 3, NULL),
  3903. (487, '磁县', 37, 255, 3, NULL),
  3904. (488, '邱县', 37, 255, 3, NULL),
  3905. (489, '鸡泽县', 37, 255, 3, NULL),
  3906. (490, '广平县', 37, 255, 3, NULL),
  3907. (491, '馆陶县', 37, 255, 3, NULL),
  3908. (492, '魏县', 37, 255, 3, NULL),
  3909. (493, '曲周县', 37, 255, 3, NULL),
  3910. (494, '邯郸经济技术开发区', 37, 255, 3, NULL),
  3911. (495, '邯郸冀南新区', 37, 255, 3, NULL),
  3912. (496, '武安市', 37, 255, 3, NULL),
  3913. (497, '市辖区', 38, 255, 3, NULL),
  3914. (498, '襄都区', 38, 255, 3, NULL),
  3915. (499, '信都区', 38, 255, 3, NULL),
  3916. (500, '任泽区', 38, 255, 3, NULL),
  3917. (501, '南和区', 38, 255, 3, NULL),
  3918. (502, '临城县', 38, 255, 3, NULL),
  3919. (503, '内丘县', 38, 255, 3, NULL),
  3920. (504, '柏乡县', 38, 255, 3, NULL),
  3921. (505, '隆尧县', 38, 255, 3, NULL),
  3922. (506, '宁晋县', 38, 255, 3, NULL),
  3923. (507, '巨鹿县', 38, 255, 3, NULL),
  3924. (508, '新河县', 38, 255, 3, NULL),
  3925. (509, '广宗县', 38, 255, 3, NULL),
  3926. (510, '平乡县', 38, 255, 3, NULL),
  3927. (511, '威县', 38, 255, 3, NULL),
  3928. (512, '清河县', 38, 255, 3, NULL),
  3929. (513, '临西县', 38, 255, 3, NULL),
  3930. (514, '河北邢台经济开发区', 38, 255, 3, NULL),
  3931. (515, '南宫市', 38, 255, 3, NULL),
  3932. (516, '沙河市', 38, 255, 3, NULL),
  3933. (517, '市辖区', 39, 255, 3, NULL),
  3934. (518, '竞秀区', 39, 255, 3, NULL),
  3935. (519, '莲池区', 39, 255, 3, NULL),
  3936. (520, '满城区', 39, 255, 3, NULL),
  3937. (521, '清苑区', 39, 255, 3, NULL),
  3938. (522, '徐水区', 39, 255, 3, NULL),
  3939. (523, '涞水县', 39, 255, 3, NULL),
  3940. (524, '阜平县', 39, 255, 3, NULL),
  3941. (525, '定兴县', 39, 255, 3, NULL),
  3942. (526, '唐县', 39, 255, 3, NULL),
  3943. (527, '高阳县', 39, 255, 3, NULL),
  3944. (528, '容城县', 39, 255, 3, NULL),
  3945. (529, '涞源县', 39, 255, 3, NULL),
  3946. (530, '望都县', 39, 255, 3, NULL),
  3947. (531, '安新县', 39, 255, 3, NULL),
  3948. (532, '易县', 39, 255, 3, NULL),
  3949. (533, '曲阳县', 39, 255, 3, NULL),
  3950. (534, '蠡县', 39, 255, 3, NULL),
  3951. (535, '顺平县', 39, 255, 3, NULL),
  3952. (536, '博野县', 39, 255, 3, NULL),
  3953. (537, '雄县', 39, 255, 3, NULL),
  3954. (538, '保定高新技术产业开发区', 39, 255, 3, NULL),
  3955. (539, '保定白沟新城', 39, 255, 3, NULL),
  3956. (540, '涿州市', 39, 255, 3, NULL),
  3957. (541, '定州市', 39, 255, 3, NULL),
  3958. (542, '安国市', 39, 255, 3, NULL),
  3959. (543, '高碑店市', 39, 255, 3, NULL),
  3960. (544, '市辖区', 40, 255, 3, NULL),
  3961. (545, '桥东区', 40, 255, 3, NULL),
  3962. (546, '桥西区', 40, 255, 3, NULL),
  3963. (547, '宣化区', 40, 255, 3, NULL),
  3964. (548, '下花园区', 40, 255, 3, NULL),
  3965. (549, '万全区', 40, 255, 3, NULL),
  3966. (550, '崇礼区', 40, 255, 3, NULL),
  3967. (551, '张北县', 40, 255, 3, NULL),
  3968. (552, '康保县', 40, 255, 3, NULL),
  3969. (553, '沽源县', 40, 255, 3, NULL),
  3970. (554, '尚义县', 40, 255, 3, NULL),
  3971. (555, '蔚县', 40, 255, 3, NULL),
  3972. (556, '阳原县', 40, 255, 3, NULL),
  3973. (557, '怀安县', 40, 255, 3, NULL),
  3974. (558, '怀来县', 40, 255, 3, NULL),
  3975. (559, '涿鹿县', 40, 255, 3, NULL),
  3976. (560, '赤城县', 40, 255, 3, NULL),
  3977. (561, '张家口经济开发区', 40, 255, 3, NULL),
  3978. (562, '张家口市察北管理区', 40, 255, 3, NULL),
  3979. (563, '张家口市塞北管理区', 40, 255, 3, NULL),
  3980. (564, '市辖区', 41, 255, 3, NULL),
  3981. (565, '双桥区', 41, 255, 3, NULL),
  3982. (566, '双滦区', 41, 255, 3, NULL),
  3983. (567, '鹰手营子矿区', 41, 255, 3, NULL),
  3984. (568, '承德县', 41, 255, 3, NULL),
  3985. (569, '兴隆县', 41, 255, 3, NULL),
  3986. (570, '滦平县', 41, 255, 3, NULL),
  3987. (571, '隆化县', 41, 255, 3, NULL),
  3988. (572, '丰宁满族自治县', 41, 255, 3, NULL),
  3989. (573, '宽城满族自治县', 41, 255, 3, NULL),
  3990. (574, '围场满族蒙古族自治县', 41, 255, 3, NULL),
  3991. (575, '承德高新技术产业开发区', 41, 255, 3, NULL),
  3992. (576, '平泉市', 41, 255, 3, NULL),
  3993. (577, '市辖区', 42, 255, 3, NULL),
  3994. (578, '新华区', 42, 255, 3, NULL),
  3995. (579, '运河区', 42, 255, 3, NULL),
  3996. (580, '沧县', 42, 255, 3, NULL),
  3997. (581, '青县', 42, 255, 3, NULL),
  3998. (582, '东光县', 42, 255, 3, NULL),
  3999. (583, '海兴县', 42, 255, 3, NULL),
  4000. (584, '盐山县', 42, 255, 3, NULL),
  4001. (585, '肃宁县', 42, 255, 3, NULL),
  4002. (586, '南皮县', 42, 255, 3, NULL),
  4003. (587, '吴桥县', 42, 255, 3, NULL),
  4004. (588, '献县', 42, 255, 3, NULL),
  4005. (589, '孟村回族自治县', 42, 255, 3, NULL),
  4006. (590, '河北沧州经济开发区', 42, 255, 3, NULL),
  4007. (591, '沧州高新技术产业开发区', 42, 255, 3, NULL),
  4008. (592, '沧州渤海新区', 42, 255, 3, NULL),
  4009. (593, '泊头市', 42, 255, 3, NULL),
  4010. (594, '任丘市', 42, 255, 3, NULL),
  4011. (595, '黄骅市', 42, 255, 3, NULL),
  4012. (596, '河间市', 42, 255, 3, NULL),
  4013. (597, '市辖区', 43, 255, 3, NULL),
  4014. (598, '安次区', 43, 255, 3, NULL),
  4015. (599, '广阳区', 43, 255, 3, NULL),
  4016. (600, '固安县', 43, 255, 3, NULL),
  4017. (601, '永清县', 43, 255, 3, NULL),
  4018. (602, '香河县', 43, 255, 3, NULL),
  4019. (603, '大城县', 43, 255, 3, NULL),
  4020. (604, '文安县', 43, 255, 3, NULL),
  4021. (605, '大厂回族自治县', 43, 255, 3, NULL),
  4022. (606, '廊坊经济技术开发区', 43, 255, 3, NULL),
  4023. (607, '霸州市', 43, 255, 3, NULL),
  4024. (608, '三河市', 43, 255, 3, NULL),
  4025. (609, '市辖区', 44, 255, 3, NULL),
  4026. (610, '桃城区', 44, 255, 3, NULL),
  4027. (611, '冀州区', 44, 255, 3, NULL),
  4028. (612, '枣强县', 44, 255, 3, NULL),
  4029. (613, '武邑县', 44, 255, 3, NULL),
  4030. (614, '武强县', 44, 255, 3, NULL),
  4031. (615, '饶阳县', 44, 255, 3, NULL),
  4032. (616, '安平县', 44, 255, 3, NULL),
  4033. (617, '故城县', 44, 255, 3, NULL),
  4034. (618, '景县', 44, 255, 3, NULL),
  4035. (619, '阜城县', 44, 255, 3, NULL),
  4036. (620, '河北衡水高新技术产业开发区', 44, 255, 3, NULL),
  4037. (621, '衡水滨湖新区', 44, 255, 3, NULL),
  4038. (622, '深州市', 44, 255, 3, NULL),
  4039. (623, '市辖区', 45, 255, 3, NULL),
  4040. (624, '小店区', 45, 255, 3, NULL),
  4041. (625, '迎泽区', 45, 255, 3, NULL),
  4042. (626, '杏花岭区', 45, 255, 3, NULL),
  4043. (627, '尖草坪区', 45, 255, 3, NULL),
  4044. (628, '万柏林区', 45, 255, 3, NULL),
  4045. (629, '晋源区', 45, 255, 3, NULL),
  4046. (630, '清徐县', 45, 255, 3, NULL),
  4047. (631, '阳曲县', 45, 255, 3, NULL),
  4048. (632, '娄烦县', 45, 255, 3, NULL),
  4049. (633, '山西转型综合改革示范区', 45, 255, 3, NULL),
  4050. (634, '古交市', 45, 255, 3, NULL),
  4051. (635, '市辖区', 46, 255, 3, NULL),
  4052. (636, '新荣区', 46, 255, 3, NULL),
  4053. (637, '平城区', 46, 255, 3, NULL),
  4054. (638, '云冈区', 46, 255, 3, NULL),
  4055. (639, '云州区', 46, 255, 3, NULL),
  4056. (640, '阳高县', 46, 255, 3, NULL),
  4057. (641, '天镇县', 46, 255, 3, NULL),
  4058. (642, '广灵县', 46, 255, 3, NULL),
  4059. (643, '灵丘县', 46, 255, 3, NULL),
  4060. (644, '浑源县', 46, 255, 3, NULL),
  4061. (645, '左云县', 46, 255, 3, NULL),
  4062. (646, '山西大同经济开发区', 46, 255, 3, NULL),
  4063. (647, '市辖区', 47, 255, 3, NULL),
  4064. (648, '城区', 47, 255, 3, NULL),
  4065. (649, '矿区', 47, 255, 3, NULL),
  4066. (650, '郊区', 47, 255, 3, NULL),
  4067. (651, '平定县', 47, 255, 3, NULL),
  4068. (652, '盂县', 47, 255, 3, NULL),
  4069. (653, '市辖区', 48, 255, 3, NULL),
  4070. (654, '潞州区', 48, 255, 3, NULL),
  4071. (655, '上党区', 48, 255, 3, NULL),
  4072. (656, '屯留区', 48, 255, 3, NULL),
  4073. (657, '潞城区', 48, 255, 3, NULL),
  4074. (658, '襄垣县', 48, 255, 3, NULL),
  4075. (659, '平顺县', 48, 255, 3, NULL),
  4076. (660, '黎城县', 48, 255, 3, NULL),
  4077. (661, '壶关县', 48, 255, 3, NULL),
  4078. (662, '长子县', 48, 255, 3, NULL),
  4079. (663, '武乡县', 48, 255, 3, NULL),
  4080. (664, '沁县', 48, 255, 3, NULL),
  4081. (665, '沁源县', 48, 255, 3, NULL),
  4082. (666, '山西长治高新技术产业园区', 48, 255, 3, NULL),
  4083. (667, '市辖区', 49, 255, 3, NULL),
  4084. (668, '城区', 49, 255, 3, NULL),
  4085. (669, '沁水县', 49, 255, 3, NULL),
  4086. (670, '阳城县', 49, 255, 3, NULL),
  4087. (671, '陵川县', 49, 255, 3, NULL),
  4088. (672, '泽州县', 49, 255, 3, NULL),
  4089. (673, '高平市', 49, 255, 3, NULL),
  4090. (674, '市辖区', 50, 255, 3, NULL),
  4091. (675, '朔城区', 50, 255, 3, NULL),
  4092. (676, '平鲁区', 50, 255, 3, NULL),
  4093. (677, '山阴县', 50, 255, 3, NULL),
  4094. (678, '应县', 50, 255, 3, NULL),
  4095. (679, '右玉县', 50, 255, 3, NULL),
  4096. (680, '山西朔州经济开发区', 50, 255, 3, NULL),
  4097. (681, '怀仁市', 50, 255, 3, NULL),
  4098. (682, '市辖区', 51, 255, 3, NULL),
  4099. (683, '榆次区', 51, 255, 3, NULL),
  4100. (684, '太谷区', 51, 255, 3, NULL),
  4101. (685, '榆社县', 51, 255, 3, NULL),
  4102. (686, '左权县', 51, 255, 3, NULL),
  4103. (687, '和顺县', 51, 255, 3, NULL),
  4104. (688, '昔阳县', 51, 255, 3, NULL),
  4105. (689, '寿阳县', 51, 255, 3, NULL),
  4106. (690, '祁县', 51, 255, 3, NULL),
  4107. (691, '平遥县', 51, 255, 3, NULL),
  4108. (692, '灵石县', 51, 255, 3, NULL),
  4109. (693, '介休市', 51, 255, 3, NULL),
  4110. (694, '市辖区', 52, 255, 3, NULL),
  4111. (695, '盐湖区', 52, 255, 3, NULL),
  4112. (696, '临猗县', 52, 255, 3, NULL),
  4113. (697, '万荣县', 52, 255, 3, NULL),
  4114. (698, '闻喜县', 52, 255, 3, NULL),
  4115. (699, '稷山县', 52, 255, 3, NULL),
  4116. (700, '新绛县', 52, 255, 3, NULL),
  4117. (701, '绛县', 52, 255, 3, NULL),
  4118. (702, '垣曲县', 52, 255, 3, NULL),
  4119. (703, '夏县', 52, 255, 3, NULL),
  4120. (704, '平陆县', 52, 255, 3, NULL),
  4121. (705, '芮城县', 52, 255, 3, NULL),
  4122. (706, '永济市', 52, 255, 3, NULL),
  4123. (707, '河津市', 52, 255, 3, NULL),
  4124. (708, '市辖区', 53, 255, 3, NULL),
  4125. (709, '忻府区', 53, 255, 3, NULL),
  4126. (710, '定襄县', 53, 255, 3, NULL),
  4127. (711, '五台县', 53, 255, 3, NULL),
  4128. (712, '代县', 53, 255, 3, NULL),
  4129. (713, '繁峙县', 53, 255, 3, NULL),
  4130. (714, '宁武县', 53, 255, 3, NULL),
  4131. (715, '静乐县', 53, 255, 3, NULL),
  4132. (716, '神池县', 53, 255, 3, NULL),
  4133. (717, '五寨县', 53, 255, 3, NULL),
  4134. (718, '岢岚县', 53, 255, 3, NULL),
  4135. (719, '河曲县', 53, 255, 3, NULL),
  4136. (720, '保德县', 53, 255, 3, NULL),
  4137. (721, '偏关县', 53, 255, 3, NULL),
  4138. (722, '五台山风景名胜区', 53, 255, 3, NULL),
  4139. (723, '原平市', 53, 255, 3, NULL),
  4140. (724, '市辖区', 54, 255, 3, NULL),
  4141. (725, '尧都区', 54, 255, 3, NULL),
  4142. (726, '曲沃县', 54, 255, 3, NULL),
  4143. (727, '翼城县', 54, 255, 3, NULL),
  4144. (728, '襄汾县', 54, 255, 3, NULL),
  4145. (729, '洪洞县', 54, 255, 3, NULL),
  4146. (730, '古县', 54, 255, 3, NULL),
  4147. (731, '安泽县', 54, 255, 3, NULL),
  4148. (732, '浮山县', 54, 255, 3, NULL),
  4149. (733, '吉县', 54, 255, 3, NULL),
  4150. (734, '乡宁县', 54, 255, 3, NULL),
  4151. (735, '大宁县', 54, 255, 3, NULL),
  4152. (736, '隰县', 54, 255, 3, NULL),
  4153. (737, '永和县', 54, 255, 3, NULL),
  4154. (738, '蒲县', 54, 255, 3, NULL),
  4155. (739, '汾西县', 54, 255, 3, NULL),
  4156. (740, '侯马市', 54, 255, 3, NULL),
  4157. (741, '霍州市', 54, 255, 3, NULL),
  4158. (742, '市辖区', 55, 255, 3, NULL),
  4159. (743, '离石区', 55, 255, 3, NULL),
  4160. (744, '文水县', 55, 255, 3, NULL),
  4161. (745, '交城县', 55, 255, 3, NULL),
  4162. (746, '兴县', 55, 255, 3, NULL),
  4163. (747, '临县', 55, 255, 3, NULL),
  4164. (748, '柳林县', 55, 255, 3, NULL),
  4165. (749, '石楼县', 55, 255, 3, NULL),
  4166. (750, '岚县', 55, 255, 3, NULL),
  4167. (751, '方山县', 55, 255, 3, NULL),
  4168. (752, '中阳县', 55, 255, 3, NULL),
  4169. (753, '交口县', 55, 255, 3, NULL),
  4170. (754, '孝义市', 55, 255, 3, NULL),
  4171. (755, '汾阳市', 55, 255, 3, NULL),
  4172. (756, '市辖区', 56, 255, 3, NULL),
  4173. (757, '新城区', 56, 255, 3, NULL),
  4174. (758, '回民区', 56, 255, 3, NULL),
  4175. (759, '玉泉区', 56, 255, 3, NULL),
  4176. (760, '赛罕区', 56, 255, 3, NULL),
  4177. (761, '土默特左旗', 56, 255, 3, NULL),
  4178. (762, '托克托县', 56, 255, 3, NULL),
  4179. (763, '和林格尔县', 56, 255, 3, NULL),
  4180. (764, '清水河县', 56, 255, 3, NULL),
  4181. (765, '武川县', 56, 255, 3, NULL),
  4182. (766, '呼和浩特经济技术开发区', 56, 255, 3, NULL),
  4183. (767, '市辖区', 57, 255, 3, NULL),
  4184. (768, '东河区', 57, 255, 3, NULL),
  4185. (769, '昆都仑区', 57, 255, 3, NULL),
  4186. (770, '青山区', 57, 255, 3, NULL),
  4187. (771, '石拐区', 57, 255, 3, NULL),
  4188. (772, '白云鄂博矿区', 57, 255, 3, NULL),
  4189. (773, '九原区', 57, 255, 3, NULL),
  4190. (774, '土默特右旗', 57, 255, 3, NULL),
  4191. (775, '固阳县', 57, 255, 3, NULL),
  4192. (776, '达尔罕茂明安联合旗', 57, 255, 3, NULL),
  4193. (777, '包头稀土高新技术产业开发区', 57, 255, 3, NULL),
  4194. (778, '市辖区', 58, 255, 3, NULL),
  4195. (779, '海勃湾区', 58, 255, 3, NULL),
  4196. (780, '海南区', 58, 255, 3, NULL),
  4197. (781, '乌达区', 58, 255, 3, NULL),
  4198. (782, '市辖区', 59, 255, 3, NULL),
  4199. (783, '红山区', 59, 255, 3, NULL),
  4200. (784, '元宝山区', 59, 255, 3, NULL),
  4201. (785, '松山区', 59, 255, 3, NULL),
  4202. (786, '阿鲁科尔沁旗', 59, 255, 3, NULL),
  4203. (787, '巴林左旗', 59, 255, 3, NULL),
  4204. (788, '巴林右旗', 59, 255, 3, NULL),
  4205. (789, '林西县', 59, 255, 3, NULL),
  4206. (790, '克什克腾旗', 59, 255, 3, NULL),
  4207. (791, '翁牛特旗', 59, 255, 3, NULL),
  4208. (792, '喀喇沁旗', 59, 255, 3, NULL),
  4209. (793, '宁城县', 59, 255, 3, NULL),
  4210. (794, '敖汉旗', 59, 255, 3, NULL),
  4211. (795, '市辖区', 60, 255, 3, NULL),
  4212. (796, '科尔沁区', 60, 255, 3, NULL),
  4213. (797, '科尔沁左翼中旗', 60, 255, 3, NULL),
  4214. (798, '科尔沁左翼后旗', 60, 255, 3, NULL),
  4215. (799, '开鲁县', 60, 255, 3, NULL),
  4216. (800, '库伦旗', 60, 255, 3, NULL),
  4217. (801, '奈曼旗', 60, 255, 3, NULL),
  4218. (802, '扎鲁特旗', 60, 255, 3, NULL),
  4219. (803, '通辽经济技术开发区', 60, 255, 3, NULL),
  4220. (804, '霍林郭勒市', 60, 255, 3, NULL),
  4221. (805, '市辖区', 61, 255, 3, NULL),
  4222. (806, '东胜区', 61, 255, 3, NULL),
  4223. (807, '康巴什区', 61, 255, 3, NULL),
  4224. (808, '达拉特旗', 61, 255, 3, NULL),
  4225. (809, '准格尔旗', 61, 255, 3, NULL),
  4226. (810, '鄂托克前旗', 61, 255, 3, NULL),
  4227. (811, '鄂托克旗', 61, 255, 3, NULL),
  4228. (812, '杭锦旗', 61, 255, 3, NULL),
  4229. (813, '乌审旗', 61, 255, 3, NULL),
  4230. (814, '伊金霍洛旗', 61, 255, 3, NULL),
  4231. (815, '市辖区', 62, 255, 3, NULL),
  4232. (816, '海拉尔区', 62, 255, 3, NULL),
  4233. (817, '扎赉诺尔区', 62, 255, 3, NULL),
  4234. (818, '阿荣旗', 62, 255, 3, NULL),
  4235. (819, '莫力达瓦达斡尔族自治旗', 62, 255, 3, NULL),
  4236. (820, '鄂伦春自治旗', 62, 255, 3, NULL),
  4237. (821, '鄂温克族自治旗', 62, 255, 3, NULL),
  4238. (822, '陈巴尔虎旗', 62, 255, 3, NULL),
  4239. (823, '新巴尔虎左旗', 62, 255, 3, NULL),
  4240. (824, '新巴尔虎右旗', 62, 255, 3, NULL),
  4241. (825, '满洲里市', 62, 255, 3, NULL),
  4242. (826, '牙克石市', 62, 255, 3, NULL),
  4243. (827, '扎兰屯市', 62, 255, 3, NULL),
  4244. (828, '额尔古纳市', 62, 255, 3, NULL),
  4245. (829, '根河市', 62, 255, 3, NULL),
  4246. (830, '市辖区', 63, 255, 3, NULL),
  4247. (831, '临河区', 63, 255, 3, NULL),
  4248. (832, '五原县', 63, 255, 3, NULL),
  4249. (833, '磴口县', 63, 255, 3, NULL),
  4250. (834, '乌拉特前旗', 63, 255, 3, NULL),
  4251. (835, '乌拉特中旗', 63, 255, 3, NULL),
  4252. (836, '乌拉特后旗', 63, 255, 3, NULL),
  4253. (837, '杭锦后旗', 63, 255, 3, NULL),
  4254. (838, '市辖区', 64, 255, 3, NULL),
  4255. (839, '集宁区', 64, 255, 3, NULL),
  4256. (840, '卓资县', 64, 255, 3, NULL),
  4257. (841, '化德县', 64, 255, 3, NULL),
  4258. (842, '商都县', 64, 255, 3, NULL),
  4259. (843, '兴和县', 64, 255, 3, NULL),
  4260. (844, '凉城县', 64, 255, 3, NULL),
  4261. (845, '察哈尔右翼前旗', 64, 255, 3, NULL),
  4262. (846, '察哈尔右翼中旗', 64, 255, 3, NULL),
  4263. (847, '察哈尔右翼后旗', 64, 255, 3, NULL),
  4264. (848, '四子王旗', 64, 255, 3, NULL),
  4265. (849, '丰镇市', 64, 255, 3, NULL),
  4266. (850, '乌兰浩特市', 65, 255, 3, NULL),
  4267. (851, '阿尔山市', 65, 255, 3, NULL),
  4268. (852, '科尔沁右翼前旗', 65, 255, 3, NULL),
  4269. (853, '科尔沁右翼中旗', 65, 255, 3, NULL),
  4270. (854, '扎赉特旗', 65, 255, 3, NULL),
  4271. (855, '突泉县', 65, 255, 3, NULL),
  4272. (856, '二连浩特市', 66, 255, 3, NULL),
  4273. (857, '锡林浩特市', 66, 255, 3, NULL),
  4274. (858, '阿巴嘎旗', 66, 255, 3, NULL),
  4275. (859, '苏尼特左旗', 66, 255, 3, NULL),
  4276. (860, '苏尼特右旗', 66, 255, 3, NULL),
  4277. (861, '东乌珠穆沁旗', 66, 255, 3, NULL),
  4278. (862, '西乌珠穆沁旗', 66, 255, 3, NULL),
  4279. (863, '太仆寺旗', 66, 255, 3, NULL),
  4280. (864, '镶黄旗', 66, 255, 3, NULL),
  4281. (865, '正镶白旗', 66, 255, 3, NULL),
  4282. (866, '正蓝旗', 66, 255, 3, NULL),
  4283. (867, '多伦县', 66, 255, 3, NULL),
  4284. (868, '乌拉盖管委会', 66, 255, 3, NULL),
  4285. (869, '阿拉善左旗', 67, 255, 3, NULL),
  4286. (870, '阿拉善右旗', 67, 255, 3, NULL),
  4287. (871, '额济纳旗', 67, 255, 3, NULL),
  4288. (872, '内蒙古阿拉善经济开发区', 67, 255, 3, NULL),
  4289. (873, '市辖区', 68, 255, 3, NULL),
  4290. (874, '和平区', 68, 255, 3, NULL),
  4291. (875, '沈河区', 68, 255, 3, NULL),
  4292. (876, '大东区', 68, 255, 3, NULL),
  4293. (877, '皇姑区', 68, 255, 3, NULL),
  4294. (878, '铁西区', 68, 255, 3, NULL),
  4295. (879, '苏家屯区', 68, 255, 3, NULL),
  4296. (880, '浑南区', 68, 255, 3, NULL),
  4297. (881, '沈北新区', 68, 255, 3, NULL),
  4298. (882, '于洪区', 68, 255, 3, NULL),
  4299. (883, '辽中区', 68, 255, 3, NULL),
  4300. (884, '康平县', 68, 255, 3, NULL),
  4301. (885, '法库县', 68, 255, 3, NULL),
  4302. (886, '新民市', 68, 255, 3, NULL),
  4303. (887, '市辖区', 69, 255, 3, NULL),
  4304. (888, '中山区', 69, 255, 3, NULL),
  4305. (889, '西岗区', 69, 255, 3, NULL),
  4306. (890, '沙河口区', 69, 255, 3, NULL),
  4307. (891, '甘井子区', 69, 255, 3, NULL),
  4308. (892, '旅顺口区', 69, 255, 3, NULL),
  4309. (893, '金州区', 69, 255, 3, NULL),
  4310. (894, '普兰店区', 69, 255, 3, NULL),
  4311. (895, '长海县', 69, 255, 3, NULL),
  4312. (896, '瓦房店市', 69, 255, 3, NULL),
  4313. (897, '庄河市', 69, 255, 3, NULL),
  4314. (898, '市辖区', 70, 255, 3, NULL),
  4315. (899, '铁东区', 70, 255, 3, NULL),
  4316. (900, '铁西区', 70, 255, 3, NULL),
  4317. (901, '立山区', 70, 255, 3, NULL),
  4318. (902, '千山区', 70, 255, 3, NULL),
  4319. (903, '台安县', 70, 255, 3, NULL),
  4320. (904, '岫岩满族自治县', 70, 255, 3, NULL),
  4321. (905, '海城市', 70, 255, 3, NULL),
  4322. (906, '市辖区', 71, 255, 3, NULL),
  4323. (907, '新抚区', 71, 255, 3, NULL),
  4324. (908, '东洲区', 71, 255, 3, NULL),
  4325. (909, '望花区', 71, 255, 3, NULL),
  4326. (910, '顺城区', 71, 255, 3, NULL),
  4327. (911, '抚顺县', 71, 255, 3, NULL),
  4328. (912, '新宾满族自治县', 71, 255, 3, NULL),
  4329. (913, '清原满族自治县', 71, 255, 3, NULL),
  4330. (914, '市辖区', 72, 255, 3, NULL),
  4331. (915, '平山区', 72, 255, 3, NULL),
  4332. (916, '溪湖区', 72, 255, 3, NULL),
  4333. (917, '明山区', 72, 255, 3, NULL),
  4334. (918, '南芬区', 72, 255, 3, NULL),
  4335. (919, '本溪满族自治县', 72, 255, 3, NULL),
  4336. (920, '桓仁满族自治县', 72, 255, 3, NULL),
  4337. (921, '市辖区', 73, 255, 3, NULL),
  4338. (922, '元宝区', 73, 255, 3, NULL),
  4339. (923, '振兴区', 73, 255, 3, NULL),
  4340. (924, '振安区', 73, 255, 3, NULL),
  4341. (925, '宽甸满族自治县', 73, 255, 3, NULL),
  4342. (926, '东港市', 73, 255, 3, NULL),
  4343. (927, '凤城市', 73, 255, 3, NULL),
  4344. (928, '市辖区', 74, 255, 3, NULL),
  4345. (929, '古塔区', 74, 255, 3, NULL),
  4346. (930, '凌河区', 74, 255, 3, NULL),
  4347. (931, '太和区', 74, 255, 3, NULL),
  4348. (932, '黑山县', 74, 255, 3, NULL),
  4349. (933, '义县', 74, 255, 3, NULL),
  4350. (934, '凌海市', 74, 255, 3, NULL),
  4351. (935, '北镇市', 74, 255, 3, NULL),
  4352. (936, '市辖区', 75, 255, 3, NULL),
  4353. (937, '站前区', 75, 255, 3, NULL),
  4354. (938, '西市区', 75, 255, 3, NULL),
  4355. (939, '鲅鱼圈区', 75, 255, 3, NULL),
  4356. (940, '老边区', 75, 255, 3, NULL),
  4357. (941, '盖州市', 75, 255, 3, NULL),
  4358. (942, '大石桥市', 75, 255, 3, NULL),
  4359. (943, '市辖区', 76, 255, 3, NULL),
  4360. (944, '海州区', 76, 255, 3, NULL),
  4361. (945, '新邱区', 76, 255, 3, NULL),
  4362. (946, '太平区', 76, 255, 3, NULL),
  4363. (947, '清河门区', 76, 255, 3, NULL),
  4364. (948, '细河区', 76, 255, 3, NULL),
  4365. (949, '阜新蒙古族自治县', 76, 255, 3, NULL),
  4366. (950, '彰武县', 76, 255, 3, NULL),
  4367. (951, '市辖区', 77, 255, 3, NULL),
  4368. (952, '白塔区', 77, 255, 3, NULL),
  4369. (953, '文圣区', 77, 255, 3, NULL),
  4370. (954, '宏伟区', 77, 255, 3, NULL),
  4371. (955, '弓长岭区', 77, 255, 3, NULL),
  4372. (956, '太子河区', 77, 255, 3, NULL),
  4373. (957, '辽阳县', 77, 255, 3, NULL),
  4374. (958, '灯塔市', 77, 255, 3, NULL),
  4375. (959, '市辖区', 78, 255, 3, NULL),
  4376. (960, '双台子区', 78, 255, 3, NULL),
  4377. (961, '兴隆台区', 78, 255, 3, NULL),
  4378. (962, '大洼区', 78, 255, 3, NULL),
  4379. (963, '盘山县', 78, 255, 3, NULL),
  4380. (964, '市辖区', 79, 255, 3, NULL),
  4381. (965, '银州区', 79, 255, 3, NULL),
  4382. (966, '清河区', 79, 255, 3, NULL),
  4383. (967, '铁岭县', 79, 255, 3, NULL),
  4384. (968, '西丰县', 79, 255, 3, NULL),
  4385. (969, '昌图县', 79, 255, 3, NULL),
  4386. (970, '调兵山市', 79, 255, 3, NULL),
  4387. (971, '开原市', 79, 255, 3, NULL),
  4388. (972, '市辖区', 80, 255, 3, NULL),
  4389. (973, '双塔区', 80, 255, 3, NULL),
  4390. (974, '龙城区', 80, 255, 3, NULL),
  4391. (975, '朝阳县', 80, 255, 3, NULL),
  4392. (976, '建平县', 80, 255, 3, NULL),
  4393. (977, '喀喇沁左翼蒙古族自治县', 80, 255, 3, NULL),
  4394. (978, '北票市', 80, 255, 3, NULL),
  4395. (979, '凌源市', 80, 255, 3, NULL),
  4396. (980, '市辖区', 81, 255, 3, NULL),
  4397. (981, '连山区', 81, 255, 3, NULL),
  4398. (982, '龙港区', 81, 255, 3, NULL),
  4399. (983, '南票区', 81, 255, 3, NULL),
  4400. (984, '绥中县', 81, 255, 3, NULL),
  4401. (985, '建昌县', 81, 255, 3, NULL),
  4402. (986, '兴城市', 81, 255, 3, NULL),
  4403. (987, '市辖区', 82, 255, 3, NULL),
  4404. (988, '南关区', 82, 255, 3, NULL),
  4405. (989, '宽城区', 82, 255, 3, NULL),
  4406. (990, '朝阳区', 82, 255, 3, NULL),
  4407. (991, '二道区', 82, 255, 3, NULL),
  4408. (992, '绿园区', 82, 255, 3, NULL),
  4409. (993, '双阳区', 82, 255, 3, NULL),
  4410. (994, '九台区', 82, 255, 3, NULL),
  4411. (995, '农安县', 82, 255, 3, NULL),
  4412. (996, '长春经济技术开发区', 82, 255, 3, NULL),
  4413. (997, '长春净月高新技术产业开发区', 82, 255, 3, NULL),
  4414. (998, '长春高新技术产业开发区', 82, 255, 3, NULL),
  4415. (999, '长春汽车经济技术开发区', 82, 255, 3, NULL),
  4416. (1000, '榆树市', 82, 255, 3, NULL),
  4417. (1001, '德惠市', 82, 255, 3, NULL),
  4418. (1002, '公主岭市', 82, 255, 3, NULL),
  4419. (1003, '市辖区', 83, 255, 3, NULL),
  4420. (1004, '昌邑区', 83, 255, 3, NULL),
  4421. (1005, '龙潭区', 83, 255, 3, NULL),
  4422. (1006, '船营区', 83, 255, 3, NULL),
  4423. (1007, '丰满区', 83, 255, 3, NULL),
  4424. (1008, '永吉县', 83, 255, 3, NULL),
  4425. (1009, '吉林经济开发区', 83, 255, 3, NULL),
  4426. (1010, '吉林高新技术产业开发区', 83, 255, 3, NULL),
  4427. (1011, '吉林中国新加坡食品区', 83, 255, 3, NULL),
  4428. (1012, '蛟河市', 83, 255, 3, NULL),
  4429. (1013, '桦甸市', 83, 255, 3, NULL),
  4430. (1014, '舒兰市', 83, 255, 3, NULL),
  4431. (1015, '磐石市', 83, 255, 3, NULL),
  4432. (1016, '市辖区', 84, 255, 3, NULL),
  4433. (1017, '铁西区', 84, 255, 3, NULL),
  4434. (1018, '铁东区', 84, 255, 3, NULL),
  4435. (1019, '梨树县', 84, 255, 3, NULL),
  4436. (1020, '伊通满族自治县', 84, 255, 3, NULL),
  4437. (1021, '双辽市', 84, 255, 3, NULL),
  4438. (1022, '市辖区', 85, 255, 3, NULL),
  4439. (1023, '龙山区', 85, 255, 3, NULL),
  4440. (1024, '西安区', 85, 255, 3, NULL),
  4441. (1025, '东丰县', 85, 255, 3, NULL),
  4442. (1026, '东辽县', 85, 255, 3, NULL),
  4443. (1027, '市辖区', 86, 255, 3, NULL),
  4444. (1028, '东昌区', 86, 255, 3, NULL),
  4445. (1029, '二道江区', 86, 255, 3, NULL),
  4446. (1030, '通化县', 86, 255, 3, NULL),
  4447. (1031, '辉南县', 86, 255, 3, NULL),
  4448. (1032, '柳河县', 86, 255, 3, NULL),
  4449. (1033, '梅河口市', 86, 255, 3, NULL),
  4450. (1034, '集安市', 86, 255, 3, NULL),
  4451. (1035, '市辖区', 87, 255, 3, NULL),
  4452. (1036, '浑江区', 87, 255, 3, NULL),
  4453. (1037, '江源区', 87, 255, 3, NULL),
  4454. (1038, '抚松县', 87, 255, 3, NULL),
  4455. (1039, '靖宇县', 87, 255, 3, NULL),
  4456. (1040, '长白朝鲜族自治县', 87, 255, 3, NULL),
  4457. (1041, '临江市', 87, 255, 3, NULL),
  4458. (1042, '市辖区', 88, 255, 3, NULL),
  4459. (1043, '宁江区', 88, 255, 3, NULL),
  4460. (1044, '前郭尔罗斯蒙古族自治县', 88, 255, 3, NULL),
  4461. (1045, '长岭县', 88, 255, 3, NULL),
  4462. (1046, '乾安县', 88, 255, 3, NULL),
  4463. (1047, '吉林松原经济开发区', 88, 255, 3, NULL),
  4464. (1048, '扶余市', 88, 255, 3, NULL),
  4465. (1049, '市辖区', 89, 255, 3, NULL),
  4466. (1050, '洮北区', 89, 255, 3, NULL),
  4467. (1051, '镇赉县', 89, 255, 3, NULL),
  4468. (1052, '通榆县', 89, 255, 3, NULL),
  4469. (1053, '吉林白城经济开发区', 89, 255, 3, NULL),
  4470. (1054, '洮南市', 89, 255, 3, NULL),
  4471. (1055, '大安市', 89, 255, 3, NULL),
  4472. (1056, '延吉市', 90, 255, 3, NULL),
  4473. (1057, '图们市', 90, 255, 3, NULL),
  4474. (1058, '敦化市', 90, 255, 3, NULL),
  4475. (1059, '珲春市', 90, 255, 3, NULL),
  4476. (1060, '龙井市', 90, 255, 3, NULL),
  4477. (1061, '和龙市', 90, 255, 3, NULL),
  4478. (1062, '汪清县', 90, 255, 3, NULL),
  4479. (1063, '安图县', 90, 255, 3, NULL),
  4480. (1064, '市辖区', 91, 255, 3, NULL),
  4481. (1065, '道里区', 91, 255, 3, NULL),
  4482. (1066, '南岗区', 91, 255, 3, NULL),
  4483. (1067, '道外区', 91, 255, 3, NULL),
  4484. (1068, '平房区', 91, 255, 3, NULL),
  4485. (1069, '松北区', 91, 255, 3, NULL),
  4486. (1070, '香坊区', 91, 255, 3, NULL),
  4487. (1071, '呼兰区', 91, 255, 3, NULL),
  4488. (1072, '阿城区', 91, 255, 3, NULL),
  4489. (1073, '双城区', 91, 255, 3, NULL),
  4490. (1074, '依兰县', 91, 255, 3, NULL),
  4491. (1075, '方正县', 91, 255, 3, NULL),
  4492. (1076, '宾县', 91, 255, 3, NULL),
  4493. (1077, '巴彦县', 91, 255, 3, NULL),
  4494. (1078, '木兰县', 91, 255, 3, NULL),
  4495. (1079, '通河县', 91, 255, 3, NULL),
  4496. (1080, '延寿县', 91, 255, 3, NULL),
  4497. (1081, '尚志市', 91, 255, 3, NULL),
  4498. (1082, '五常市', 91, 255, 3, NULL),
  4499. (1083, '市辖区', 92, 255, 3, NULL),
  4500. (1084, '龙沙区', 92, 255, 3, NULL),
  4501. (1085, '建华区', 92, 255, 3, NULL),
  4502. (1086, '铁锋区', 92, 255, 3, NULL),
  4503. (1087, '昂昂溪区', 92, 255, 3, NULL),
  4504. (1088, '富拉尔基区', 92, 255, 3, NULL),
  4505. (1089, '碾子山区', 92, 255, 3, NULL),
  4506. (1090, '梅里斯达斡尔族区', 92, 255, 3, NULL),
  4507. (1091, '龙江县', 92, 255, 3, NULL),
  4508. (1092, '依安县', 92, 255, 3, NULL),
  4509. (1093, '泰来县', 92, 255, 3, NULL),
  4510. (1094, '甘南县', 92, 255, 3, NULL),
  4511. (1095, '富裕县', 92, 255, 3, NULL),
  4512. (1096, '克山县', 92, 255, 3, NULL),
  4513. (1097, '克东县', 92, 255, 3, NULL),
  4514. (1098, '拜泉县', 92, 255, 3, NULL),
  4515. (1099, '讷河市', 92, 255, 3, NULL),
  4516. (1100, '市辖区', 93, 255, 3, NULL),
  4517. (1101, '鸡冠区', 93, 255, 3, NULL),
  4518. (1102, '恒山区', 93, 255, 3, NULL),
  4519. (1103, '滴道区', 93, 255, 3, NULL),
  4520. (1104, '梨树区', 93, 255, 3, NULL),
  4521. (1105, '城子河区', 93, 255, 3, NULL),
  4522. (1106, '麻山区', 93, 255, 3, NULL),
  4523. (1107, '鸡东县', 93, 255, 3, NULL),
  4524. (1108, '虎林市', 93, 255, 3, NULL),
  4525. (1109, '密山市', 93, 255, 3, NULL),
  4526. (1110, '市辖区', 94, 255, 3, NULL),
  4527. (1111, '向阳区', 94, 255, 3, NULL),
  4528. (1112, '工农区', 94, 255, 3, NULL),
  4529. (1113, '南山区', 94, 255, 3, NULL),
  4530. (1114, '兴安区', 94, 255, 3, NULL),
  4531. (1115, '东山区', 94, 255, 3, NULL),
  4532. (1116, '兴山区', 94, 255, 3, NULL),
  4533. (1117, '萝北县', 94, 255, 3, NULL),
  4534. (1118, '绥滨县', 94, 255, 3, NULL),
  4535. (1119, '市辖区', 95, 255, 3, NULL),
  4536. (1120, '尖山区', 95, 255, 3, NULL),
  4537. (1121, '岭东区', 95, 255, 3, NULL),
  4538. (1122, '四方台区', 95, 255, 3, NULL),
  4539. (1123, '宝山区', 95, 255, 3, NULL),
  4540. (1124, '集贤县', 95, 255, 3, NULL),
  4541. (1125, '友谊县', 95, 255, 3, NULL),
  4542. (1126, '宝清县', 95, 255, 3, NULL),
  4543. (1127, '饶河县', 95, 255, 3, NULL),
  4544. (1128, '市辖区', 96, 255, 3, NULL),
  4545. (1129, '萨尔图区', 96, 255, 3, NULL),
  4546. (1130, '龙凤区', 96, 255, 3, NULL),
  4547. (1131, '让胡路区', 96, 255, 3, NULL),
  4548. (1132, '红岗区', 96, 255, 3, NULL),
  4549. (1133, '大同区', 96, 255, 3, NULL),
  4550. (1134, '肇州县', 96, 255, 3, NULL),
  4551. (1135, '肇源县', 96, 255, 3, NULL),
  4552. (1136, '林甸县', 96, 255, 3, NULL),
  4553. (1137, '杜尔伯特蒙古族自治县', 96, 255, 3, NULL),
  4554. (1138, '大庆高新技术产业开发区', 96, 255, 3, NULL),
  4555. (1139, '市辖区', 97, 255, 3, NULL),
  4556. (1140, '伊美区', 97, 255, 3, NULL),
  4557. (1141, '乌翠区', 97, 255, 3, NULL),
  4558. (1142, '友好区', 97, 255, 3, NULL),
  4559. (1143, '嘉荫县', 97, 255, 3, NULL),
  4560. (1144, '汤旺县', 97, 255, 3, NULL),
  4561. (1145, '丰林县', 97, 255, 3, NULL),
  4562. (1146, '大箐山县', 97, 255, 3, NULL),
  4563. (1147, '南岔县', 97, 255, 3, NULL),
  4564. (1148, '金林区', 97, 255, 3, NULL),
  4565. (1149, '铁力市', 97, 255, 3, NULL),
  4566. (1150, '市辖区', 98, 255, 3, NULL),
  4567. (1151, '向阳区', 98, 255, 3, NULL),
  4568. (1152, '前进区', 98, 255, 3, NULL),
  4569. (1153, '东风区', 98, 255, 3, NULL),
  4570. (1154, '郊区', 98, 255, 3, NULL),
  4571. (1155, '桦南县', 98, 255, 3, NULL),
  4572. (1156, '桦川县', 98, 255, 3, NULL),
  4573. (1157, '汤原县', 98, 255, 3, NULL),
  4574. (1158, '同江市', 98, 255, 3, NULL),
  4575. (1159, '富锦市', 98, 255, 3, NULL),
  4576. (1160, '抚远市', 98, 255, 3, NULL),
  4577. (1161, '市辖区', 99, 255, 3, NULL),
  4578. (1162, '新兴区', 99, 255, 3, NULL),
  4579. (1163, '桃山区', 99, 255, 3, NULL),
  4580. (1164, '茄子河区', 99, 255, 3, NULL),
  4581. (1165, '勃利县', 99, 255, 3, NULL),
  4582. (1166, '市辖区', 100, 255, 3, NULL),
  4583. (1167, '东安区', 100, 255, 3, NULL),
  4584. (1168, '阳明区', 100, 255, 3, NULL),
  4585. (1169, '爱民区', 100, 255, 3, NULL),
  4586. (1170, '西安区', 100, 255, 3, NULL),
  4587. (1171, '林口县', 100, 255, 3, NULL),
  4588. (1172, '牡丹江经济技术开发区', 100, 255, 3, NULL),
  4589. (1173, '绥芬河市', 100, 255, 3, NULL),
  4590. (1174, '海林市', 100, 255, 3, NULL),
  4591. (1175, '宁安市', 100, 255, 3, NULL),
  4592. (1176, '穆棱市', 100, 255, 3, NULL),
  4593. (1177, '东宁市', 100, 255, 3, NULL),
  4594. (1178, '市辖区', 101, 255, 3, NULL),
  4595. (1179, '爱辉区', 101, 255, 3, NULL),
  4596. (1180, '逊克县', 101, 255, 3, NULL),
  4597. (1181, '孙吴县', 101, 255, 3, NULL),
  4598. (1182, '北安市', 101, 255, 3, NULL),
  4599. (1183, '五大连池市', 101, 255, 3, NULL),
  4600. (1184, '嫩江市', 101, 255, 3, NULL),
  4601. (1185, '市辖区', 102, 255, 3, NULL),
  4602. (1186, '北林区', 102, 255, 3, NULL),
  4603. (1187, '望奎县', 102, 255, 3, NULL),
  4604. (1188, '兰西县', 102, 255, 3, NULL),
  4605. (1189, '青冈县', 102, 255, 3, NULL),
  4606. (1190, '庆安县', 102, 255, 3, NULL),
  4607. (1191, '明水县', 102, 255, 3, NULL),
  4608. (1192, '绥棱县', 102, 255, 3, NULL),
  4609. (1193, '安达市', 102, 255, 3, NULL),
  4610. (1194, '肇东市', 102, 255, 3, NULL),
  4611. (1195, '海伦市', 102, 255, 3, NULL),
  4612. (1196, '漠河市', 103, 255, 3, NULL),
  4613. (1197, '呼玛县', 103, 255, 3, NULL),
  4614. (1198, '塔河县', 103, 255, 3, NULL),
  4615. (1199, '加格达奇区', 103, 255, 3, NULL),
  4616. (1200, '松岭区', 103, 255, 3, NULL),
  4617. (1201, '新林区', 103, 255, 3, NULL),
  4618. (1202, '呼中区', 103, 255, 3, NULL),
  4619. (1203, '黄浦区', 104, 255, 3, NULL),
  4620. (1204, '徐汇区', 104, 255, 3, NULL),
  4621. (1205, '长宁区', 104, 255, 3, NULL),
  4622. (1206, '静安区', 104, 255, 3, NULL),
  4623. (1207, '普陀区', 104, 255, 3, NULL),
  4624. (1208, '虹口区', 104, 255, 3, NULL),
  4625. (1209, '杨浦区', 104, 255, 3, NULL),
  4626. (1210, '闵行区', 104, 255, 3, NULL),
  4627. (1211, '宝山区', 104, 255, 3, NULL),
  4628. (1212, '嘉定区', 104, 255, 3, NULL),
  4629. (1213, '浦东新区', 104, 255, 3, NULL),
  4630. (1214, '金山区', 104, 255, 3, NULL),
  4631. (1215, '松江区', 104, 255, 3, NULL),
  4632. (1216, '青浦区', 104, 255, 3, NULL),
  4633. (1217, '奉贤区', 104, 255, 3, NULL),
  4634. (1218, '崇明区', 104, 255, 3, NULL),
  4635. (1219, '市辖区', 105, 255, 3, NULL),
  4636. (1220, '玄武区', 105, 255, 3, NULL),
  4637. (1221, '秦淮区', 105, 255, 3, NULL),
  4638. (1222, '建邺区', 105, 255, 3, NULL),
  4639. (1223, '鼓楼区', 105, 255, 3, NULL),
  4640. (1224, '浦口区', 105, 255, 3, NULL),
  4641. (1225, '栖霞区', 105, 255, 3, NULL),
  4642. (1226, '雨花台区', 105, 255, 3, NULL),
  4643. (1227, '江宁区', 105, 255, 3, NULL),
  4644. (1228, '六合区', 105, 255, 3, NULL),
  4645. (1229, '溧水区', 105, 255, 3, NULL),
  4646. (1230, '高淳区', 105, 255, 3, NULL),
  4647. (1231, '市辖区', 106, 255, 3, NULL),
  4648. (1232, '锡山区', 106, 255, 3, NULL),
  4649. (1233, '惠山区', 106, 255, 3, NULL),
  4650. (1234, '滨湖区', 106, 255, 3, NULL),
  4651. (1235, '梁溪区', 106, 255, 3, NULL),
  4652. (1236, '新吴区', 106, 255, 3, NULL),
  4653. (1237, '江阴市', 106, 255, 3, NULL),
  4654. (1238, '宜兴市', 106, 255, 3, NULL),
  4655. (1239, '市辖区', 107, 255, 3, NULL),
  4656. (1240, '鼓楼区', 107, 255, 3, NULL),
  4657. (1241, '云龙区', 107, 255, 3, NULL),
  4658. (1242, '贾汪区', 107, 255, 3, NULL),
  4659. (1243, '泉山区', 107, 255, 3, NULL),
  4660. (1244, '铜山区', 107, 255, 3, NULL),
  4661. (1245, '丰县', 107, 255, 3, NULL),
  4662. (1246, '沛县', 107, 255, 3, NULL),
  4663. (1247, '睢宁县', 107, 255, 3, NULL),
  4664. (1248, '徐州经济技术开发区', 107, 255, 3, NULL),
  4665. (1249, '新沂市', 107, 255, 3, NULL),
  4666. (1250, '邳州市', 107, 255, 3, NULL),
  4667. (1251, '市辖区', 108, 255, 3, NULL),
  4668. (1252, '天宁区', 108, 255, 3, NULL),
  4669. (1253, '钟楼区', 108, 255, 3, NULL),
  4670. (1254, '新北区', 108, 255, 3, NULL),
  4671. (1255, '武进区', 108, 255, 3, NULL),
  4672. (1256, '金坛区', 108, 255, 3, NULL),
  4673. (1257, '溧阳市', 108, 255, 3, NULL),
  4674. (1258, '市辖区', 109, 255, 3, NULL),
  4675. (1259, '虎丘区', 109, 255, 3, NULL),
  4676. (1260, '吴中区', 109, 255, 3, NULL),
  4677. (1261, '相城区', 109, 255, 3, NULL),
  4678. (1262, '姑苏区', 109, 255, 3, NULL),
  4679. (1263, '吴江区', 109, 255, 3, NULL),
  4680. (1264, '苏州工业园区', 109, 255, 3, NULL),
  4681. (1265, '常熟市', 109, 255, 3, NULL),
  4682. (1266, '张家港市', 109, 255, 3, NULL),
  4683. (1267, '昆山市', 109, 255, 3, NULL),
  4684. (1268, '太仓市', 109, 255, 3, NULL),
  4685. (1269, '市辖区', 110, 255, 3, NULL),
  4686. (1270, '崇川区', 110, 255, 3, NULL),
  4687. (1271, '港闸区', 110, 255, 3, NULL),
  4688. (1272, '通州区', 110, 255, 3, NULL),
  4689. (1273, '如东县', 110, 255, 3, NULL),
  4690. (1274, '南通经济技术开发区', 110, 255, 3, NULL),
  4691. (1275, '启东市', 110, 255, 3, NULL),
  4692. (1276, '如皋市', 110, 255, 3, NULL),
  4693. (1277, '海门市', 110, 255, 3, NULL),
  4694. (1278, '海安市', 110, 255, 3, NULL),
  4695. (1279, '市辖区', 111, 255, 3, NULL),
  4696. (1280, '连云区', 111, 255, 3, NULL),
  4697. (1281, '海州区', 111, 255, 3, NULL),
  4698. (1282, '赣榆区', 111, 255, 3, NULL),
  4699. (1283, '东海县', 111, 255, 3, NULL),
  4700. (1284, '灌云县', 111, 255, 3, NULL),
  4701. (1285, '灌南县', 111, 255, 3, NULL),
  4702. (1286, '连云港经济技术开发区', 111, 255, 3, NULL),
  4703. (1287, '连云港高新技术产业开发区', 111, 255, 3, NULL),
  4704. (1288, '市辖区', 112, 255, 3, NULL),
  4705. (1289, '淮安区', 112, 255, 3, NULL),
  4706. (1290, '淮阴区', 112, 255, 3, NULL),
  4707. (1291, '清江浦区', 112, 255, 3, NULL),
  4708. (1292, '洪泽区', 112, 255, 3, NULL),
  4709. (1293, '涟水县', 112, 255, 3, NULL),
  4710. (1294, '盱眙县', 112, 255, 3, NULL),
  4711. (1295, '金湖县', 112, 255, 3, NULL),
  4712. (1296, '淮安经济技术开发区', 112, 255, 3, NULL),
  4713. (1297, '市辖区', 113, 255, 3, NULL),
  4714. (1298, '亭湖区', 113, 255, 3, NULL),
  4715. (1299, '盐都区', 113, 255, 3, NULL),
  4716. (1300, '大丰区', 113, 255, 3, NULL),
  4717. (1301, '响水县', 113, 255, 3, NULL),
  4718. (1302, '滨海县', 113, 255, 3, NULL),
  4719. (1303, '阜宁县', 113, 255, 3, NULL),
  4720. (1304, '射阳县', 113, 255, 3, NULL),
  4721. (1305, '建湖县', 113, 255, 3, NULL),
  4722. (1306, '盐城经济技术开发区', 113, 255, 3, NULL);
  4723. INSERT INTO `#__area` (`area_id`, `area_name`, `area_parent_id`, `area_sort`, `area_deep`, `area_region`) VALUES
  4724. (1307, '东台市', 113, 255, 3, NULL),
  4725. (1308, '市辖区', 114, 255, 3, NULL),
  4726. (1309, '广陵区', 114, 255, 3, NULL),
  4727. (1310, '邗江区', 114, 255, 3, NULL),
  4728. (1311, '江都区', 114, 255, 3, NULL),
  4729. (1312, '宝应县', 114, 255, 3, NULL),
  4730. (1313, '扬州经济技术开发区', 114, 255, 3, NULL),
  4731. (1314, '仪征市', 114, 255, 3, NULL),
  4732. (1315, '高邮市', 114, 255, 3, NULL),
  4733. (1316, '市辖区', 115, 255, 3, NULL),
  4734. (1317, '京口区', 115, 255, 3, NULL),
  4735. (1318, '润州区', 115, 255, 3, NULL),
  4736. (1319, '丹徒区', 115, 255, 3, NULL),
  4737. (1320, '镇江新区', 115, 255, 3, NULL),
  4738. (1321, '丹阳市', 115, 255, 3, NULL),
  4739. (1322, '扬中市', 115, 255, 3, NULL),
  4740. (1323, '句容市', 115, 255, 3, NULL),
  4741. (1324, '市辖区', 116, 255, 3, NULL),
  4742. (1325, '海陵区', 116, 255, 3, NULL),
  4743. (1326, '高港区', 116, 255, 3, NULL),
  4744. (1327, '姜堰区', 116, 255, 3, NULL),
  4745. (1328, '泰州医药高新技术产业开发区', 116, 255, 3, NULL),
  4746. (1329, '兴化市', 116, 255, 3, NULL),
  4747. (1330, '靖江市', 116, 255, 3, NULL),
  4748. (1331, '泰兴市', 116, 255, 3, NULL),
  4749. (1332, '市辖区', 117, 255, 3, NULL),
  4750. (1333, '宿城区', 117, 255, 3, NULL),
  4751. (1334, '宿豫区', 117, 255, 3, NULL),
  4752. (1335, '沭阳县', 117, 255, 3, NULL),
  4753. (1336, '泗阳县', 117, 255, 3, NULL),
  4754. (1337, '泗洪县', 117, 255, 3, NULL),
  4755. (1338, '宿迁经济技术开发区', 117, 255, 3, NULL),
  4756. (1339, '市辖区', 118, 255, 3, NULL),
  4757. (1340, '上城区', 118, 255, 3, NULL),
  4758. (1341, '下城区', 118, 255, 3, NULL),
  4759. (1342, '江干区', 118, 255, 3, NULL),
  4760. (1343, '拱墅区', 118, 255, 3, NULL),
  4761. (1344, '西湖区', 118, 255, 3, NULL),
  4762. (1345, '滨江区', 118, 255, 3, NULL),
  4763. (1346, '萧山区', 118, 255, 3, NULL),
  4764. (1347, '余杭区', 118, 255, 3, NULL),
  4765. (1348, '富阳区', 118, 255, 3, NULL),
  4766. (1349, '临安区', 118, 255, 3, NULL),
  4767. (1350, '桐庐县', 118, 255, 3, NULL),
  4768. (1351, '淳安县', 118, 255, 3, NULL),
  4769. (1352, '建德市', 118, 255, 3, NULL),
  4770. (1353, '市辖区', 119, 255, 3, NULL),
  4771. (1354, '海曙区', 119, 255, 3, NULL),
  4772. (1355, '江北区', 119, 255, 3, NULL),
  4773. (1356, '北仑区', 119, 255, 3, NULL),
  4774. (1357, '镇海区', 119, 255, 3, NULL),
  4775. (1358, '鄞州区', 119, 255, 3, NULL),
  4776. (1359, '奉化区', 119, 255, 3, NULL),
  4777. (1360, '象山县', 119, 255, 3, NULL),
  4778. (1361, '宁海县', 119, 255, 3, NULL),
  4779. (1362, '余姚市', 119, 255, 3, NULL),
  4780. (1363, '慈溪市', 119, 255, 3, NULL),
  4781. (1364, '市辖区', 120, 255, 3, NULL),
  4782. (1365, '鹿城区', 120, 255, 3, NULL),
  4783. (1366, '龙湾区', 120, 255, 3, NULL),
  4784. (1367, '瓯海区', 120, 255, 3, NULL),
  4785. (1368, '洞头区', 120, 255, 3, NULL),
  4786. (1369, '永嘉县', 120, 255, 3, NULL),
  4787. (1370, '平阳县', 120, 255, 3, NULL),
  4788. (1371, '苍南县', 120, 255, 3, NULL),
  4789. (1372, '文成县', 120, 255, 3, NULL),
  4790. (1373, '泰顺县', 120, 255, 3, NULL),
  4791. (1374, '温州经济技术开发区', 120, 255, 3, NULL),
  4792. (1375, '瑞安市', 120, 255, 3, NULL),
  4793. (1376, '乐清市', 120, 255, 3, NULL),
  4794. (1377, '龙港市', 120, 255, 3, NULL),
  4795. (1378, '市辖区', 121, 255, 3, NULL),
  4796. (1379, '南湖区', 121, 255, 3, NULL),
  4797. (1380, '秀洲区', 121, 255, 3, NULL),
  4798. (1381, '嘉善县', 121, 255, 3, NULL),
  4799. (1382, '海盐县', 121, 255, 3, NULL),
  4800. (1383, '海宁市', 121, 255, 3, NULL),
  4801. (1384, '平湖市', 121, 255, 3, NULL),
  4802. (1385, '桐乡市', 121, 255, 3, NULL),
  4803. (1386, '市辖区', 122, 255, 3, NULL),
  4804. (1387, '吴兴区', 122, 255, 3, NULL),
  4805. (1388, '南浔区', 122, 255, 3, NULL),
  4806. (1389, '德清县', 122, 255, 3, NULL),
  4807. (1390, '长兴县', 122, 255, 3, NULL),
  4808. (1391, '安吉县', 122, 255, 3, NULL),
  4809. (1392, '市辖区', 123, 255, 3, NULL),
  4810. (1393, '越城区', 123, 255, 3, NULL),
  4811. (1394, '柯桥区', 123, 255, 3, NULL),
  4812. (1395, '上虞区', 123, 255, 3, NULL),
  4813. (1396, '新昌县', 123, 255, 3, NULL),
  4814. (1397, '诸暨市', 123, 255, 3, NULL),
  4815. (1398, '嵊州市', 123, 255, 3, NULL),
  4816. (1399, '市辖区', 124, 255, 3, NULL),
  4817. (1400, '婺城区', 124, 255, 3, NULL),
  4818. (1401, '金东区', 124, 255, 3, NULL),
  4819. (1402, '武义县', 124, 255, 3, NULL),
  4820. (1403, '浦江县', 124, 255, 3, NULL),
  4821. (1404, '磐安县', 124, 255, 3, NULL),
  4822. (1405, '兰溪市', 124, 255, 3, NULL),
  4823. (1406, '义乌市', 124, 255, 3, NULL),
  4824. (1407, '东阳市', 124, 255, 3, NULL),
  4825. (1408, '永康市', 124, 255, 3, NULL),
  4826. (1409, '市辖区', 125, 255, 3, NULL),
  4827. (1410, '柯城区', 125, 255, 3, NULL),
  4828. (1411, '衢江区', 125, 255, 3, NULL),
  4829. (1412, '常山县', 125, 255, 3, NULL),
  4830. (1413, '开化县', 125, 255, 3, NULL),
  4831. (1414, '龙游县', 125, 255, 3, NULL),
  4832. (1415, '江山市', 125, 255, 3, NULL),
  4833. (1416, '市辖区', 126, 255, 3, NULL),
  4834. (1417, '定海区', 126, 255, 3, NULL),
  4835. (1418, '普陀区', 126, 255, 3, NULL),
  4836. (1419, '岱山县', 126, 255, 3, NULL),
  4837. (1420, '嵊泗县', 126, 255, 3, NULL),
  4838. (1421, '市辖区', 127, 255, 3, NULL),
  4839. (1422, '椒江区', 127, 255, 3, NULL),
  4840. (1423, '黄岩区', 127, 255, 3, NULL),
  4841. (1424, '路桥区', 127, 255, 3, NULL),
  4842. (1425, '三门县', 127, 255, 3, NULL),
  4843. (1426, '天台县', 127, 255, 3, NULL),
  4844. (1427, '仙居县', 127, 255, 3, NULL),
  4845. (1428, '温岭市', 127, 255, 3, NULL),
  4846. (1429, '临海市', 127, 255, 3, NULL),
  4847. (1430, '玉环市', 127, 255, 3, NULL),
  4848. (1431, '市辖区', 128, 255, 3, NULL),
  4849. (1432, '莲都区', 128, 255, 3, NULL),
  4850. (1433, '青田县', 128, 255, 3, NULL),
  4851. (1434, '缙云县', 128, 255, 3, NULL),
  4852. (1435, '遂昌县', 128, 255, 3, NULL),
  4853. (1436, '松阳县', 128, 255, 3, NULL),
  4854. (1437, '云和县', 128, 255, 3, NULL),
  4855. (1438, '庆元县', 128, 255, 3, NULL),
  4856. (1439, '景宁畲族自治县', 128, 255, 3, NULL),
  4857. (1440, '龙泉市', 128, 255, 3, NULL),
  4858. (1441, '市辖区', 129, 255, 3, NULL),
  4859. (1442, '瑶海区', 129, 255, 3, NULL),
  4860. (1443, '庐阳区', 129, 255, 3, NULL),
  4861. (1444, '蜀山区', 129, 255, 3, NULL),
  4862. (1445, '包河区', 129, 255, 3, NULL),
  4863. (1446, '长丰县', 129, 255, 3, NULL),
  4864. (1447, '肥东县', 129, 255, 3, NULL),
  4865. (1448, '肥西县', 129, 255, 3, NULL),
  4866. (1449, '庐江县', 129, 255, 3, NULL),
  4867. (1450, '合肥高新技术产业开发区', 129, 255, 3, NULL),
  4868. (1451, '合肥经济技术开发区', 129, 255, 3, NULL),
  4869. (1452, '合肥新站高新技术产业开发区', 129, 255, 3, NULL),
  4870. (1453, '巢湖市', 129, 255, 3, NULL),
  4871. (1454, '市辖区', 130, 255, 3, NULL),
  4872. (1455, '镜湖区', 130, 255, 3, NULL),
  4873. (1456, '弋江区', 130, 255, 3, NULL),
  4874. (1457, '鸠江区', 130, 255, 3, NULL),
  4875. (1458, '三山区', 130, 255, 3, NULL),
  4876. (1459, '芜湖县', 130, 255, 3, NULL),
  4877. (1460, '繁昌县', 130, 255, 3, NULL),
  4878. (1461, '南陵县', 130, 255, 3, NULL),
  4879. (1462, '芜湖经济技术开发区', 130, 255, 3, NULL),
  4880. (1463, '安徽芜湖长江大桥经济开发区', 130, 255, 3, NULL),
  4881. (1464, '无为市', 130, 255, 3, NULL),
  4882. (1465, '市辖区', 131, 255, 3, NULL),
  4883. (1466, '龙子湖区', 131, 255, 3, NULL),
  4884. (1467, '蚌山区', 131, 255, 3, NULL),
  4885. (1468, '禹会区', 131, 255, 3, NULL),
  4886. (1469, '淮上区', 131, 255, 3, NULL),
  4887. (1470, '怀远县', 131, 255, 3, NULL),
  4888. (1471, '五河县', 131, 255, 3, NULL),
  4889. (1472, '固镇县', 131, 255, 3, NULL),
  4890. (1473, '蚌埠市高新技术开发区', 131, 255, 3, NULL),
  4891. (1474, '蚌埠市经济开发区', 131, 255, 3, NULL),
  4892. (1475, '市辖区', 132, 255, 3, NULL),
  4893. (1476, '大通区', 132, 255, 3, NULL),
  4894. (1477, '田家庵区', 132, 255, 3, NULL),
  4895. (1478, '谢家集区', 132, 255, 3, NULL),
  4896. (1479, '八公山区', 132, 255, 3, NULL),
  4897. (1480, '潘集区', 132, 255, 3, NULL),
  4898. (1481, '凤台县', 132, 255, 3, NULL),
  4899. (1482, '寿县', 132, 255, 3, NULL),
  4900. (1483, '市辖区', 133, 255, 3, NULL),
  4901. (1484, '花山区', 133, 255, 3, NULL),
  4902. (1485, '雨山区', 133, 255, 3, NULL),
  4903. (1486, '博望区', 133, 255, 3, NULL),
  4904. (1487, '当涂县', 133, 255, 3, NULL),
  4905. (1488, '含山县', 133, 255, 3, NULL),
  4906. (1489, '和县', 133, 255, 3, NULL),
  4907. (1490, '市辖区', 134, 255, 3, NULL),
  4908. (1491, '杜集区', 134, 255, 3, NULL),
  4909. (1492, '相山区', 134, 255, 3, NULL),
  4910. (1493, '烈山区', 134, 255, 3, NULL),
  4911. (1494, '濉溪县', 134, 255, 3, NULL),
  4912. (1495, '市辖区', 135, 255, 3, NULL),
  4913. (1496, '铜官区', 135, 255, 3, NULL),
  4914. (1497, '义安区', 135, 255, 3, NULL),
  4915. (1498, '郊区', 135, 255, 3, NULL),
  4916. (1499, '枞阳县', 135, 255, 3, NULL),
  4917. (1500, '市辖区', 136, 255, 3, NULL),
  4918. (1501, '迎江区', 136, 255, 3, NULL),
  4919. (1502, '大观区', 136, 255, 3, NULL),
  4920. (1503, '宜秀区', 136, 255, 3, NULL),
  4921. (1504, '怀宁县', 136, 255, 3, NULL),
  4922. (1505, '太湖县', 136, 255, 3, NULL),
  4923. (1506, '宿松县', 136, 255, 3, NULL),
  4924. (1507, '望江县', 136, 255, 3, NULL),
  4925. (1508, '岳西县', 136, 255, 3, NULL),
  4926. (1509, '安徽安庆经济开发区', 136, 255, 3, NULL),
  4927. (1510, '桐城市', 136, 255, 3, NULL),
  4928. (1511, '潜山市', 136, 255, 3, NULL),
  4929. (1512, '市辖区', 137, 255, 3, NULL),
  4930. (1513, '屯溪区', 137, 255, 3, NULL),
  4931. (1514, '黄山区', 137, 255, 3, NULL),
  4932. (1515, '徽州区', 137, 255, 3, NULL),
  4933. (1516, '歙县', 137, 255, 3, NULL),
  4934. (1517, '休宁县', 137, 255, 3, NULL),
  4935. (1518, '黟县', 137, 255, 3, NULL),
  4936. (1519, '祁门县', 137, 255, 3, NULL),
  4937. (1520, '市辖区', 138, 255, 3, NULL),
  4938. (1521, '琅琊区', 138, 255, 3, NULL),
  4939. (1522, '南谯区', 138, 255, 3, NULL),
  4940. (1523, '来安县', 138, 255, 3, NULL),
  4941. (1524, '全椒县', 138, 255, 3, NULL),
  4942. (1525, '定远县', 138, 255, 3, NULL),
  4943. (1526, '凤阳县', 138, 255, 3, NULL),
  4944. (1527, '苏滁现代产业园', 138, 255, 3, NULL),
  4945. (1528, '滁州经济技术开发区', 138, 255, 3, NULL),
  4946. (1529, '天长市', 138, 255, 3, NULL),
  4947. (1530, '明光市', 138, 255, 3, NULL),
  4948. (1531, '市辖区', 139, 255, 3, NULL),
  4949. (1532, '颍州区', 139, 255, 3, NULL),
  4950. (1533, '颍东区', 139, 255, 3, NULL),
  4951. (1534, '颍泉区', 139, 255, 3, NULL),
  4952. (1535, '临泉县', 139, 255, 3, NULL),
  4953. (1536, '太和县', 139, 255, 3, NULL),
  4954. (1537, '阜南县', 139, 255, 3, NULL),
  4955. (1538, '颍上县', 139, 255, 3, NULL),
  4956. (1539, '阜阳合肥现代产业园区', 139, 255, 3, NULL),
  4957. (1540, '阜阳经济技术开发区', 139, 255, 3, NULL),
  4958. (1541, '界首市', 139, 255, 3, NULL),
  4959. (1542, '市辖区', 140, 255, 3, NULL),
  4960. (1543, '埇桥区', 140, 255, 3, NULL),
  4961. (1544, '砀山县', 140, 255, 3, NULL),
  4962. (1545, '萧县', 140, 255, 3, NULL),
  4963. (1546, '灵璧县', 140, 255, 3, NULL),
  4964. (1547, '泗县', 140, 255, 3, NULL),
  4965. (1548, '宿州马鞍山现代产业园区', 140, 255, 3, NULL),
  4966. (1549, '宿州经济技术开发区', 140, 255, 3, NULL),
  4967. (1550, '市辖区', 141, 255, 3, NULL),
  4968. (1551, '金安区', 141, 255, 3, NULL),
  4969. (1552, '裕安区', 141, 255, 3, NULL),
  4970. (1553, '叶集区', 141, 255, 3, NULL),
  4971. (1554, '霍邱县', 141, 255, 3, NULL),
  4972. (1555, '舒城县', 141, 255, 3, NULL),
  4973. (1556, '金寨县', 141, 255, 3, NULL),
  4974. (1557, '霍山县', 141, 255, 3, NULL),
  4975. (1558, '市辖区', 142, 255, 3, NULL),
  4976. (1559, '谯城区', 142, 255, 3, NULL),
  4977. (1560, '涡阳县', 142, 255, 3, NULL),
  4978. (1561, '蒙城县', 142, 255, 3, NULL),
  4979. (1562, '利辛县', 142, 255, 3, NULL),
  4980. (1563, '市辖区', 143, 255, 3, NULL),
  4981. (1564, '贵池区', 143, 255, 3, NULL),
  4982. (1565, '东至县', 143, 255, 3, NULL),
  4983. (1566, '石台县', 143, 255, 3, NULL),
  4984. (1567, '青阳县', 143, 255, 3, NULL),
  4985. (1568, '市辖区', 144, 255, 3, NULL),
  4986. (1569, '宣州区', 144, 255, 3, NULL),
  4987. (1570, '郎溪县', 144, 255, 3, NULL),
  4988. (1571, '泾县', 144, 255, 3, NULL),
  4989. (1572, '绩溪县', 144, 255, 3, NULL),
  4990. (1573, '旌德县', 144, 255, 3, NULL),
  4991. (1574, '宣城市经济开发区', 144, 255, 3, NULL),
  4992. (1575, '宁国市', 144, 255, 3, NULL),
  4993. (1576, '广德市', 144, 255, 3, NULL),
  4994. (1577, '市辖区', 145, 255, 3, NULL),
  4995. (1578, '鼓楼区', 145, 255, 3, NULL),
  4996. (1579, '台江区', 145, 255, 3, NULL),
  4997. (1580, '仓山区', 145, 255, 3, NULL),
  4998. (1581, '马尾区', 145, 255, 3, NULL),
  4999. (1582, '晋安区', 145, 255, 3, NULL),
  5000. (1583, '长乐区', 145, 255, 3, NULL),
  5001. (1584, '闽侯县', 145, 255, 3, NULL),
  5002. (1585, '连江县', 145, 255, 3, NULL),
  5003. (1586, '罗源县', 145, 255, 3, NULL),
  5004. (1587, '闽清县', 145, 255, 3, NULL),
  5005. (1588, '永泰县', 145, 255, 3, NULL),
  5006. (1589, '平潭县', 145, 255, 3, NULL),
  5007. (1590, '福清市', 145, 255, 3, NULL),
  5008. (1591, '市辖区', 146, 255, 3, NULL),
  5009. (1592, '思明区', 146, 255, 3, NULL),
  5010. (1593, '海沧区', 146, 255, 3, NULL),
  5011. (1594, '湖里区', 146, 255, 3, NULL),
  5012. (1595, '集美区', 146, 255, 3, NULL),
  5013. (1596, '同安区', 146, 255, 3, NULL),
  5014. (1597, '翔安区', 146, 255, 3, NULL),
  5015. (1598, '市辖区', 147, 255, 3, NULL),
  5016. (1599, '城厢区', 147, 255, 3, NULL),
  5017. (1600, '涵江区', 147, 255, 3, NULL),
  5018. (1601, '荔城区', 147, 255, 3, NULL),
  5019. (1602, '秀屿区', 147, 255, 3, NULL),
  5020. (1603, '仙游县', 147, 255, 3, NULL),
  5021. (1604, '市辖区', 148, 255, 3, NULL),
  5022. (1605, '梅列区', 148, 255, 3, NULL),
  5023. (1606, '三元区', 148, 255, 3, NULL),
  5024. (1607, '明溪县', 148, 255, 3, NULL),
  5025. (1608, '清流县', 148, 255, 3, NULL),
  5026. (1609, '宁化县', 148, 255, 3, NULL),
  5027. (1610, '大田县', 148, 255, 3, NULL),
  5028. (1611, '尤溪县', 148, 255, 3, NULL),
  5029. (1612, '沙县', 148, 255, 3, NULL),
  5030. (1613, '将乐县', 148, 255, 3, NULL),
  5031. (1614, '泰宁县', 148, 255, 3, NULL),
  5032. (1615, '建宁县', 148, 255, 3, NULL),
  5033. (1616, '永安市', 148, 255, 3, NULL),
  5034. (1617, '市辖区', 149, 255, 3, NULL),
  5035. (1618, '鲤城区', 149, 255, 3, NULL),
  5036. (1619, '丰泽区', 149, 255, 3, NULL),
  5037. (1620, '洛江区', 149, 255, 3, NULL),
  5038. (1621, '泉港区', 149, 255, 3, NULL),
  5039. (1622, '惠安县', 149, 255, 3, NULL),
  5040. (1623, '安溪县', 149, 255, 3, NULL),
  5041. (1624, '永春县', 149, 255, 3, NULL),
  5042. (1625, '德化县', 149, 255, 3, NULL),
  5043. (1626, '金门县', 149, 255, 3, NULL),
  5044. (1627, '石狮市', 149, 255, 3, NULL),
  5045. (1628, '晋江市', 149, 255, 3, NULL),
  5046. (1629, '南安市', 149, 255, 3, NULL),
  5047. (1630, '市辖区', 150, 255, 3, NULL),
  5048. (1631, '芗城区', 150, 255, 3, NULL),
  5049. (1632, '龙文区', 150, 255, 3, NULL),
  5050. (1633, '云霄县', 150, 255, 3, NULL),
  5051. (1634, '漳浦县', 150, 255, 3, NULL),
  5052. (1635, '诏安县', 150, 255, 3, NULL),
  5053. (1636, '长泰县', 150, 255, 3, NULL),
  5054. (1637, '东山县', 150, 255, 3, NULL),
  5055. (1638, '南靖县', 150, 255, 3, NULL),
  5056. (1639, '平和县', 150, 255, 3, NULL),
  5057. (1640, '华安县', 150, 255, 3, NULL),
  5058. (1641, '龙海市', 150, 255, 3, NULL),
  5059. (1642, '市辖区', 151, 255, 3, NULL),
  5060. (1643, '延平区', 151, 255, 3, NULL),
  5061. (1644, '建阳区', 151, 255, 3, NULL),
  5062. (1645, '顺昌县', 151, 255, 3, NULL),
  5063. (1646, '浦城县', 151, 255, 3, NULL),
  5064. (1647, '光泽县', 151, 255, 3, NULL),
  5065. (1648, '松溪县', 151, 255, 3, NULL),
  5066. (1649, '政和县', 151, 255, 3, NULL),
  5067. (1650, '邵武市', 151, 255, 3, NULL),
  5068. (1651, '武夷山市', 151, 255, 3, NULL),
  5069. (1652, '建瓯市', 151, 255, 3, NULL),
  5070. (1653, '市辖区', 152, 255, 3, NULL),
  5071. (1654, '新罗区', 152, 255, 3, NULL),
  5072. (1655, '永定区', 152, 255, 3, NULL),
  5073. (1656, '长汀县', 152, 255, 3, NULL),
  5074. (1657, '上杭县', 152, 255, 3, NULL),
  5075. (1658, '武平县', 152, 255, 3, NULL),
  5076. (1659, '连城县', 152, 255, 3, NULL),
  5077. (1660, '漳平市', 152, 255, 3, NULL),
  5078. (1661, '市辖区', 153, 255, 3, NULL),
  5079. (1662, '蕉城区', 153, 255, 3, NULL),
  5080. (1663, '霞浦县', 153, 255, 3, NULL),
  5081. (1664, '古田县', 153, 255, 3, NULL),
  5082. (1665, '屏南县', 153, 255, 3, NULL),
  5083. (1666, '寿宁县', 153, 255, 3, NULL),
  5084. (1667, '周宁县', 153, 255, 3, NULL),
  5085. (1668, '柘荣县', 153, 255, 3, NULL),
  5086. (1669, '福安市', 153, 255, 3, NULL),
  5087. (1670, '福鼎市', 153, 255, 3, NULL),
  5088. (1671, '市辖区', 154, 255, 3, NULL),
  5089. (1672, '东湖区', 154, 255, 3, NULL),
  5090. (1673, '西湖区', 154, 255, 3, NULL),
  5091. (1674, '青云谱区', 154, 255, 3, NULL),
  5092. (1675, '青山湖区', 154, 255, 3, NULL),
  5093. (1676, '新建区', 154, 255, 3, NULL),
  5094. (1677, '红谷滩区', 154, 255, 3, NULL),
  5095. (1678, '南昌县', 154, 255, 3, NULL),
  5096. (1679, '安义县', 154, 255, 3, NULL),
  5097. (1680, '进贤县', 154, 255, 3, NULL),
  5098. (1681, '市辖区', 155, 255, 3, NULL),
  5099. (1682, '昌江区', 155, 255, 3, NULL),
  5100. (1683, '珠山区', 155, 255, 3, NULL),
  5101. (1684, '浮梁县', 155, 255, 3, NULL),
  5102. (1685, '乐平市', 155, 255, 3, NULL),
  5103. (1686, '市辖区', 156, 255, 3, NULL),
  5104. (1687, '安源区', 156, 255, 3, NULL),
  5105. (1688, '湘东区', 156, 255, 3, NULL),
  5106. (1689, '莲花县', 156, 255, 3, NULL),
  5107. (1690, '上栗县', 156, 255, 3, NULL),
  5108. (1691, '芦溪县', 156, 255, 3, NULL),
  5109. (1692, '市辖区', 157, 255, 3, NULL),
  5110. (1693, '濂溪区', 157, 255, 3, NULL),
  5111. (1694, '浔阳区', 157, 255, 3, NULL),
  5112. (1695, '柴桑区', 157, 255, 3, NULL),
  5113. (1696, '武宁县', 157, 255, 3, NULL),
  5114. (1697, '修水县', 157, 255, 3, NULL),
  5115. (1698, '永修县', 157, 255, 3, NULL),
  5116. (1699, '德安县', 157, 255, 3, NULL),
  5117. (1700, '都昌县', 157, 255, 3, NULL),
  5118. (1701, '湖口县', 157, 255, 3, NULL),
  5119. (1702, '彭泽县', 157, 255, 3, NULL),
  5120. (1703, '瑞昌市', 157, 255, 3, NULL),
  5121. (1704, '共青城市', 157, 255, 3, NULL),
  5122. (1705, '庐山市', 157, 255, 3, NULL),
  5123. (1706, '市辖区', 158, 255, 3, NULL),
  5124. (1707, '渝水区', 158, 255, 3, NULL),
  5125. (1708, '分宜县', 158, 255, 3, NULL),
  5126. (1709, '市辖区', 159, 255, 3, NULL),
  5127. (1710, '月湖区', 159, 255, 3, NULL),
  5128. (1711, '余江区', 159, 255, 3, NULL),
  5129. (1712, '贵溪市', 159, 255, 3, NULL),
  5130. (1713, '市辖区', 160, 255, 3, NULL),
  5131. (1714, '章贡区', 160, 255, 3, NULL),
  5132. (1715, '南康区', 160, 255, 3, NULL),
  5133. (1716, '赣县区', 160, 255, 3, NULL),
  5134. (1717, '信丰县', 160, 255, 3, NULL),
  5135. (1718, '大余县', 160, 255, 3, NULL),
  5136. (1719, '上犹县', 160, 255, 3, NULL),
  5137. (1720, '崇义县', 160, 255, 3, NULL),
  5138. (1721, '安远县', 160, 255, 3, NULL),
  5139. (1722, '定南县', 160, 255, 3, NULL),
  5140. (1723, '全南县', 160, 255, 3, NULL),
  5141. (1724, '宁都县', 160, 255, 3, NULL),
  5142. (1725, '于都县', 160, 255, 3, NULL),
  5143. (1726, '兴国县', 160, 255, 3, NULL),
  5144. (1727, '会昌县', 160, 255, 3, NULL),
  5145. (1728, '寻乌县', 160, 255, 3, NULL),
  5146. (1729, '石城县', 160, 255, 3, NULL),
  5147. (1730, '瑞金市', 160, 255, 3, NULL),
  5148. (1731, '龙南市', 160, 255, 3, NULL),
  5149. (1732, '市辖区', 161, 255, 3, NULL),
  5150. (1733, '吉州区', 161, 255, 3, NULL),
  5151. (1734, '青原区', 161, 255, 3, NULL),
  5152. (1735, '吉安县', 161, 255, 3, NULL),
  5153. (1736, '吉水县', 161, 255, 3, NULL),
  5154. (1737, '峡江县', 161, 255, 3, NULL),
  5155. (1738, '新干县', 161, 255, 3, NULL),
  5156. (1739, '永丰县', 161, 255, 3, NULL),
  5157. (1740, '泰和县', 161, 255, 3, NULL),
  5158. (1741, '遂川县', 161, 255, 3, NULL),
  5159. (1742, '万安县', 161, 255, 3, NULL),
  5160. (1743, '安福县', 161, 255, 3, NULL),
  5161. (1744, '永新县', 161, 255, 3, NULL),
  5162. (1745, '井冈山市', 161, 255, 3, NULL),
  5163. (1746, '市辖区', 162, 255, 3, NULL),
  5164. (1747, '袁州区', 162, 255, 3, NULL),
  5165. (1748, '奉新县', 162, 255, 3, NULL),
  5166. (1749, '万载县', 162, 255, 3, NULL),
  5167. (1750, '上高县', 162, 255, 3, NULL),
  5168. (1751, '宜丰县', 162, 255, 3, NULL),
  5169. (1752, '靖安县', 162, 255, 3, NULL),
  5170. (1753, '铜鼓县', 162, 255, 3, NULL),
  5171. (1754, '丰城市', 162, 255, 3, NULL),
  5172. (1755, '樟树市', 162, 255, 3, NULL),
  5173. (1756, '高安市', 162, 255, 3, NULL),
  5174. (1757, '市辖区', 163, 255, 3, NULL),
  5175. (1758, '临川区', 163, 255, 3, NULL),
  5176. (1759, '东乡区', 163, 255, 3, NULL),
  5177. (1760, '南城县', 163, 255, 3, NULL),
  5178. (1761, '黎川县', 163, 255, 3, NULL),
  5179. (1762, '南丰县', 163, 255, 3, NULL),
  5180. (1763, '崇仁县', 163, 255, 3, NULL),
  5181. (1764, '乐安县', 163, 255, 3, NULL),
  5182. (1765, '宜黄县', 163, 255, 3, NULL),
  5183. (1766, '金溪县', 163, 255, 3, NULL),
  5184. (1767, '资溪县', 163, 255, 3, NULL),
  5185. (1768, '广昌县', 163, 255, 3, NULL),
  5186. (1769, '市辖区', 164, 255, 3, NULL),
  5187. (1770, '信州区', 164, 255, 3, NULL),
  5188. (1771, '广丰区', 164, 255, 3, NULL),
  5189. (1772, '广信区', 164, 255, 3, NULL),
  5190. (1773, '玉山县', 164, 255, 3, NULL),
  5191. (1774, '铅山县', 164, 255, 3, NULL),
  5192. (1775, '横峰县', 164, 255, 3, NULL),
  5193. (1776, '弋阳县', 164, 255, 3, NULL),
  5194. (1777, '余干县', 164, 255, 3, NULL),
  5195. (1778, '鄱阳县', 164, 255, 3, NULL),
  5196. (1779, '万年县', 164, 255, 3, NULL),
  5197. (1780, '婺源县', 164, 255, 3, NULL),
  5198. (1781, '德兴市', 164, 255, 3, NULL),
  5199. (1782, '市辖区', 165, 255, 3, NULL),
  5200. (1783, '历下区', 165, 255, 3, NULL),
  5201. (1784, '市中区', 165, 255, 3, NULL),
  5202. (1785, '槐荫区', 165, 255, 3, NULL),
  5203. (1786, '天桥区', 165, 255, 3, NULL),
  5204. (1787, '历城区', 165, 255, 3, NULL),
  5205. (1788, '长清区', 165, 255, 3, NULL),
  5206. (1789, '章丘区', 165, 255, 3, NULL),
  5207. (1790, '济阳区', 165, 255, 3, NULL),
  5208. (1791, '莱芜区', 165, 255, 3, NULL),
  5209. (1792, '钢城区', 165, 255, 3, NULL),
  5210. (1793, '平阴县', 165, 255, 3, NULL),
  5211. (1794, '商河县', 165, 255, 3, NULL),
  5212. (1795, '济南高新技术产业开发区', 165, 255, 3, NULL),
  5213. (1796, '市辖区', 166, 255, 3, NULL),
  5214. (1797, '市南区', 166, 255, 3, NULL),
  5215. (1798, '市北区', 166, 255, 3, NULL),
  5216. (1799, '黄岛区', 166, 255, 3, NULL),
  5217. (1800, '崂山区', 166, 255, 3, NULL),
  5218. (1801, '李沧区', 166, 255, 3, NULL),
  5219. (1802, '城阳区', 166, 255, 3, NULL),
  5220. (1803, '即墨区', 166, 255, 3, NULL),
  5221. (1804, '青岛高新技术产业开发区', 166, 255, 3, NULL),
  5222. (1805, '胶州市', 166, 255, 3, NULL),
  5223. (1806, '平度市', 166, 255, 3, NULL),
  5224. (1807, '莱西市', 166, 255, 3, NULL),
  5225. (1808, '市辖区', 167, 255, 3, NULL),
  5226. (1809, '淄川区', 167, 255, 3, NULL),
  5227. (1810, '张店区', 167, 255, 3, NULL),
  5228. (1811, '博山区', 167, 255, 3, NULL),
  5229. (1812, '临淄区', 167, 255, 3, NULL),
  5230. (1813, '周村区', 167, 255, 3, NULL),
  5231. (1814, '桓台县', 167, 255, 3, NULL),
  5232. (1815, '高青县', 167, 255, 3, NULL),
  5233. (1816, '沂源县', 167, 255, 3, NULL),
  5234. (1817, '市辖区', 168, 255, 3, NULL),
  5235. (1818, '市中区', 168, 255, 3, NULL),
  5236. (1819, '薛城区', 168, 255, 3, NULL),
  5237. (1820, '峄城区', 168, 255, 3, NULL),
  5238. (1821, '台儿庄区', 168, 255, 3, NULL),
  5239. (1822, '山亭区', 168, 255, 3, NULL),
  5240. (1823, '滕州市', 168, 255, 3, NULL),
  5241. (1824, '市辖区', 169, 255, 3, NULL),
  5242. (1825, '东营区', 169, 255, 3, NULL),
  5243. (1826, '河口区', 169, 255, 3, NULL),
  5244. (1827, '垦利区', 169, 255, 3, NULL),
  5245. (1828, '利津县', 169, 255, 3, NULL),
  5246. (1829, '广饶县', 169, 255, 3, NULL),
  5247. (1830, '东营经济技术开发区', 169, 255, 3, NULL),
  5248. (1831, '东营港经济开发区', 169, 255, 3, NULL),
  5249. (1832, '市辖区', 170, 255, 3, NULL),
  5250. (1833, '芝罘区', 170, 255, 3, NULL),
  5251. (1834, '福山区', 170, 255, 3, NULL),
  5252. (1835, '牟平区', 170, 255, 3, NULL),
  5253. (1836, '莱山区', 170, 255, 3, NULL),
  5254. (1837, '蓬莱区', 170, 255, 3, NULL),
  5255. (1838, '烟台高新技术产业开发区', 170, 255, 3, NULL),
  5256. (1839, '烟台经济技术开发区', 170, 255, 3, NULL),
  5257. (1840, '龙口市', 170, 255, 3, NULL),
  5258. (1841, '莱阳市', 170, 255, 3, NULL),
  5259. (1842, '莱州市', 170, 255, 3, NULL),
  5260. (1843, '招远市', 170, 255, 3, NULL),
  5261. (1844, '栖霞市', 170, 255, 3, NULL),
  5262. (1845, '海阳市', 170, 255, 3, NULL),
  5263. (1846, '市辖区', 171, 255, 3, NULL),
  5264. (1847, '潍城区', 171, 255, 3, NULL),
  5265. (1848, '寒亭区', 171, 255, 3, NULL),
  5266. (1849, '坊子区', 171, 255, 3, NULL),
  5267. (1850, '奎文区', 171, 255, 3, NULL),
  5268. (1851, '临朐县', 171, 255, 3, NULL),
  5269. (1852, '昌乐县', 171, 255, 3, NULL),
  5270. (1853, '潍坊滨海经济技术开发区', 171, 255, 3, NULL),
  5271. (1854, '青州市', 171, 255, 3, NULL),
  5272. (1855, '诸城市', 171, 255, 3, NULL),
  5273. (1856, '寿光市', 171, 255, 3, NULL),
  5274. (1857, '安丘市', 171, 255, 3, NULL),
  5275. (1858, '高密市', 171, 255, 3, NULL),
  5276. (1859, '昌邑市', 171, 255, 3, NULL),
  5277. (1860, '市辖区', 172, 255, 3, NULL),
  5278. (1861, '任城区', 172, 255, 3, NULL),
  5279. (1862, '兖州区', 172, 255, 3, NULL),
  5280. (1863, '微山县', 172, 255, 3, NULL),
  5281. (1864, '鱼台县', 172, 255, 3, NULL),
  5282. (1865, '金乡县', 172, 255, 3, NULL),
  5283. (1866, '嘉祥县', 172, 255, 3, NULL),
  5284. (1867, '汶上县', 172, 255, 3, NULL),
  5285. (1868, '泗水县', 172, 255, 3, NULL),
  5286. (1869, '梁山县', 172, 255, 3, NULL),
  5287. (1870, '济宁高新技术产业开发区', 172, 255, 3, NULL),
  5288. (1871, '曲阜市', 172, 255, 3, NULL),
  5289. (1872, '邹城市', 172, 255, 3, NULL),
  5290. (1873, '市辖区', 173, 255, 3, NULL),
  5291. (1874, '泰山区', 173, 255, 3, NULL),
  5292. (1875, '岱岳区', 173, 255, 3, NULL),
  5293. (1876, '宁阳县', 173, 255, 3, NULL),
  5294. (1877, '东平县', 173, 255, 3, NULL),
  5295. (1878, '新泰市', 173, 255, 3, NULL),
  5296. (1879, '肥城市', 173, 255, 3, NULL),
  5297. (1880, '市辖区', 174, 255, 3, NULL),
  5298. (1881, '环翠区', 174, 255, 3, NULL),
  5299. (1882, '文登区', 174, 255, 3, NULL),
  5300. (1883, '威海火炬高技术产业开发区', 174, 255, 3, NULL),
  5301. (1884, '威海经济技术开发区', 174, 255, 3, NULL),
  5302. (1885, '威海临港经济技术开发区', 174, 255, 3, NULL),
  5303. (1886, '荣成市', 174, 255, 3, NULL),
  5304. (1887, '乳山市', 174, 255, 3, NULL),
  5305. (1888, '市辖区', 175, 255, 3, NULL),
  5306. (1889, '东港区', 175, 255, 3, NULL),
  5307. (1890, '岚山区', 175, 255, 3, NULL),
  5308. (1891, '五莲县', 175, 255, 3, NULL),
  5309. (1892, '莒县', 175, 255, 3, NULL),
  5310. (1893, '日照经济技术开发区', 175, 255, 3, NULL),
  5311. (1894, '市辖区', 176, 255, 3, NULL),
  5312. (1895, '兰山区', 176, 255, 3, NULL),
  5313. (1896, '罗庄区', 176, 255, 3, NULL),
  5314. (1897, '河东区', 176, 255, 3, NULL),
  5315. (1898, '沂南县', 176, 255, 3, NULL),
  5316. (1899, '郯城县', 176, 255, 3, NULL),
  5317. (1900, '沂水县', 176, 255, 3, NULL),
  5318. (1901, '兰陵县', 176, 255, 3, NULL),
  5319. (1902, '费县', 176, 255, 3, NULL),
  5320. (1903, '平邑县', 176, 255, 3, NULL),
  5321. (1904, '莒南县', 176, 255, 3, NULL),
  5322. (1905, '蒙阴县', 176, 255, 3, NULL),
  5323. (1906, '临沭县', 176, 255, 3, NULL),
  5324. (1907, '临沂高新技术产业开发区', 176, 255, 3, NULL),
  5325. (1908, '市辖区', 177, 255, 3, NULL),
  5326. (1909, '德城区', 177, 255, 3, NULL),
  5327. (1910, '陵城区', 177, 255, 3, NULL),
  5328. (1911, '宁津县', 177, 255, 3, NULL),
  5329. (1912, '庆云县', 177, 255, 3, NULL),
  5330. (1913, '临邑县', 177, 255, 3, NULL),
  5331. (1914, '齐河县', 177, 255, 3, NULL),
  5332. (1915, '平原县', 177, 255, 3, NULL),
  5333. (1916, '夏津县', 177, 255, 3, NULL),
  5334. (1917, '武城县', 177, 255, 3, NULL),
  5335. (1918, '德州经济技术开发区', 177, 255, 3, NULL),
  5336. (1919, '德州运河经济开发区', 177, 255, 3, NULL),
  5337. (1920, '乐陵市', 177, 255, 3, NULL),
  5338. (1921, '禹城市', 177, 255, 3, NULL),
  5339. (1922, '市辖区', 178, 255, 3, NULL),
  5340. (1923, '东昌府区', 178, 255, 3, NULL),
  5341. (1924, '茌平区', 178, 255, 3, NULL),
  5342. (1925, '阳谷县', 178, 255, 3, NULL),
  5343. (1926, '莘县', 178, 255, 3, NULL),
  5344. (1927, '东阿县', 178, 255, 3, NULL),
  5345. (1928, '冠县', 178, 255, 3, NULL),
  5346. (1929, '高唐县', 178, 255, 3, NULL),
  5347. (1930, '临清市', 178, 255, 3, NULL),
  5348. (1931, '市辖区', 179, 255, 3, NULL),
  5349. (1932, '滨城区', 179, 255, 3, NULL),
  5350. (1933, '沾化区', 179, 255, 3, NULL),
  5351. (1934, '惠民县', 179, 255, 3, NULL),
  5352. (1935, '阳信县', 179, 255, 3, NULL),
  5353. (1936, '无棣县', 179, 255, 3, NULL),
  5354. (1937, '博兴县', 179, 255, 3, NULL),
  5355. (1938, '邹平市', 179, 255, 3, NULL),
  5356. (1939, '市辖区', 180, 255, 3, NULL),
  5357. (1940, '牡丹区', 180, 255, 3, NULL),
  5358. (1941, '定陶区', 180, 255, 3, NULL),
  5359. (1942, '曹县', 180, 255, 3, NULL),
  5360. (1943, '单县', 180, 255, 3, NULL),
  5361. (1944, '成武县', 180, 255, 3, NULL),
  5362. (1945, '巨野县', 180, 255, 3, NULL),
  5363. (1946, '郓城县', 180, 255, 3, NULL),
  5364. (1947, '鄄城县', 180, 255, 3, NULL),
  5365. (1948, '东明县', 180, 255, 3, NULL),
  5366. (1949, '菏泽经济技术开发区', 180, 255, 3, NULL),
  5367. (1950, '菏泽高新技术开发区', 180, 255, 3, NULL),
  5368. (1951, '市辖区', 181, 255, 3, NULL),
  5369. (1952, '中原区', 181, 255, 3, NULL),
  5370. (1953, '二七区', 181, 255, 3, NULL),
  5371. (1954, '管城回族区', 181, 255, 3, NULL),
  5372. (1955, '金水区', 181, 255, 3, NULL),
  5373. (1956, '上街区', 181, 255, 3, NULL),
  5374. (1957, '惠济区', 181, 255, 3, NULL),
  5375. (1958, '中牟县', 181, 255, 3, NULL),
  5376. (1959, '郑州经济技术开发区', 181, 255, 3, NULL),
  5377. (1960, '郑州高新技术产业开发区', 181, 255, 3, NULL),
  5378. (1961, '郑州航空港经济综合实验区', 181, 255, 3, NULL),
  5379. (1962, '巩义市', 181, 255, 3, NULL),
  5380. (1963, '荥阳市', 181, 255, 3, NULL),
  5381. (1964, '新密市', 181, 255, 3, NULL),
  5382. (1965, '新郑市', 181, 255, 3, NULL),
  5383. (1966, '登封市', 181, 255, 3, NULL),
  5384. (1967, '市辖区', 182, 255, 3, NULL),
  5385. (1968, '龙亭区', 182, 255, 3, NULL),
  5386. (1969, '顺河回族区', 182, 255, 3, NULL),
  5387. (1970, '鼓楼区', 182, 255, 3, NULL),
  5388. (1971, '禹王台区', 182, 255, 3, NULL),
  5389. (1972, '祥符区', 182, 255, 3, NULL),
  5390. (1973, '杞县', 182, 255, 3, NULL),
  5391. (1974, '通许县', 182, 255, 3, NULL),
  5392. (1975, '尉氏县', 182, 255, 3, NULL),
  5393. (1976, '兰考县', 182, 255, 3, NULL),
  5394. (1977, '市辖区', 183, 255, 3, NULL),
  5395. (1978, '老城区', 183, 255, 3, NULL),
  5396. (1979, '西工区', 183, 255, 3, NULL),
  5397. (1980, '瀍河回族区', 183, 255, 3, NULL),
  5398. (1981, '涧西区', 183, 255, 3, NULL),
  5399. (1982, '吉利区', 183, 255, 3, NULL),
  5400. (1983, '洛龙区', 183, 255, 3, NULL),
  5401. (1984, '孟津县', 183, 255, 3, NULL),
  5402. (1985, '新安县', 183, 255, 3, NULL),
  5403. (1986, '栾川县', 183, 255, 3, NULL),
  5404. (1987, '嵩县', 183, 255, 3, NULL),
  5405. (1988, '汝阳县', 183, 255, 3, NULL),
  5406. (1989, '宜阳县', 183, 255, 3, NULL),
  5407. (1990, '洛宁县', 183, 255, 3, NULL),
  5408. (1991, '伊川县', 183, 255, 3, NULL),
  5409. (1992, '洛阳高新技术产业开发区', 183, 255, 3, NULL),
  5410. (1993, '偃师市', 183, 255, 3, NULL),
  5411. (1994, '市辖区', 184, 255, 3, NULL),
  5412. (1995, '新华区', 184, 255, 3, NULL),
  5413. (1996, '卫东区', 184, 255, 3, NULL),
  5414. (1997, '石龙区', 184, 255, 3, NULL),
  5415. (1998, '湛河区', 184, 255, 3, NULL),
  5416. (1999, '宝丰县', 184, 255, 3, NULL),
  5417. (2000, '叶县', 184, 255, 3, NULL),
  5418. (2001, '鲁山县', 184, 255, 3, NULL),
  5419. (2002, '郏县', 184, 255, 3, NULL),
  5420. (2003, '平顶山高新技术产业开发区', 184, 255, 3, NULL),
  5421. (2004, '平顶山市城乡一体化示范区', 184, 255, 3, NULL),
  5422. (2005, '舞钢市', 184, 255, 3, NULL),
  5423. (2006, '汝州市', 184, 255, 3, NULL),
  5424. (2007, '市辖区', 185, 255, 3, NULL),
  5425. (2008, '文峰区', 185, 255, 3, NULL),
  5426. (2009, '北关区', 185, 255, 3, NULL),
  5427. (2010, '殷都区', 185, 255, 3, NULL),
  5428. (2011, '龙安区', 185, 255, 3, NULL),
  5429. (2012, '安阳县', 185, 255, 3, NULL),
  5430. (2013, '汤阴县', 185, 255, 3, NULL),
  5431. (2014, '滑县', 185, 255, 3, NULL),
  5432. (2015, '内黄县', 185, 255, 3, NULL),
  5433. (2016, '安阳高新技术产业开发区', 185, 255, 3, NULL),
  5434. (2017, '林州市', 185, 255, 3, NULL),
  5435. (2018, '市辖区', 186, 255, 3, NULL),
  5436. (2019, '鹤山区', 186, 255, 3, NULL),
  5437. (2020, '山城区', 186, 255, 3, NULL),
  5438. (2021, '淇滨区', 186, 255, 3, NULL),
  5439. (2022, '浚县', 186, 255, 3, NULL),
  5440. (2023, '淇县', 186, 255, 3, NULL),
  5441. (2024, '鹤壁经济技术开发区', 186, 255, 3, NULL),
  5442. (2025, '市辖区', 187, 255, 3, NULL),
  5443. (2026, '红旗区', 187, 255, 3, NULL),
  5444. (2027, '卫滨区', 187, 255, 3, NULL),
  5445. (2028, '凤泉区', 187, 255, 3, NULL),
  5446. (2029, '牧野区', 187, 255, 3, NULL),
  5447. (2030, '新乡县', 187, 255, 3, NULL),
  5448. (2031, '获嘉县', 187, 255, 3, NULL),
  5449. (2032, '原阳县', 187, 255, 3, NULL),
  5450. (2033, '延津县', 187, 255, 3, NULL),
  5451. (2034, '封丘县', 187, 255, 3, NULL),
  5452. (2035, '新乡高新技术产业开发区', 187, 255, 3, NULL),
  5453. (2036, '新乡经济技术开发区', 187, 255, 3, NULL),
  5454. (2037, '新乡市平原城乡一体化示范区', 187, 255, 3, NULL),
  5455. (2038, '卫辉市', 187, 255, 3, NULL),
  5456. (2039, '辉县市', 187, 255, 3, NULL),
  5457. (2040, '长垣市', 187, 255, 3, NULL),
  5458. (2041, '市辖区', 188, 255, 3, NULL),
  5459. (2042, '解放区', 188, 255, 3, NULL),
  5460. (2043, '中站区', 188, 255, 3, NULL),
  5461. (2044, '马村区', 188, 255, 3, NULL),
  5462. (2045, '山阳区', 188, 255, 3, NULL),
  5463. (2046, '修武县', 188, 255, 3, NULL),
  5464. (2047, '博爱县', 188, 255, 3, NULL),
  5465. (2048, '武陟县', 188, 255, 3, NULL),
  5466. (2049, '温县', 188, 255, 3, NULL),
  5467. (2050, '焦作城乡一体化示范区', 188, 255, 3, NULL),
  5468. (2051, '沁阳市', 188, 255, 3, NULL),
  5469. (2052, '孟州市', 188, 255, 3, NULL),
  5470. (2053, '市辖区', 189, 255, 3, NULL),
  5471. (2054, '华龙区', 189, 255, 3, NULL),
  5472. (2055, '清丰县', 189, 255, 3, NULL),
  5473. (2056, '南乐县', 189, 255, 3, NULL),
  5474. (2057, '范县', 189, 255, 3, NULL),
  5475. (2058, '台前县', 189, 255, 3, NULL),
  5476. (2059, '濮阳县', 189, 255, 3, NULL),
  5477. (2060, '河南濮阳工业园区', 189, 255, 3, NULL),
  5478. (2061, '濮阳经济技术开发区', 189, 255, 3, NULL),
  5479. (2062, '市辖区', 190, 255, 3, NULL),
  5480. (2063, '魏都区', 190, 255, 3, NULL),
  5481. (2064, '建安区', 190, 255, 3, NULL),
  5482. (2065, '鄢陵县', 190, 255, 3, NULL),
  5483. (2066, '襄城县', 190, 255, 3, NULL),
  5484. (2067, '许昌经济技术开发区', 190, 255, 3, NULL),
  5485. (2068, '禹州市', 190, 255, 3, NULL),
  5486. (2069, '长葛市', 190, 255, 3, NULL),
  5487. (2070, '市辖区', 191, 255, 3, NULL),
  5488. (2071, '源汇区', 191, 255, 3, NULL),
  5489. (2072, '郾城区', 191, 255, 3, NULL),
  5490. (2073, '召陵区', 191, 255, 3, NULL),
  5491. (2074, '舞阳县', 191, 255, 3, NULL),
  5492. (2075, '临颍县', 191, 255, 3, NULL),
  5493. (2076, '漯河经济技术开发区', 191, 255, 3, NULL),
  5494. (2077, '市辖区', 192, 255, 3, NULL),
  5495. (2078, '湖滨区', 192, 255, 3, NULL),
  5496. (2079, '陕州区', 192, 255, 3, NULL),
  5497. (2080, '渑池县', 192, 255, 3, NULL),
  5498. (2081, '卢氏县', 192, 255, 3, NULL),
  5499. (2082, '河南三门峡经济开发区', 192, 255, 3, NULL),
  5500. (2083, '义马市', 192, 255, 3, NULL),
  5501. (2084, '灵宝市', 192, 255, 3, NULL),
  5502. (2085, '市辖区', 193, 255, 3, NULL),
  5503. (2086, '宛城区', 193, 255, 3, NULL),
  5504. (2087, '卧龙区', 193, 255, 3, NULL),
  5505. (2088, '南召县', 193, 255, 3, NULL),
  5506. (2089, '方城县', 193, 255, 3, NULL),
  5507. (2090, '西峡县', 193, 255, 3, NULL),
  5508. (2091, '镇平县', 193, 255, 3, NULL),
  5509. (2092, '内乡县', 193, 255, 3, NULL),
  5510. (2093, '淅川县', 193, 255, 3, NULL),
  5511. (2094, '社旗县', 193, 255, 3, NULL),
  5512. (2095, '唐河县', 193, 255, 3, NULL),
  5513. (2096, '新野县', 193, 255, 3, NULL),
  5514. (2097, '桐柏县', 193, 255, 3, NULL),
  5515. (2098, '南阳高新技术产业开发区', 193, 255, 3, NULL),
  5516. (2099, '南阳市城乡一体化示范区', 193, 255, 3, NULL),
  5517. (2100, '邓州市', 193, 255, 3, NULL),
  5518. (2101, '市辖区', 194, 255, 3, NULL),
  5519. (2102, '梁园区', 194, 255, 3, NULL),
  5520. (2103, '睢阳区', 194, 255, 3, NULL),
  5521. (2104, '民权县', 194, 255, 3, NULL),
  5522. (2105, '睢县', 194, 255, 3, NULL),
  5523. (2106, '宁陵县', 194, 255, 3, NULL),
  5524. (2107, '柘城县', 194, 255, 3, NULL),
  5525. (2108, '虞城县', 194, 255, 3, NULL),
  5526. (2109, '夏邑县', 194, 255, 3, NULL),
  5527. (2110, '豫东综合物流产业聚集区', 194, 255, 3, NULL),
  5528. (2111, '河南商丘经济开发区', 194, 255, 3, NULL),
  5529. (2112, '永城市', 194, 255, 3, NULL),
  5530. (2113, '市辖区', 195, 255, 3, NULL),
  5531. (2114, '浉河区', 195, 255, 3, NULL),
  5532. (2115, '平桥区', 195, 255, 3, NULL),
  5533. (2116, '罗山县', 195, 255, 3, NULL),
  5534. (2117, '光山县', 195, 255, 3, NULL),
  5535. (2118, '新县', 195, 255, 3, NULL),
  5536. (2119, '商城县', 195, 255, 3, NULL),
  5537. (2120, '固始县', 195, 255, 3, NULL),
  5538. (2121, '潢川县', 195, 255, 3, NULL),
  5539. (2122, '淮滨县', 195, 255, 3, NULL),
  5540. (2123, '息县', 195, 255, 3, NULL),
  5541. (2124, '信阳高新技术产业开发区', 195, 255, 3, NULL),
  5542. (2125, '市辖区', 196, 255, 3, NULL),
  5543. (2126, '川汇区', 196, 255, 3, NULL),
  5544. (2127, '淮阳区', 196, 255, 3, NULL),
  5545. (2128, '扶沟县', 196, 255, 3, NULL),
  5546. (2129, '西华县', 196, 255, 3, NULL),
  5547. (2130, '商水县', 196, 255, 3, NULL),
  5548. (2131, '沈丘县', 196, 255, 3, NULL),
  5549. (2132, '郸城县', 196, 255, 3, NULL),
  5550. (2133, '太康县', 196, 255, 3, NULL),
  5551. (2134, '鹿邑县', 196, 255, 3, NULL),
  5552. (2135, '河南周口经济开发区', 196, 255, 3, NULL),
  5553. (2136, '项城市', 196, 255, 3, NULL),
  5554. (2137, '市辖区', 197, 255, 3, NULL),
  5555. (2138, '驿城区', 197, 255, 3, NULL),
  5556. (2139, '西平县', 197, 255, 3, NULL),
  5557. (2140, '上蔡县', 197, 255, 3, NULL),
  5558. (2141, '平舆县', 197, 255, 3, NULL),
  5559. (2142, '正阳县', 197, 255, 3, NULL),
  5560. (2143, '确山县', 197, 255, 3, NULL),
  5561. (2144, '泌阳县', 197, 255, 3, NULL),
  5562. (2145, '汝南县', 197, 255, 3, NULL),
  5563. (2146, '遂平县', 197, 255, 3, NULL),
  5564. (2147, '新蔡县', 197, 255, 3, NULL),
  5565. (2148, '河南驻马店经济开发区', 197, 255, 3, NULL),
  5566. (2149, '济源市', 198, 255, 3, NULL),
  5567. (2150, '市辖区', 199, 255, 3, NULL),
  5568. (2151, '江岸区', 199, 255, 3, NULL),
  5569. (2152, '江汉区', 199, 255, 3, NULL),
  5570. (2153, '硚口区', 199, 255, 3, NULL),
  5571. (2154, '汉阳区', 199, 255, 3, NULL),
  5572. (2155, '武昌区', 199, 255, 3, NULL),
  5573. (2156, '青山区', 199, 255, 3, NULL),
  5574. (2157, '洪山区', 199, 255, 3, NULL),
  5575. (2158, '东西湖区', 199, 255, 3, NULL),
  5576. (2159, '汉南区', 199, 255, 3, NULL),
  5577. (2160, '蔡甸区', 199, 255, 3, NULL),
  5578. (2161, '江夏区', 199, 255, 3, NULL),
  5579. (2162, '黄陂区', 199, 255, 3, NULL),
  5580. (2163, '新洲区', 199, 255, 3, NULL),
  5581. (2164, '市辖区', 200, 255, 3, NULL),
  5582. (2165, '黄石港区', 200, 255, 3, NULL),
  5583. (2166, '西塞山区', 200, 255, 3, NULL),
  5584. (2167, '下陆区', 200, 255, 3, NULL),
  5585. (2168, '铁山区', 200, 255, 3, NULL),
  5586. (2169, '阳新县', 200, 255, 3, NULL),
  5587. (2170, '大冶市', 200, 255, 3, NULL),
  5588. (2171, '市辖区', 201, 255, 3, NULL),
  5589. (2172, '茅箭区', 201, 255, 3, NULL),
  5590. (2173, '张湾区', 201, 255, 3, NULL),
  5591. (2174, '郧阳区', 201, 255, 3, NULL),
  5592. (2175, '郧西县', 201, 255, 3, NULL),
  5593. (2176, '竹山县', 201, 255, 3, NULL),
  5594. (2177, '竹溪县', 201, 255, 3, NULL),
  5595. (2178, '房县', 201, 255, 3, NULL),
  5596. (2179, '丹江口市', 201, 255, 3, NULL),
  5597. (2180, '市辖区', 202, 255, 3, NULL),
  5598. (2181, '西陵区', 202, 255, 3, NULL),
  5599. (2182, '伍家岗区', 202, 255, 3, NULL),
  5600. (2183, '点军区', 202, 255, 3, NULL),
  5601. (2184, '猇亭区', 202, 255, 3, NULL),
  5602. (2185, '夷陵区', 202, 255, 3, NULL),
  5603. (2186, '远安县', 202, 255, 3, NULL),
  5604. (2187, '兴山县', 202, 255, 3, NULL),
  5605. (2188, '秭归县', 202, 255, 3, NULL),
  5606. (2189, '长阳土家族自治县', 202, 255, 3, NULL),
  5607. (2190, '五峰土家族自治县', 202, 255, 3, NULL),
  5608. (2191, '宜都市', 202, 255, 3, NULL),
  5609. (2192, '当阳市', 202, 255, 3, NULL),
  5610. (2193, '枝江市', 202, 255, 3, NULL),
  5611. (2194, '市辖区', 203, 255, 3, NULL),
  5612. (2195, '襄城区', 203, 255, 3, NULL),
  5613. (2196, '樊城区', 203, 255, 3, NULL),
  5614. (2197, '襄州区', 203, 255, 3, NULL),
  5615. (2198, '南漳县', 203, 255, 3, NULL),
  5616. (2199, '谷城县', 203, 255, 3, NULL),
  5617. (2200, '保康县', 203, 255, 3, NULL),
  5618. (2201, '老河口市', 203, 255, 3, NULL),
  5619. (2202, '枣阳市', 203, 255, 3, NULL),
  5620. (2203, '宜城市', 203, 255, 3, NULL),
  5621. (2204, '市辖区', 204, 255, 3, NULL),
  5622. (2205, '梁子湖区', 204, 255, 3, NULL),
  5623. (2206, '华容区', 204, 255, 3, NULL),
  5624. (2207, '鄂城区', 204, 255, 3, NULL),
  5625. (2208, '市辖区', 205, 255, 3, NULL),
  5626. (2209, '东宝区', 205, 255, 3, NULL),
  5627. (2210, '掇刀区', 205, 255, 3, NULL),
  5628. (2211, '沙洋县', 205, 255, 3, NULL),
  5629. (2212, '钟祥市', 205, 255, 3, NULL),
  5630. (2213, '京山市', 205, 255, 3, NULL),
  5631. (2214, '市辖区', 206, 255, 3, NULL),
  5632. (2215, '孝南区', 206, 255, 3, NULL),
  5633. (2216, '孝昌县', 206, 255, 3, NULL),
  5634. (2217, '大悟县', 206, 255, 3, NULL),
  5635. (2218, '云梦县', 206, 255, 3, NULL),
  5636. (2219, '应城市', 206, 255, 3, NULL),
  5637. (2220, '安陆市', 206, 255, 3, NULL),
  5638. (2221, '汉川市', 206, 255, 3, NULL),
  5639. (2222, '市辖区', 207, 255, 3, NULL),
  5640. (2223, '沙市区', 207, 255, 3, NULL),
  5641. (2224, '荆州区', 207, 255, 3, NULL),
  5642. (2225, '公安县', 207, 255, 3, NULL),
  5643. (2226, '监利县', 207, 255, 3, NULL),
  5644. (2227, '江陵县', 207, 255, 3, NULL),
  5645. (2228, '荆州经济技术开发区', 207, 255, 3, NULL),
  5646. (2229, '石首市', 207, 255, 3, NULL),
  5647. (2230, '洪湖市', 207, 255, 3, NULL),
  5648. (2231, '松滋市', 207, 255, 3, NULL),
  5649. (2232, '市辖区', 208, 255, 3, NULL),
  5650. (2233, '黄州区', 208, 255, 3, NULL),
  5651. (2234, '团风县', 208, 255, 3, NULL),
  5652. (2235, '红安县', 208, 255, 3, NULL),
  5653. (2236, '罗田县', 208, 255, 3, NULL),
  5654. (2237, '英山县', 208, 255, 3, NULL),
  5655. (2238, '浠水县', 208, 255, 3, NULL),
  5656. (2239, '蕲春县', 208, 255, 3, NULL),
  5657. (2240, '黄梅县', 208, 255, 3, NULL),
  5658. (2241, '龙感湖管理区', 208, 255, 3, NULL),
  5659. (2242, '麻城市', 208, 255, 3, NULL),
  5660. (2243, '武穴市', 208, 255, 3, NULL),
  5661. (2244, '市辖区', 209, 255, 3, NULL),
  5662. (2245, '咸安区', 209, 255, 3, NULL),
  5663. (2246, '嘉鱼县', 209, 255, 3, NULL),
  5664. (2247, '通城县', 209, 255, 3, NULL),
  5665. (2248, '崇阳县', 209, 255, 3, NULL),
  5666. (2249, '通山县', 209, 255, 3, NULL),
  5667. (2250, '赤壁市', 209, 255, 3, NULL),
  5668. (2251, '市辖区', 210, 255, 3, NULL),
  5669. (2252, '曾都区', 210, 255, 3, NULL),
  5670. (2253, '随县', 210, 255, 3, NULL),
  5671. (2254, '广水市', 210, 255, 3, NULL),
  5672. (2255, '恩施市', 211, 255, 3, NULL),
  5673. (2256, '利川市', 211, 255, 3, NULL),
  5674. (2257, '建始县', 211, 255, 3, NULL),
  5675. (2258, '巴东县', 211, 255, 3, NULL),
  5676. (2259, '宣恩县', 211, 255, 3, NULL),
  5677. (2260, '咸丰县', 211, 255, 3, NULL),
  5678. (2261, '来凤县', 211, 255, 3, NULL),
  5679. (2262, '鹤峰县', 211, 255, 3, NULL),
  5680. (2263, '仙桃市', 212, 255, 3, NULL),
  5681. (2264, '潜江市', 212, 255, 3, NULL),
  5682. (2265, '天门市', 212, 255, 3, NULL),
  5683. (2266, '神农架林区', 212, 255, 3, NULL),
  5684. (2267, '市辖区', 213, 255, 3, NULL),
  5685. (2268, '芙蓉区', 213, 255, 3, NULL),
  5686. (2269, '天心区', 213, 255, 3, NULL),
  5687. (2270, '岳麓区', 213, 255, 3, NULL),
  5688. (2271, '开福区', 213, 255, 3, NULL),
  5689. (2272, '雨花区', 213, 255, 3, NULL),
  5690. (2273, '望城区', 213, 255, 3, NULL),
  5691. (2274, '长沙县', 213, 255, 3, NULL),
  5692. (2275, '浏阳市', 213, 255, 3, NULL),
  5693. (2276, '宁乡市', 213, 255, 3, NULL),
  5694. (2277, '市辖区', 214, 255, 3, NULL),
  5695. (2278, '荷塘区', 214, 255, 3, NULL),
  5696. (2279, '芦淞区', 214, 255, 3, NULL),
  5697. (2280, '石峰区', 214, 255, 3, NULL),
  5698. (2281, '天元区', 214, 255, 3, NULL),
  5699. (2282, '渌口区', 214, 255, 3, NULL),
  5700. (2283, '攸县', 214, 255, 3, NULL),
  5701. (2284, '茶陵县', 214, 255, 3, NULL),
  5702. (2285, '炎陵县', 214, 255, 3, NULL),
  5703. (2286, '云龙示范区', 214, 255, 3, NULL),
  5704. (2287, '醴陵市', 214, 255, 3, NULL),
  5705. (2288, '市辖区', 215, 255, 3, NULL),
  5706. (2289, '雨湖区', 215, 255, 3, NULL),
  5707. (2290, '岳塘区', 215, 255, 3, NULL),
  5708. (2291, '湘潭县', 215, 255, 3, NULL),
  5709. (2292, '湖南湘潭高新技术产业园区', 215, 255, 3, NULL),
  5710. (2293, '湘潭昭山示范区', 215, 255, 3, NULL),
  5711. (2294, '湘潭九华示范区', 215, 255, 3, NULL),
  5712. (2295, '湘乡市', 215, 255, 3, NULL),
  5713. (2296, '韶山市', 215, 255, 3, NULL),
  5714. (2297, '市辖区', 216, 255, 3, NULL),
  5715. (2298, '珠晖区', 216, 255, 3, NULL),
  5716. (2299, '雁峰区', 216, 255, 3, NULL),
  5717. (2300, '石鼓区', 216, 255, 3, NULL),
  5718. (2301, '蒸湘区', 216, 255, 3, NULL),
  5719. (2302, '南岳区', 216, 255, 3, NULL),
  5720. (2303, '衡阳县', 216, 255, 3, NULL),
  5721. (2304, '衡南县', 216, 255, 3, NULL),
  5722. (2305, '衡山县', 216, 255, 3, NULL),
  5723. (2306, '衡东县', 216, 255, 3, NULL),
  5724. (2307, '祁东县', 216, 255, 3, NULL),
  5725. (2308, '衡阳综合保税区', 216, 255, 3, NULL),
  5726. (2309, '湖南衡阳高新技术产业园区', 216, 255, 3, NULL),
  5727. (2310, '湖南衡阳松木经济开发区', 216, 255, 3, NULL),
  5728. (2311, '耒阳市', 216, 255, 3, NULL),
  5729. (2312, '常宁市', 216, 255, 3, NULL),
  5730. (2313, '市辖区', 217, 255, 3, NULL),
  5731. (2314, '双清区', 217, 255, 3, NULL),
  5732. (2315, '大祥区', 217, 255, 3, NULL),
  5733. (2316, '北塔区', 217, 255, 3, NULL),
  5734. (2317, '新邵县', 217, 255, 3, NULL),
  5735. (2318, '邵阳县', 217, 255, 3, NULL),
  5736. (2319, '隆回县', 217, 255, 3, NULL),
  5737. (2320, '洞口县', 217, 255, 3, NULL),
  5738. (2321, '绥宁县', 217, 255, 3, NULL),
  5739. (2322, '新宁县', 217, 255, 3, NULL),
  5740. (2323, '城步苗族自治县', 217, 255, 3, NULL),
  5741. (2324, '武冈市', 217, 255, 3, NULL),
  5742. (2325, '邵东市', 217, 255, 3, NULL),
  5743. (2326, '市辖区', 218, 255, 3, NULL),
  5744. (2327, '岳阳楼区', 218, 255, 3, NULL),
  5745. (2328, '云溪区', 218, 255, 3, NULL),
  5746. (2329, '君山区', 218, 255, 3, NULL),
  5747. (2330, '岳阳县', 218, 255, 3, NULL),
  5748. (2331, '华容县', 218, 255, 3, NULL),
  5749. (2332, '湘阴县', 218, 255, 3, NULL),
  5750. (2333, '平江县', 218, 255, 3, NULL),
  5751. (2334, '岳阳市屈原管理区', 218, 255, 3, NULL),
  5752. (2335, '汨罗市', 218, 255, 3, NULL),
  5753. (2336, '临湘市', 218, 255, 3, NULL),
  5754. (2337, '市辖区', 219, 255, 3, NULL),
  5755. (2338, '武陵区', 219, 255, 3, NULL),
  5756. (2339, '鼎城区', 219, 255, 3, NULL),
  5757. (2340, '安乡县', 219, 255, 3, NULL),
  5758. (2341, '汉寿县', 219, 255, 3, NULL),
  5759. (2342, '澧县', 219, 255, 3, NULL),
  5760. (2343, '临澧县', 219, 255, 3, NULL),
  5761. (2344, '桃源县', 219, 255, 3, NULL),
  5762. (2345, '石门县', 219, 255, 3, NULL),
  5763. (2346, '常德市西洞庭管理区', 219, 255, 3, NULL),
  5764. (2347, '津市市', 219, 255, 3, NULL),
  5765. (2348, '市辖区', 220, 255, 3, NULL),
  5766. (2349, '永定区', 220, 255, 3, NULL),
  5767. (2350, '武陵源区', 220, 255, 3, NULL),
  5768. (2351, '慈利县', 220, 255, 3, NULL),
  5769. (2352, '桑植县', 220, 255, 3, NULL),
  5770. (2353, '市辖区', 221, 255, 3, NULL),
  5771. (2354, '资阳区', 221, 255, 3, NULL),
  5772. (2355, '赫山区', 221, 255, 3, NULL),
  5773. (2356, '南县', 221, 255, 3, NULL),
  5774. (2357, '桃江县', 221, 255, 3, NULL),
  5775. (2358, '安化县', 221, 255, 3, NULL),
  5776. (2359, '益阳市大通湖管理区', 221, 255, 3, NULL),
  5777. (2360, '湖南益阳高新技术产业园区', 221, 255, 3, NULL),
  5778. (2361, '沅江市', 221, 255, 3, NULL),
  5779. (2362, '市辖区', 222, 255, 3, NULL),
  5780. (2363, '北湖区', 222, 255, 3, NULL),
  5781. (2364, '苏仙区', 222, 255, 3, NULL),
  5782. (2365, '桂阳县', 222, 255, 3, NULL),
  5783. (2366, '宜章县', 222, 255, 3, NULL),
  5784. (2367, '永兴县', 222, 255, 3, NULL),
  5785. (2368, '嘉禾县', 222, 255, 3, NULL),
  5786. (2369, '临武县', 222, 255, 3, NULL),
  5787. (2370, '汝城县', 222, 255, 3, NULL),
  5788. (2371, '桂东县', 222, 255, 3, NULL),
  5789. (2372, '安仁县', 222, 255, 3, NULL),
  5790. (2373, '资兴市', 222, 255, 3, NULL),
  5791. (2374, '市辖区', 223, 255, 3, NULL),
  5792. (2375, '零陵区', 223, 255, 3, NULL),
  5793. (2376, '冷水滩区', 223, 255, 3, NULL),
  5794. (2377, '祁阳县', 223, 255, 3, NULL),
  5795. (2378, '东安县', 223, 255, 3, NULL),
  5796. (2379, '双牌县', 223, 255, 3, NULL),
  5797. (2380, '道县', 223, 255, 3, NULL),
  5798. (2381, '江永县', 223, 255, 3, NULL),
  5799. (2382, '宁远县', 223, 255, 3, NULL),
  5800. (2383, '蓝山县', 223, 255, 3, NULL),
  5801. (2384, '新田县', 223, 255, 3, NULL),
  5802. (2385, '江华瑶族自治县', 223, 255, 3, NULL),
  5803. (2386, '永州经济技术开发区', 223, 255, 3, NULL),
  5804. (2387, '永州市金洞管理区', 223, 255, 3, NULL),
  5805. (2388, '永州市回龙圩管理区', 223, 255, 3, NULL),
  5806. (2389, '市辖区', 224, 255, 3, NULL),
  5807. (2390, '鹤城区', 224, 255, 3, NULL),
  5808. (2391, '中方县', 224, 255, 3, NULL),
  5809. (2392, '沅陵县', 224, 255, 3, NULL),
  5810. (2393, '辰溪县', 224, 255, 3, NULL),
  5811. (2394, '溆浦县', 224, 255, 3, NULL),
  5812. (2395, '会同县', 224, 255, 3, NULL),
  5813. (2396, '麻阳苗族自治县', 224, 255, 3, NULL),
  5814. (2397, '新晃侗族自治县', 224, 255, 3, NULL),
  5815. (2398, '芷江侗族自治县', 224, 255, 3, NULL),
  5816. (2399, '靖州苗族侗族自治县', 224, 255, 3, NULL),
  5817. (2400, '通道侗族自治县', 224, 255, 3, NULL),
  5818. (2401, '怀化市洪江管理区', 224, 255, 3, NULL),
  5819. (2402, '洪江市', 224, 255, 3, NULL),
  5820. (2403, '市辖区', 225, 255, 3, NULL),
  5821. (2404, '娄星区', 225, 255, 3, NULL),
  5822. (2405, '双峰县', 225, 255, 3, NULL),
  5823. (2406, '新化县', 225, 255, 3, NULL),
  5824. (2407, '冷水江市', 225, 255, 3, NULL),
  5825. (2408, '涟源市', 225, 255, 3, NULL),
  5826. (2409, '吉首市', 226, 255, 3, NULL),
  5827. (2410, '泸溪县', 226, 255, 3, NULL),
  5828. (2411, '凤凰县', 226, 255, 3, NULL),
  5829. (2412, '花垣县', 226, 255, 3, NULL),
  5830. (2413, '保靖县', 226, 255, 3, NULL),
  5831. (2414, '古丈县', 226, 255, 3, NULL),
  5832. (2415, '永顺县', 226, 255, 3, NULL),
  5833. (2416, '龙山县', 226, 255, 3, NULL),
  5834. (2417, '市辖区', 227, 255, 3, NULL),
  5835. (2418, '荔湾区', 227, 255, 3, NULL),
  5836. (2419, '越秀区', 227, 255, 3, NULL),
  5837. (2420, '海珠区', 227, 255, 3, NULL),
  5838. (2421, '天河区', 227, 255, 3, NULL),
  5839. (2422, '白云区', 227, 255, 3, NULL),
  5840. (2423, '黄埔区', 227, 255, 3, NULL),
  5841. (2424, '番禺区', 227, 255, 3, NULL),
  5842. (2425, '花都区', 227, 255, 3, NULL),
  5843. (2426, '南沙区', 227, 255, 3, NULL),
  5844. (2427, '从化区', 227, 255, 3, NULL),
  5845. (2428, '增城区', 227, 255, 3, NULL),
  5846. (2429, '市辖区', 228, 255, 3, NULL),
  5847. (2430, '武江区', 228, 255, 3, NULL),
  5848. (2431, '浈江区', 228, 255, 3, NULL),
  5849. (2432, '曲江区', 228, 255, 3, NULL),
  5850. (2433, '始兴县', 228, 255, 3, NULL),
  5851. (2434, '仁化县', 228, 255, 3, NULL),
  5852. (2435, '翁源县', 228, 255, 3, NULL),
  5853. (2436, '乳源瑶族自治县', 228, 255, 3, NULL),
  5854. (2437, '新丰县', 228, 255, 3, NULL),
  5855. (2438, '乐昌市', 228, 255, 3, NULL),
  5856. (2439, '南雄市', 228, 255, 3, NULL),
  5857. (2440, '市辖区', 229, 255, 3, NULL),
  5858. (2441, '罗湖区', 229, 255, 3, NULL),
  5859. (2442, '福田区', 229, 255, 3, NULL),
  5860. (2443, '南山区', 229, 255, 3, NULL),
  5861. (2444, '宝安区', 229, 255, 3, NULL),
  5862. (2445, '龙岗区', 229, 255, 3, NULL),
  5863. (2446, '盐田区', 229, 255, 3, NULL),
  5864. (2447, '龙华区', 229, 255, 3, NULL),
  5865. (2448, '坪山区', 229, 255, 3, NULL),
  5866. (2449, '光明区', 229, 255, 3, NULL),
  5867. (2450, '市辖区', 230, 255, 3, NULL),
  5868. (2451, '香洲区', 230, 255, 3, NULL),
  5869. (2452, '斗门区', 230, 255, 3, NULL),
  5870. (2453, '金湾区', 230, 255, 3, NULL),
  5871. (2454, '市辖区', 231, 255, 3, NULL),
  5872. (2455, '龙湖区', 231, 255, 3, NULL),
  5873. (2456, '金平区', 231, 255, 3, NULL),
  5874. (2457, '濠江区', 231, 255, 3, NULL),
  5875. (2458, '潮阳区', 231, 255, 3, NULL),
  5876. (2459, '潮南区', 231, 255, 3, NULL),
  5877. (2460, '澄海区', 231, 255, 3, NULL),
  5878. (2461, '南澳县', 231, 255, 3, NULL),
  5879. (2462, '市辖区', 232, 255, 3, NULL),
  5880. (2463, '禅城区', 232, 255, 3, NULL),
  5881. (2464, '南海区', 232, 255, 3, NULL),
  5882. (2465, '顺德区', 232, 255, 3, NULL),
  5883. (2466, '三水区', 232, 255, 3, NULL),
  5884. (2467, '高明区', 232, 255, 3, NULL),
  5885. (2468, '市辖区', 233, 255, 3, NULL),
  5886. (2469, '蓬江区', 233, 255, 3, NULL),
  5887. (2470, '江海区', 233, 255, 3, NULL),
  5888. (2471, '新会区', 233, 255, 3, NULL),
  5889. (2472, '台山市', 233, 255, 3, NULL),
  5890. (2473, '开平市', 233, 255, 3, NULL),
  5891. (2474, '鹤山市', 233, 255, 3, NULL),
  5892. (2475, '恩平市', 233, 255, 3, NULL),
  5893. (2476, '市辖区', 234, 255, 3, NULL),
  5894. (2477, '赤坎区', 234, 255, 3, NULL),
  5895. (2478, '霞山区', 234, 255, 3, NULL),
  5896. (2479, '坡头区', 234, 255, 3, NULL),
  5897. (2480, '麻章区', 234, 255, 3, NULL),
  5898. (2481, '遂溪县', 234, 255, 3, NULL),
  5899. (2482, '徐闻县', 234, 255, 3, NULL),
  5900. (2483, '廉江市', 234, 255, 3, NULL),
  5901. (2484, '雷州市', 234, 255, 3, NULL),
  5902. (2485, '吴川市', 234, 255, 3, NULL),
  5903. (2486, '市辖区', 235, 255, 3, NULL),
  5904. (2487, '茂南区', 235, 255, 3, NULL),
  5905. (2488, '电白区', 235, 255, 3, NULL),
  5906. (2489, '高州市', 235, 255, 3, NULL),
  5907. (2490, '化州市', 235, 255, 3, NULL),
  5908. (2491, '信宜市', 235, 255, 3, NULL),
  5909. (2492, '市辖区', 236, 255, 3, NULL),
  5910. (2493, '端州区', 236, 255, 3, NULL),
  5911. (2494, '鼎湖区', 236, 255, 3, NULL),
  5912. (2495, '高要区', 236, 255, 3, NULL),
  5913. (2496, '广宁县', 236, 255, 3, NULL),
  5914. (2497, '怀集县', 236, 255, 3, NULL),
  5915. (2498, '封开县', 236, 255, 3, NULL),
  5916. (2499, '德庆县', 236, 255, 3, NULL),
  5917. (2500, '四会市', 236, 255, 3, NULL),
  5918. (2501, '市辖区', 237, 255, 3, NULL),
  5919. (2502, '惠城区', 237, 255, 3, NULL),
  5920. (2503, '惠阳区', 237, 255, 3, NULL),
  5921. (2504, '博罗县', 237, 255, 3, NULL),
  5922. (2505, '惠东县', 237, 255, 3, NULL),
  5923. (2506, '龙门县', 237, 255, 3, NULL),
  5924. (2507, '市辖区', 238, 255, 3, NULL),
  5925. (2508, '梅江区', 238, 255, 3, NULL),
  5926. (2509, '梅县区', 238, 255, 3, NULL),
  5927. (2510, '大埔县', 238, 255, 3, NULL),
  5928. (2511, '丰顺县', 238, 255, 3, NULL),
  5929. (2512, '五华县', 238, 255, 3, NULL),
  5930. (2513, '平远县', 238, 255, 3, NULL),
  5931. (2514, '蕉岭县', 238, 255, 3, NULL),
  5932. (2515, '兴宁市', 238, 255, 3, NULL),
  5933. (2516, '市辖区', 239, 255, 3, NULL),
  5934. (2517, '城区', 239, 255, 3, NULL),
  5935. (2518, '海丰县', 239, 255, 3, NULL),
  5936. (2519, '陆河县', 239, 255, 3, NULL),
  5937. (2520, '陆丰市', 239, 255, 3, NULL),
  5938. (2521, '市辖区', 240, 255, 3, NULL),
  5939. (2522, '源城区', 240, 255, 3, NULL),
  5940. (2523, '紫金县', 240, 255, 3, NULL),
  5941. (2524, '龙川县', 240, 255, 3, NULL),
  5942. (2525, '连平县', 240, 255, 3, NULL),
  5943. (2526, '和平县', 240, 255, 3, NULL),
  5944. (2527, '东源县', 240, 255, 3, NULL),
  5945. (2528, '市辖区', 241, 255, 3, NULL),
  5946. (2529, '江城区', 241, 255, 3, NULL),
  5947. (2530, '阳东区', 241, 255, 3, NULL),
  5948. (2531, '阳西县', 241, 255, 3, NULL),
  5949. (2532, '阳春市', 241, 255, 3, NULL),
  5950. (2533, '市辖区', 242, 255, 3, NULL),
  5951. (2534, '清城区', 242, 255, 3, NULL),
  5952. (2535, '清新区', 242, 255, 3, NULL),
  5953. (2536, '佛冈县', 242, 255, 3, NULL),
  5954. (2537, '阳山县', 242, 255, 3, NULL),
  5955. (2538, '连山壮族瑶族自治县', 242, 255, 3, NULL),
  5956. (2539, '连南瑶族自治县', 242, 255, 3, NULL),
  5957. (2540, '英德市', 242, 255, 3, NULL),
  5958. (2541, '连州市', 242, 255, 3, NULL),
  5959. (2542, '市辖区', 245, 255, 3, NULL),
  5960. (2543, '湘桥区', 245, 255, 3, NULL),
  5961. (2544, '潮安区', 245, 255, 3, NULL),
  5962. (2545, '饶平县', 245, 255, 3, NULL),
  5963. (2546, '市辖区', 246, 255, 3, NULL),
  5964. (2547, '榕城区', 246, 255, 3, NULL),
  5965. (2548, '揭东区', 246, 255, 3, NULL),
  5966. (2549, '揭西县', 246, 255, 3, NULL),
  5967. (2550, '惠来县', 246, 255, 3, NULL),
  5968. (2551, '普宁市', 246, 255, 3, NULL),
  5969. (2552, '市辖区', 247, 255, 3, NULL),
  5970. (2553, '云城区', 247, 255, 3, NULL),
  5971. (2554, '云安区', 247, 255, 3, NULL),
  5972. (2555, '新兴县', 247, 255, 3, NULL),
  5973. (2556, '郁南县', 247, 255, 3, NULL),
  5974. (2557, '罗定市', 247, 255, 3, NULL),
  5975. (2558, '市辖区', 248, 255, 3, NULL),
  5976. (2559, '兴宁区', 248, 255, 3, NULL),
  5977. (2560, '青秀区', 248, 255, 3, NULL),
  5978. (2561, '江南区', 248, 255, 3, NULL),
  5979. (2562, '西乡塘区', 248, 255, 3, NULL),
  5980. (2563, '良庆区', 248, 255, 3, NULL),
  5981. (2564, '邕宁区', 248, 255, 3, NULL),
  5982. (2565, '武鸣区', 248, 255, 3, NULL),
  5983. (2566, '隆安县', 248, 255, 3, NULL),
  5984. (2567, '马山县', 248, 255, 3, NULL),
  5985. (2568, '上林县', 248, 255, 3, NULL),
  5986. (2569, '宾阳县', 248, 255, 3, NULL),
  5987. (2570, '横县', 248, 255, 3, NULL),
  5988. (2571, '市辖区', 249, 255, 3, NULL),
  5989. (2572, '城中区', 249, 255, 3, NULL),
  5990. (2573, '鱼峰区', 249, 255, 3, NULL);
  5991. INSERT INTO `#__area` (`area_id`, `area_name`, `area_parent_id`, `area_sort`, `area_deep`, `area_region`) VALUES
  5992. (2574, '柳南区', 249, 255, 3, NULL),
  5993. (2575, '柳北区', 249, 255, 3, NULL),
  5994. (2576, '柳江区', 249, 255, 3, NULL),
  5995. (2577, '柳城县', 249, 255, 3, NULL),
  5996. (2578, '鹿寨县', 249, 255, 3, NULL),
  5997. (2579, '融安县', 249, 255, 3, NULL),
  5998. (2580, '融水苗族自治县', 249, 255, 3, NULL),
  5999. (2581, '三江侗族自治县', 249, 255, 3, NULL),
  6000. (2582, '市辖区', 250, 255, 3, NULL),
  6001. (2583, '秀峰区', 250, 255, 3, NULL),
  6002. (2584, '叠彩区', 250, 255, 3, NULL),
  6003. (2585, '象山区', 250, 255, 3, NULL),
  6004. (2586, '七星区', 250, 255, 3, NULL),
  6005. (2587, '雁山区', 250, 255, 3, NULL),
  6006. (2588, '临桂区', 250, 255, 3, NULL),
  6007. (2589, '阳朔县', 250, 255, 3, NULL),
  6008. (2590, '灵川县', 250, 255, 3, NULL),
  6009. (2591, '全州县', 250, 255, 3, NULL),
  6010. (2592, '兴安县', 250, 255, 3, NULL),
  6011. (2593, '永福县', 250, 255, 3, NULL),
  6012. (2594, '灌阳县', 250, 255, 3, NULL),
  6013. (2595, '龙胜各族自治县', 250, 255, 3, NULL),
  6014. (2596, '资源县', 250, 255, 3, NULL),
  6015. (2597, '平乐县', 250, 255, 3, NULL),
  6016. (2598, '恭城瑶族自治县', 250, 255, 3, NULL),
  6017. (2599, '荔浦市', 250, 255, 3, NULL),
  6018. (2600, '市辖区', 251, 255, 3, NULL),
  6019. (2601, '万秀区', 251, 255, 3, NULL),
  6020. (2602, '长洲区', 251, 255, 3, NULL),
  6021. (2603, '龙圩区', 251, 255, 3, NULL),
  6022. (2604, '苍梧县', 251, 255, 3, NULL),
  6023. (2605, '藤县', 251, 255, 3, NULL),
  6024. (2606, '蒙山县', 251, 255, 3, NULL),
  6025. (2607, '岑溪市', 251, 255, 3, NULL),
  6026. (2608, '市辖区', 252, 255, 3, NULL),
  6027. (2609, '海城区', 252, 255, 3, NULL),
  6028. (2610, '银海区', 252, 255, 3, NULL),
  6029. (2611, '铁山港区', 252, 255, 3, NULL),
  6030. (2612, '合浦县', 252, 255, 3, NULL),
  6031. (2613, '市辖区', 253, 255, 3, NULL),
  6032. (2614, '港口区', 253, 255, 3, NULL),
  6033. (2615, '防城区', 253, 255, 3, NULL),
  6034. (2616, '上思县', 253, 255, 3, NULL),
  6035. (2617, '东兴市', 253, 255, 3, NULL),
  6036. (2618, '市辖区', 254, 255, 3, NULL),
  6037. (2619, '钦南区', 254, 255, 3, NULL),
  6038. (2620, '钦北区', 254, 255, 3, NULL),
  6039. (2621, '灵山县', 254, 255, 3, NULL),
  6040. (2622, '浦北县', 254, 255, 3, NULL),
  6041. (2623, '市辖区', 255, 255, 3, NULL),
  6042. (2624, '港北区', 255, 255, 3, NULL),
  6043. (2625, '港南区', 255, 255, 3, NULL),
  6044. (2626, '覃塘区', 255, 255, 3, NULL),
  6045. (2627, '平南县', 255, 255, 3, NULL),
  6046. (2628, '桂平市', 255, 255, 3, NULL),
  6047. (2629, '市辖区', 256, 255, 3, NULL),
  6048. (2630, '玉州区', 256, 255, 3, NULL),
  6049. (2631, '福绵区', 256, 255, 3, NULL),
  6050. (2632, '容县', 256, 255, 3, NULL),
  6051. (2633, '陆川县', 256, 255, 3, NULL),
  6052. (2634, '博白县', 256, 255, 3, NULL),
  6053. (2635, '兴业县', 256, 255, 3, NULL),
  6054. (2636, '北流市', 256, 255, 3, NULL),
  6055. (2637, '市辖区', 257, 255, 3, NULL),
  6056. (2638, '右江区', 257, 255, 3, NULL),
  6057. (2639, '田阳区', 257, 255, 3, NULL),
  6058. (2640, '田东县', 257, 255, 3, NULL),
  6059. (2641, '德保县', 257, 255, 3, NULL),
  6060. (2642, '那坡县', 257, 255, 3, NULL),
  6061. (2643, '凌云县', 257, 255, 3, NULL),
  6062. (2644, '乐业县', 257, 255, 3, NULL),
  6063. (2645, '田林县', 257, 255, 3, NULL),
  6064. (2646, '西林县', 257, 255, 3, NULL),
  6065. (2647, '隆林各族自治县', 257, 255, 3, NULL),
  6066. (2648, '靖西市', 257, 255, 3, NULL),
  6067. (2649, '平果市', 257, 255, 3, NULL),
  6068. (2650, '市辖区', 258, 255, 3, NULL),
  6069. (2651, '八步区', 258, 255, 3, NULL),
  6070. (2652, '平桂区', 258, 255, 3, NULL),
  6071. (2653, '昭平县', 258, 255, 3, NULL),
  6072. (2654, '钟山县', 258, 255, 3, NULL),
  6073. (2655, '富川瑶族自治县', 258, 255, 3, NULL),
  6074. (2656, '市辖区', 259, 255, 3, NULL),
  6075. (2657, '金城江区', 259, 255, 3, NULL),
  6076. (2658, '宜州区', 259, 255, 3, NULL),
  6077. (2659, '南丹县', 259, 255, 3, NULL),
  6078. (2660, '天峨县', 259, 255, 3, NULL),
  6079. (2661, '凤山县', 259, 255, 3, NULL),
  6080. (2662, '东兰县', 259, 255, 3, NULL),
  6081. (2663, '罗城仫佬族自治县', 259, 255, 3, NULL),
  6082. (2664, '环江毛南族自治县', 259, 255, 3, NULL),
  6083. (2665, '巴马瑶族自治县', 259, 255, 3, NULL),
  6084. (2666, '都安瑶族自治县', 259, 255, 3, NULL),
  6085. (2667, '大化瑶族自治县', 259, 255, 3, NULL),
  6086. (2668, '市辖区', 260, 255, 3, NULL),
  6087. (2669, '兴宾区', 260, 255, 3, NULL),
  6088. (2670, '忻城县', 260, 255, 3, NULL),
  6089. (2671, '象州县', 260, 255, 3, NULL),
  6090. (2672, '武宣县', 260, 255, 3, NULL),
  6091. (2673, '金秀瑶族自治县', 260, 255, 3, NULL),
  6092. (2674, '合山市', 260, 255, 3, NULL),
  6093. (2675, '市辖区', 261, 255, 3, NULL),
  6094. (2676, '江州区', 261, 255, 3, NULL),
  6095. (2677, '扶绥县', 261, 255, 3, NULL),
  6096. (2678, '宁明县', 261, 255, 3, NULL),
  6097. (2679, '龙州县', 261, 255, 3, NULL),
  6098. (2680, '大新县', 261, 255, 3, NULL),
  6099. (2681, '天等县', 261, 255, 3, NULL),
  6100. (2682, '凭祥市', 261, 255, 3, NULL),
  6101. (2683, '市辖区', 262, 255, 3, NULL),
  6102. (2684, '秀英区', 262, 255, 3, NULL),
  6103. (2685, '龙华区', 262, 255, 3, NULL),
  6104. (2686, '琼山区', 262, 255, 3, NULL),
  6105. (2687, '美兰区', 262, 255, 3, NULL),
  6106. (2688, '市辖区', 263, 255, 3, NULL),
  6107. (2689, '海棠区', 263, 255, 3, NULL),
  6108. (2690, '吉阳区', 263, 255, 3, NULL),
  6109. (2691, '天涯区', 263, 255, 3, NULL),
  6110. (2692, '崖州区', 263, 255, 3, NULL),
  6111. (2693, '西沙群岛', 264, 255, 3, NULL),
  6112. (2694, '南沙群岛', 264, 255, 3, NULL),
  6113. (2695, '中沙群岛的岛礁及其海域', 264, 255, 3, NULL),
  6114. (2696, '五指山市', 266, 255, 3, NULL),
  6115. (2697, '琼海市', 266, 255, 3, NULL),
  6116. (2698, '文昌市', 266, 255, 3, NULL),
  6117. (2699, '万宁市', 266, 255, 3, NULL),
  6118. (2700, '东方市', 266, 255, 3, NULL),
  6119. (2701, '定安县', 266, 255, 3, NULL),
  6120. (2702, '屯昌县', 266, 255, 3, NULL),
  6121. (2703, '澄迈县', 266, 255, 3, NULL),
  6122. (2704, '临高县', 266, 255, 3, NULL),
  6123. (2705, '白沙黎族自治县', 266, 255, 3, NULL),
  6124. (2706, '昌江黎族自治县', 266, 255, 3, NULL),
  6125. (2707, '乐东黎族自治县', 266, 255, 3, NULL),
  6126. (2708, '陵水黎族自治县', 266, 255, 3, NULL),
  6127. (2709, '保亭黎族苗族自治县', 266, 255, 3, NULL),
  6128. (2710, '琼中黎族苗族自治县', 266, 255, 3, NULL),
  6129. (2711, '万州区', 267, 255, 3, NULL),
  6130. (2712, '涪陵区', 267, 255, 3, NULL),
  6131. (2713, '渝中区', 267, 255, 3, NULL),
  6132. (2714, '大渡口区', 267, 255, 3, NULL),
  6133. (2715, '江北区', 267, 255, 3, NULL),
  6134. (2716, '沙坪坝区', 267, 255, 3, NULL),
  6135. (2717, '九龙坡区', 267, 255, 3, NULL),
  6136. (2718, '南岸区', 267, 255, 3, NULL),
  6137. (2719, '北碚区', 267, 255, 3, NULL),
  6138. (2720, '綦江区', 267, 255, 3, NULL),
  6139. (2721, '大足区', 267, 255, 3, NULL),
  6140. (2722, '渝北区', 267, 255, 3, NULL),
  6141. (2723, '巴南区', 267, 255, 3, NULL),
  6142. (2724, '黔江区', 267, 255, 3, NULL),
  6143. (2725, '长寿区', 267, 255, 3, NULL),
  6144. (2726, '江津区', 267, 255, 3, NULL),
  6145. (2727, '合川区', 267, 255, 3, NULL),
  6146. (2728, '永川区', 267, 255, 3, NULL),
  6147. (2729, '南川区', 267, 255, 3, NULL),
  6148. (2730, '璧山区', 267, 255, 3, NULL),
  6149. (2731, '铜梁区', 267, 255, 3, NULL),
  6150. (2732, '潼南区', 267, 255, 3, NULL),
  6151. (2733, '荣昌区', 267, 255, 3, NULL),
  6152. (2734, '开州区', 267, 255, 3, NULL),
  6153. (2735, '梁平区', 267, 255, 3, NULL),
  6154. (2736, '武隆区', 267, 255, 3, NULL),
  6155. (2737, '城口县', 268, 255, 3, NULL),
  6156. (2738, '丰都县', 268, 255, 3, NULL),
  6157. (2739, '垫江县', 268, 255, 3, NULL),
  6158. (2740, '忠县', 268, 255, 3, NULL),
  6159. (2741, '云阳县', 268, 255, 3, NULL),
  6160. (2742, '奉节县', 268, 255, 3, NULL),
  6161. (2743, '巫山县', 268, 255, 3, NULL),
  6162. (2744, '巫溪县', 268, 255, 3, NULL),
  6163. (2745, '石柱土家族自治县', 268, 255, 3, NULL),
  6164. (2746, '秀山土家族苗族自治县', 268, 255, 3, NULL),
  6165. (2747, '酉阳土家族苗族自治县', 268, 255, 3, NULL),
  6166. (2748, '彭水苗族土家族自治县', 268, 255, 3, NULL),
  6167. (2749, '市辖区', 269, 255, 3, NULL),
  6168. (2750, '锦江区', 269, 255, 3, NULL),
  6169. (2751, '青羊区', 269, 255, 3, NULL),
  6170. (2752, '金牛区', 269, 255, 3, NULL),
  6171. (2753, '武侯区', 269, 255, 3, NULL),
  6172. (2754, '成华区', 269, 255, 3, NULL),
  6173. (2755, '龙泉驿区', 269, 255, 3, NULL),
  6174. (2756, '青白江区', 269, 255, 3, NULL),
  6175. (2757, '新都区', 269, 255, 3, NULL),
  6176. (2758, '温江区', 269, 255, 3, NULL),
  6177. (2759, '双流区', 269, 255, 3, NULL),
  6178. (2760, '郫都区', 269, 255, 3, NULL),
  6179. (2761, '新津区', 269, 255, 3, NULL),
  6180. (2762, '金堂县', 269, 255, 3, NULL),
  6181. (2763, '大邑县', 269, 255, 3, NULL),
  6182. (2764, '蒲江县', 269, 255, 3, NULL),
  6183. (2765, '都江堰市', 269, 255, 3, NULL),
  6184. (2766, '彭州市', 269, 255, 3, NULL),
  6185. (2767, '邛崃市', 269, 255, 3, NULL),
  6186. (2768, '崇州市', 269, 255, 3, NULL),
  6187. (2769, '简阳市', 269, 255, 3, NULL),
  6188. (2770, '市辖区', 270, 255, 3, NULL),
  6189. (2771, '自流井区', 270, 255, 3, NULL),
  6190. (2772, '贡井区', 270, 255, 3, NULL),
  6191. (2773, '大安区', 270, 255, 3, NULL),
  6192. (2774, '沿滩区', 270, 255, 3, NULL),
  6193. (2775, '荣县', 270, 255, 3, NULL),
  6194. (2776, '富顺县', 270, 255, 3, NULL),
  6195. (2777, '市辖区', 271, 255, 3, NULL),
  6196. (2778, '东区', 271, 255, 3, NULL),
  6197. (2779, '西区', 271, 255, 3, NULL),
  6198. (2780, '仁和区', 271, 255, 3, NULL),
  6199. (2781, '米易县', 271, 255, 3, NULL),
  6200. (2782, '盐边县', 271, 255, 3, NULL),
  6201. (2783, '市辖区', 272, 255, 3, NULL),
  6202. (2784, '江阳区', 272, 255, 3, NULL),
  6203. (2785, '纳溪区', 272, 255, 3, NULL),
  6204. (2786, '龙马潭区', 272, 255, 3, NULL),
  6205. (2787, '泸县', 272, 255, 3, NULL),
  6206. (2788, '合江县', 272, 255, 3, NULL),
  6207. (2789, '叙永县', 272, 255, 3, NULL),
  6208. (2790, '古蔺县', 272, 255, 3, NULL),
  6209. (2791, '市辖区', 273, 255, 3, NULL),
  6210. (2792, '旌阳区', 273, 255, 3, NULL),
  6211. (2793, '罗江区', 273, 255, 3, NULL),
  6212. (2794, '中江县', 273, 255, 3, NULL),
  6213. (2795, '广汉市', 273, 255, 3, NULL),
  6214. (2796, '什邡市', 273, 255, 3, NULL),
  6215. (2797, '绵竹市', 273, 255, 3, NULL),
  6216. (2798, '市辖区', 274, 255, 3, NULL),
  6217. (2799, '涪城区', 274, 255, 3, NULL),
  6218. (2800, '游仙区', 274, 255, 3, NULL),
  6219. (2801, '安州区', 274, 255, 3, NULL),
  6220. (2802, '三台县', 274, 255, 3, NULL),
  6221. (2803, '盐亭县', 274, 255, 3, NULL),
  6222. (2804, '梓潼县', 274, 255, 3, NULL),
  6223. (2805, '北川羌族自治县', 274, 255, 3, NULL),
  6224. (2806, '平武县', 274, 255, 3, NULL),
  6225. (2807, '江油市', 274, 255, 3, NULL),
  6226. (2808, '市辖区', 275, 255, 3, NULL),
  6227. (2809, '利州区', 275, 255, 3, NULL),
  6228. (2810, '昭化区', 275, 255, 3, NULL),
  6229. (2811, '朝天区', 275, 255, 3, NULL),
  6230. (2812, '旺苍县', 275, 255, 3, NULL),
  6231. (2813, '青川县', 275, 255, 3, NULL),
  6232. (2814, '剑阁县', 275, 255, 3, NULL),
  6233. (2815, '苍溪县', 275, 255, 3, NULL),
  6234. (2816, '市辖区', 276, 255, 3, NULL),
  6235. (2817, '船山区', 276, 255, 3, NULL),
  6236. (2818, '安居区', 276, 255, 3, NULL),
  6237. (2819, '蓬溪县', 276, 255, 3, NULL),
  6238. (2820, '大英县', 276, 255, 3, NULL),
  6239. (2821, '射洪市', 276, 255, 3, NULL),
  6240. (2822, '市辖区', 277, 255, 3, NULL),
  6241. (2823, '市中区', 277, 255, 3, NULL),
  6242. (2824, '东兴区', 277, 255, 3, NULL),
  6243. (2825, '威远县', 277, 255, 3, NULL),
  6244. (2826, '资中县', 277, 255, 3, NULL),
  6245. (2827, '内江经济开发区', 277, 255, 3, NULL),
  6246. (2828, '隆昌市', 277, 255, 3, NULL),
  6247. (2829, '市辖区', 278, 255, 3, NULL),
  6248. (2830, '市中区', 278, 255, 3, NULL),
  6249. (2831, '沙湾区', 278, 255, 3, NULL),
  6250. (2832, '五通桥区', 278, 255, 3, NULL),
  6251. (2833, '金口河区', 278, 255, 3, NULL),
  6252. (2834, '犍为县', 278, 255, 3, NULL),
  6253. (2835, '井研县', 278, 255, 3, NULL),
  6254. (2836, '夹江县', 278, 255, 3, NULL),
  6255. (2837, '沐川县', 278, 255, 3, NULL),
  6256. (2838, '峨边彝族自治县', 278, 255, 3, NULL),
  6257. (2839, '马边彝族自治县', 278, 255, 3, NULL),
  6258. (2840, '峨眉山市', 278, 255, 3, NULL),
  6259. (2841, '市辖区', 279, 255, 3, NULL),
  6260. (2842, '顺庆区', 279, 255, 3, NULL),
  6261. (2843, '高坪区', 279, 255, 3, NULL),
  6262. (2844, '嘉陵区', 279, 255, 3, NULL),
  6263. (2845, '南部县', 279, 255, 3, NULL),
  6264. (2846, '营山县', 279, 255, 3, NULL),
  6265. (2847, '蓬安县', 279, 255, 3, NULL),
  6266. (2848, '仪陇县', 279, 255, 3, NULL),
  6267. (2849, '西充县', 279, 255, 3, NULL),
  6268. (2850, '阆中市', 279, 255, 3, NULL),
  6269. (2851, '市辖区', 280, 255, 3, NULL),
  6270. (2852, '东坡区', 280, 255, 3, NULL),
  6271. (2853, '彭山区', 280, 255, 3, NULL),
  6272. (2854, '仁寿县', 280, 255, 3, NULL),
  6273. (2855, '洪雅县', 280, 255, 3, NULL),
  6274. (2856, '丹棱县', 280, 255, 3, NULL),
  6275. (2857, '青神县', 280, 255, 3, NULL),
  6276. (2858, '市辖区', 281, 255, 3, NULL),
  6277. (2859, '翠屏区', 281, 255, 3, NULL),
  6278. (2860, '南溪区', 281, 255, 3, NULL),
  6279. (2861, '叙州区', 281, 255, 3, NULL),
  6280. (2862, '江安县', 281, 255, 3, NULL),
  6281. (2863, '长宁县', 281, 255, 3, NULL),
  6282. (2864, '高县', 281, 255, 3, NULL),
  6283. (2865, '珙县', 281, 255, 3, NULL),
  6284. (2866, '筠连县', 281, 255, 3, NULL),
  6285. (2867, '兴文县', 281, 255, 3, NULL),
  6286. (2868, '屏山县', 281, 255, 3, NULL),
  6287. (2869, '市辖区', 282, 255, 3, NULL),
  6288. (2870, '广安区', 282, 255, 3, NULL),
  6289. (2871, '前锋区', 282, 255, 3, NULL),
  6290. (2872, '岳池县', 282, 255, 3, NULL),
  6291. (2873, '武胜县', 282, 255, 3, NULL),
  6292. (2874, '邻水县', 282, 255, 3, NULL),
  6293. (2875, '华蓥市', 282, 255, 3, NULL),
  6294. (2876, '市辖区', 283, 255, 3, NULL),
  6295. (2877, '通川区', 283, 255, 3, NULL),
  6296. (2878, '达川区', 283, 255, 3, NULL),
  6297. (2879, '宣汉县', 283, 255, 3, NULL),
  6298. (2880, '开江县', 283, 255, 3, NULL),
  6299. (2881, '大竹县', 283, 255, 3, NULL),
  6300. (2882, '渠县', 283, 255, 3, NULL),
  6301. (2883, '达州经济开发区', 283, 255, 3, NULL),
  6302. (2884, '万源市', 283, 255, 3, NULL),
  6303. (2885, '市辖区', 284, 255, 3, NULL),
  6304. (2886, '雨城区', 284, 255, 3, NULL),
  6305. (2887, '名山区', 284, 255, 3, NULL),
  6306. (2888, '荥经县', 284, 255, 3, NULL),
  6307. (2889, '汉源县', 284, 255, 3, NULL),
  6308. (2890, '石棉县', 284, 255, 3, NULL),
  6309. (2891, '天全县', 284, 255, 3, NULL),
  6310. (2892, '芦山县', 284, 255, 3, NULL),
  6311. (2893, '宝兴县', 284, 255, 3, NULL),
  6312. (2894, '市辖区', 285, 255, 3, NULL),
  6313. (2895, '巴州区', 285, 255, 3, NULL),
  6314. (2896, '恩阳区', 285, 255, 3, NULL),
  6315. (2897, '通江县', 285, 255, 3, NULL),
  6316. (2898, '南江县', 285, 255, 3, NULL),
  6317. (2899, '平昌县', 285, 255, 3, NULL),
  6318. (2900, '巴中经济开发区', 285, 255, 3, NULL),
  6319. (2901, '市辖区', 286, 255, 3, NULL),
  6320. (2902, '雁江区', 286, 255, 3, NULL),
  6321. (2903, '安岳县', 286, 255, 3, NULL),
  6322. (2904, '乐至县', 286, 255, 3, NULL),
  6323. (2905, '马尔康市', 287, 255, 3, NULL),
  6324. (2906, '汶川县', 287, 255, 3, NULL),
  6325. (2907, '理县', 287, 255, 3, NULL),
  6326. (2908, '茂县', 287, 255, 3, NULL),
  6327. (2909, '松潘县', 287, 255, 3, NULL),
  6328. (2910, '九寨沟县', 287, 255, 3, NULL),
  6329. (2911, '金川县', 287, 255, 3, NULL),
  6330. (2912, '小金县', 287, 255, 3, NULL),
  6331. (2913, '黑水县', 287, 255, 3, NULL),
  6332. (2914, '壤塘县', 287, 255, 3, NULL),
  6333. (2915, '阿坝县', 287, 255, 3, NULL),
  6334. (2916, '若尔盖县', 287, 255, 3, NULL),
  6335. (2917, '红原县', 287, 255, 3, NULL),
  6336. (2918, '康定市', 288, 255, 3, NULL),
  6337. (2919, '泸定县', 288, 255, 3, NULL),
  6338. (2920, '丹巴县', 288, 255, 3, NULL),
  6339. (2921, '九龙县', 288, 255, 3, NULL),
  6340. (2922, '雅江县', 288, 255, 3, NULL),
  6341. (2923, '道孚县', 288, 255, 3, NULL),
  6342. (2924, '炉霍县', 288, 255, 3, NULL),
  6343. (2925, '甘孜县', 288, 255, 3, NULL),
  6344. (2926, '新龙县', 288, 255, 3, NULL),
  6345. (2927, '德格县', 288, 255, 3, NULL),
  6346. (2928, '白玉县', 288, 255, 3, NULL),
  6347. (2929, '石渠县', 288, 255, 3, NULL),
  6348. (2930, '色达县', 288, 255, 3, NULL),
  6349. (2931, '理塘县', 288, 255, 3, NULL),
  6350. (2932, '巴塘县', 288, 255, 3, NULL),
  6351. (2933, '乡城县', 288, 255, 3, NULL),
  6352. (2934, '稻城县', 288, 255, 3, NULL),
  6353. (2935, '得荣县', 288, 255, 3, NULL),
  6354. (2936, '西昌市', 289, 255, 3, NULL),
  6355. (2937, '木里藏族自治县', 289, 255, 3, NULL),
  6356. (2938, '盐源县', 289, 255, 3, NULL),
  6357. (2939, '德昌县', 289, 255, 3, NULL),
  6358. (2940, '会理县', 289, 255, 3, NULL),
  6359. (2941, '会东县', 289, 255, 3, NULL),
  6360. (2942, '宁南县', 289, 255, 3, NULL),
  6361. (2943, '普格县', 289, 255, 3, NULL),
  6362. (2944, '布拖县', 289, 255, 3, NULL),
  6363. (2945, '金阳县', 289, 255, 3, NULL),
  6364. (2946, '昭觉县', 289, 255, 3, NULL),
  6365. (2947, '喜德县', 289, 255, 3, NULL),
  6366. (2948, '冕宁县', 289, 255, 3, NULL),
  6367. (2949, '越西县', 289, 255, 3, NULL),
  6368. (2950, '甘洛县', 289, 255, 3, NULL),
  6369. (2951, '美姑县', 289, 255, 3, NULL),
  6370. (2952, '雷波县', 289, 255, 3, NULL),
  6371. (2953, '市辖区', 290, 255, 3, NULL),
  6372. (2954, '南明区', 290, 255, 3, NULL),
  6373. (2955, '云岩区', 290, 255, 3, NULL),
  6374. (2956, '花溪区', 290, 255, 3, NULL),
  6375. (2957, '乌当区', 290, 255, 3, NULL),
  6376. (2958, '白云区', 290, 255, 3, NULL),
  6377. (2959, '观山湖区', 290, 255, 3, NULL),
  6378. (2960, '开阳县', 290, 255, 3, NULL),
  6379. (2961, '息烽县', 290, 255, 3, NULL),
  6380. (2962, '修文县', 290, 255, 3, NULL),
  6381. (2963, '清镇市', 290, 255, 3, NULL),
  6382. (2964, '钟山区', 291, 255, 3, NULL),
  6383. (2965, '六枝特区', 291, 255, 3, NULL),
  6384. (2966, '水城县', 291, 255, 3, NULL),
  6385. (2967, '盘州市', 291, 255, 3, NULL),
  6386. (2968, '市辖区', 292, 255, 3, NULL),
  6387. (2969, '红花岗区', 292, 255, 3, NULL),
  6388. (2970, '汇川区', 292, 255, 3, NULL),
  6389. (2971, '播州区', 292, 255, 3, NULL),
  6390. (2972, '桐梓县', 292, 255, 3, NULL),
  6391. (2973, '绥阳县', 292, 255, 3, NULL),
  6392. (2974, '正安县', 292, 255, 3, NULL),
  6393. (2975, '道真仡佬族苗族自治县', 292, 255, 3, NULL),
  6394. (2976, '务川仡佬族苗族自治县', 292, 255, 3, NULL),
  6395. (2977, '凤冈县', 292, 255, 3, NULL),
  6396. (2978, '湄潭县', 292, 255, 3, NULL),
  6397. (2979, '余庆县', 292, 255, 3, NULL),
  6398. (2980, '习水县', 292, 255, 3, NULL),
  6399. (2981, '赤水市', 292, 255, 3, NULL),
  6400. (2982, '仁怀市', 292, 255, 3, NULL),
  6401. (2983, '市辖区', 293, 255, 3, NULL),
  6402. (2984, '西秀区', 293, 255, 3, NULL),
  6403. (2985, '平坝区', 293, 255, 3, NULL),
  6404. (2986, '普定县', 293, 255, 3, NULL),
  6405. (2987, '镇宁布依族苗族自治县', 293, 255, 3, NULL),
  6406. (2988, '关岭布依族苗族自治县', 293, 255, 3, NULL),
  6407. (2989, '紫云苗族布依族自治县', 293, 255, 3, NULL),
  6408. (2990, '市辖区', 294, 255, 3, NULL),
  6409. (2991, '七星关区', 294, 255, 3, NULL),
  6410. (2992, '大方县', 294, 255, 3, NULL),
  6411. (2993, '黔西县', 294, 255, 3, NULL),
  6412. (2994, '金沙县', 294, 255, 3, NULL),
  6413. (2995, '织金县', 294, 255, 3, NULL),
  6414. (2996, '纳雍县', 294, 255, 3, NULL),
  6415. (2997, '威宁彝族回族苗族自治县', 294, 255, 3, NULL),
  6416. (2998, '赫章县', 294, 255, 3, NULL),
  6417. (2999, '市辖区', 295, 255, 3, NULL),
  6418. (3000, '碧江区', 295, 255, 3, NULL),
  6419. (3001, '万山区', 295, 255, 3, NULL),
  6420. (3002, '江口县', 295, 255, 3, NULL),
  6421. (3003, '玉屏侗族自治县', 295, 255, 3, NULL),
  6422. (3004, '石阡县', 295, 255, 3, NULL),
  6423. (3005, '思南县', 295, 255, 3, NULL),
  6424. (3006, '印江土家族苗族自治县', 295, 255, 3, NULL),
  6425. (3007, '德江县', 295, 255, 3, NULL),
  6426. (3008, '沿河土家族自治县', 295, 255, 3, NULL),
  6427. (3009, '松桃苗族自治县', 295, 255, 3, NULL),
  6428. (3010, '兴义市', 296, 255, 3, NULL),
  6429. (3011, '兴仁市', 296, 255, 3, NULL),
  6430. (3012, '普安县', 296, 255, 3, NULL),
  6431. (3013, '晴隆县', 296, 255, 3, NULL),
  6432. (3014, '贞丰县', 296, 255, 3, NULL),
  6433. (3015, '望谟县', 296, 255, 3, NULL),
  6434. (3016, '册亨县', 296, 255, 3, NULL),
  6435. (3017, '安龙县', 296, 255, 3, NULL),
  6436. (3018, '凯里市', 297, 255, 3, NULL),
  6437. (3019, '黄平县', 297, 255, 3, NULL),
  6438. (3020, '施秉县', 297, 255, 3, NULL),
  6439. (3021, '三穗县', 297, 255, 3, NULL),
  6440. (3022, '镇远县', 297, 255, 3, NULL),
  6441. (3023, '岑巩县', 297, 255, 3, NULL),
  6442. (3024, '天柱县', 297, 255, 3, NULL),
  6443. (3025, '锦屏县', 297, 255, 3, NULL),
  6444. (3026, '剑河县', 297, 255, 3, NULL),
  6445. (3027, '台江县', 297, 255, 3, NULL),
  6446. (3028, '黎平县', 297, 255, 3, NULL),
  6447. (3029, '榕江县', 297, 255, 3, NULL),
  6448. (3030, '从江县', 297, 255, 3, NULL),
  6449. (3031, '雷山县', 297, 255, 3, NULL),
  6450. (3032, '麻江县', 297, 255, 3, NULL),
  6451. (3033, '丹寨县', 297, 255, 3, NULL),
  6452. (3034, '都匀市', 298, 255, 3, NULL),
  6453. (3035, '福泉市', 298, 255, 3, NULL),
  6454. (3036, '荔波县', 298, 255, 3, NULL),
  6455. (3037, '贵定县', 298, 255, 3, NULL),
  6456. (3038, '瓮安县', 298, 255, 3, NULL),
  6457. (3039, '独山县', 298, 255, 3, NULL),
  6458. (3040, '平塘县', 298, 255, 3, NULL),
  6459. (3041, '罗甸县', 298, 255, 3, NULL),
  6460. (3042, '长顺县', 298, 255, 3, NULL),
  6461. (3043, '龙里县', 298, 255, 3, NULL),
  6462. (3044, '惠水县', 298, 255, 3, NULL),
  6463. (3045, '三都水族自治县', 298, 255, 3, NULL),
  6464. (3046, '市辖区', 299, 255, 3, NULL),
  6465. (3047, '五华区', 299, 255, 3, NULL),
  6466. (3048, '盘龙区', 299, 255, 3, NULL),
  6467. (3049, '官渡区', 299, 255, 3, NULL),
  6468. (3050, '西山区', 299, 255, 3, NULL),
  6469. (3051, '东川区', 299, 255, 3, NULL),
  6470. (3052, '呈贡区', 299, 255, 3, NULL),
  6471. (3053, '晋宁区', 299, 255, 3, NULL),
  6472. (3054, '富民县', 299, 255, 3, NULL),
  6473. (3055, '宜良县', 299, 255, 3, NULL),
  6474. (3056, '石林彝族自治县', 299, 255, 3, NULL),
  6475. (3057, '嵩明县', 299, 255, 3, NULL),
  6476. (3058, '禄劝彝族苗族自治县', 299, 255, 3, NULL),
  6477. (3059, '寻甸回族彝族自治县', 299, 255, 3, NULL),
  6478. (3060, '安宁市', 299, 255, 3, NULL),
  6479. (3061, '市辖区', 300, 255, 3, NULL),
  6480. (3062, '麒麟区', 300, 255, 3, NULL),
  6481. (3063, '沾益区', 300, 255, 3, NULL),
  6482. (3064, '马龙区', 300, 255, 3, NULL),
  6483. (3065, '陆良县', 300, 255, 3, NULL),
  6484. (3066, '师宗县', 300, 255, 3, NULL),
  6485. (3067, '罗平县', 300, 255, 3, NULL),
  6486. (3068, '富源县', 300, 255, 3, NULL),
  6487. (3069, '会泽县', 300, 255, 3, NULL),
  6488. (3070, '宣威市', 300, 255, 3, NULL),
  6489. (3071, '市辖区', 301, 255, 3, NULL),
  6490. (3072, '红塔区', 301, 255, 3, NULL),
  6491. (3073, '江川区', 301, 255, 3, NULL),
  6492. (3074, '通海县', 301, 255, 3, NULL),
  6493. (3075, '华宁县', 301, 255, 3, NULL),
  6494. (3076, '易门县', 301, 255, 3, NULL),
  6495. (3077, '峨山彝族自治县', 301, 255, 3, NULL),
  6496. (3078, '新平彝族傣族自治县', 301, 255, 3, NULL),
  6497. (3079, '元江哈尼族彝族傣族自治县', 301, 255, 3, NULL),
  6498. (3080, '澄江市', 301, 255, 3, NULL),
  6499. (3081, '市辖区', 302, 255, 3, NULL),
  6500. (3082, '隆阳区', 302, 255, 3, NULL),
  6501. (3083, '施甸县', 302, 255, 3, NULL),
  6502. (3084, '龙陵县', 302, 255, 3, NULL),
  6503. (3085, '昌宁县', 302, 255, 3, NULL),
  6504. (3086, '腾冲市', 302, 255, 3, NULL),
  6505. (3087, '市辖区', 303, 255, 3, NULL),
  6506. (3088, '昭阳区', 303, 255, 3, NULL),
  6507. (3089, '鲁甸县', 303, 255, 3, NULL),
  6508. (3090, '巧家县', 303, 255, 3, NULL),
  6509. (3091, '盐津县', 303, 255, 3, NULL),
  6510. (3092, '大关县', 303, 255, 3, NULL),
  6511. (3093, '永善县', 303, 255, 3, NULL),
  6512. (3094, '绥江县', 303, 255, 3, NULL),
  6513. (3095, '镇雄县', 303, 255, 3, NULL),
  6514. (3096, '彝良县', 303, 255, 3, NULL),
  6515. (3097, '威信县', 303, 255, 3, NULL),
  6516. (3098, '水富市', 303, 255, 3, NULL),
  6517. (3099, '市辖区', 304, 255, 3, NULL),
  6518. (3100, '古城区', 304, 255, 3, NULL),
  6519. (3101, '玉龙纳西族自治县', 304, 255, 3, NULL),
  6520. (3102, '永胜县', 304, 255, 3, NULL),
  6521. (3103, '华坪县', 304, 255, 3, NULL),
  6522. (3104, '宁蒗彝族自治县', 304, 255, 3, NULL),
  6523. (3105, '市辖区', 305, 255, 3, NULL),
  6524. (3106, '思茅区', 305, 255, 3, NULL),
  6525. (3107, '宁洱哈尼族彝族自治县', 305, 255, 3, NULL),
  6526. (3108, '墨江哈尼族自治县', 305, 255, 3, NULL),
  6527. (3109, '景东彝族自治县', 305, 255, 3, NULL),
  6528. (3110, '景谷傣族彝族自治县', 305, 255, 3, NULL),
  6529. (3111, '镇沅彝族哈尼族拉祜族自治县', 305, 255, 3, NULL),
  6530. (3112, '江城哈尼族彝族自治县', 305, 255, 3, NULL),
  6531. (3113, '孟连傣族拉祜族佤族自治县', 305, 255, 3, NULL),
  6532. (3114, '澜沧拉祜族自治县', 305, 255, 3, NULL),
  6533. (3115, '西盟佤族自治县', 305, 255, 3, NULL),
  6534. (3116, '市辖区', 306, 255, 3, NULL),
  6535. (3117, '临翔区', 306, 255, 3, NULL),
  6536. (3118, '凤庆县', 306, 255, 3, NULL),
  6537. (3119, '云县', 306, 255, 3, NULL),
  6538. (3120, '永德县', 306, 255, 3, NULL),
  6539. (3121, '镇康县', 306, 255, 3, NULL),
  6540. (3122, '双江拉祜族佤族布朗族傣族自治县', 306, 255, 3, NULL),
  6541. (3123, '耿马傣族佤族自治县', 306, 255, 3, NULL),
  6542. (3124, '沧源佤族自治县', 306, 255, 3, NULL),
  6543. (3125, '楚雄市', 307, 255, 3, NULL),
  6544. (3126, '双柏县', 307, 255, 3, NULL),
  6545. (3127, '牟定县', 307, 255, 3, NULL),
  6546. (3128, '南华县', 307, 255, 3, NULL),
  6547. (3129, '姚安县', 307, 255, 3, NULL),
  6548. (3130, '大姚县', 307, 255, 3, NULL),
  6549. (3131, '永仁县', 307, 255, 3, NULL),
  6550. (3132, '元谋县', 307, 255, 3, NULL),
  6551. (3133, '武定县', 307, 255, 3, NULL),
  6552. (3134, '禄丰县', 307, 255, 3, NULL),
  6553. (3135, '个旧市', 308, 255, 3, NULL),
  6554. (3136, '开远市', 308, 255, 3, NULL),
  6555. (3137, '蒙自市', 308, 255, 3, NULL),
  6556. (3138, '弥勒市', 308, 255, 3, NULL),
  6557. (3139, '屏边苗族自治县', 308, 255, 3, NULL),
  6558. (3140, '建水县', 308, 255, 3, NULL),
  6559. (3141, '石屏县', 308, 255, 3, NULL),
  6560. (3142, '泸西县', 308, 255, 3, NULL),
  6561. (3143, '元阳县', 308, 255, 3, NULL),
  6562. (3144, '红河县', 308, 255, 3, NULL),
  6563. (3145, '金平苗族瑶族傣族自治县', 308, 255, 3, NULL),
  6564. (3146, '绿春县', 308, 255, 3, NULL),
  6565. (3147, '河口瑶族自治县', 308, 255, 3, NULL),
  6566. (3148, '文山市', 309, 255, 3, NULL),
  6567. (3149, '砚山县', 309, 255, 3, NULL),
  6568. (3150, '西畴县', 309, 255, 3, NULL),
  6569. (3151, '麻栗坡县', 309, 255, 3, NULL),
  6570. (3152, '马关县', 309, 255, 3, NULL),
  6571. (3153, '丘北县', 309, 255, 3, NULL),
  6572. (3154, '广南县', 309, 255, 3, NULL),
  6573. (3155, '富宁县', 309, 255, 3, NULL),
  6574. (3156, '景洪市', 310, 255, 3, NULL),
  6575. (3157, '勐海县', 310, 255, 3, NULL),
  6576. (3158, '勐腊县', 310, 255, 3, NULL),
  6577. (3159, '大理市', 311, 255, 3, NULL),
  6578. (3160, '漾濞彝族自治县', 311, 255, 3, NULL),
  6579. (3161, '祥云县', 311, 255, 3, NULL),
  6580. (3162, '宾川县', 311, 255, 3, NULL),
  6581. (3163, '弥渡县', 311, 255, 3, NULL),
  6582. (3164, '南涧彝族自治县', 311, 255, 3, NULL),
  6583. (3165, '巍山彝族回族自治县', 311, 255, 3, NULL),
  6584. (3166, '永平县', 311, 255, 3, NULL),
  6585. (3167, '云龙县', 311, 255, 3, NULL),
  6586. (3168, '洱源县', 311, 255, 3, NULL),
  6587. (3169, '剑川县', 311, 255, 3, NULL),
  6588. (3170, '鹤庆县', 311, 255, 3, NULL),
  6589. (3171, '瑞丽市', 312, 255, 3, NULL),
  6590. (3172, '芒市', 312, 255, 3, NULL),
  6591. (3173, '梁河县', 312, 255, 3, NULL),
  6592. (3174, '盈江县', 312, 255, 3, NULL),
  6593. (3175, '陇川县', 312, 255, 3, NULL),
  6594. (3176, '泸水市', 313, 255, 3, NULL),
  6595. (3177, '福贡县', 313, 255, 3, NULL),
  6596. (3178, '贡山独龙族怒族自治县', 313, 255, 3, NULL),
  6597. (3179, '兰坪白族普米族自治县', 313, 255, 3, NULL),
  6598. (3180, '香格里拉市', 314, 255, 3, NULL),
  6599. (3181, '德钦县', 314, 255, 3, NULL),
  6600. (3182, '维西傈僳族自治县', 314, 255, 3, NULL),
  6601. (3183, '市辖区', 315, 255, 3, NULL),
  6602. (3184, '城关区', 315, 255, 3, NULL),
  6603. (3185, '堆龙德庆区', 315, 255, 3, NULL),
  6604. (3186, '达孜区', 315, 255, 3, NULL),
  6605. (3187, '林周县', 315, 255, 3, NULL),
  6606. (3188, '当雄县', 315, 255, 3, NULL),
  6607. (3189, '尼木县', 315, 255, 3, NULL),
  6608. (3190, '曲水县', 315, 255, 3, NULL),
  6609. (3191, '墨竹工卡县', 315, 255, 3, NULL),
  6610. (3192, '格尔木藏青工业园区', 315, 255, 3, NULL),
  6611. (3193, '拉萨经济技术开发区', 315, 255, 3, NULL),
  6612. (3194, '西藏文化旅游创意园区', 315, 255, 3, NULL),
  6613. (3195, '达孜工业园区', 315, 255, 3, NULL),
  6614. (3196, '桑珠孜区', 316, 255, 3, NULL),
  6615. (3197, '南木林县', 316, 255, 3, NULL),
  6616. (3198, '江孜县', 316, 255, 3, NULL),
  6617. (3199, '定日县', 316, 255, 3, NULL),
  6618. (3200, '萨迦县', 316, 255, 3, NULL),
  6619. (3201, '拉孜县', 316, 255, 3, NULL),
  6620. (3202, '昂仁县', 316, 255, 3, NULL),
  6621. (3203, '谢通门县', 316, 255, 3, NULL),
  6622. (3204, '白朗县', 316, 255, 3, NULL),
  6623. (3205, '仁布县', 316, 255, 3, NULL),
  6624. (3206, '康马县', 316, 255, 3, NULL),
  6625. (3207, '定结县', 316, 255, 3, NULL),
  6626. (3208, '仲巴县', 316, 255, 3, NULL),
  6627. (3209, '亚东县', 316, 255, 3, NULL),
  6628. (3210, '吉隆县', 316, 255, 3, NULL),
  6629. (3211, '聂拉木县', 316, 255, 3, NULL),
  6630. (3212, '萨嘎县', 316, 255, 3, NULL),
  6631. (3213, '岗巴县', 316, 255, 3, NULL),
  6632. (3214, '卡若区', 317, 255, 3, NULL),
  6633. (3215, '江达县', 317, 255, 3, NULL),
  6634. (3216, '贡觉县', 317, 255, 3, NULL),
  6635. (3217, '类乌齐县', 317, 255, 3, NULL),
  6636. (3218, '丁青县', 317, 255, 3, NULL),
  6637. (3219, '察雅县', 317, 255, 3, NULL),
  6638. (3220, '八宿县', 317, 255, 3, NULL),
  6639. (3221, '左贡县', 317, 255, 3, NULL),
  6640. (3222, '芒康县', 317, 255, 3, NULL),
  6641. (3223, '洛隆县', 317, 255, 3, NULL),
  6642. (3224, '边坝县', 317, 255, 3, NULL),
  6643. (3225, '巴宜区', 318, 255, 3, NULL),
  6644. (3226, '工布江达县', 318, 255, 3, NULL),
  6645. (3227, '米林县', 318, 255, 3, NULL),
  6646. (3228, '墨脱县', 318, 255, 3, NULL),
  6647. (3229, '波密县', 318, 255, 3, NULL),
  6648. (3230, '察隅县', 318, 255, 3, NULL),
  6649. (3231, '朗县', 318, 255, 3, NULL),
  6650. (3232, '市辖区', 319, 255, 3, NULL),
  6651. (3233, '乃东区', 319, 255, 3, NULL),
  6652. (3234, '扎囊县', 319, 255, 3, NULL),
  6653. (3235, '贡嘎县', 319, 255, 3, NULL),
  6654. (3236, '桑日县', 319, 255, 3, NULL),
  6655. (3237, '琼结县', 319, 255, 3, NULL),
  6656. (3238, '曲松县', 319, 255, 3, NULL),
  6657. (3239, '措美县', 319, 255, 3, NULL),
  6658. (3240, '洛扎县', 319, 255, 3, NULL),
  6659. (3241, '加查县', 319, 255, 3, NULL),
  6660. (3242, '隆子县', 319, 255, 3, NULL),
  6661. (3243, '错那县', 319, 255, 3, NULL),
  6662. (3244, '浪卡子县', 319, 255, 3, NULL),
  6663. (3245, '色尼区', 320, 255, 3, NULL),
  6664. (3246, '嘉黎县', 320, 255, 3, NULL),
  6665. (3247, '比如县', 320, 255, 3, NULL),
  6666. (3248, '聂荣县', 320, 255, 3, NULL),
  6667. (3249, '安多县', 320, 255, 3, NULL),
  6668. (3250, '申扎县', 320, 255, 3, NULL),
  6669. (3251, '索县', 320, 255, 3, NULL),
  6670. (3252, '班戈县', 320, 255, 3, NULL),
  6671. (3253, '巴青县', 320, 255, 3, NULL),
  6672. (3254, '尼玛县', 320, 255, 3, NULL),
  6673. (3255, '双湖县', 320, 255, 3, NULL),
  6674. (3256, '普兰县', 321, 255, 3, NULL),
  6675. (3257, '札达县', 321, 255, 3, NULL),
  6676. (3258, '噶尔县', 321, 255, 3, NULL),
  6677. (3259, '日土县', 321, 255, 3, NULL),
  6678. (3260, '革吉县', 321, 255, 3, NULL),
  6679. (3261, '改则县', 321, 255, 3, NULL),
  6680. (3262, '措勤县', 321, 255, 3, NULL),
  6681. (3263, '市辖区', 322, 255, 3, NULL),
  6682. (3264, '新城区', 322, 255, 3, NULL),
  6683. (3265, '碑林区', 322, 255, 3, NULL),
  6684. (3266, '莲湖区', 322, 255, 3, NULL),
  6685. (3267, '灞桥区', 322, 255, 3, NULL),
  6686. (3268, '未央区', 322, 255, 3, NULL),
  6687. (3269, '雁塔区', 322, 255, 3, NULL),
  6688. (3270, '阎良区', 322, 255, 3, NULL),
  6689. (3271, '临潼区', 322, 255, 3, NULL),
  6690. (3272, '长安区', 322, 255, 3, NULL),
  6691. (3273, '高陵区', 322, 255, 3, NULL),
  6692. (3274, '鄠邑区', 322, 255, 3, NULL),
  6693. (3275, '蓝田县', 322, 255, 3, NULL),
  6694. (3276, '周至县', 322, 255, 3, NULL),
  6695. (3277, '市辖区', 323, 255, 3, NULL),
  6696. (3278, '王益区', 323, 255, 3, NULL),
  6697. (3279, '印台区', 323, 255, 3, NULL),
  6698. (3280, '耀州区', 323, 255, 3, NULL),
  6699. (3281, '宜君县', 323, 255, 3, NULL),
  6700. (3282, '市辖区', 324, 255, 3, NULL),
  6701. (3283, '渭滨区', 324, 255, 3, NULL),
  6702. (3284, '金台区', 324, 255, 3, NULL),
  6703. (3285, '陈仓区', 324, 255, 3, NULL),
  6704. (3286, '凤翔县', 324, 255, 3, NULL),
  6705. (3287, '岐山县', 324, 255, 3, NULL),
  6706. (3288, '扶风县', 324, 255, 3, NULL),
  6707. (3289, '眉县', 324, 255, 3, NULL),
  6708. (3290, '陇县', 324, 255, 3, NULL),
  6709. (3291, '千阳县', 324, 255, 3, NULL),
  6710. (3292, '麟游县', 324, 255, 3, NULL),
  6711. (3293, '凤县', 324, 255, 3, NULL),
  6712. (3294, '太白县', 324, 255, 3, NULL),
  6713. (3295, '市辖区', 325, 255, 3, NULL),
  6714. (3296, '秦都区', 325, 255, 3, NULL),
  6715. (3297, '杨陵区', 325, 255, 3, NULL),
  6716. (3298, '渭城区', 325, 255, 3, NULL),
  6717. (3299, '三原县', 325, 255, 3, NULL),
  6718. (3300, '泾阳县', 325, 255, 3, NULL),
  6719. (3301, '乾县', 325, 255, 3, NULL),
  6720. (3302, '礼泉县', 325, 255, 3, NULL),
  6721. (3303, '永寿县', 325, 255, 3, NULL),
  6722. (3304, '长武县', 325, 255, 3, NULL),
  6723. (3305, '旬邑县', 325, 255, 3, NULL),
  6724. (3306, '淳化县', 325, 255, 3, NULL),
  6725. (3307, '武功县', 325, 255, 3, NULL),
  6726. (3308, '兴平市', 325, 255, 3, NULL),
  6727. (3309, '彬州市', 325, 255, 3, NULL),
  6728. (3310, '市辖区', 326, 255, 3, NULL),
  6729. (3311, '临渭区', 326, 255, 3, NULL),
  6730. (3312, '华州区', 326, 255, 3, NULL),
  6731. (3313, '潼关县', 326, 255, 3, NULL),
  6732. (3314, '大荔县', 326, 255, 3, NULL),
  6733. (3315, '合阳县', 326, 255, 3, NULL),
  6734. (3316, '澄城县', 326, 255, 3, NULL),
  6735. (3317, '蒲城县', 326, 255, 3, NULL),
  6736. (3318, '白水县', 326, 255, 3, NULL),
  6737. (3319, '富平县', 326, 255, 3, NULL),
  6738. (3320, '韩城市', 326, 255, 3, NULL),
  6739. (3321, '华阴市', 326, 255, 3, NULL),
  6740. (3322, '市辖区', 327, 255, 3, NULL),
  6741. (3323, '宝塔区', 327, 255, 3, NULL),
  6742. (3324, '安塞区', 327, 255, 3, NULL),
  6743. (3325, '延长县', 327, 255, 3, NULL),
  6744. (3326, '延川县', 327, 255, 3, NULL),
  6745. (3327, '志丹县', 327, 255, 3, NULL),
  6746. (3328, '吴起县', 327, 255, 3, NULL),
  6747. (3329, '甘泉县', 327, 255, 3, NULL),
  6748. (3330, '富县', 327, 255, 3, NULL),
  6749. (3331, '洛川县', 327, 255, 3, NULL),
  6750. (3332, '宜川县', 327, 255, 3, NULL),
  6751. (3333, '黄龙县', 327, 255, 3, NULL),
  6752. (3334, '黄陵县', 327, 255, 3, NULL),
  6753. (3335, '子长市', 327, 255, 3, NULL),
  6754. (3336, '市辖区', 328, 255, 3, NULL),
  6755. (3337, '汉台区', 328, 255, 3, NULL),
  6756. (3338, '南郑区', 328, 255, 3, NULL),
  6757. (3339, '城固县', 328, 255, 3, NULL),
  6758. (3340, '洋县', 328, 255, 3, NULL),
  6759. (3341, '西乡县', 328, 255, 3, NULL),
  6760. (3342, '勉县', 328, 255, 3, NULL),
  6761. (3343, '宁强县', 328, 255, 3, NULL),
  6762. (3344, '略阳县', 328, 255, 3, NULL),
  6763. (3345, '镇巴县', 328, 255, 3, NULL),
  6764. (3346, '留坝县', 328, 255, 3, NULL),
  6765. (3347, '佛坪县', 328, 255, 3, NULL),
  6766. (3348, '市辖区', 329, 255, 3, NULL),
  6767. (3349, '榆阳区', 329, 255, 3, NULL),
  6768. (3350, '横山区', 329, 255, 3, NULL),
  6769. (3351, '府谷县', 329, 255, 3, NULL),
  6770. (3352, '靖边县', 329, 255, 3, NULL),
  6771. (3353, '定边县', 329, 255, 3, NULL),
  6772. (3354, '绥德县', 329, 255, 3, NULL),
  6773. (3355, '米脂县', 329, 255, 3, NULL),
  6774. (3356, '佳县', 329, 255, 3, NULL),
  6775. (3357, '吴堡县', 329, 255, 3, NULL),
  6776. (3358, '清涧县', 329, 255, 3, NULL),
  6777. (3359, '子洲县', 329, 255, 3, NULL),
  6778. (3360, '神木市', 329, 255, 3, NULL),
  6779. (3361, '市辖区', 330, 255, 3, NULL),
  6780. (3362, '汉滨区', 330, 255, 3, NULL),
  6781. (3363, '汉阴县', 330, 255, 3, NULL),
  6782. (3364, '石泉县', 330, 255, 3, NULL),
  6783. (3365, '宁陕县', 330, 255, 3, NULL),
  6784. (3366, '紫阳县', 330, 255, 3, NULL),
  6785. (3367, '岚皋县', 330, 255, 3, NULL),
  6786. (3368, '平利县', 330, 255, 3, NULL),
  6787. (3369, '镇坪县', 330, 255, 3, NULL),
  6788. (3370, '旬阳县', 330, 255, 3, NULL),
  6789. (3371, '白河县', 330, 255, 3, NULL),
  6790. (3372, '市辖区', 331, 255, 3, NULL),
  6791. (3373, '商州区', 331, 255, 3, NULL),
  6792. (3374, '洛南县', 331, 255, 3, NULL),
  6793. (3375, '丹凤县', 331, 255, 3, NULL),
  6794. (3376, '商南县', 331, 255, 3, NULL),
  6795. (3377, '山阳县', 331, 255, 3, NULL),
  6796. (3378, '镇安县', 331, 255, 3, NULL),
  6797. (3379, '柞水县', 331, 255, 3, NULL),
  6798. (3380, '市辖区', 332, 255, 3, NULL),
  6799. (3381, '城关区', 332, 255, 3, NULL),
  6800. (3382, '七里河区', 332, 255, 3, NULL),
  6801. (3383, '西固区', 332, 255, 3, NULL),
  6802. (3384, '安宁区', 332, 255, 3, NULL),
  6803. (3385, '红古区', 332, 255, 3, NULL),
  6804. (3386, '永登县', 332, 255, 3, NULL),
  6805. (3387, '皋兰县', 332, 255, 3, NULL),
  6806. (3388, '榆中县', 332, 255, 3, NULL),
  6807. (3389, '兰州新区', 332, 255, 3, NULL),
  6808. (3390, '市辖区', 333, 255, 3, NULL),
  6809. (3391, '市辖区', 334, 255, 3, NULL),
  6810. (3392, '金川区', 334, 255, 3, NULL),
  6811. (3393, '永昌县', 334, 255, 3, NULL),
  6812. (3394, '市辖区', 335, 255, 3, NULL),
  6813. (3395, '白银区', 335, 255, 3, NULL),
  6814. (3396, '平川区', 335, 255, 3, NULL),
  6815. (3397, '靖远县', 335, 255, 3, NULL),
  6816. (3398, '会宁县', 335, 255, 3, NULL),
  6817. (3399, '景泰县', 335, 255, 3, NULL),
  6818. (3400, '市辖区', 336, 255, 3, NULL),
  6819. (3401, '秦州区', 336, 255, 3, NULL),
  6820. (3402, '麦积区', 336, 255, 3, NULL),
  6821. (3403, '清水县', 336, 255, 3, NULL),
  6822. (3404, '秦安县', 336, 255, 3, NULL),
  6823. (3405, '甘谷县', 336, 255, 3, NULL),
  6824. (3406, '武山县', 336, 255, 3, NULL),
  6825. (3407, '张家川回族自治县', 336, 255, 3, NULL),
  6826. (3408, '市辖区', 337, 255, 3, NULL),
  6827. (3409, '凉州区', 337, 255, 3, NULL),
  6828. (3410, '民勤县', 337, 255, 3, NULL),
  6829. (3411, '古浪县', 337, 255, 3, NULL),
  6830. (3412, '天祝藏族自治县', 337, 255, 3, NULL),
  6831. (3413, '市辖区', 338, 255, 3, NULL),
  6832. (3414, '甘州区', 338, 255, 3, NULL),
  6833. (3415, '肃南裕固族自治县', 338, 255, 3, NULL),
  6834. (3416, '民乐县', 338, 255, 3, NULL),
  6835. (3417, '临泽县', 338, 255, 3, NULL),
  6836. (3418, '高台县', 338, 255, 3, NULL),
  6837. (3419, '山丹县', 338, 255, 3, NULL),
  6838. (3420, '市辖区', 339, 255, 3, NULL),
  6839. (3421, '崆峒区', 339, 255, 3, NULL),
  6840. (3422, '泾川县', 339, 255, 3, NULL),
  6841. (3423, '灵台县', 339, 255, 3, NULL),
  6842. (3424, '崇信县', 339, 255, 3, NULL),
  6843. (3425, '庄浪县', 339, 255, 3, NULL),
  6844. (3426, '静宁县', 339, 255, 3, NULL),
  6845. (3427, '华亭市', 339, 255, 3, NULL),
  6846. (3428, '市辖区', 340, 255, 3, NULL),
  6847. (3429, '肃州区', 340, 255, 3, NULL),
  6848. (3430, '金塔县', 340, 255, 3, NULL),
  6849. (3431, '瓜州县', 340, 255, 3, NULL),
  6850. (3432, '肃北蒙古族自治县', 340, 255, 3, NULL),
  6851. (3433, '阿克塞哈萨克族自治县', 340, 255, 3, NULL),
  6852. (3434, '玉门市', 340, 255, 3, NULL),
  6853. (3435, '敦煌市', 340, 255, 3, NULL),
  6854. (3436, '市辖区', 341, 255, 3, NULL),
  6855. (3437, '西峰区', 341, 255, 3, NULL),
  6856. (3438, '庆城县', 341, 255, 3, NULL),
  6857. (3439, '环县', 341, 255, 3, NULL),
  6858. (3440, '华池县', 341, 255, 3, NULL),
  6859. (3441, '合水县', 341, 255, 3, NULL),
  6860. (3442, '正宁县', 341, 255, 3, NULL),
  6861. (3443, '宁县', 341, 255, 3, NULL),
  6862. (3444, '镇原县', 341, 255, 3, NULL),
  6863. (3445, '市辖区', 342, 255, 3, NULL),
  6864. (3446, '安定区', 342, 255, 3, NULL),
  6865. (3447, '通渭县', 342, 255, 3, NULL),
  6866. (3448, '陇西县', 342, 255, 3, NULL),
  6867. (3449, '渭源县', 342, 255, 3, NULL),
  6868. (3450, '临洮县', 342, 255, 3, NULL),
  6869. (3451, '漳县', 342, 255, 3, NULL),
  6870. (3452, '岷县', 342, 255, 3, NULL),
  6871. (3453, '市辖区', 343, 255, 3, NULL),
  6872. (3454, '武都区', 343, 255, 3, NULL),
  6873. (3455, '成县', 343, 255, 3, NULL),
  6874. (3456, '文县', 343, 255, 3, NULL),
  6875. (3457, '宕昌县', 343, 255, 3, NULL),
  6876. (3458, '康县', 343, 255, 3, NULL),
  6877. (3459, '西和县', 343, 255, 3, NULL),
  6878. (3460, '礼县', 343, 255, 3, NULL),
  6879. (3461, '徽县', 343, 255, 3, NULL),
  6880. (3462, '两当县', 343, 255, 3, NULL),
  6881. (3463, '临夏市', 344, 255, 3, NULL),
  6882. (3464, '临夏县', 344, 255, 3, NULL),
  6883. (3465, '康乐县', 344, 255, 3, NULL),
  6884. (3466, '永靖县', 344, 255, 3, NULL),
  6885. (3467, '广河县', 344, 255, 3, NULL),
  6886. (3468, '和政县', 344, 255, 3, NULL),
  6887. (3469, '东乡族自治县', 344, 255, 3, NULL),
  6888. (3470, '积石山保安族东乡族撒拉族自治县', 344, 255, 3, NULL),
  6889. (3471, '合作市', 345, 255, 3, NULL),
  6890. (3472, '临潭县', 345, 255, 3, NULL),
  6891. (3473, '卓尼县', 345, 255, 3, NULL),
  6892. (3474, '舟曲县', 345, 255, 3, NULL),
  6893. (3475, '迭部县', 345, 255, 3, NULL),
  6894. (3476, '玛曲县', 345, 255, 3, NULL),
  6895. (3477, '碌曲县', 345, 255, 3, NULL),
  6896. (3478, '夏河县', 345, 255, 3, NULL),
  6897. (3479, '市辖区', 346, 255, 3, NULL),
  6898. (3480, '城东区', 346, 255, 3, NULL),
  6899. (3481, '城中区', 346, 255, 3, NULL),
  6900. (3482, '城西区', 346, 255, 3, NULL),
  6901. (3483, '城北区', 346, 255, 3, NULL),
  6902. (3484, '湟中区', 346, 255, 3, NULL),
  6903. (3485, '大通回族土族自治县', 346, 255, 3, NULL),
  6904. (3486, '湟源县', 346, 255, 3, NULL),
  6905. (3487, '乐都区', 347, 255, 3, NULL),
  6906. (3488, '平安区', 347, 255, 3, NULL),
  6907. (3489, '民和回族土族自治县', 347, 255, 3, NULL),
  6908. (3490, '互助土族自治县', 347, 255, 3, NULL),
  6909. (3491, '化隆回族自治县', 347, 255, 3, NULL),
  6910. (3492, '循化撒拉族自治县', 347, 255, 3, NULL),
  6911. (3493, '门源回族自治县', 348, 255, 3, NULL),
  6912. (3494, '祁连县', 348, 255, 3, NULL),
  6913. (3495, '海晏县', 348, 255, 3, NULL),
  6914. (3496, '刚察县', 348, 255, 3, NULL),
  6915. (3497, '同仁县', 349, 255, 3, NULL),
  6916. (3498, '尖扎县', 349, 255, 3, NULL),
  6917. (3499, '泽库县', 349, 255, 3, NULL),
  6918. (3500, '河南蒙古族自治县', 349, 255, 3, NULL),
  6919. (3501, '共和县', 350, 255, 3, NULL),
  6920. (3502, '同德县', 350, 255, 3, NULL),
  6921. (3503, '贵德县', 350, 255, 3, NULL),
  6922. (3504, '兴海县', 350, 255, 3, NULL),
  6923. (3505, '贵南县', 350, 255, 3, NULL),
  6924. (3506, '玛沁县', 351, 255, 3, NULL),
  6925. (3507, '班玛县', 351, 255, 3, NULL),
  6926. (3508, '甘德县', 351, 255, 3, NULL),
  6927. (3509, '达日县', 351, 255, 3, NULL),
  6928. (3510, '久治县', 351, 255, 3, NULL),
  6929. (3511, '玛多县', 351, 255, 3, NULL),
  6930. (3512, '玉树市', 352, 255, 3, NULL),
  6931. (3513, '杂多县', 352, 255, 3, NULL),
  6932. (3514, '称多县', 352, 255, 3, NULL),
  6933. (3515, '治多县', 352, 255, 3, NULL),
  6934. (3516, '囊谦县', 352, 255, 3, NULL),
  6935. (3517, '曲麻莱县', 352, 255, 3, NULL),
  6936. (3518, '格尔木市', 353, 255, 3, NULL),
  6937. (3519, '德令哈市', 353, 255, 3, NULL),
  6938. (3520, '茫崖市', 353, 255, 3, NULL),
  6939. (3521, '乌兰县', 353, 255, 3, NULL),
  6940. (3522, '都兰县', 353, 255, 3, NULL),
  6941. (3523, '天峻县', 353, 255, 3, NULL),
  6942. (3524, '大柴旦行政委员会', 353, 255, 3, NULL),
  6943. (3525, '市辖区', 354, 255, 3, NULL),
  6944. (3526, '兴庆区', 354, 255, 3, NULL),
  6945. (3527, '西夏区', 354, 255, 3, NULL),
  6946. (3528, '金凤区', 354, 255, 3, NULL),
  6947. (3529, '永宁县', 354, 255, 3, NULL),
  6948. (3530, '贺兰县', 354, 255, 3, NULL),
  6949. (3531, '灵武市', 354, 255, 3, NULL),
  6950. (3532, '市辖区', 355, 255, 3, NULL),
  6951. (3533, '大武口区', 355, 255, 3, NULL),
  6952. (3534, '惠农区', 355, 255, 3, NULL),
  6953. (3535, '平罗县', 355, 255, 3, NULL),
  6954. (3536, '市辖区', 356, 255, 3, NULL),
  6955. (3537, '利通区', 356, 255, 3, NULL),
  6956. (3538, '红寺堡区', 356, 255, 3, NULL),
  6957. (3539, '盐池县', 356, 255, 3, NULL),
  6958. (3540, '同心县', 356, 255, 3, NULL),
  6959. (3541, '青铜峡市', 356, 255, 3, NULL),
  6960. (3542, '市辖区', 357, 255, 3, NULL),
  6961. (3543, '原州区', 357, 255, 3, NULL),
  6962. (3544, '西吉县', 357, 255, 3, NULL),
  6963. (3545, '隆德县', 357, 255, 3, NULL),
  6964. (3546, '泾源县', 357, 255, 3, NULL),
  6965. (3547, '彭阳县', 357, 255, 3, NULL),
  6966. (3548, '市辖区', 358, 255, 3, NULL),
  6967. (3549, '沙坡头区', 358, 255, 3, NULL),
  6968. (3550, '中宁县', 358, 255, 3, NULL),
  6969. (3551, '海原县', 358, 255, 3, NULL),
  6970. (3552, '市辖区', 359, 255, 3, NULL),
  6971. (3553, '天山区', 359, 255, 3, NULL),
  6972. (3554, '沙依巴克区', 359, 255, 3, NULL),
  6973. (3555, '新市区', 359, 255, 3, NULL),
  6974. (3556, '水磨沟区', 359, 255, 3, NULL),
  6975. (3557, '头屯河区', 359, 255, 3, NULL),
  6976. (3558, '达坂城区', 359, 255, 3, NULL),
  6977. (3559, '米东区', 359, 255, 3, NULL),
  6978. (3560, '乌鲁木齐县', 359, 255, 3, NULL),
  6979. (3561, '市辖区', 360, 255, 3, NULL),
  6980. (3562, '独山子区', 360, 255, 3, NULL),
  6981. (3563, '克拉玛依区', 360, 255, 3, NULL),
  6982. (3564, '白碱滩区', 360, 255, 3, NULL),
  6983. (3565, '乌尔禾区', 360, 255, 3, NULL),
  6984. (3566, '高昌区', 361, 255, 3, NULL),
  6985. (3567, '鄯善县', 361, 255, 3, NULL),
  6986. (3568, '托克逊县', 361, 255, 3, NULL),
  6987. (3569, '伊州区', 362, 255, 3, NULL),
  6988. (3570, '巴里坤哈萨克自治县', 362, 255, 3, NULL),
  6989. (3571, '伊吾县', 362, 255, 3, NULL),
  6990. (3572, '昌吉市', 363, 255, 3, NULL),
  6991. (3573, '阜康市', 363, 255, 3, NULL),
  6992. (3574, '呼图壁县', 363, 255, 3, NULL),
  6993. (3575, '玛纳斯县', 363, 255, 3, NULL),
  6994. (3576, '奇台县', 363, 255, 3, NULL),
  6995. (3577, '吉木萨尔县', 363, 255, 3, NULL),
  6996. (3578, '木垒哈萨克自治县', 363, 255, 3, NULL),
  6997. (3579, '博乐市', 364, 255, 3, NULL),
  6998. (3580, '阿拉山口市', 364, 255, 3, NULL),
  6999. (3581, '精河县', 364, 255, 3, NULL),
  7000. (3582, '温泉县', 364, 255, 3, NULL),
  7001. (3583, '库尔勒市', 365, 255, 3, NULL),
  7002. (3584, '轮台县', 365, 255, 3, NULL),
  7003. (3585, '尉犁县', 365, 255, 3, NULL),
  7004. (3586, '若羌县', 365, 255, 3, NULL),
  7005. (3587, '且末县', 365, 255, 3, NULL),
  7006. (3588, '焉耆回族自治县', 365, 255, 3, NULL),
  7007. (3589, '和静县', 365, 255, 3, NULL),
  7008. (3590, '和硕县', 365, 255, 3, NULL),
  7009. (3591, '博湖县', 365, 255, 3, NULL),
  7010. (3592, '库尔勒经济技术开发区', 365, 255, 3, NULL),
  7011. (3593, '阿克苏市', 366, 255, 3, NULL),
  7012. (3594, '库车市', 366, 255, 3, NULL),
  7013. (3595, '温宿县', 366, 255, 3, NULL),
  7014. (3596, '沙雅县', 366, 255, 3, NULL),
  7015. (3597, '新和县', 366, 255, 3, NULL),
  7016. (3598, '拜城县', 366, 255, 3, NULL),
  7017. (3599, '乌什县', 366, 255, 3, NULL),
  7018. (3600, '阿瓦提县', 366, 255, 3, NULL),
  7019. (3601, '柯坪县', 366, 255, 3, NULL),
  7020. (3602, '阿图什市', 367, 255, 3, NULL),
  7021. (3603, '阿克陶县', 367, 255, 3, NULL),
  7022. (3604, '阿合奇县', 367, 255, 3, NULL),
  7023. (3605, '乌恰县', 367, 255, 3, NULL),
  7024. (3606, '喀什市', 368, 255, 3, NULL),
  7025. (3607, '疏附县', 368, 255, 3, NULL),
  7026. (3608, '疏勒县', 368, 255, 3, NULL),
  7027. (3609, '英吉沙县', 368, 255, 3, NULL),
  7028. (3610, '泽普县', 368, 255, 3, NULL),
  7029. (3611, '莎车县', 368, 255, 3, NULL),
  7030. (3612, '叶城县', 368, 255, 3, NULL),
  7031. (3613, '麦盖提县', 368, 255, 3, NULL),
  7032. (3614, '岳普湖县', 368, 255, 3, NULL),
  7033. (3615, '伽师县', 368, 255, 3, NULL),
  7034. (3616, '巴楚县', 368, 255, 3, NULL),
  7035. (3617, '塔什库尔干塔吉克自治县', 368, 255, 3, NULL),
  7036. (3618, '和田市', 369, 255, 3, NULL),
  7037. (3619, '和田县', 369, 255, 3, NULL),
  7038. (3620, '墨玉县', 369, 255, 3, NULL),
  7039. (3621, '皮山县', 369, 255, 3, NULL),
  7040. (3622, '洛浦县', 369, 255, 3, NULL),
  7041. (3623, '策勒县', 369, 255, 3, NULL),
  7042. (3624, '于田县', 369, 255, 3, NULL),
  7043. (3625, '民丰县', 369, 255, 3, NULL),
  7044. (3626, '伊宁市', 370, 255, 3, NULL),
  7045. (3627, '奎屯市', 370, 255, 3, NULL),
  7046. (3628, '霍尔果斯市', 370, 255, 3, NULL),
  7047. (3629, '伊宁县', 370, 255, 3, NULL),
  7048. (3630, '察布查尔锡伯自治县', 370, 255, 3, NULL),
  7049. (3631, '霍城县', 370, 255, 3, NULL),
  7050. (3632, '巩留县', 370, 255, 3, NULL),
  7051. (3633, '新源县', 370, 255, 3, NULL),
  7052. (3634, '昭苏县', 370, 255, 3, NULL),
  7053. (3635, '特克斯县', 370, 255, 3, NULL),
  7054. (3636, '尼勒克县', 370, 255, 3, NULL),
  7055. (3637, '塔城市', 371, 255, 3, NULL),
  7056. (3638, '乌苏市', 371, 255, 3, NULL),
  7057. (3639, '额敏县', 371, 255, 3, NULL),
  7058. (3640, '沙湾县', 371, 255, 3, NULL),
  7059. (3641, '托里县', 371, 255, 3, NULL),
  7060. (3642, '裕民县', 371, 255, 3, NULL),
  7061. (3643, '和布克赛尔蒙古自治县', 371, 255, 3, NULL),
  7062. (3644, '阿勒泰市', 372, 255, 3, NULL),
  7063. (3645, '布尔津县', 372, 255, 3, NULL),
  7064. (3646, '富蕴县', 372, 255, 3, NULL),
  7065. (3647, '福海县', 372, 255, 3, NULL),
  7066. (3648, '哈巴河县', 372, 255, 3, NULL),
  7067. (3649, '青河县', 372, 255, 3, NULL),
  7068. (3650, '吉木乃县', 372, 255, 3, NULL),
  7069. (3651, '石河子市', 373, 255, 3, NULL),
  7070. (3652, '阿拉尔市', 373, 255, 3, NULL),
  7071. (3653, '图木舒克市', 373, 255, 3, NULL),
  7072. (3654, '五家渠市', 373, 255, 3, NULL),
  7073. (3655, '北屯市', 373, 255, 3, NULL),
  7074. (3656, '铁门关市', 373, 255, 3, NULL),
  7075. (3657, '双河市', 373, 255, 3, NULL),
  7076. (3658, '可克达拉市', 373, 255, 3, NULL),
  7077. (3659, '昆玉市', 373, 255, 3, NULL),
  7078. (3660, '胡杨河市', 373, 255, 3, NULL),
  7079. (3665, '香港岛', 3661, 255, 2, NULL),
  7080. (3666, '九龙', 3661, 255, 2, NULL),
  7081. (3667, '新界', 3661, 255, 2, NULL),
  7082. (3668, '中西区', 3665, 255, 3, NULL),
  7083. (3669, '湾仔', 3665, 255, 3, NULL),
  7084. (3670, '东区', 3665, 255, 3, NULL),
  7085. (3671, '南区', 3665, 255, 3, NULL),
  7086. (3672, '九龙城区', 3666, 255, 3, NULL),
  7087. (3673, '油尖旺区', 3666, 255, 3, NULL),
  7088. (3674, '深水埗区', 3666, 255, 3, NULL),
  7089. (3675, '黄大仙区', 3666, 255, 3, NULL),
  7090. (3676, '观塘区', 3666, 255, 3, NULL),
  7091. (3677, '北区', 3667, 255, 3, NULL),
  7092. (3678, '大埔区', 3667, 255, 3, NULL),
  7093. (3679, '沙田区', 3667, 255, 3, NULL),
  7094. (3680, '西贡区', 3667, 255, 3, NULL),
  7095. (3681, '元朗区', 3667, 255, 3, NULL),
  7096. (3682, '屯门区', 3667, 255, 3, NULL),
  7097. (3683, '荃湾区', 3667, 255, 3, NULL),
  7098. (3684, '葵青区', 3667, 255, 3, NULL),
  7099. (3685, '离岛区', 3667, 255, 3, NULL),
  7100. (3686, '澳门半岛', 3662, 255, 2, NULL),
  7101. (3687, '离岛', 3662, 255, 2, NULL),
  7102. (3688, '台北市', 3663, 255, 2, NULL),
  7103. (3689, '高雄市', 3663, 255, 2, NULL),
  7104. (3690, '台南市', 3663, 255, 2, NULL),
  7105. (3691, '台中市', 3663, 255, 2, NULL),
  7106. (3692, '金门县', 3663, 255, 2, NULL),
  7107. (3693, '南投县', 3663, 255, 2, NULL),
  7108. (3694, '基隆市', 3663, 255, 2, NULL),
  7109. (3695, '新竹市', 3663, 255, 2, NULL),
  7110. (3696, '嘉义市', 3663, 255, 2, NULL),
  7111. (3697, '新北市', 3663, 255, 2, NULL),
  7112. (3698, '宜兰县', 3663, 255, 2, NULL),
  7113. (3699, '新竹县', 3663, 255, 2, NULL),
  7114. (3700, '桃园县', 3663, 255, 2, NULL),
  7115. (3701, '苗栗县', 3663, 255, 2, NULL),
  7116. (3702, '彰化县', 3663, 255, 2, NULL),
  7117. (3703, '嘉义县', 3663, 255, 2, NULL),
  7118. (3704, '云林县', 3663, 255, 2, NULL),
  7119. (3705, '屏东县', 3663, 255, 2, NULL),
  7120. (3706, '台东县', 3663, 255, 2, NULL),
  7121. (3707, '花莲县', 3663, 255, 2, NULL),
  7122. (3708, '澎湖县', 3663, 255, 2, NULL),
  7123. (3709, '中正区', 3688, 255, 3, NULL),
  7124. (3710, '大同区', 3688, 255, 3, NULL),
  7125. (3711, '中山区', 3688, 255, 3, NULL),
  7126. (3712, '松山区', 3688, 255, 3, NULL),
  7127. (3713, '大安区', 3688, 255, 3, NULL),
  7128. (3714, '万华区', 3688, 255, 3, NULL),
  7129. (3715, '信义区', 3688, 255, 3, NULL),
  7130. (3716, '士林区', 3688, 255, 3, NULL),
  7131. (3717, '北投区', 3688, 255, 3, NULL),
  7132. (3718, '内湖区', 3688, 255, 3, NULL),
  7133. (3719, '南港区', 3688, 255, 3, NULL),
  7134. (3720, '文山区', 3688, 255, 3, NULL),
  7135. (3721, '其它区', 3688, 255, 3, NULL),
  7136. (3722, '新兴区', 3689, 255, 3, NULL),
  7137. (3723, '前金区', 3689, 255, 3, NULL),
  7138. (3724, '芩雅区', 3689, 255, 3, NULL),
  7139. (3725, '盐埕区', 3689, 255, 3, NULL),
  7140. (3726, '鼓山区', 3689, 255, 3, NULL),
  7141. (3727, '旗津区', 3689, 255, 3, NULL),
  7142. (3728, '前镇区', 3689, 255, 3, NULL),
  7143. (3729, '三民区', 3689, 255, 3, NULL),
  7144. (3730, '左营区', 3689, 255, 3, NULL),
  7145. (3731, '楠梓区', 3689, 255, 3, NULL),
  7146. (3732, '小港区', 3689, 255, 3, NULL),
  7147. (3733, '其它区', 3689, 255, 3, NULL),
  7148. (3734, '中西区', 3690, 255, 3, NULL),
  7149. (3735, '东区', 3690, 255, 3, NULL),
  7150. (3736, '南区', 3690, 255, 3, NULL),
  7151. (3737, '北区', 3690, 255, 3, NULL),
  7152. (3738, '安平区', 3690, 255, 3, NULL),
  7153. (3739, '安南区', 3690, 255, 3, NULL),
  7154. (3740, '其它区', 3690, 255, 3, NULL),
  7155. (3741, '中区', 3691, 255, 3, NULL),
  7156. (3742, '东区', 3691, 255, 3, NULL),
  7157. (3743, '南区', 3691, 255, 3, NULL),
  7158. (3744, '西区', 3691, 255, 3, NULL),
  7159. (3745, '北区', 3691, 255, 3, NULL),
  7160. (3746, '北屯区', 3691, 255, 3, NULL),
  7161. (3747, '西屯区', 3691, 255, 3, NULL),
  7162. (3748, '南屯区', 3691, 255, 3, NULL),
  7163. (3749, '其它区', 3691, 255, 3, NULL),
  7164. (3750, '仁爱区', 3694, 255, 3, NULL),
  7165. (3751, '信义区', 3694, 255, 3, NULL),
  7166. (3752, '中正区', 3694, 255, 3, NULL),
  7167. (3753, '中山区', 3694, 255, 3, NULL),
  7168. (3754, '安乐区', 3694, 255, 3, NULL),
  7169. (3755, '暖暖区', 3694, 255, 3, NULL),
  7170. (3756, '七堵区', 3694, 255, 3, NULL),
  7171. (3757, '其它区', 3694, 255, 3, NULL),
  7172. (3758, '东区', 3695, 255, 3, NULL),
  7173. (3759, '北区', 3695, 255, 3, NULL),
  7174. (3760, '香山区', 3695, 255, 3, NULL),
  7175. (3761, '其它区', 3695, 255, 3, NULL),
  7176. (3762, '东区', 3696, 255, 3, NULL),
  7177. (3763, '西区', 3696, 255, 3, NULL),
  7178. (3764, '其它区', 3696, 255, 3, NULL),
  7179. (3765, '美国', 3664, 0, 3, NULL),
  7180. (3766, '加拿大', 3664, 0, 3, NULL),
  7181. (3767, '澳大利亚', 3664, 0, 3, NULL),
  7182. (3768, '新西兰', 3664, 0, 3, NULL),
  7183. (3769, '英国', 3664, 0, 3, NULL),
  7184. (3770, '法国', 3664, 0, 3, NULL),
  7185. (3771, '德国', 3664, 0, 3, NULL),
  7186. (3772, '捷克', 3664, 0, 3, NULL),
  7187. (3773, '荷兰', 3664, 0, 3, NULL),
  7188. (3774, '瑞士', 3664, 0, 3, NULL),
  7189. (3775, '希腊', 3664, 0, 3, NULL),
  7190. (3776, '挪威', 3664, 0, 3, NULL),
  7191. (3777, '瑞典', 3664, 0, 3, NULL),
  7192. (3778, '丹麦', 3664, 0, 3, NULL),
  7193. (3779, '芬兰', 3664, 0, 3, NULL),
  7194. (3780, '爱尔兰', 3664, 0, 3, NULL),
  7195. (3781, '奥地利', 3664, 0, 3, NULL),
  7196. (3782, '意大利', 3664, 0, 3, NULL),
  7197. (3783, '乌克兰', 3664, 0, 3, NULL),
  7198. (3784, '俄罗斯', 3664, 0, 3, NULL),
  7199. (3785, '西班牙', 3664, 0, 3, NULL),
  7200. (3786, '韩国', 3664, 0, 3, NULL),
  7201. (3787, '新加坡', 3664, 0, 3, NULL),
  7202. (3788, '马来西亚', 3664, 0, 3, NULL),
  7203. (3789, '印度', 3664, 0, 3, NULL),
  7204. (3790, '泰国', 3664, 0, 3, NULL),
  7205. (3791, '日本', 3664, 0, 3, NULL),
  7206. (3792, '巴西', 3664, 0, 3, NULL),
  7207. (3793, '阿根廷', 3664, 0, 3, NULL),
  7208. (3794, '南非', 3664, 0, 3, NULL),
  7209. (3795, '埃及', 3664, 0, 3, NULL);
  7210. INSERT INTO `#__config` (`id`, `code`, `value`, `remark`) VALUES
  7211. (1, 'site_name', '德尚商城', '商城名称'),
  7212. (2, 'site_phone', '3', '商城客服服务电话'),
  7213. (3, 'site_state', '1', '商城状态'),
  7214. (4, 'site_logo', 'site_logo.png', '商城logo图'),
  7215. (5, 'member_logo', 'member_logo.png', '默认会员图'),
  7216. (6, 'seller_center_logo', 'seller_center_logo.jpg', '默认卖家中心logo'),
  7217. (7, 'site_mobile_logo', 'site_mobile_logo.png', '默认商城手机端logo'),
  7218. (8, 'site_logowx', 'site_logowx.jpg', '微信商城二维码'),
  7219. (9, 'icp_number', '2', 'ICP备案号'),
  7220. (10, 'site_tel400', '40002541852', '解释,备注'),
  7221. (11, 'site_email', '858761000@qq.com', '电子邮件'),
  7222. (12, 'flow_static_code', 'Copyright © 2013-2019 德尚网络开源系统 版权所有 保留一切权利', '底部版权信息'),
  7223. (13, 'closed_reason', '商城暂时关闭', '商城关闭原因'),
  7224. (14, 'guest_comment', '1', '是否允许游客咨询'),
  7225. (15, 'captcha_status_login', '1', '会员登录是否需要验证码'),
  7226. (16, 'captcha_status_register', '1', '会员注册是否验证码'),
  7227. (17, 'captcha_status_goodsqa', '1', '商品咨询是否验证码'),
  7228. (18, 'captcha_status_storelogin', '1', '店铺登录是否验证码'),
  7229. (19, 'cache_open', '0', '是否开启缓存'),
  7230. (21, 'default_goods_image', 'default_goods_image.jpg', '默认商品图'),
  7231. (22, 'default_store_logo', 'default_store_logo.jpg', '默认店铺图'),
  7232. (23, 'default_store_avatar', 'default_store_avatar.png', '默认店铺图像'),
  7233. (24, 'default_user_portrait', 'default_user_portrait.png', '默认会员图像'),
  7234. (25, 'fixed_suspension_state', '1', '是否开启首次访问悬浮'),
  7235. (26, 'fixed_suspension_img', 'fixed_suspension_img.png', '首次访问悬浮图像'),
  7236. (27, 'fixed_suspension_url', '#', '悬浮图像跳转地址'),
  7237. (28, 'admin_logo', 'logo.png', '后台登录中心Logo'),
  7238. (29, 'admin_backlogo', 'backlogo.png', '后台管理中心Logo'),
  7239. (31, 'store_joinin_pic', 'a:2:{s:3:"pic";a:3:{i:1;s:18:"store_joinin_1.jpg";i:2;s:18:"store_joinin_2.jpg";i:3;s:18:"store_joinin_3.jpg";}s:8:"show_txt";s:6:"测试";}', '解释,备注'),
  7240. (32, 'store_joinin_open', '1', '店铺入驻开启(0不开启1全部开启2仅企业3仅个人)'),
  7241. (40, 'smscf_wj_username', '', '短信平台账号'),
  7242. (41, 'smscf_wj_key', '', '短信平台密钥'),
  7243. (42, 'smscf_sign', '', '短信签名'),
  7244. (43, 'smscf_type', 'wj', '短信服务商'),
  7245. (44, 'smscf_ali_id', '', '阿里云短信AccessKeyId'),
  7246. (45, 'smscf_ali_secret', '', '阿里云短信AccessKeySecret'),
  7247. (46, 'smscf_ten_id', '', '腾讯云短信AccessKeyId'),
  7248. (47, 'smscf_ten_secret', '', '腾讯云短信AccessKeySecret'),
  7249. (51, 'email_host', 'smtp.126.com', '邮箱地址'),
  7250. (52, 'email_port', '25', '邮箱端口'),
  7251. (53, 'email_addr', '', '邮箱发件人地址'),
  7252. (54, 'email_id', '', '身份验证用户名'),
  7253. (55, 'email_pass', '', '用户名密码'),
  7254. (56, 'email_secure', '', '邮箱发送协议'),
  7255. (60, 'setup_date', '2015-01-01 00:00:00', '安装时间'),
  7256. (61, 'upload_type', 'local', '图片上传保存方式'),
  7257. (62, 'alioss_accessid', NULL, 'accessid'),
  7258. (63, 'alioss_accesssecret', NULL, 'oss_accesssecret'),
  7259. (64, 'alioss_bucket', NULL, 'oss_bucket'),
  7260. (65, 'alioss_endpoint', NULL, 'oss_endpoint'),
  7261. (66, 'aliendpoint_type', '0', 'aliendpoint_type'),
  7262. (80, 'flea_site_title', '', ''),
  7263. (81, 'flea_site_description', '', ''),
  7264. (82, 'flea_site_keywords', '', ''),
  7265. (83, 'flea_loginpic', '', ''),
  7266. (91, 'order_auto_receive_day', '7', '自动确认收货的天数'),
  7267. (92, 'order_auto_cancel_day', '3', '自动取消订单的天数'),
  7268. (93, 'code_invalid_refund', '7', '兑换码过期自动退款的天数'),
  7269. (101, 'qq_isuse', '1', '是否使用QQ互联'),
  7270. (102, 'qq_appid', '', 'qq互联id'),
  7271. (103, 'qq_appkey', '', 'qq秘钥'),
  7272. (111, 'sina_isuse', '1', '是的使用微博登录'),
  7273. (112, 'sina_wb_akey', '', '新浪id'),
  7274. (113, 'sina_wb_skey', '', '新浪秘钥'),
  7275. (121, 'sms_register', '0', '是否手机注册'),
  7276. (122, 'sms_login', '0', '是否手机登录'),
  7277. (123, 'sms_password', '0', '是否手机找回密码'),
  7278. (131, 'weixin_isuse', NULL, '是否微信登录'),
  7279. (132, 'weixin_appid', NULL, '微信appid'),
  7280. (133, 'weixin_secret', NULL, '微信appserite'),
  7281. (135, 'complain_time_limit', '864000', '商品详情页咨询文字提示'),
  7282. (136, 'malbum_max_sum', '10', '个人相册数量'),
  7283. (137, 'hot_search', '', '热门搜索关键字'),
  7284. (138, 'image_allow_ext', 'gif,jpg,jpeg,bmp,png,swf', '允许后缀'),
  7285. (139, 'image_max_filesize', '1024', '允许上传最大值'),
  7286. (140, 'expresscf_kdn_id', '', '快递鸟-用户ID'),
  7287. (141, 'expresscf_kdn_key', '', '快递鸟-API key'),
  7288. (142, 'expresscf_kdn_type', '', '快递鸟-API类型'),
  7289. (150, 'vod_tencent_secret_id', '', '腾讯Secret_id'),
  7290. (151, 'vod_tencent_secret_key', '', '腾讯Secret_key'),
  7291. (201, 'flea_isuse', '0', '闲置市场'),
  7292. (202, 'promotion_allow', '1', '商品促销'),
  7293. (203, 'groupbuy_allow', '1', '抢购'),
  7294. (204, 'points_isuse', '1', '开启积分机制'),
  7295. (205, 'pointshop_isuse', '1', '积分中心'),
  7296. (206, 'pointprod_isuse', '1', '积分兑换'),
  7297. (207, 'voucher_allow', '1', '代金券'),
  7298. (208, 'mgdiscount_allow', '1', '会员等级折扣'),
  7299. (209, 'mgdiscount_price', '1', '会员等级折扣价格'),
  7300. (230, 'points_reg', '5', '注册赠送积分数'),
  7301. (231, 'points_login', '10', '登录赠送积分数'),
  7302. (232, 'points_comments', '10', '评论赠送积分数'),
  7303. (233, 'points_signin', '10', '会员签到赠送积分'),
  7304. (234, 'points_invite', '10', '邀请注册积分'),
  7305. (235, 'points_rebate', '1', '返佣比例'),
  7306. (236, 'points_orderrate', '4', '消费额与赠送积分比例'),
  7307. (237, 'points_ordermax', '4', '每单最多赠送积分'),
  7308. (238, 'points_signin_isuse', '1', '开启签到送积分'),
  7309. (239, 'points_signin_cycle', '7', '签到持续周期'),
  7310. (240, 'points_signin_reward', '7', '签到持续周期额外奖励'),
  7311. (241, 'groupbuy_price', '20', '抢购价格'),
  7312. (242, 'groupbuy_review_day', '3', '抢购审核期'),
  7313. (350, 'live_pic1', '', '抢购默认幻灯片'),
  7314. (351, 'live_link1', '', '抢购幻灯片跳转地址'),
  7315. (352, 'live_pic2', '', '抢购默认幻灯片'),
  7316. (353, 'live_link2', '', '抢购幻灯片跳转地址'),
  7317. (354, 'live_pic3', '', '抢购默认幻灯片'),
  7318. (355, 'live_link3', '', '抢购幻灯片跳转地址'),
  7319. (356, 'live_pic4', '', '抢购默认幻灯片'),
  7320. (357, 'live_link4', '', '抢购幻灯片跳转地址'),
  7321. (358, 'promotion_presell_price', '10', '预售价格'),
  7322. (359, 'promotion_wholesale_price', '10', '批发价格'),
  7323. (360, 'promotion_xianshi_price', '10', '限时促销价格'),
  7324. (361, 'promotion_mansong_price', '16', '满送活动价格'),
  7325. (362, 'promotion_bundling_price', '15', '优惠活动价格'),
  7326. (363, 'promotion_bundling_sum', '10', '允许活动数量'),
  7327. (364, 'promotion_bundling_goods_sum', '3', '活动最大商品发布数量'),
  7328. (365, 'promotion_booth_price', '10', '推荐展位价格'),
  7329. (366, 'promotion_booth_goods_sum', '10', '允许设置最大推荐商品数量'),
  7330. (367, 'promotion_voucher_price', '10', '代金券价格'),
  7331. (368, 'promotion_pintuan_price', '10', '拼团套餐价格'),
  7332. (369, 'promotion_bargain_price', '10', '砍价套餐价格'),
  7333. (370, 'voucher_storetimes_limit', '20', '代金券活动数'),
  7334. (371, 'voucher_buyertimes_limit', '20', '卖家最大领取数'),
  7335. (380, 'chain_isuse', '1', '代收是否开启'),
  7336. (390, 'goods_verify', '0', '商品审核'),
  7337. (401, 'stat_pricerange', 'a:3:{i:0;a:2:{s:1:"s";s:1:"5";s:1:"e";s:2:"10";}i:1;a:2:{s:1:"s";s:2:"11";s:1:"e";s:2:"20";}i:2;a:2:{s:1:"s";s:2:"21";s:1:"e";s:2:"25";}}', '统计商品价格区间'),
  7338. (402, 'stat_orderpricerange', 'a:1:{i:0;a:2:{s:1:"s";s:2:"21";s:1:"e";s:2:"30";}}', '订单金额区间'),
  7339. (501, 'expset', 'a:4:{s:9:"login_exp";s:3:"151";s:11:"comment_exp";s:1:"1";s:7:"buy_exp";s:1:"1";s:11:"buy_exp_max";s:2:"50";}', '解释,备注'),
  7340. (502, 'exppoints_rule', 'a:4:{s:9:"exp_login";s:2:"20";s:12:"exp_comments";s:2:"10";s:13:"exp_orderrate";s:2:"10";s:12:"exp_ordermax";s:2:"10";}', '解释,备注'),
  7341. (601, 'member_grade', 'a:4:{i:1;a:3:{s:5:"level";i:1;s:10:"level_name";s:12:"青铜会员";s:9:"exppoints";i:0;}i:2;a:3:{s:5:"level";i:2;s:10:"level_name";s:12:"白银会员";s:9:"exppoints";i:150;}i:3;a:3:{s:5:"level";i:3;s:10:"level_name";s:12:"黄金会员";s:9:"exppoints";i:200;}i:4;a:3:{s:5:"level";i:4;s:10:"level_name";s:12:"白金会员";s:9:"exppoints";i:500;}}', '解释,备注'),
  7342. (701, 'inviter_back', 'inviter_back.png', '会员推广背景图片'),
  7343. (702, 'inviter_ratio_1', '30', '会员一级推广佣金比例'),
  7344. (703, 'inviter_ratio_2', '25', '会员二级推广佣金比例'),
  7345. (704, 'inviter_ratio_3', '15', '会员三级推广佣金比例'),
  7346. (705, 'baidu_ak', '22bb7221fc279a484895afcc6a0bb33a', '百度地图AK密钥'),
  7347. (706 , 'inviter_open', '1', '推广开关'),
  7348. (707 , 'inviter_level', '3', '推广级别'),
  7349. (708 , 'inviter_show', '1', '详情页显示推广佣金'),
  7350. (709 , 'inviter_return', '1', '推广员返佣'),
  7351. (710 , 'inviter_view', '0', '推广员审核'),
  7352. (711 , 'inviter_condition', '0', '推广员条件'),
  7353. (712 , 'inviter_condition_amount', '0', '成为推广员的消费门槛'),
  7354. (713 , 'store_bill_cycle', '7', '店铺结算周期(天)'),
  7355. (714 , 'store_withdraw_cycle', '1', '店铺提现周期(天)'),
  7356. (715 , 'store_withdraw_min', '100', '店铺最小提现金额(元)'),
  7357. (716 , 'store_withdraw_max', '10000', '店铺最大提现金额(元)'),
  7358. (717 , 'auto_register', '0', '自动注册'),
  7359. (718 , 'business_licence', '', '营业执照'),
  7360. (719 , 'member_auth', '0', '实名认证'),
  7361. (730 , 'h5_site_url', 'https://m.dsmall.csdeshang.com', '手机端地址'),
  7362. (731 , 'h5_force_redirect', '0', '强制跳转到手机端'),
  7363. (740 , 'member_withdraw_cycle', '1', '用户提现周期(天)'),
  7364. (741 , 'member_withdraw_min', '100', '用户最小提现金额(元)'),
  7365. (742 , 'member_withdraw_max', '10000', '用户最大提现金额(元)'),
  7366. (752 , 'instant_message_open', '0', '开启聊天'),
  7367. (753 , 'instant_message_gateway_url', '', '聊天gateway地址'),
  7368. (754 , 'instant_message_register_url', '', '聊天register地址'),
  7369. (755 , 'live_push_domain', '', '推流域名'),
  7370. (756 , 'live_push_key', '', '推流key'),
  7371. (757 , 'live_play_domain', '', '拉流域名'),
  7372. (758 , 'vod_tencent_appid', '', '腾讯云appid'),
  7373. (759 , 'vod_tencent_play_domain', '', '点播域名'),
  7374. (760 , 'vod_tencent_play_key', '', '点播key'),
  7375. (761 , 'video_type', 'tencent', '视频类型'),
  7376. (762 , 'aliyun_user_id', '', '阿里云账号ID'),
  7377. (763 , 'aliyun_access_key_id', '', '阿里云账号AccessKeyID'),
  7378. (764 , 'aliyun_access_key_secret', '', '阿里云账号AccessKeySecret'),
  7379. (765 , 'aliyun_live_push_key', '', '阿里云推流鉴权key'),
  7380. (766 , 'aliyun_live_push_domain', '', '阿里云推流域名'),
  7381. (767 , 'aliyun_live_play_domain', '', '阿里云播流域名'),
  7382. (768 , 'aliyun_live_play_key', '', '阿里云播流鉴权key'),
  7383. (769 , 'live_type', '0', '直播类型(0小程序原生直播1小程序组件直播)'),
  7384. (770 , 'wab_number', '', '网安备'),
  7385. (771 , 'word_filter_open', '0', '是否开启敏感词过滤'),
  7386. (772 , 'word_filter_appid', '', '百度应用appid'),
  7387. (773 , 'word_filter_secret', '', '百度应用secret'),
  7388. (774 , 'word_filter_access_token', '', '百度应用access_token'),
  7389. (775 , 'word_filter_access_token_expire', '', '百度应用access_token过期时间'),
  7390. (780 , 'member_normal_register', '1', '用户普通注册(0关闭1开启)'),
  7391. (781 , 'mapak_type', '1', '地图类型,1:高德地图,2:百度地图'),
  7392. (782 , 'gaode_ak', '', '高德地图key'),
  7393. (783 , 'gaode_jscode', '', '高德地图安全密钥'),
  7394. (784 , 'baiduservice_ak', '', '百度地图服务端密钥');
  7395. INSERT INTO `#__articleclass` (`ac_id`, `ac_code`, `ac_name`, `ac_parent_id`, `ac_sort`) VALUES
  7396. (1, 'notice', '商城公告', 0, 255),
  7397. (2, 'member', '帮助中心', 0, 255),
  7398. (3, 'store', '店主之家', 0, 255),
  7399. (4, 'payment', '支付方式', 0, 255),
  7400. (5, 'sold', '售后服务', 0, 255),
  7401. (6, 'service', '客服中心', 0, 255),
  7402. (7, 'about', '关于我们', 0, 255);
  7403. INSERT INTO `#__article` (`article_id`, `ac_id`, `article_url`, `article_show`, `article_sort`, `article_title`, `article_content`, `article_time`) VALUES (6, 2, '', 1, 255, '如何注册成为会员', '如何注册成为会员', 1435672310),
  7404. (7, 2, '', 1, 255, '如何搜索', '如何搜索', 1435672310),
  7405. (8, 2, '', 1, 255, '忘记密码', '忘记密码', 1435672310),
  7406. (9, 2, '', 1, 255, '我要买', '我要买', 1435672310),
  7407. (10, 2, '', 1, 255, '查看已购买商品', '查看已购买商品', 1435672310),
  7408. (11, 3, '', 1, 255, '如何管理店铺', '如何管理店铺', 1435672310),
  7409. (12, 3, '', 1, 255, '查看售出商品', '查看售出商品', 1435672310),
  7410. (13, 3, '', 1, 255, '如何发货', '如何发货', 1435672310),
  7411. (14, 3, '', 1, 255, '商城商品推荐', '商城商品推荐', 1435672310),
  7412. (15, 3, '', 1, 255, '如何申请开店', '如何申请开店', 1435672310),
  7413. (16, 4, '', 1, 255, '如何注册支付宝', '如何注册支付宝', 1435672310),
  7414. (17, 4, '', 1, 255, '在线支付', '在线支付', 1435672310),
  7415. (18, 6, '', 1, 255, '会员修改密码', '会员修改密码', 1435672310),
  7416. (19, 6, '', 1, 255, '会员修改个人资料', '会员修改个人资料', 1435672310),
  7417. (20, 6, '', 1, 255, '商品发布', '商品发布', 1435672310),
  7418. (21, 6, '', 1, 255, '修改收货地址', '修改收货地址', 1435672310),
  7419. (22, 7, '', 1, 255, '关于我们', '关于我们', 1435672310),
  7420. (23, 7, '', 1, 255, '联系我们', '联系我们', 1435672310),
  7421. (24, 7, '', 1, 255, '招聘英才', '招聘英才', 1435672310),
  7422. (25, 7, '', 1, 255, '合作及洽谈', '合作及洽谈', 1435672310),
  7423. (26, 5, '', 1, 255, '联系卖家', '联系卖家', 1435672310),
  7424. (28, 4, '', 1, 255, '分期付款', '分期付款<br />', 1435672310),
  7425. (29, 4, '', 1, 255, '邮局汇款', '邮局汇款<br />', 1435672310),
  7426. (30, 4, '', 1, 255, '公司转账', '公司转账<br />', 1435672310),
  7427. (31, 5, '', 1, 255, '退换货政策', '退换货政策', 1435672310),
  7428. (32, 5, '', 1, 255, '退换货流程', '退换货流程', 1435672310),
  7429. (33, 5, '', 1, 255, '返修/退换货', '返修/退换货', 1435672310),
  7430. (34, 5, '', 1, 255, '退款申请', '退款申请', 1435672310),
  7431. (35, 1, 'http://www.csdeshang.com/', 1, 1, '火爆销售中', '火爆销售中<br />', 1435672310),
  7432. (36, 1, '', 1, 255, '管理功能说明', '管理功能说明', 1435672310),
  7433. (37, 1, '', 1, 255, '如何扩充水印字体库', '如何扩充水印字体库', 1435672310),
  7434. (38, 1, '', 1, 255, '提示信息', '提示信息', 1435672310),
  7435. (39, 2, '', 1, 255, '积分细则', '积分细则积分细则', 1435672310),
  7436. (40, 2, '', 1, 255, '积分兑换说明', '积分兑换说明', 1435672310),
  7437. (41, 1, '', 1, 255, '功能使用说明', '功能使用说明', 1435672310);
  7438. INSERT INTO `#__complainsubject` (`complainsubject_id`, `complainsubject_content`, `complainsubject_desc`, `complainsubject_state`) VALUES (1, '商家不同意退款', '买家申请退款被拒绝。', 2),
  7439. (2, '未收到货', '交易成功,未收到货,钱已经付给商家,可进行维权。', 1),
  7440. (3, '售后保障服务', '交易完成后30天内,在使用商品过程中,发现商品有质量问题或无法正常使用,可进行维权。', 1);
  7441. INSERT INTO `#__consulttype` (`consulttype_id`, `consulttype_name`, `consulttype_introduce`, `consulttype_sort`) VALUES
  7442. (1, '商品咨询', '后台->交易->咨询管理->咨询类型->编辑', 1),
  7443. (2, '支付问题', '后台->交易->咨询管理->咨询类型->编辑', 2),
  7444. (3, '发票及保修', '后台->交易->咨询管理->咨询类型->编辑', 3),
  7445. (4, '促销及赠品', '后台->交易->咨询管理->咨询类型->编辑', 4);
  7446. INSERT INTO `#__document` (`document_id`, `document_code`, `document_title`, `document_content`, `document_time`) VALUES (1, 'agreement', '用户服务协议', '&lt;p&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;本协议是您与网站所有者(以下简称为&amp;quot;商城&amp;quot;)之间就商城网站服务等相关事宜所订立的契约,请您仔细阅读本注册协议,您点击&amp;quot;同意并继续&amp;quot;按钮后,本协议即构成对双方有约束力的法律文件。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;第1条 本站服务条款的确认和接纳&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;1.1本站的各项电子服务的所有权和运作权归商城所有。用户同意所有注册协议条款并完成注册程序,才能成为本站的正式用户。用户确认:本协议条款是处理双方权利义务的契约,始终有效,法律另有强制性规定或双方另有特别约定的,依其规定。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;1.2用户点击同意本协议的,即视为用户确认自己具有享受本站服务、下单购物等相应的权利能力和行为能力,能够独立承担法律责任。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;1.3如果您在18周岁以下,您只能在父母或监护人的监护参与下才能使用本站。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;1.4商城保留在中华人民共和国大陆地区法施行之法律允许的范围内独自决定拒绝服务、关闭用户账户、清除或编辑内容或取消订单的权利。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;第2条 本站服务&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;2.1商城通过互联网依法为用户提供互联网信息等服务,用户在完全同意本协议及本站规定的情况下,方有权使用本站的相关服务。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;2.2用户必须自行准备如下设备和承担如下开支:(1)上网设备,包括并不限于电脑或者其他上网终端、调制解调器及其他必备的上网装置;(2)上网开支,包括并不限于网络接入费、上网设备租用费、手机流量费等。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;第3条 用户信息&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;3.1用户应自行诚信向本站提供注册资料,用户同意其提供的注册资料真实、准确、完整、合法有效,用户注册资料如有变动的,应及时更新其注册资料。如果用户提供的注册资料不合法、不真实、不准确、不详尽的,用户需承担因此引起的相应责任及后果,并且商城保留终止用户使用商城各项服务的权利。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;3.2用户在本站进行浏览、下单购物等活动时,涉及用户真实姓名/名称、通信地址、联系电话、电子邮箱等隐私信息的,本站将予以严格保密,除非得到用户的授权或法律另有规定,本站不会向外界披露用户隐私信息。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;3.3用户注册成功后,将产生用户名和密码等账户信息,您可以根据本站规定改变您的密码。用户应谨慎合理的保存、使用其用户名和密码。用户若发现任何非法使用用户账号或存在安全漏洞的情况,请立即通知本站并向公安机关报案。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;3.4用户同意,商城拥有通过邮件、短信电话等形式,向在本站注册、购物用户、收货人发送订单信息、促销活动等告知信息的权利。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;3.5用户不得将在本站注册获得的账户借给他人使用,否则用户应承担由此产生的全部责任,并与实际使用人承担连带责任。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;3.6用户同意,商城有权使用用户的注册信息、用户名、密码等信息,登录进入用户的注册账户,进行证据保全,包括但不限于公证、见证等。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;第4条 用户依法言行义务&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;本协议依据国家相关法律法规规章制定,用户同意严格遵守以下义务:&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;(1)不得传输或发表:煽动抗拒、破坏宪法和法律、行政法规实施的言论,煽动颠覆国家政权,推翻社会主义制度的言论,煽动分裂国家、破坏国家统一的的言论,煽动民族仇恨、民族歧视、破坏民族团结的言论;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;(2)从中国大陆向境外传输资料信息时必须符合中国有关法规;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;(3)不得利用本站从事洗钱、窃取商业秘密、窃取个人信息等违法犯罪活动;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;(4)不得干扰本站的正常运转,不得侵入本站及国家计算机信息系统;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;(5)不得传输或发表任何违法犯罪的、骚扰性的、中伤他人的、辱骂性的、恐吓性的、伤害性的、庸俗的,淫秽的、不文明的等信息资料;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;(6)不得传输或发表损害国家社会公共利益和涉及国家安全的信息资料或言论;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;(7)不得教唆他人从事本条所禁止的行为;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;(8)不得利用在本站注册的账户进行牟利性经营活动;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;(9)不得发布任何侵犯他人著作权、商标权等知识产权或合法权利的内容;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;用户应不时关注并遵守本站不时公布或修改的各类合法规则规定。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;本站保有删除站内各类不符合法律政策或不真实的信息内容而无须通知用户的权利。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;若用户未遵守以上规定的,本站有权作出独立判断并采取暂停或关闭用户帐号等措施。用户须对自己在网上的言论和行为承担法律责任。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;第5条 商品信息&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;本站上的商品价格、数量、是否有货等商品信息随时都有可能发生变动,本站不作特别通知。由于网站上商品信息的数量极其庞大,虽然本站会尽最大努力保证您所浏览商品信息的准确性,但由于众所周知的互联网技术因素等客观原因存在,本站网页显示的信息可能会有一定的滞后性或差错,对此情形您知悉并理解;商城欢迎纠错,并会视情况给予纠错者一定的奖励。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;为表述便利,商品和服务简称为&amp;quot;商品&amp;quot;或&amp;quot;货物&amp;quot;。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;第6条 订单&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;6.1在您下订单时,请您仔细确认所购商品的名称、价格、数量、型号、规格、尺寸、联系地址、电话、收货人等信息。收货人与用户本人不一致的,收货人的行为和意思表示视为用户的行为和意思表示,用户应对收货人的行为及意思表示的法律后果承担连带责任。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;6.2除法律另有强制性规定外,双方约定如下:本站上销售方展示的商品和价格等信息仅仅是交易信息的发布,您下单时须填写您希望购买的商品数量、价款及支付方式、收货人、联系方式、收货地址等内容;系统生成的订单信息是计算机信息系统根据您填写的内容自动生成的数据,仅是您向销售方发出的交易诉求;销售方收到您的订单信息后,只有在销售方将您在订单中订购的商品从仓库实际直接向您发出时( 以商品出库为标志),方视为您与销售方之间就实际直接向您发出的商品建立了交易关系;如果您在一份订单里订购了多种商品并且销售方只给您发出了部分商品时,您与销售方之间仅就实际直接向您发出的商品建立了交易关系;只有在销售方实际直接向您发出了订单中订购的其他商品时,您和销售方之间就订单中该其他已实际直接向您发出的商品才成立交易关系。您可以随时登录您在本站注册的账户,查询您的订单状态。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;6.3由于市场变化及各种以合理商业努力难以控制的因素的影响,本站无法保证您提交的订单信息中希望购买的商品都会有货;如您拟购买的商品,发生缺货,您有权取消订单。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;第7条 配送&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;7.1销售方将会把商品(货物)送到您所指定的收货地址,所有在本站上列出的送货时间为参考时间,参考时间的计算是根据库存状况、正常的处理过程和送货时间、送货地点的基础上估计得出的。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;7.2因如下情况造成订单延迟或无法配送等,销售方不承担延迟配送的责任:&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;(1)用户提供的信息错误、地址不详细等原因导致的;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;(2)货物送达后无人签收,导致无法配送或延迟配送的;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;(3)情势变更因素导致的;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;(4)不可抗力因素导致的,例如:自然灾害、交通戒严、突发战争等。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;第8条 所有权及知识产权条款&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;8.1用户一旦接受本协议,即表明该用户主动将其在任何时间段在本站发表的任何形式的信息内容(包括但不限于客户评价、客户咨询、各类话题文章等信息内容)的财产性权利等任何可转让的权利,如著作权财产权(包括并不限于:复制权、发行权、出租权、展览权、表演权、放映权、广播权、信息网络传播权、摄制权、改编权、翻译权、汇编权以及应当由著作权人享有的其他可转让权利),全部独家且不可撤销地转让给商城所有,用户同意商城有权就任何主体侵权而单独提起诉讼。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;8.2本协议已经构成《中华人民共和国著作权法》第二十五条(条文序号依照2011年版著作权法确定)及相关法律规定的著作财产权等权利转让书面协议,其效力及于用户在商城网站上发布的任何受著作权法保护的作品内容,无论该等内容形成于本协议订立前还是本协议订立后。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;8.3用户同意并已充分了解本协议的条款,承诺不将已发表于本站的信息,以任何形式发布或授权其它主体以任何方式使用(包括但不限于在各类网站、媒体上使用)。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;8.4商城是本站的制作者,拥有此网站内容及资源的著作权等合法权利,受国家法律保护,有权不时地对本协议及本站的内容进行修改,并在本站张贴,无须另行通知用户。在法律允许的最大限度范围内,商城对本协议及本站内容拥有解释权。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;8.5除法律另有强制性规定外,未经商城明确的特别书面许可,任何单位或个人不得以任何方式非法地全部或部分复制、转载、引用、链接、抓取或以其他方式使用本站的信息内容,否则,商城有权追究其法律责任。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;8.6本站所刊登的资料信息(诸如文字、图表、标识、按钮图标、图像、声音文件片段、数字下载、数据编辑和软件),均是商城或其内容提供者的财产,受中国和国际版权法的保护。本站上所有内容的汇编是商城的排他财产,受中国和国际版权法的保护。本站上所有软件都是商城或其关联公司或其软件供应商的财产,受中国和国际版权法的保护。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;第9条 责任限制及不承诺担保&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;除非另有明确的书面说明,本站及其所包含的或以其它方式通过本站提供给您的全部信息、内容、材料、产品(包括软件)和服务,均是在&amp;quot;按现状&amp;quot;和&amp;quot;按现有&amp;quot;的基础上提供的。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;除非另有明确的书面说明,商城不对本站的运营及其包含在本网站上的信息、内容、材料、产品(包括软件)或服务作任何形式的、明示或默示的声明或担保(根据中华人民共和国法律另有规定的以外)。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;商城不担保本站所包含的或以其它方式通过本站提供给您的全部信息、内容、材料、产品(包括软件)和服务、其服务器或从本站发出的电子信件、信息没有病毒或其他有害成分。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;如因不可抗力或其它本站无法控制的原因使本站销售系统崩溃或无法正常使用导致网上交易无法完成或丢失有关的信息、记录等,商城会合理地尽力协助处理善后事宜。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;第10条 协议更新及用户关注义务&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;根据国家法律法规变化及网站运营需要,商城有权对本协议条款不时地进行修改,修改后的协议一旦被张贴在本站上即生效,并代替原来的协议。用户可随时登录查阅最新协议;用户有义务不时关注并阅读最新版的协议及网站公告。如用户不同意更新后的协议,可以且应立即停止接受商城网站依据本协议提供的服务;如用户继续使用本网站提供的服务的,即视为同意更新后的协议。商城建议您在使用本站之前阅读本协议及本站的公告。 如果本协议中任何一条被视为废止、无效或因任何理由不可执行,该条应视为可分的且并不影响任何其余条款的有效性和可执行性。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;第11条 法律管辖和适用&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;本协议的订立、执行和解释及争议的解决均应适用在中华人民共和国大陆地区适用之有效法律(但不包括其冲突法规则)。 如发生本协议与适用之法律相抵触时,则这些条款将完全按法律规定重新解释,而其它有效条款继续有效。 如缔约方就本协议内容或其执行发生任何争议,双方应尽力友好协商解决;协商不成时,任何一方均可向有管辖权的中华人民共和国大陆地区法院提起诉讼。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;第12条 其他&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;12.1商城网站所有者是指在政府部门依法许可或备案的商城网站经营主体。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;12.2商城尊重用户和消费者的合法权利,本协议及本网站上发布的各类规则、声明等其他内容,均是为了更好的、更加便利的为用户和消费者提供服务。本站欢迎用户和社会各界提出意见和建议,商城将虚心接受并适时修改本协议及本站上的各类规则。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;12.3本协议内容中以黑体、加粗、下划线、斜体等方式显著标识的条款,请用户着重阅读。&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style=&quot;color: rgb(102, 102, 102); font-size: 12px; background-color: rgb(255, 255, 255);&quot;&gt;12.4您点击本协议下方的&amp;quot;同意并继续&amp;quot;按钮即视为您完全接受本协议,在点击之前请您再次确认已知悉并完全理解本协议的全部内容。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;', 1435672310),
  7447. (4, 'open_store', '开店协议', '&lt;h2 style=&quot;padding: 0px; margin: 0px; font-size: 16px; font-weight: normal; color: rgb(51, 51, 51); line-height: 30px;&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun; font-size: 12px;&quot;&gt;1.本协议的订立&lt;/span&gt;&lt;/h2&gt;&lt;p class=&quot;cont&quot; style=&quot;padding: 0px; margin-top: 0px; margin-bottom: 0px; line-height: 28px;&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun; font-size: 12px;&quot;&gt;在本网站(&lt;/span&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.ecmoban.com/&quot; class=&quot;link&quot; style=&quot;padding: 0px; margin: 0px; text-decoration: underline; color: rgb(85, 85, 85); font-family: 宋体, SimSun; font-size: 12px;&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun; font-size: 12px;&quot;&gt;dsmall.csdeshang.com&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: 宋体, SimSun; font-size: 12px;&quot;&gt;)依据《德尚商城网站用户注册协议》登记注册,且符合本网站 商家入驻标准的用户(以下简称&amp;quot;商 家&amp;quot;),在同意本协议全部条款后,方有资格使用&amp;quot;德尚商城商家在线入驻系统&amp;quot;(以 下简称&amp;quot;入驻系统&amp;quot;)申请入驻。一经商家点击&amp;quot;同意以上协议,下一步&amp;quot;按键, 即意味着商家同意与本网站签订本协议并同意受本协议约束。&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;padding: 0px; margin: 0px; font-size: 16px; font-weight: normal; color: rgb(51, 51, 51); line-height: 30px;&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun; font-size: 12px;&quot;&gt;2.入驻系统使用说明&lt;/span&gt;&lt;/h2&gt;&lt;p class=&quot;cont&quot; style=&quot;padding: 0px; margin-top: 0px; margin-bottom: 0px; line-height: 28px;&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun; font-size: 12px;&quot;&gt;2.1 商家通过入驻系统提出入驻申请,并按照要求填写商家信息、提供商家资质资料后,由 本网站审核并与有合作意向的商家联系协商合作相关事宜,经双方协商一致线下签订书面《开放平台 供应商合作运营协议》(以下简称&amp;quot;运营协议&amp;quot;),且商家按照&amp;quot;运营协议&amp;quot;约定 支付相应平台使用费及保证金等必要费用后,商家正式入驻本网站。本网站将为入驻商家开通商家后 台系统,商家可通过商家后台系统在本网站运营 自己的入驻店铺。&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;cont&quot; style=&quot;padding: 0px; margin-top: 0px; margin-bottom: 0px; line-height: 28px;&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun; font-size: 12px;&quot;&gt;2.2 商家以及本网站通过入驻系统做出的申请、资料提交及确认等各类沟通,仅为双方合作 的意向以及本网站对商家资格审核的必备程序,除遵守本协议各项约定外,对双方不产生法律约束力 。双方间最终合作事宜及运营规则均以&amp;quot;运营协议&amp;quot;的约定及商家后台系统公示的各项规则 为准。&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;padding: 0px; margin: 0px; font-size: 16px; font-weight: normal; color: rgb(51, 51, 51); line-height: 30px;&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun; font-size: 12px;&quot;&gt;3.商家权利义务&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;padding: 0px; margin-top: 0px; margin-bottom: 0px; line-height: 28px;&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun; font-size: 12px;&quot;&gt;用户使用&amp;quot;德尚商城商家在线入驻系统&amp;quot;前请认真阅读并理解本协议内容,本协议 内容中以加粗方式显著标识的条款,请用户着重阅读、慎重考虑。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;', 1435672310),
  7448. (5, 'groupbuy', '抢购活动协议', '&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;在您报名参加随缘客平台推广活动之前,请您仔细阅读本协议的全部内容。如果您对本协议的条款有疑问,请通过随缘客客服渠道进行询问,我们将向您解释条款内容。如果您不同意本协议的任何内容,或者无法准确理解随缘客对条款的解释,请不要点选“接受/同意”,也不要参与随缘客平台推广活动。&lt;br/&gt;本协议内容包括协议正文及所有随缘客已经发布或将来可能发布的各类规则。所有规则为协议不可分割的一部分,与协议正文具有同等法律效力。以任何方式进入随缘客网站并使用服务即表示您已充分阅读、理解并同意接受本协议的条款和条件(以下合称“条款”)。&amp;nbsp;随缘客有权根据业务需要,在不违反国家有关法律法规的前提下修订“条款”,并以网站公告的形式进行公示,不再单独通知您。经修订的“条款”一经在随缘客网站公布,即产生效力。如您不同意相关修订,请您立即停止使用“服务”。如您继续使用“服务”,则将视为您已接受经修订的“条款”,当您与随缘客发生争议时,应以最新的“条款”为准。&lt;br/&gt;在本协议中,“随缘客”指随缘客平台及其关联公司,“商家”指您,即申请人。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;fontbold&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1、报名商品&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;商家需按照活动的要求选择自己账号关联店铺内的商品进行报名,请仔细确认填写商品的分类、活动价、库存及包邮、发货信息,针对不符合要求的商品或商家,随缘客有权利直接拒绝报名申请。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;fontbold&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2、活动审核&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2.1、商家提交活动报名后随缘客审核专员会按照提交顺序、活动类型进行审核,整个审核的范围包括但不限于商品质量、价格、历史评价,以及商家信誉等级、当季热销品类、同行业同类型商品的性价比等方面内容。随缘客在商家提交报名申请之日起在20个工作日内给予结果,在此期间您可随时登录报名系统查询审核状态。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2.2、审核通过的,系统会提示您进行相应的下一步操作,请根据系统提示尽快补充相应的资料信息,超时未处理的随缘客有权取消本次活动审核。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2.3、如果您的活动报名申请被设置为“未通过”,请根据随缘客审核专员的审核留言对活动进行调整、或更换符合要求的其他商品再来报名,经3次未通过后频繁重复提交的,随缘客有权锁定对应的报名信息填报系统,您将无法继续报名。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;fontbold&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3、审核状态说明&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 随缘客审核条件非常严格,先后经过7道工序,全部通过后再发布上线,即:初审-复审-洽谈-样品邮寄-样品体验-样品备案-排期-上线。商家应保证其提供的商品不违反法律法规,不侵犯任何第三人的知识产权或其他合法权利。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3.1、招商专员会经过两轮的活动筛选,即初审、复审,确定您的商品是否适合参加本站活动;&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3.2、在待洽谈状态时,请主动点击与该活动对应的招商专员QQ与其取得联系(必须是该活动对应的店铺的QQ);&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3.3、在样品邮寄状态时,请寄送活动报名对应商品的样品,将快递(含快递名称、快递单号、寄出时间等)信息填写到系统中,以便招商专员能够第一时间反馈样品接收状态并核对样品信息;&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3.4、您确认并同意:随缘客招商专员在收到样品时,将您的活动状态改为“样品体验”,“样品体验”即随缘客招商专员仅以普通或非专业人员的知识水平标准评估您寄来样品并结合活动条件和规模确定是否符合您所报名的活动推广条件;无论样品是否符合易购活动推广条件,样品均不予退还,随缘客有权对样品进行任何方式的支配和处理。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3.5、经随缘客判断符合活动条件的样品,由随缘客留样备案。您确认并同意在活动期间及活动结束后,如随缘客发现消费者投诉或经易购抽检的商品质量有争议的,随缘客有权仅以此样品与争议商品进行比对,您对样品无异议。争议商品与样品是否存在差异以及差异程度以易购主观判断为准。您应保证当次活动所有发货的商品与样品完全一致(包括且不限于商品批次、商品包装、商品分量、同色商品颜色、同规格/尺码商品的规格/尺码及商品材质等各个方面)。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3.6、样品体验符合随缘客活动条件的,招商专员会将对应的活动进行初步的排期,如果您对排期问题有异议也可以直接联系招商专员进行调整,确认排期后需要您按照随缘客的指示根据活动商品的活动价、库存销量、技术服务费率和保证金要求进行支付相应的活动保证金和技术服务费。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3.7、您已缴纳活动保证金后,即进入随缘客排期时间,您的活动将根据系统排期发布上线,您可以登录随缘客首页查看您的活动详情;商家未按时缴纳保证金导致活动未能按时发布上线的由商家自行承担一切后果;在活动进行中请勿私自修改商品信息或状态,包括但不限于商品标题、图片、SKU信息、价格、库存、邮费设置、宝贝详情信息以及设置商品下架或卖光状态。如商家私自变更商品信息或状态的,随缘客有权将活动商品下架并扣除相应的保证金作为处罚。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;fontbold&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4、活动保证金&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;商家的具体应缴保证金数额根据随缘客招商标准及商家的具体情况由随缘客确定。随缘客有权根据商家之业务变化及实际履约情况通知商家调整保证金金额,商家应在收到随缘客通知后的5个自然日内向随缘客交齐保证金,否则,随缘客有权中止或解除本协议。有关保证金的具体内容详见&lt;/span&gt;&lt;a href=&quot;http://www.waanwang.com/help-read-id-8.html&quot; target=&quot;_blank&quot; style=&quot;color: rgb(94, 94, 94); text-decoration: underline; outline: none medium; font-family: 宋体, SimSun;&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;《随缘客商家保证金协议》&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4.1、商家在报名参加随缘客推广活动交纳保证金,保证金主要用于保证商家按照随缘客的规则进行经营,商家有任何违规行为或违约行为的,随缘客有权扣除保证金。保证金扣除相关情形具体参见&lt;/span&gt;&lt;a href=&quot;http://www.waanwang.com/help-read-id-9.html&quot; target=&quot;_blank&quot; style=&quot;color: rgb(94, 94, 94); text-decoration: underline; outline: none medium; font-family: 宋体, SimSun;&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;《随缘客商家违规/违约处罚条例》&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4.2、随缘客招商专员会根据商家报名活动商品的类型、活动数量综合计算该商家需要缴纳的保证金额度,具体标准可参见&lt;/span&gt;&lt;a href=&quot;http://www.waanwang.com/help-read-id-8.html&quot; target=&quot;_blank&quot; style=&quot;color: rgb(94, 94, 94); text-decoration: underline; outline: none medium; font-family: 宋体, SimSun;&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;《随缘客家保证金协议》&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;。在保证金额度不足的情况下,随缘客有权要求商家限期补足保证金。商家需在收到易购通知后十(10)个自然日内补足保证金金额。如果没有及时交齐保证金的易购有权中止提供相应的技术推广服务,直至商家交齐保证金。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4.3、由于保证金不充抵服务费用或其他费用,非因商家原因被扣除的,保证金始终存于商家的易购账户中并处于冻结状态,如合作终止且商家无任何违规或违约行为,则保证金仍无息退还商家。因此随缘客对商家缴纳的保证金不提供收据或发票,敬请谅解。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;font-family: 宋体, SimSun; color: red;&quot;&gt;4.4、商家在随缘客网活动期间无任何违规或违约行为的,最后一个活动结束超过17天,且所有交易环节(包括:交易、费用结算、售后处理及买家维权处理)完成,商家可自行申请解冻保证金至商家的易购网账户内。此期间,若随缘客发现商家存在或可能存在违规或违约行为且在该17天内无法处理完毕的,随缘客有权将保证金冻结时间延长30天或操作紧急扣除保证金,待商家违规/违约行为处理完毕后视具体情况解冻或退还。但商家有欠款未向易购付清的,保证金仍无法解冻或退还。&lt;/span&gt;&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4.5、因资质、商品造假等原因被清退的违规商家,随缘客将不返还保证金,因违规或违约行为扣除的保证金亦不予返还,如扣除保证金仍不足以弥补因其行为给随缘客及消费用户造成的损失的,违规商家还应承担相应的损失赔偿责任。具体保证金扣取情况参见&lt;/span&gt;&lt;a href=&quot;http://www.waanwang.com/help-read-id-8.html&quot; target=&quot;_blank&quot; style=&quot;color: rgb(94, 94, 94); text-decoration: underline; outline: none medium; font-family: 宋体, SimSun;&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;《随缘客商家违规/违约处罚条例》&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4.6、随缘客将根据国家经济情况、市场状况及随缘客经营情况适时适当调整保证金制度及保证金标准。保证金的调整会提前以公告形式在易购网站公布。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;fontbold&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5、商家账户充值及提现规则&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;fontbold&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5.1充值&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(1)充值须以活动为目的,随缘客账户仅限充值活动保证金。保证金具体金额根据随缘客招商标准及商家的具体情况如商家资质、信誉状况、预估销售规模、单月销售额水平、合作次数、历史活动评分、商品类目及商品单价等由随缘客招商专员在商家提交报名审核时具体确定;&lt;br/&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(2)随缘客确定的与活动相关的充值产生的相应手续费由随缘客承担。商家不得利用随缘客平台向易购账户充入与活动无关的任何费用,否则一经发现,随缘客有权采取相应措施,包括但不限于冻结账号余额、拒绝提现。因此产生的手续费由商家自行承担,随缘客已经支付的手续费有权向商家追偿。因此给随缘客造成的任何损失,商家应承担赔偿责任;&lt;br/&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(3)采用信用卡方式充值的,自充值之日起超过90日申请提现的,付款无法原路退回,随缘客将以转账方式付款到您充值时使用的信用卡账户,转账手续费将在转账时从您的提现金额中即时扣除,手续费费率以银行转账手续费费率为准;&lt;br/&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(4)商家在随缘客平台的一切活动均应遵守国家法律、法规及国家政策,易购随缘客有理由怀疑商家充入资金来源不合法或存在其他不正当目的的,有权向相关部门举报,并将积极配合有关部门调查;&lt;br/&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(5)如商家充值资金来源不合法或存在其他不正当目的,被相关部门查处的,一切责任由商家承担;因此造成随缘客任何损失的,商家应承担赔偿责任。&lt;br/&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;fontbold&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5.2余额提现&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(1)活动期间或活动结束后您可对您已充值的随缘客账户余额办理提现。您申请余额提现时,将一律以原路退回方式付款到您充值时使用的支付账户。采用信用卡方式充值的,自充值之日起超过90日申请提现的,付款无法原路退回,随缘客将以转账方式付款到您充值时使用的信用卡账户,转账手续费将在转账时从您的提现金额中即时扣除,手续费费率以银行转账手续费费率为准。&lt;br/&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(2)系统仅允许一笔处理中的提现申请,如申请提现时仍有上一笔提现未处理完毕的,将无法继续提交提现申请;每个自然月内最多允许成功提现两次;单笔提现金额不得超出账户内余额;&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(3)通过支付宝账户申请提现的,因提现产生的相应手续费由商家承担,即:商家提现时将从提现金额中即时扣除小额手续费,具体以支付宝有关手续费的规定比例为准;&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(4)为了更好的保护您的账户和资金安全,避免因您的账号信息泄露导致恶意提现或变更,请您务必妥善保管好自己的易购账户信息。如因您个人原因导致账号被盗或余额被提现的,随缘客不承担任何责任。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;fontbold&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;6、违约责任&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;商家有任何违反本协议条款之行为的,按照&lt;/span&gt;&lt;a href=&quot;http://www.waanwang.com/help-read-id-7.html&quot; target=&quot;_blank&quot; style=&quot;color: rgb(94, 94, 94); text-decoration: underline; outline: none medium; font-family: 宋体, SimSun;&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;《随缘客商家违规处罚条例》&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;的规定扣除相应保证金并(或)进行其他相应的处罚。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;fontbold&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;7、责任免除情形&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(1)因战争、自然灾害、政府行为、互联网灾难、互联网通讯提供商等导致随缘客网络平台服务器不能正常运行的;&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(2)因随缘客网站遭遇不法分子攻击或非法劫持导致随缘客网络平台服务器临时性不能正常运行或随缘客网站不能正常访问的。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(3)您理解并同意,如遇大型促销活动期间,用户访问量巨大时,网络环境可能存在一定的不稳定性,易购随缘客系统平台偶尔出现短时无法访问属正常现象。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;fontbold&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;8、协议效力&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;本协议适用于以任何形式参加随缘客平台推广活动的所有商家,商家在任何时候参加随缘客活动均受本协议约束,本协议对双方均发生法律效力。&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;fontbold&quot; style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;9、法律适用及争议解决&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(94, 94, 94); font-family: &amp;quot;Microsoft Yahei&amp;quot;, Tahoma, Helvetica, Arial, 宋体, sans-serif, 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-family: 宋体, SimSun;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 本协议的生效、解释、执行、管辖、争议的解决均适用中华人民共和国法律。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;', 1435672310);
  7449. INSERT INTO `#__express` (`express_id`, `express_name`, `express_state`, `express_code`, `express_letter`, `express_order`, `express_url`) VALUES
  7450. (1, '安信达', '0', 'AXD', 'A', '2', 'http://www.anxinda.com'),
  7451. (2, '包裹平邮', '1', 'YZPY', 'B', '2', 'http://yjcx.chinapost.com.cn'),
  7452. (3, 'CCES', '1', 'CCES', 'C', '2', 'http://www.cces.com.cn'),
  7453. (4, '传喜物流', '1', 'CXHY', 'C', '2', 'http://www.cxcod.com'),
  7454. (5, 'DHL快递', '1', 'DHL', 'D', '2', 'http://www.cn.dhl.com'),
  7455. (6, '大田物流', '1', 'DTWL', 'D', '2', 'http://www.dtw.com.cn'),
  7456. (7, '德邦物流', '1', 'DBL', 'D', '2', 'http://www.deppon.com'),
  7457. (8, 'EMS', '1', 'EMS', 'E', '2', 'http://www.ems.com.cn'),
  7458. (9, 'EMS国际', '1', 'EMSGJ', 'E', '2', '###'),
  7459. (10, '飞康达', '1', 'FKD', 'F', '2', 'http://www.fkd.com.cn'),
  7460. (11, 'FedEx(国际)', '1', 'FKD_GJ', 'F', '2', 'http://fedex.com/cn'),
  7461. (12, '凡客如风达', '1', 'rufengda', 'F', '2', 'http://www.rufengda.com'),
  7462. (13, '迦递快递', '1', 'GAI', 'G', '2', 'https://www.trackingmore.com'),
  7463. (14, '广通', '1', 'GTONG', 'G', '2', 'http://gto315.com'),
  7464. (15, '共速达', '1', 'GSD', 'G', '2', 'http://www.gongsuda.com/mall/Search.aspx'),
  7465. (16, '华宇物流', '1', 'HOAU', 'H', '2', 'http://www.hoau.net'),
  7466. (17, '京东快递', '1', 'JD', 'J', '2', 'http://www.jdwl.com'),
  7467. (18, '佳吉快运', '1', 'JJKY', 'J', '2', 'http://www.jiaji.com'),
  7468. (19, '佳怡物流', '1', 'JYWL', 'J', '2', 'http://www.jiayi56.com'),
  7469. (20, '急先达', '1', 'JXD', 'J', '2', 'http://www.joust.cn'),
  7470. (21, '快捷速递', '1', 'FAST', 'K', '2', 'http://www.fastexpress.com.cn'),
  7471. (22, '龙邦快递', '1', 'LB', 'L', '2', 'http://www.lbex.com.cn'),
  7472. (23, '联邦快递', '1', 'FEDEX', 'L', '2', 'http://cndxp.apac.fedex.com/dxp.html'),
  7473. (24, '联昊通', '1', 'LHT', 'L', '2', 'http://www.lhtex.com.cn'),
  7474. (25, '全一快递', '1', 'UAPEX', 'Q', '2', 'http://www.apex100.com'),
  7475. (26, '全峰快递', '1', 'QFKD', 'Q', '2', 'http://www.qfkd.com.cn'),
  7476. (27, '全日通', '1', 'QRT', 'Q', '2', 'http://www.at-express.com'),
  7477. (28, '申通快递', '1', 'STO', 'S', '2', 'http://www.sto.cn'),
  7478. (29, '顺丰快递', '1', 'SF', 'S', '1', 'http://www.sf-express.com'),
  7479. (30, '速尔快递', '1', 'SURE', 'S', '2', 'http://www.sure56.com'),
  7480. (31, 'TNT快递', '1', 'TNT', 'T', '2', 'http://www.tnt.com.cn'),
  7481. (32, '天天快递', '1', 'HHTT', 'T', '2', 'http://www.ttkdex.com'),
  7482. (33, '天地华宇', '1', 'HOAU', 'T', '2', 'http://www.hoau.net'),
  7483. (34, 'UPS快递', '1', 'UPS', 'U', '2', 'http://www.ups.com/cn'),
  7484. (35, 'USPS', '1', 'USPS', 'U', '2', 'http://www.kuaidi100.com/all/usps.shtml'),
  7485. (36, '迅驰物流', '1', 'XCWL', 'X', '2', 'https://cn.made-in-china.com'),
  7486. (37, '信丰物流', '1', 'XFEX', 'X', '2', 'http://www.xf-express.com.cn'),
  7487. (38, '希优特', '1', 'XYT', 'X', '2', 'http://www.hqepay.com'),
  7488. (39, '新杰物流', '1', 'XJ', 'X', '2', 'http://www.sunjex.com/'),
  7489. (40, '圆通快递', '1', 'YTO', 'Y', '1', 'http://www.yto.net.cn'),
  7490. (41, '韵达快递', '1', 'YD', 'Y', '1', 'http://www.yundaex.com'),
  7491. (42, '邮政包裹', '1', 'YZPY', 'Y', '2', 'http://yjcx.chinapost.com.cn'),
  7492. (43, '优速快递', '1', 'UC', 'Y', '2', 'http://www.uc56.com'),
  7493. (44, '中通快递', '1', 'ZTO', 'Z', '1', 'http://www.zto.cn'),
  7494. (45, '中铁快运', '1', 'ZTKY', 'Z', '2', 'http://www.cre.cn'),
  7495. (46, '宅急送', '1', 'ZJS', 'Z', '2', 'http://www.zjs.com.cn'),
  7496. (47, '中邮物流', '1', 'ZYWL', 'Z', '2', 'http://www.cnpl.com.cn');
  7497. INSERT INTO `#__help` (`help_id`, `help_sort`, `help_title`, `help_info`, `help_url`, `help_updatetime`, `helptype_id`, `page_show`) VALUES
  7498. (96, 1, '招商方向', '后台->店铺->开店首页->入驻指南->编辑内容', '', 1399284217, 1, 1),
  7499. (97, 2, '招商标准', '后台->店铺->开店首页->入驻指南->编辑内容', '', 1399281053, 1, 1),
  7500. (98, 3, '资质要求', '后台->店铺->开店首页->入驻指南->编辑内容', '', 1399282350, 1, 1),
  7501. (99, 4, '资费标准', '后台->店铺->开店首页->入驻指南->编辑内容', '', 1399282379, 1, 1),
  7502. (101, 155, '签署入驻协议', '签署入驻协议(后台->店铺->店铺帮助->帮助内容->编辑内容)', '', 1392949932, 99, 1),
  7503. (102, 156, '商家信息提交', '商家信息提交(后台->店铺->店铺帮助->帮助内容->编辑内容)', '', 1392949961, 99, 1),
  7504. (103, 157, '平台审核资质', '平台审核资质(后台->店铺->店铺帮助->帮助内容->编辑内容)', '', 1392949991, 99, 1),
  7505. (104, 158, '商家缴纳费用', '商家缴纳费用(后台->店铺->店铺帮助->帮助内容->编辑内容)', '', 1392950031, 99, 1),
  7506. (105, 159, '店铺开通', '店铺开通(后台->店铺->店铺帮助->帮助内容->编辑内容)', '', 1392950076, 99, 1),
  7507. (106, 255, '商品发布规则', '商品发布规则(后台->店铺->店铺帮助->帮助内容->编辑内容)', '', 1392950396, 91, 1),
  7508. (107, 255, '商品规格及属性', '商品规格及属性(后台->店铺->店铺帮助->帮助内容->编辑内容)', '', 1392950481, 92, 1),
  7509. (108, 255, '限时折扣说明', '限时折扣说明(后台->店铺->店铺帮助->帮助内容->编辑内容)', '', 1392950523, 93, 1),
  7510. (109, 255, '订单商品退款', '订单商品退款(后台->店铺->店铺帮助->帮助内容->编辑内容)', '', 1392950670, 94, 1),
  7511. (110, 255, '续约流程及费用', '续约流程及费用(后台->店铺->店铺帮助->帮助内容->编辑内容)', '', 1392950739, 95, 1);
  7512. INSERT INTO `#__helptype` (`helptype_id`, `helptype_name`, `helptype_sort`, `helptype_code`, `helptype_show`, `page_show`) VALUES
  7513. (91, '规则体系', 91, 'sys_rules', 1, 1),
  7514. (92, '商品管理', 92, 'sys_goods', 1, 1),
  7515. (93, '促销方式', 93, 'sys_sales', 1, 1),
  7516. (94, '订单及售后', 94, 'sys_order', 1, 1),
  7517. (95, '店铺续约', 95, 'sys_renew', 1, 1),
  7518. (99, '入驻流程', 99, 'store_in', 1, 1);
  7519. INSERT INTO `#__informsubject` (`informsubject_id`, `informsubject_content`, `informsubject_type_id`, `informsubject_type_name`, `informsubject_state`) VALUES (1, '管制刀具、弓弩类、其他武器等', 1, '出售禁售品', 1),
  7520. (2, '赌博用具类', 1, '出售禁售品', 1),
  7521. (3, '枪支弹药', 1, '出售禁售品', 1),
  7522. (4, '毒品及吸毒工具', 1, '出售禁售品', 1),
  7523. (5, '色差大,质量差。', 2, '产品质量问题', 1);
  7524. INSERT INTO `#__informsubjecttype` (`informtype_id`, `informtype_name`, `informtype_desc`, `informtype_state`) VALUES (1, '出售禁售品', '销售商城禁止和限制交易规则下所规定的所有商品。', 1),
  7525. (2, '产品质量问题', '产品质量差,与描述严重不相符。', 1);
  7526. INSERT INTO `#__mailmsgtemlates` (`mailmt_name`, `mailmt_title`, `mailmt_code`, `mailmt_content`) VALUES
  7527. ('<strong>[用户]</strong>账号注册通知', '账号注册通知 - ${site_name}', 'register', '您正在申请注册会员,动态码:${code}。'),
  7528. ('<strong>[用户]</strong>账号登录通知', '账号登录通知 - ${site_name}', 'login', '您正在申请登录,动态码:${code}。'),
  7529. ('<strong>[用户]</strong>重置密码通知', '重置密码通知 - ${site_name}', 'reset_password', '您正在申请重置登录密码,动态码:${code}。'),
  7530. ('<strong>[用户]</strong>身份验证通知', '账户安全认证 - ${site_name}', 'authenticate', '您正在提交账户安全验证,验证码是:${code}。'),
  7531. ('<strong>[用户]</strong>邮箱验证通知', '邮箱验证通知 - ${site_name}', 'bind_email', '<p>您好!</p>\r\n<p>请在24小时内点击以下链接完成邮箱验证</p>\r\n<p><a href="${verify_url}" target="_blank">马上验证</a></p>\r\n<p>如果您不能点击上面链接,还可以将以下链接复制到浏览器地址栏中访问</p>\r\n<p>${verify_url}</p>'),
  7532. ('<strong>[用户]</strong>手机验证通知', '手机验证通知 - ${site_name}', 'modify_mobile', '您正在申请绑定手机号,验证码是:${code}。'),
  7533. ('<strong>[用户]</strong>代收通知', '门店代收通知 - ${site_name}', 'send_pickup_code', '您的订单已到达门店,请上门取货!提货时请提供手机号/订单号/运单号及提货码:${pickup_code}。'),
  7534. ('<strong>[用户]</strong>虚拟兑换码通知', '虚拟兑换码通知 - ${site_name}', 'send_vr_code', '您的虚拟兑换码是:${vr_code}。');
  7535. INSERT INTO `#__mallconsulttype` (`mallconsulttype_id`, `mallconsulttype_name`, `mallconsulttype_introduce`, `mallconsulttype_sort`) VALUES
  7536. (1, '商品咨询', '&lt;p&gt;\r\n 请写明商品链接,或平台货号。\r\n&lt;/p&gt;\r\n&lt;p&gt;\r\n 如果您对商品规格、介绍等有疑问,可以在商品详情页“购买咨询”处发起咨询,会得到及时专业的回复。\r\n&lt;/p&gt;', 255),
  7537. (2, '订单咨询', '&lt;p&gt;\r\n 请写明要咨询的订单编号。\r\n&lt;/p&gt;\r\n&lt;p&gt;\r\n 如需处理交易中产生的纠纷,请选择投诉。\r\n&lt;/p&gt;', 255);
  7538. INSERT INTO `#__membermsgtpl` (`membermt_code`, `membermt_name`, `membermt_message_switch`, `membermt_message_content`, `membermt_short_switch`, `membermt_short_content`, `membermt_mail_switch`, `membermt_mail_subject`, `membermt_mail_content`) VALUES
  7539. ('arrival_notice', '到货通知提醒', 1, '您关注的商品 “${goods_name}” 已经到货。<a href="${goods_url}" target="_blank">点击查看商品</a>', 1, '您关注的商品 “${goods_name}” 已经到货。', 0, '${site_name}提醒:您关注的商品 “${goods_name}” 已经到货。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您关注的商品 “${goods_name}” 已经到货。\r\n</p>\r\n<p>\r\n <a href="${goods_url}" target="_blank">点击查看商品</a> \r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>'),
  7540. ('consult_goods_reply', '商品咨询回复提醒', 1, '您关于商品 “${goods_name}”的咨询,商家已经回复。<a href="${consult_url}" target="_blank">点击查看回复</a>', 0, '您关于商品 “${goods_name}” 的咨询,商家已经回复。', 0, '${site_name}提醒:您关于商品 “${goods_name}”的咨询,商家已经回复。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您关注的商品“${goods_name}” 已经到货。\r\n</p>\r\n<p>\r\n <a href="${consult_url}" target="_blank">点击查看回复</a> \r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<br />\r\n<div class="firebugResetStyles firebugBlockBackgroundColor">\r\n <div style="background-color:transparent ! important;" class="firebugResetStyles">\r\n </div>\r\n</div>'),
  7541. ('consult_mall_reply', '平台客服回复提醒', 1, '您的平台客服咨询已经回复。<a href="${consult_url}" target="_blank">点击查看回复</a>', 0, '您的平台客服咨询已经回复。', 0, '${site_name}提醒:您的平台客服咨询已经回复。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您的平台客服咨询已经回复。\r\n</p>\r\n<p>\r\n <a href="${consult_url}" target="_blank">点击查看回复</a> \r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>'),
  7542. ('order_deliver_success', '商品出库提醒', 1, '您的订单已经出库。<a href="${order_url}" target="_blank">点击查看订单</a>', 1, '您的订单已经出库。订单编号 ${order_sn}。', 0, '${site_name}提醒:您的订单已经出库。订单编号 ${order_sn}。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您的订单已经出库。订单编号 ${order_sn}。<br />\r\n<a href="${order_url}" target="_blank">点击查看订单</a>\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<br />'),
  7543. ('order_payment_success', '付款成功提醒', 1, '关于订单:${order_sn}的款项已经收到,请留意出库通知。<a href="${order_url}" target="_blank">点击查看订单详情</a>', 1, '${order_sn}的款项已经收到,请留意出库通知。', 0, '${site_name}提醒:${order_sn}的款项已经收到,请留意出库通知。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n ${order_sn}的款项已经收到,请留意出库通知。\r\n</p>\r\n<p>\r\n <a href="${order_url}" target="_blank">点击查看订单详情</a>\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<br />'),
  7544. ('predeposit_change', '余额变动提醒', 1, '你的账户于 ${time} 账户资金有变化,描述:${desc},可用金额变化 :${av_amount}元,冻结金额变化:${freeze_amount}元。<a href="${pd_url}" target="_blank">点击查看余额</a>', 0, '你的账户于 ${time} 账户资金有变化,描述:${desc},可用金额变化: ${av_amount}元,冻结金额变化:${freeze_amount}元。', 0, '${site_name}提醒:你的账户于 ${time} 账户资金有变化,描述:${desc},可用金额变化: ${av_amount}元,冻结金额变化:${freeze_amount}元。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 你的账户于 ${time} 账户资金有变化,描述:${desc},可用金额变化:${av_amount}元,冻结金额变化:${freeze_amount}元。\r\n</p>\r\n<p>\r\n <a href="${pd_url}" target="_blank">点击查看余额</a> \r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>'),
  7545. ('recharge_card_balance_change', '充值卡余额变动提醒', 1, '你的账户于 ${time} 充值卡余额有变化,描述:${description},可用充值卡余额变化 :${available_amount}元,冻结充值卡余额变化:${freeze_amount}元。<a href="${url}" target="_blank">点击查看充值卡余额</a>', 0, '你的账户于 ${time} 充值卡余额有变化,描述:${description},可用充值卡余额变化: ${available_amount}元,冻结充值卡余额变化:${freeze_amount}元。', 0, '${site_name}提醒:你的账户于 ${time} 充值卡余额有变化,描述:${description},可用充值卡余额变化: ${available_amount}元,冻结充值卡余额变化:${freeze_amount}元。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 你的账户于 ${time} 充值卡余额有变化,描述:${description},可用充值卡余额变化:${available_amount}元,冻结充值卡余额变化:${freeze_amount}元。\r\n</p>\r\n<p>\r\n <a href="${url}" target="_blank">点击查看余额</a> \r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>'),
  7546. ('refund_return_notice', '退款退货提醒', 1, '您的退款退货单有了变化。<a href="${refund_url}" target="_blank">点击查看</a>', 1, '您的退款退货单有了变化。退款退货单编号:${refund_sn}。', 0, '${site_name}提醒:您的退款退货单有了变化。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您的退款退货单有了变化。退款退货单编号:${refund_sn}。\r\n</p>\r\n<p>\r\n &lt;a href="${refund_url}" target="_blank"&gt;点击查看&lt;/a&gt;\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<br />'),
  7547. ('voucher_use', '代金券使用提醒', 1, '您有代金券已经使用,代金券编号:${voucher_code}。<a href="${voucher_url}" target="_blank">点击查看</a>', 0, '您有代金券已经使用,代金券编号:${voucher_code}。', 0, '${site_name}提醒:您有代金券已经使用,代金券编号:${voucher_code}。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您有代金券已经使用,代金券编号:${voucher_code}。\r\n</p>\r\n<p>\r\n &lt;a href="${voucher_url}" target="_blank"&gt;点击查看&lt;/a&gt;\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>'),
  7548. ('voucher_will_expire', '代金券即将到期提醒', 1, '您有一个代金券即将在${indate}过期,请记得使用。<a href="${voucher_url}" target="_blank">点击查看</a>', 0, '您有一个代金券即将在${indate}过期,请记得使用。', 0, '${site_name}提醒:您有一个代金券即将在${indate}过期,请记得使用。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您有一个代金券即将在${indate}过期,请记得使用。\r\n</p>\r\n<p>\r\n <a href="${voucher_url}" target="_blank">点击查看</a> \r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>'),
  7549. ('vr_code_will_expire', '兑换码即将到期提醒', 1, '您有一组兑换码即将在${indate}过期,请记得使用。<a href="${vr_order_url}" target="_blank">点击查看</a>', 0, '您有一组兑换码即将在${indate}过期,请记得使用。', 0, '${site_name}提醒:您有一组兑换码即将在${indate}过期,请记得使用。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您有一组兑换码即将在${indate}过期,请记得使用。\r\n</p>\r\n<p>\r\n &lt;a href="${vr_order_url}" target="_blank"&gt;点击查看&lt;/a&gt;\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>');
  7550. INSERT INTO `#__refundreason` (`reason_id`, `reason_info`, `reason_sort`, `reason_updatetime`) VALUES
  7551. (1, '效果不好不喜欢', 1, 1393480261),
  7552. (2, '商品破损、有污渍', 2, 1393480261),
  7553. (3, '保质期不符', 3, 1393480261),
  7554. (4, '认为是假货', 4, 1393480261),
  7555. (5, '不能按时发货', 5, 1393480261);
  7556. INSERT INTO `#__seo` (`seo_id`, `seo_title`, `seo_keywords`, `seo_description`, `seo_type`) VALUES (1, '{sitename} - 程序来源于德尚网络', 'DSMALL,PHP商城系统,DSMALL商城系统,多用户商城系统,电商ERP,电商CRM,电子商务解决方案', '', 'index'),
  7557. (2, '{sitename} - 抢购', 'DSMALL,{sitename}', '', 'group'),
  7558. (3, '{sitename} - {name}', 'DSMALL,{name},{sitename}', 'DSMALL,{name},{sitename}', 'group_content'),
  7559. (4, '{sitename} - 品牌', 'DSMALL,{sitename}', 'DSMALL,{sitename}', 'brand'),
  7560. (5, '{sitename} - {name}', 'DSMALL,{sitename},{name}', 'DSMALL,{sitename},{name}', 'brand_list'),
  7561. (7, '{sitename} - {name}', 'DSMALL,{sitename},{name}', 'DSMALL,{sitename},{name}', 'coupon_content'),
  7562. (8, '{sitename} - 积分商城', 'DSMALL,{sitename}', 'DSMALL,{sitename}', 'point'),
  7563. (9, '{sitename} - {name}', 'DSMALL,{sitename},{key}', 'DSMALL,{sitename},{description}', 'point_content'),
  7564. (10, '{sitename} - {article_class}', 'DSMALL,{sitename}', 'DSMALL,{sitename}', 'article'),
  7565. (11, '{sitename} - {name}', 'DSMALL,{sitename},{key}', 'DSMALL,{sitename},{description}', 'article_content'),
  7566. (12, '{sitename} - {shopname}', 'DSMALL,{sitename},{key}', 'DSMALL,{sitename},{description}', 'shop'),
  7567. (13, '{name} - {sitename}', 'DSMALL,{sitename},{key}', 'DSMALL,{sitename},{description}', 'product'),
  7568. (14, '看{name}怎么淘到好的宝贝-{sitename}', 'DSMALL,{sitename},{name}', 'DSMALL,{sitename},{name}', 'sns');
  7569. INSERT INTO `#__storeclass` (`storeclass_id`, `storeclass_name`, `storeclass_bail`, `storeclass_sort`) VALUES
  7570. (1, '珠宝/首饰', 0, 8),
  7571. (2, '服装鞋包', 0, 1),
  7572. (3, '3C数码', 0, 2),
  7573. (4, '美容护理', 0, 3),
  7574. (5, '家居用品', 0, 4),
  7575. (6, '食品/保健', 0, 5),
  7576. (7, '母婴用品', 0, 6),
  7577. (8, '文体/汽车', 0, 7),
  7578. (9, '收藏/爱好', 0, 9),
  7579. (10, '生活/服务', 0, 10);
  7580. INSERT INTO `#__storemsgtpl` (`storemt_code`, `storemt_name`, `storemt_message_switch`, `storemt_message_content`, `storemt_message_forced`, `storemt_short_switch`, `storemt_short_content`, `smt_short_forced`, `storemt_mail_switch`, `storemt_mail_subject`, `storemt_mail_content`, `storemt_mail_forced`) VALUES
  7581. ('complain', '商品被投诉提醒', 1, '您售出的商品被投诉,等待商家申诉。投诉单编号:${complain_id}。', 1, 1, '您售出的商品被投诉,等待商家申诉。投诉单编号:${complain_id}。', 1, 1, '${site_name}提醒:您售出的商品被投诉,等待商家申诉。投诉单编号:${complain_id}。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您售出的商品被投诉,等待商家申诉。投诉单编号:${complain_id}。\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<p>\r\n <br />\r\n</p>', 1),
  7582. ('goods_storage_alarm', '商品库存预警', 1, '您的商品库存不足,请及时补货。平台货号:${common_id},SKU:${sku_id}。', 1, 0, '您的商品库存不足,请及时补货。平台货号:${common_id},SKU:${sku_id}。', 0, 0, '${site_name}提醒:您的商品库存不足,请及时补货。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您的商品库存不足,请及时补货。平台货号:${common_id},SKU:${sku_id}。\r\n</p>\r\n<p>\r\n 点击下面链接查看商品详细信息\r\n</p>\r\n<p>\r\n <a href="http://${shop_site_url}/goods/index.html?goods_id=${sku_id}" target="_blank">http://${shop_site_url}/goods/index.html?goods_id=${sku_id}</a> \r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<br />', 0),
  7583. ('goods_verify', '商品审核失败提醒', 1, '您的商品没有通过管理员审核,原因:“${remark}”。平台货号:${common_id}。', 1, 0, '您的商品没有通过管理员审核,原因:“${remark}”。平台货号:${common_id}。', 0, 0, '${site_name}提醒:您的商品没有通过管理员审核。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您的商品没有通过管理员审核,原因:“${remark}”。平台货号:${common_id}。\r\n </p><p>\r\n <br />\r\n </p>\r\n <p>\r\n <br />\r\n </p>\r\n <p style="text-align:right;">\r\n ${site_name}\r\n </p>\r\n <p style="text-align:right;">\r\n ${mail_send_time}\r\n </p>', 0),
  7584. ('goods_violation', '商品违规被下架', 1, '您的商品被违规下架,原因:“${remark}”。平台货号:${common_id}。', 1, 0, '您的商品被违规下架,原因:“${remark}”。平台货号:${common_id}。', 0, 0, '${site_name}提醒:您的商品被违规下架。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您的商品被违规下架。,原因:“${remark}”。平台货号:${common_id}。\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<p>\r\n <br />\r\n</p>', 0),
  7585. ('new_order', '新订单提醒', 1, '您有订单需要处理,订单编号:${order_sn}。', 1, 1, '您有订单需要处理,订单编号:${order_sn}。', 1, 0, '${site_name}提醒:您有订单需要处理。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您有订单需要处理,订单编号:${order_sn}。\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<br />', 0),
  7586. ('refund', '退款提醒', 1, '您有一个${type}退款单需要处理,退款编号:${refund_sn}。', 1, 0, '您有一个${type}退款单需要处理,退款编号:${refund_sn}。', 1, 0, '${site_name}提醒:您有一个${type}退款单需要处理,退款编号:${refund_sn}。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您有一个${type}退款单需要处理,退款编号:${refund_sn}。\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<p>\r\n <br />\r\n</p>', 1),
  7587. ('refund_auto_process', '退款自动处理提醒', 1, '您的${type}退款单超期未处理,已自动同意买家退款申请。退款单编号:${refund_sn}。', 1, 0, '您的${type}退款单超期未处理,已自动同意买家退款申请。退款单编号:${refund_sn}。', 0, 0, '{site_name}提醒:您的${type}退款单超期未处理,已自动同意买家退款申请。退款单编号:${refund_sn}。', '<p>\r\n {site_name}提醒:\r\n</p>\r\n<p>\r\n 您的${type}退款单超期未处理,已自动同意买家退款申请。退款单编号:${refund_sn}。\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<p>\r\n <br />\r\n</p>', 0),
  7588. ('return', '退货提醒', 1, '您有一个${type}退货单需要处理。退货编号:${refund_sn}。', 1, 0, '您有一个${type}退货单需要处理。退货编号:${refund_sn}。', 0, 0, '${site_name}提醒:您有一个${type}退货单需要处理。退货编号:${refund_sn}。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您有一个${type}退货单需要处理。退货编号:${refund_sn}。\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<br />', 0),
  7589. ('return_auto_process', '退货自动处理提醒', 1, '您的${type}退货单超期未处理,已自动同意买家退货申请(弃货)。退货单编号:${refund_sn}。', 1, 0, '您的${type}退货单超期未处理,已自动同意买家退货申请(弃货)。退货单编号:${refund_sn}。', 0, 0, '${site_name}提醒:您的${type}退货单超期未处理,已自动同意买家退货申请(弃货)。退货单编号:${refund_sn}。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您的${type}退货单超期未处理,已自动同意买家退货申请(弃货)。退货单编号:${refund_sn}。\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>', 0),
  7590. ('return_auto_receipt', '退货未收货自动处理提醒', 1, '您的${type}退货单不处理收货超期未处理,已自动按弃货处理。退货单编号:${refund_sn}。', 1, 0, '您的${type}退货单不处理收货超期未处理,已自动按弃货处理。退货单编号:${refund_sn}。', 0, 0, '${site_name}提醒:您的${type}退货单超期未处理,已自动同意买家退货申请(弃货)。退货单编号:${refund_sn}。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您的${type}退货单超期未处理,已自动同意买家退货申请(弃货)。退货单编号:${refund_sn}。\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<p>\r\n <br />\r\n</p>', 0),
  7591. ('store_bill_affirm', '结算单等待确认提醒', 1, '您有新的结算单等待确认,开始时间:${state_time},结束时间:${end_time},结算单号:${bill_no}。', 1, 0, '您有新的结算单等待确认,开始时间:${state_time},结束时间:${end_time},结算单号:${bill_no}。', 0, 0, '${site_name}提醒:您有新的结算单等待确认。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您有新的结算单等待确认,起止时间:开始时间:${state_time},结束时间:${end_time},结算单号:${bill_no}。\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<p>\r\n <br />\r\n</p>', 0),
  7592. ('store_bill_gathering', '结算单已经付款提醒', 1, '您的结算单平台已付款,请注意查收,结算单编号:${bill_no}。', 1, 0, '您的结算单平台已付款,请注意查收,结算单编号:${bill_no}。', 0, 0, '${site_name}提醒:您的结算单平台已付款,请注意查收。', '<p>\r\n </p><p>\r\n ${site_name}提醒:\r\n </p>\r\n\r\n<p>\r\n 您的结算单平台已付款,请注意查收,结算单编号:${bill_no}。\r\n </p><p>\r\n <br />\r\n </p>\r\n <p>\r\n <br />\r\n </p>\r\n <p>\r\n <br />\r\n </p>\r\n <p style="text-align:right;">\r\n ${site_name}\r\n </p>\r\n <p style="text-align:right;">\r\n ${mail_send_time}\r\n </p>\r\n\r\n<br />', 0),
  7593. ('store_cost', '店铺消费提醒', 1, '您有一条新的店铺消费记录,金额:${price},操作人:${seller_name},备注:${remark}。', 1, 1, '您有一条新的店铺消费记录,金额:${price},操作人:${seller_name},备注:${remark}。', 1, 0, '${site_name}提醒:您有一条新的店铺消费记录。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 您有一条新的店铺消费记录,金额:${price},操作人:${seller_name},备注:${remark}。\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>', 0),
  7594. ('store_expire', '店铺到期提醒', 1, '你的店铺即将到期,请及时续期。', 1, 0, '你的店铺即将到期,请及时续期。', 0, 0, '${site_name}提醒:你的店铺即将到期,请及时续期。', '<p>\r\n ${site_name}提醒:\r\n</p>\r\n<p>\r\n 你的店铺即将到期,请及时续期。\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p>\r\n <br />\r\n</p>\r\n<p style="text-align:right;">\r\n ${site_name}\r\n</p>\r\n<p style="text-align:right;">\r\n ${mail_send_time}\r\n</p>\r\n<p>\r\n <br />\r\n</p>', 0);
  7595. INSERT INTO `#__storegrade` (`storegrade_id`, `storegrade_name`, `storegrade_goods_limit`, `storegrade_album_limit`, `storegrade_space_limit`, `storegrade_template_number`, `storegrade_template`, `storegrade_price`, `storegrade_description`, `storegrade_sort`) VALUES (1, '系统默认', 100, 500, 100, 6, 'default|style1|style2|style3|style4|style5', '100', '用户选择“默认等级”,可以立即开通。', 0),
  7596. (2, '白金店铺', 200, 1000, 100, 6, 'default|style1|style2|style3|style4|style5', '200', '享受更多特权', 2),
  7597. (3, '钻石店铺', 0, 1000, 100, 6, 'default|style1|style2|style3|style4|style5', '1000', '', 100);
  7598. INSERT INTO `#__advposition` (`ap_id`, `ap_name`, `ap_intro`, `ap_isuse`, `ap_width`, `ap_height`) VALUES
  7599. (1, '首页-轮播图', '', 1, 1920, 400),
  7600. (2, '首页-促销图', '', 1, 240, 164),
  7601. (3, '首页-楼层1底部广告', '', 1, 1200, 125),
  7602. (4, '首页-楼层2底部广告', '', 1, 1200, 125),
  7603. (5, '首页-楼层3底部广告', '', 1, 1200, 125),
  7604. (6, '首页-楼层4底部广告', '', 1, 1200, 125),
  7605. (7, '首页-楼层5底部广告', '', 1, 1200, 125),
  7606. (8, '首页-楼层1侧边广告', '', 1, 229, 614),
  7607. (9, '首页-楼层2侧边广告', '', 1, 229, 614),
  7608. (10, '首页-楼层3侧边广告', '', 1, 229, 614),
  7609. (11, '首页-楼层4侧边广告', '', 1, 229, 614),
  7610. (12, '首页-楼层5侧边广告', '', 1, 229, 614),
  7611. (16, '闲置首页中部横栏广告', '', 1, 1200, 61),
  7612. (17, '闲置首页中部短栏广告1', '', 1, 290, 100),
  7613. (18, '闲置首页中部短栏广告2', '', 1, 290, 100),
  7614. (19, '闲置首页中部短栏广告3', '', 1, 290, 100),
  7615. (20, '闲置首页中部短栏广告4', '', 1, 290, 100),
  7616. (21, '首页-顶部广告图', '', 1, 1200, 100);
  7617. INSERT INTO `#__adv` (`adv_id`, `ap_id`, `adv_title`, `adv_link`, `adv_code`, `adv_startdate`, `adv_enddate`, `adv_sort`, `adv_enabled`, `adv_clicknum`, `adv_bgcolor`) VALUES
  7618. (1, 1, '首页轮播图1', '', '5a4341aeb0372.jpg', 1199116800, 1830268800, 0, 1, 0, NULL),
  7619. (2, 1, '首页轮播图2', '', '5a4341c011073.jpg', 1199116800, 1830268800, 0, 1, 0, NULL),
  7620. (3, 2, '首页促销图-1', '', '5a4355443eaad.jpg', 1199116800, 1830268800, 0, 1, 0, NULL),
  7621. (4, 2, '首页促销图-2', '', '5a43555f3590a.jpg', 1199116800, 1830268800, 0, 1, 0, NULL),
  7622. (5, 2, '首页促销图-3', '', '5a43556e94bb6.jpg', 1199116800, 1830268800, 0, 1, 0, NULL),
  7623. (6, 2, '首页促销图-4', '', '5a43557f91fb5.jpg', 1199116800, 1830268800, 0, 1, 0, NULL),
  7624. (7, 2, '首页促销图-5', '', '5a43558d3d004.jpg', 1199116800, 1830268800, 0, 1, 0, NULL),
  7625. (8, 2, '首页促销图-6', '', '5a4355999c09c.jpg', 1199116800, 1830268800, 0, 1, 0, NULL),
  7626. (9, 2, '首页促销图-7', '', '5a4355a53c2d4.jpg', 1199116800, 1830268800, 0, 1, 0, NULL),
  7627. (10, 2, '首页促销图-8', '', '5a4355b51b338.jpg', 1199116800, 1830268800, 0, 1, 0, NULL),
  7628. (11, 3, '首页-楼层1底部广告', '', '5c07551df18ec.jpg', 1514304000, 1830268800, 0, 1, 0, NULL),
  7629. (12, 4, '首页-楼层2底部广告', '', '5c07552da2194.jpg', 1514304000, 1830268800, 0, 1, 0, NULL),
  7630. (13, 5, '首页-楼层3底部广告', '', '5c0755264e32d.jpg', 1514304000, 1830268800, 0, 1, 0, NULL),
  7631. (14, 6, '首页-楼层4底部广告', '', '5c0755356c311.jpg', 1514304000, 1830268800, 0, 1, 0, NULL),
  7632. (15, 7, '首页-楼层5底部广告', '', '5c07551683f36.jpg', 1514304000, 1830268800, 0, 1, 0, NULL),
  7633. (16, 8, '首页-楼层1侧边广告', '', '5c07553eeca3a.jpg', 1514304000, 1830268800, 0, 1, 0, NULL),
  7634. (17, 9, '首页-楼层2侧边广告', '', '5c07555395d8f.png', 1514304000, 1830268800, 0, 1, 0, NULL),
  7635. (18, 10, '首页-楼层3侧边广告', '', '5c07553eeca3a.jpg', 1514304000, 1830268800, 0, 1, 0, NULL),
  7636. (19, 11, '首页-楼层4侧边广告', '', '5c07555395d8f.png', 1514304000, 1830268800, 0, 1, 0, NULL),
  7637. (20, 12, '首页-楼层5侧边广告', '', '5c07553eeca3a.jpg', 1514304000, 1830268800, 0, 1, 0, NULL),
  7638. (35, 21, '首页-顶部广告图1', '', '5d5f86eb3119b.jpg', 1566489600, 1974816000, 0, 1, 2, '#db001c');
  7639. INSERT INTO `#__albumclass` VALUES ('1','默认相册','1','','255','','1506020826','1');
  7640. INSERT INTO `#__appadvposition` (`ap_id`, `ap_name`, `ap_intro`, `ap_isuse`, `ap_width`, `ap_height`) VALUES
  7641. (1, '首页轮播图', '首页轮播图', 1, 720, 350),
  7642. (2, '首页促销', '首页促销', 1, 375, 160),
  7643. (3, '首页导航图', '', 1, 60, 60),
  7644. (4, '首页横图广告', '', 1, 375, 115);
  7645. INSERT INTO `#__appadv` (`adv_id`, `ap_id`, `adv_title`, `adv_type`, `adv_typedate`, `adv_code`, `adv_startdate`, `adv_enddate`, `adv_sort`, `adv_enabled`) VALUES
  7646. (1, 1, '首页轮播图', NULL, NULL, '5a460095839c8.jpg', 1514476800, 1902412800, 255, 1),
  7647. (2, 1, '首页轮播图', NULL, NULL, '5a4600a260e0f.jpg', 1514476800, 1902412800, 255, 1),
  7648. (3, 1, '首页轮播图', NULL, NULL, '5a4600c518da8.jpg', 1514476800, 1902412800, 255, 1),
  7649. (4, 2, '首页促销左(320X260)', NULL, NULL, '5a44c828b411b.jpg', 1514476800, 1902412800, 255, 1),
  7650. (5, 2, '首页促销右上(320X130)', NULL, NULL, '5a44c84ace6ca.jpg', 1514476800, 1902412800, 255, 1),
  7651. (6, 2, '首页促销右下(320X130)', NULL, NULL, '5a44c85ca3b46.jpg', 1514476800, 1902412800, 255, 1),
  7652. (7, 4, '首页横图广告1', NULL, NULL, '5cb590f2ae5c6.gif', 1555344000, 1902412800, 1, 1),
  7653. (8, 4, '首页横图广告2', NULL, NULL, '5cb5980bbac26.jpg', 1555344000, 1902412800, 2, 1),
  7654. (9, 4, '首页横图广告3', NULL, NULL, '5cb59d7e78073.gif', 1555344000, 1902412800, 255, 1);
  7655. INSERT INTO `#__fleaclassindex` (`fcindex_id`, `fcindex_class`, `fcindex_code`, `fcindex_id1`, `fcindex_name1`, `fcindex_id2`, `fcindex_name2`, `fcindex_id3`, `fcindex_name3`, `fcindex_id4`, `fcindex_name4`) VALUES
  7656. (1, '数码', 'shuma', '1', '手机', '4', '相机/摄像', '11', '电脑/配件', '19', '数码3C'),
  7657. (2, '装扮', 'zhuangban', '27', '服装/服饰', '35', '美容/美颜', '42', '家具/日用', '48', '食品/保健'),
  7658. (3, '居家', 'jujia', '51', '电器/影音', '60', '母婴/玩具', '67', '宠物/用品', '72', '生活/卡券'),
  7659. (4, '兴趣', 'xingqu', '80', '书刊/音像', '88', '汽摩/电动', '95', '珠宝/黄金', '102', '艺术/收藏'),
  7660. (5, '母婴', 'muying', '107', '其他闲置', '4', '相机/摄像', '19', '数码3C', '27', '服装/服饰');
  7661. INSERT INTO `#__editable_page_model` (`editable_page_model_id`, `editable_page_model_name`, `editable_page_model_intro`, `editable_page_model_type`, `editable_page_theme`, `editable_page_model_client`, `editable_page_model_content`) VALUES
  7662. (1, '轮播图', '', '', '', '', ''),
  7663. (2, '富文本', '', '', '', '', ''),
  7664. (3, '三列商品', '', 'store', '', 'pc', ''),
  7665. (4, '一个商品', '', 'store', '', 'pc', ''),
  7666. (5, '两列商品', '', 'store', '', 'pc', ''),
  7667. (6, '商品列表', '', '', '', 'h5', ''),
  7668. (7, '一个商品', '', 'store', '', 'pc', ''),
  7669. (8, '商品分类和轮播图', '', 'mall', '', 'pc', ''),
  7670. (9, '分类商品列表', '', 'mall', '', 'pc', ''),
  7671. (10, '两列分类商品列表', '', 'mall', '', 'pc', ''),
  7672. (11, '分类切换商品列表', '', 'mall', '', 'pc', ''),
  7673. (12, '导航列表', '', '', '', 'h5', ''),
  7674. (13, '滚动通知', '', '', '', 'h5', ''),
  7675. (14, '搜索', '', '', '', 'h5', ''),
  7676. (15, '魔方', '', '', '', 'h5', ''),
  7677. (16, '辅助空白', '', '', '', 'h5', ''),
  7678. (17, '视频', '', '', '', 'h5', ''),
  7679. (18, '砍价', '', '', '', 'h5', ''),
  7680. (19, '抢购', '', '', '', 'h5', ''),
  7681. (20, '拼团', '', '', '', 'h5', ''),
  7682. (21, '预售', '', '', '', 'h5', ''),
  7683. (22, '秒杀', '', '', '', 'h5', '');
  7684. INSERT INTO `#__chain` (`chain_id`, `store_id`, `chain_name`, `chain_passwd`, `chain_truename`, `chain_mobile`, `chain_telephony`, `chain_addressname`, `chain_area_2`, `chain_area_3`, `chain_area_info`, `chain_address`, `chain_idcard`, `chain_idcardimage`, `chain_addtime`, `chain_state`, `chain_failreason`, `chain_longitude`, `chain_latitude`, `chain_if_pickup`, `chain_if_collect`) VALUES
  7685. (1, 1, 'seller', 'e10adc3949ba59abbe56e057f20f883e', 'seller', '15111111111', NULL, '一号门店', 213, 2271, '湖南省 长沙市 开福区', '新时代广场-北栋', '', '', 1642836114, 1, NULL, '112.994308', '28.226065', 1, 1);