人人商城

ims_ewei_message_mass_sign.sql 407KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : 39.98.179.39
  4. Source Server Type : MySQL
  5. Source Server Version : 50643
  6. Source Host : 39.98.179.39:3306
  7. Source Schema : www_68sykj_com
  8. Target Server Type : MySQL
  9. Target Server Version : 50643
  10. File Encoding : 65001
  11. Date: 24/02/2019 12:31:02
  12. */
  13. SET NAMES utf8mb4;
  14. SET FOREIGN_KEY_CHECKS = 0;
  15. -- ----------------------------
  16. -- Table structure for ims_ewei_message_mass_sign
  17. -- ----------------------------
  18. DROP TABLE IF EXISTS `ims_ewei_message_mass_sign`;
  19. CREATE TABLE `ims_ewei_message_mass_sign` (
  20. `id` int(11) NOT NULL AUTO_INCREMENT,
  21. `uniacid` int(11) DEFAULT '0',
  22. `openid` varchar(50) DEFAULT NULL,
  23. `nickname` varchar(50) DEFAULT NULL,
  24. `taskid` int(11) DEFAULT NULL,
  25. `status` tinyint(1) DEFAULT NULL,
  26. `log` varchar(255) DEFAULT NULL,
  27. PRIMARY KEY (`id`),
  28. KEY `idx_openid` (`openid`) USING BTREE,
  29. KEY `idx_taskid` (`taskid`) USING BTREE,
  30. KEY `idx_status` (`status`) USING BTREE
  31. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  32. -- ----------------------------
  33. -- Table structure for ims_ewei_message_mass_task
  34. -- ----------------------------
  35. DROP TABLE IF EXISTS `ims_ewei_message_mass_task`;
  36. CREATE TABLE `ims_ewei_message_mass_task` (
  37. `id` int(11) NOT NULL AUTO_INCREMENT,
  38. `uniacid` int(11) DEFAULT '0',
  39. `title` varchar(255) DEFAULT '',
  40. `status` tinyint(1) DEFAULT '0',
  41. `processnum` int(11) DEFAULT '1',
  42. `sendnum` int(11) DEFAULT '0',
  43. `messagetype` tinyint(1) DEFAULT '0',
  44. `templateid` int(11) DEFAULT '0',
  45. `resptitle` varchar(255) DEFAULT NULL,
  46. `respthumb` varchar(255) DEFAULT NULL,
  47. `respdesc` varchar(255) DEFAULT NULL,
  48. `respurl` varchar(255) DEFAULT NULL,
  49. `sendlimittype` tinyint(1) DEFAULT '0',
  50. `send_openid` text,
  51. `send_level` int(11) DEFAULT NULL,
  52. `send_group` int(11) DEFAULT NULL,
  53. `send_agentlevel` int(11) DEFAULT NULL,
  54. `customertype` tinyint(1) DEFAULT '0',
  55. `resdesc2` varchar(255) DEFAULT '',
  56. `pagecount` int(11) DEFAULT '0',
  57. `successnum` int(11) DEFAULT '0',
  58. `failnum` int(11) DEFAULT '0',
  59. PRIMARY KEY (`id`)
  60. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  61. -- ----------------------------
  62. -- Table structure for ims_ewei_message_mass_template
  63. -- ----------------------------
  64. DROP TABLE IF EXISTS `ims_ewei_message_mass_template`;
  65. CREATE TABLE `ims_ewei_message_mass_template` (
  66. `id` int(11) NOT NULL AUTO_INCREMENT,
  67. `uniacid` int(11) DEFAULT '0',
  68. `title` varchar(255) DEFAULT '',
  69. `template_id` varchar(255) DEFAULT '',
  70. `first` text NOT NULL,
  71. `firstcolor` varchar(255) DEFAULT '',
  72. `data` text NOT NULL,
  73. `remark` text NOT NULL,
  74. `remarkcolor` varchar(255) DEFAULT '',
  75. `url` varchar(255) NOT NULL,
  76. `createtime` int(11) DEFAULT '0',
  77. `sendtimes` int(11) DEFAULT '0',
  78. `sendcount` int(11) DEFAULT '0',
  79. `miniprogram` tinyint(1) DEFAULT '0',
  80. `appid` varchar(255) DEFAULT '',
  81. `pagepath` varchar(255) DEFAULT '',
  82. PRIMARY KEY (`id`)
  83. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  84. -- ----------------------------
  85. -- Table structure for ims_ewei_shop_abonus_bill
  86. -- ----------------------------
  87. DROP TABLE IF EXISTS `ims_ewei_shop_abonus_bill`;
  88. CREATE TABLE `ims_ewei_shop_abonus_bill` (
  89. `id` int(11) NOT NULL AUTO_INCREMENT,
  90. `uniacid` int(11) DEFAULT '0',
  91. `billno` varchar(100) DEFAULT '',
  92. `paytype` int(11) DEFAULT '0',
  93. `year` int(11) DEFAULT '0',
  94. `month` int(11) DEFAULT '0',
  95. `week` int(11) DEFAULT '0',
  96. `ordercount` int(11) DEFAULT '0',
  97. `ordermoney` decimal(10,2) DEFAULT '0.00',
  98. `paytime` int(11) DEFAULT '0',
  99. `aagentcount1` int(11) DEFAULT '0',
  100. `aagentcount2` int(11) DEFAULT '0',
  101. `aagentcount3` int(11) DEFAULT '0',
  102. `bonusmoney1` decimal(10,2) DEFAULT '0.00',
  103. `bonusmoney_send1` decimal(10,2) DEFAULT '0.00',
  104. `bonusmoney_pay1` decimal(10,2) DEFAULT '0.00',
  105. `bonusmoney2` decimal(10,2) DEFAULT '0.00',
  106. `bonusmoney_send2` decimal(10,2) DEFAULT '0.00',
  107. `bonusmoney_pay2` decimal(10,2) DEFAULT '0.00',
  108. `bonusmoney3` decimal(10,2) DEFAULT '0.00',
  109. `bonusmoney_send3` decimal(10,2) DEFAULT '0.00',
  110. `bonusmoney_pay3` decimal(10,2) DEFAULT '0.00',
  111. `createtime` int(11) DEFAULT '0',
  112. `status` tinyint(3) DEFAULT '0',
  113. `starttime` int(11) DEFAULT '0',
  114. `endtime` int(11) DEFAULT '0',
  115. `confirmtime` int(11) DEFAULT '0',
  116. `ceshi` int(11) DEFAULT NULL,
  117. PRIMARY KEY (`id`),
  118. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  119. KEY `idx_paytype` (`paytype`) USING BTREE,
  120. KEY `idx_createtime` (`createtime`) USING BTREE,
  121. KEY `idx_paytime` (`paytime`) USING BTREE,
  122. KEY `idx_status` (`status`) USING BTREE,
  123. KEY `idx_month` (`month`) USING BTREE,
  124. KEY `idx_week` (`week`) USING BTREE,
  125. KEY `idx_year` (`year`) USING BTREE
  126. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  127. -- ----------------------------
  128. -- Table structure for ims_ewei_shop_abonus_billo
  129. -- ----------------------------
  130. DROP TABLE IF EXISTS `ims_ewei_shop_abonus_billo`;
  131. CREATE TABLE `ims_ewei_shop_abonus_billo` (
  132. `id` int(11) NOT NULL AUTO_INCREMENT,
  133. `uniacid` int(11) DEFAULT '0',
  134. `billid` int(11) DEFAULT '0',
  135. `orderid` int(11) DEFAULT '0',
  136. `ordermoney` decimal(10,2) DEFAULT '0.00',
  137. PRIMARY KEY (`id`),
  138. KEY `idx_billid` (`billid`) USING BTREE,
  139. KEY `idx_uniacid` (`uniacid`) USING BTREE
  140. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
  141. -- ----------------------------
  142. -- Table structure for ims_ewei_shop_abonus_billp
  143. -- ----------------------------
  144. DROP TABLE IF EXISTS `ims_ewei_shop_abonus_billp`;
  145. CREATE TABLE `ims_ewei_shop_abonus_billp` (
  146. `id` int(11) NOT NULL AUTO_INCREMENT,
  147. `uniacid` int(11) DEFAULT '0',
  148. `billid` int(11) DEFAULT '0',
  149. `openid` varchar(255) DEFAULT '',
  150. `payno` varchar(255) DEFAULT '',
  151. `paytype` tinyint(3) DEFAULT '0',
  152. `bonus1` decimal(10,4) DEFAULT '0.0000',
  153. `bonus2` decimal(10,4) DEFAULT '0.0000',
  154. `bonus3` decimal(10,4) DEFAULT '0.0000',
  155. `money1` decimal(10,2) DEFAULT '0.00',
  156. `realmoney1` decimal(10,2) DEFAULT '0.00',
  157. `paymoney1` decimal(10,2) DEFAULT '0.00',
  158. `money2` decimal(10,2) DEFAULT '0.00',
  159. `realmoney2` decimal(10,2) DEFAULT '0.00',
  160. `paymoney2` decimal(10,2) DEFAULT '0.00',
  161. `money3` decimal(10,2) DEFAULT '0.00',
  162. `realmoney3` decimal(10,2) DEFAULT '0.00',
  163. `paymoney3` decimal(10,2) DEFAULT '0.00',
  164. `chargemoney1` decimal(10,2) DEFAULT '0.00',
  165. `chargemoney2` decimal(10,2) DEFAULT '0.00',
  166. `chargemoney3` decimal(10,2) DEFAULT '0.00',
  167. `charge` decimal(10,2) DEFAULT '0.00',
  168. `status` tinyint(3) DEFAULT '0',
  169. `reason` varchar(255) DEFAULT '',
  170. `paytime` int(11) DEFAULT '0',
  171. PRIMARY KEY (`id`),
  172. KEY `idx_billid` (`billid`) USING BTREE,
  173. KEY `idx_uniacid` (`uniacid`) USING BTREE
  174. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  175. -- ----------------------------
  176. -- Table structure for ims_ewei_shop_abonus_level
  177. -- ----------------------------
  178. DROP TABLE IF EXISTS `ims_ewei_shop_abonus_level`;
  179. CREATE TABLE `ims_ewei_shop_abonus_level` (
  180. `id` int(11) NOT NULL AUTO_INCREMENT,
  181. `uniacid` int(11) NOT NULL,
  182. `levelname` varchar(50) DEFAULT '',
  183. `bonus1` decimal(10,4) DEFAULT '0.0000',
  184. `bonus2` decimal(10,4) DEFAULT '0.0000',
  185. `bonus3` decimal(10,4) DEFAULT '0.0000',
  186. `ordermoney` decimal(10,2) DEFAULT '0.00',
  187. `ordercount` int(11) DEFAULT '0',
  188. `bonusmoney` decimal(10,2) DEFAULT '0.00',
  189. `downcount` int(11) DEFAULT '0',
  190. `commissionmoney` decimal(10,2) DEFAULT '0.00',
  191. PRIMARY KEY (`id`),
  192. KEY `idx_uniacid` (`uniacid`) USING BTREE
  193. ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  194. -- ----------------------------
  195. -- Table structure for ims_ewei_shop_address_applyfor
  196. -- ----------------------------
  197. DROP TABLE IF EXISTS `ims_ewei_shop_address_applyfor`;
  198. CREATE TABLE `ims_ewei_shop_address_applyfor` (
  199. `id` int(11) NOT NULL AUTO_INCREMENT,
  200. `uniacid` int(11) DEFAULT NULL,
  201. `openid` varchar(11) DEFAULT NULL,
  202. `data` text,
  203. `orderid` int(11) DEFAULT NULL,
  204. `ordersn` varchar(255) DEFAULT NULL,
  205. `isdispose` tinyint(1) DEFAULT '0',
  206. `message` varchar(255) DEFAULT NULL,
  207. `createtime` int(11) DEFAULT NULL,
  208. `ispass` tinyint(1) DEFAULT '0',
  209. `isdelete` tinyint(4) DEFAULT '0',
  210. `isall` tinyint(4) DEFAULT '0',
  211. `old_address` text,
  212. `cycleid` int(11) DEFAULT NULL,
  213. PRIMARY KEY (`id`)
  214. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  215. -- ----------------------------
  216. -- Table structure for ims_ewei_shop_adv
  217. -- ----------------------------
  218. DROP TABLE IF EXISTS `ims_ewei_shop_adv`;
  219. CREATE TABLE `ims_ewei_shop_adv` (
  220. `id` int(11) NOT NULL AUTO_INCREMENT,
  221. `uniacid` int(11) DEFAULT '0',
  222. `advname` varchar(50) DEFAULT '',
  223. `link` varchar(255) DEFAULT '',
  224. `thumb` varchar(255) DEFAULT '',
  225. `displayorder` int(11) DEFAULT '0',
  226. `enabled` int(11) DEFAULT '0',
  227. `shopid` int(11) DEFAULT '0',
  228. `iswxapp` tinyint(1) NOT NULL DEFAULT '0',
  229. PRIMARY KEY (`id`),
  230. KEY `idx_uniacid` (`uniacid`),
  231. KEY `idx_enabled` (`enabled`),
  232. KEY `idx_displayorder` (`displayorder`)
  233. ) ENGINE=MyISAM AUTO_INCREMENT=23 DEFAULT CHARSET=utf8;
  234. -- ----------------------------
  235. -- Table structure for ims_ewei_shop_af_supplier
  236. -- ----------------------------
  237. DROP TABLE IF EXISTS `ims_ewei_shop_af_supplier`;
  238. CREATE TABLE `ims_ewei_shop_af_supplier` (
  239. `id` int(11) NOT NULL AUTO_INCREMENT,
  240. `openid` varchar(255) NOT NULL,
  241. `uniacid` int(11) NOT NULL,
  242. `realname` varchar(55) NOT NULL,
  243. `mobile` varchar(255) NOT NULL,
  244. `weixin` varchar(255) NOT NULL,
  245. `productname` varchar(255) NOT NULL,
  246. PRIMARY KEY (`id`) USING BTREE
  247. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  248. -- ----------------------------
  249. -- Table structure for ims_ewei_shop_area_config
  250. -- ----------------------------
  251. DROP TABLE IF EXISTS `ims_ewei_shop_area_config`;
  252. CREATE TABLE `ims_ewei_shop_area_config` (
  253. `id` int(11) NOT NULL AUTO_INCREMENT,
  254. `uniacid` int(11) NOT NULL DEFAULT '0',
  255. `new_area` tinyint(3) NOT NULL DEFAULT '0',
  256. `address_street` tinyint(3) NOT NULL DEFAULT '0',
  257. `createtime` int(11) NOT NULL DEFAULT '0',
  258. PRIMARY KEY (`id`),
  259. KEY `idx_uniacid` (`uniacid`) USING BTREE
  260. ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
  261. -- ----------------------------
  262. -- Table structure for ims_ewei_shop_article
  263. -- ----------------------------
  264. DROP TABLE IF EXISTS `ims_ewei_shop_article`;
  265. CREATE TABLE `ims_ewei_shop_article` (
  266. `id` int(11) NOT NULL AUTO_INCREMENT,
  267. `article_title` varchar(255) NOT NULL DEFAULT '',
  268. `resp_desc` text NOT NULL,
  269. `resp_img` text NOT NULL,
  270. `article_content` longtext,
  271. `article_category` int(11) NOT NULL DEFAULT '0',
  272. `article_date_v` varchar(20) NOT NULL DEFAULT '',
  273. `article_date` varchar(20) NOT NULL DEFAULT '',
  274. `article_mp` varchar(50) NOT NULL DEFAULT '',
  275. `article_author` varchar(20) NOT NULL DEFAULT '',
  276. `article_readnum_v` int(11) NOT NULL DEFAULT '0',
  277. `article_readnum` int(11) NOT NULL DEFAULT '0',
  278. `article_likenum_v` int(11) NOT NULL DEFAULT '0',
  279. `article_likenum` int(11) NOT NULL DEFAULT '0',
  280. `article_linkurl` varchar(300) NOT NULL DEFAULT '',
  281. `article_rule_daynum` int(11) NOT NULL DEFAULT '0',
  282. `article_rule_allnum` int(11) NOT NULL DEFAULT '0',
  283. `article_rule_credit` int(11) NOT NULL DEFAULT '0',
  284. `article_rule_money` decimal(10,2) NOT NULL DEFAULT '0.00',
  285. `page_set_option_nocopy` int(1) NOT NULL DEFAULT '0',
  286. `page_set_option_noshare_tl` int(1) NOT NULL DEFAULT '0',
  287. `page_set_option_noshare_msg` int(1) NOT NULL DEFAULT '0',
  288. `article_keyword` varchar(255) NOT NULL DEFAULT '',
  289. `article_report` int(1) NOT NULL DEFAULT '0',
  290. `product_advs_type` int(1) NOT NULL DEFAULT '0',
  291. `product_advs_title` varchar(255) NOT NULL DEFAULT '',
  292. `product_advs_more` varchar(255) NOT NULL DEFAULT '',
  293. `product_advs_link` varchar(255) NOT NULL DEFAULT '',
  294. `product_advs` text NOT NULL,
  295. `article_state` int(1) NOT NULL DEFAULT '0',
  296. `network_attachment` varchar(255) DEFAULT '',
  297. `uniacid` int(11) NOT NULL DEFAULT '0',
  298. `article_rule_credittotal` int(11) DEFAULT '0',
  299. `article_rule_moneytotal` decimal(10,2) DEFAULT '0.00',
  300. `article_rule_credit2` int(11) NOT NULL DEFAULT '0',
  301. `article_rule_money2` decimal(10,2) NOT NULL DEFAULT '0.00',
  302. `article_rule_creditm` int(11) NOT NULL DEFAULT '0',
  303. `article_rule_moneym` decimal(10,2) NOT NULL DEFAULT '0.00',
  304. `article_rule_creditm2` int(11) NOT NULL DEFAULT '0',
  305. `article_rule_moneym2` decimal(10,2) NOT NULL DEFAULT '0.00',
  306. `article_readtime` int(11) DEFAULT '0',
  307. `article_areas` varchar(255) DEFAULT '',
  308. `article_endtime` int(11) DEFAULT '0',
  309. `article_hasendtime` tinyint(3) DEFAULT '0',
  310. `displayorder` int(11) DEFAULT '0',
  311. `article_keyword2` varchar(255) NOT NULL DEFAULT '',
  312. `article_advance` int(11) DEFAULT '0',
  313. `article_virtualadd` tinyint(3) DEFAULT '0',
  314. `article_visit` tinyint(3) DEFAULT '0',
  315. `article_visit_level` text,
  316. `article_visit_tip` varchar(500) DEFAULT '',
  317. PRIMARY KEY (`id`),
  318. KEY `idx_article_title` (`article_title`),
  319. KEY `idx_article_content` (`article_content`(10)),
  320. KEY `idx_article_keyword` (`article_keyword`),
  321. KEY `idx_uniacid` (`uniacid`)
  322. ) ENGINE=MyISAM AUTO_INCREMENT=20 DEFAULT CHARSET=utf8 COMMENT='营销文章';
  323. -- ----------------------------
  324. -- Table structure for ims_ewei_shop_article_category
  325. -- ----------------------------
  326. DROP TABLE IF EXISTS `ims_ewei_shop_article_category`;
  327. CREATE TABLE `ims_ewei_shop_article_category` (
  328. `id` int(11) NOT NULL AUTO_INCREMENT,
  329. `category_name` varchar(255) NOT NULL DEFAULT '',
  330. `uniacid` int(11) NOT NULL DEFAULT '0',
  331. `displayorder` int(11) NOT NULL DEFAULT '0',
  332. `isshow` tinyint(1) NOT NULL DEFAULT '0',
  333. PRIMARY KEY (`id`),
  334. KEY `idx_uniacid` (`uniacid`),
  335. KEY `idx_category_name` (`category_name`)
  336. ) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=utf8 COMMENT='营销表单分类';
  337. -- ----------------------------
  338. -- Table structure for ims_ewei_shop_article_comment
  339. -- ----------------------------
  340. DROP TABLE IF EXISTS `ims_ewei_shop_article_comment`;
  341. CREATE TABLE `ims_ewei_shop_article_comment` (
  342. `id` int(11) NOT NULL AUTO_INCREMENT,
  343. `uniacid` int(11) DEFAULT '0',
  344. `articleid` int(11) DEFAULT '0',
  345. `openid` varchar(50) DEFAULT '',
  346. `nickname` varchar(50) DEFAULT '',
  347. `headimgurl` varchar(255) DEFAULT '',
  348. `content` varchar(500) DEFAULT '',
  349. `reply_createtime` int(11) DEFAULT NULL,
  350. `createtime` int(11) DEFAULT '0',
  351. `deleted` tinyint(3) DEFAULT '0',
  352. `status` tinyint(1) DEFAULT '0',
  353. `reply_content` varchar(500) DEFAULT '',
  354. PRIMARY KEY (`id`),
  355. KEY `idx_uniacid` (`uniacid`),
  356. KEY `idx_openid` (`openid`),
  357. KEY `idx_createtime` (`createtime`)
  358. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  359. -- ----------------------------
  360. -- Table structure for ims_ewei_shop_article_log
  361. -- ----------------------------
  362. DROP TABLE IF EXISTS `ims_ewei_shop_article_log`;
  363. CREATE TABLE `ims_ewei_shop_article_log` (
  364. `id` int(11) NOT NULL AUTO_INCREMENT,
  365. `aid` int(11) NOT NULL DEFAULT '0',
  366. `read` int(11) NOT NULL DEFAULT '0',
  367. `like` int(11) NOT NULL DEFAULT '0',
  368. `openid` varchar(255) NOT NULL DEFAULT '',
  369. `uniacid` int(11) NOT NULL DEFAULT '0',
  370. PRIMARY KEY (`id`),
  371. KEY `idx_aid` (`aid`),
  372. KEY `idx_openid` (`openid`),
  373. KEY `idx_uniacid` (`uniacid`)
  374. ) ENGINE=MyISAM AUTO_INCREMENT=625 DEFAULT CHARSET=utf8 COMMENT='点赞/阅读记录';
  375. -- ----------------------------
  376. -- Table structure for ims_ewei_shop_article_report
  377. -- ----------------------------
  378. DROP TABLE IF EXISTS `ims_ewei_shop_article_report`;
  379. CREATE TABLE `ims_ewei_shop_article_report` (
  380. `id` int(11) NOT NULL AUTO_INCREMENT,
  381. `mid` int(11) NOT NULL DEFAULT '0',
  382. `openid` varchar(255) NOT NULL DEFAULT '',
  383. `aid` int(11) DEFAULT '0',
  384. `cate` varchar(255) NOT NULL DEFAULT '',
  385. `cons` varchar(255) NOT NULL DEFAULT '',
  386. `uniacid` int(11) NOT NULL DEFAULT '0',
  387. PRIMARY KEY (`id`)
  388. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='用户举报记录';
  389. -- ----------------------------
  390. -- Table structure for ims_ewei_shop_article_share
  391. -- ----------------------------
  392. DROP TABLE IF EXISTS `ims_ewei_shop_article_share`;
  393. CREATE TABLE `ims_ewei_shop_article_share` (
  394. `id` int(11) NOT NULL AUTO_INCREMENT,
  395. `aid` int(11) NOT NULL DEFAULT '0',
  396. `share_user` int(11) NOT NULL DEFAULT '0',
  397. `click_user` int(11) NOT NULL DEFAULT '0',
  398. `click_date` varchar(20) NOT NULL DEFAULT '',
  399. `add_credit` int(11) NOT NULL DEFAULT '0',
  400. `add_money` decimal(10,2) NOT NULL DEFAULT '0.00',
  401. `uniacid` int(11) NOT NULL DEFAULT '0',
  402. PRIMARY KEY (`id`),
  403. KEY `idx_aid` (`aid`),
  404. KEY `idx_uniacid` (`uniacid`)
  405. ) ENGINE=MyISAM AUTO_INCREMENT=63 DEFAULT CHARSET=utf8 COMMENT='用户分享数据';
  406. -- ----------------------------
  407. -- Table structure for ims_ewei_shop_article_sys
  408. -- ----------------------------
  409. DROP TABLE IF EXISTS `ims_ewei_shop_article_sys`;
  410. CREATE TABLE `ims_ewei_shop_article_sys` (
  411. `uniacid` int(11) NOT NULL DEFAULT '0',
  412. `article_message` varchar(255) NOT NULL DEFAULT '',
  413. `article_title` varchar(255) NOT NULL DEFAULT '',
  414. `article_image` varchar(300) NOT NULL DEFAULT '',
  415. `article_shownum` int(11) NOT NULL DEFAULT '0',
  416. `article_keyword` varchar(255) NOT NULL DEFAULT '',
  417. `article_temp` int(11) NOT NULL DEFAULT '0',
  418. `article_source` varchar(255) NOT NULL DEFAULT '',
  419. `article_close_advanced` tinyint(1) NOT NULL DEFAULT '1',
  420. PRIMARY KEY (`uniacid`),
  421. KEY `idx_article_message` (`article_message`),
  422. KEY `idx_article_keyword` (`article_keyword`),
  423. KEY `idx_article_title` (`article_title`)
  424. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='文章设置';
  425. -- ----------------------------
  426. -- Table structure for ims_ewei_shop_author_bill
  427. -- ----------------------------
  428. DROP TABLE IF EXISTS `ims_ewei_shop_author_bill`;
  429. CREATE TABLE `ims_ewei_shop_author_bill` (
  430. `id` int(11) NOT NULL AUTO_INCREMENT,
  431. `uniacid` int(11) DEFAULT '0',
  432. `billno` varchar(100) DEFAULT '',
  433. `paytype` int(11) DEFAULT '0',
  434. `year` int(11) DEFAULT '0',
  435. `month` int(11) DEFAULT '0',
  436. `week` int(11) DEFAULT '0',
  437. `ordercount` int(11) DEFAULT '0',
  438. `ordermoney` decimal(10,2) DEFAULT '0.00',
  439. `bonusordermoney` decimal(10,2) DEFAULT '0.00',
  440. `bonusrate` decimal(10,2) DEFAULT '0.00',
  441. `bonusmoney` decimal(10,2) DEFAULT '0.00',
  442. `bonusmoney_send` decimal(10,2) DEFAULT '0.00',
  443. `bonusmoney_pay` decimal(10,2) DEFAULT '0.00',
  444. `paytime` int(11) DEFAULT '0',
  445. `partnercount` int(11) DEFAULT '0',
  446. `createtime` int(11) DEFAULT '0',
  447. `status` tinyint(3) DEFAULT '0',
  448. `starttime` int(11) DEFAULT '0',
  449. `endtime` int(11) DEFAULT '0',
  450. `confirmtime` int(11) DEFAULT '0',
  451. PRIMARY KEY (`id`),
  452. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  453. KEY `idx_paytype` (`paytype`) USING BTREE,
  454. KEY `idx_createtime` (`createtime`) USING BTREE,
  455. KEY `idx_paytime` (`paytime`) USING BTREE,
  456. KEY `idx_status` (`status`) USING BTREE,
  457. KEY `idx_month` (`month`) USING BTREE,
  458. KEY `idx_week` (`week`) USING BTREE,
  459. KEY `idx_year` (`year`) USING BTREE
  460. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  461. -- ----------------------------
  462. -- Table structure for ims_ewei_shop_author_billo
  463. -- ----------------------------
  464. DROP TABLE IF EXISTS `ims_ewei_shop_author_billo`;
  465. CREATE TABLE `ims_ewei_shop_author_billo` (
  466. `id` int(11) NOT NULL AUTO_INCREMENT,
  467. `uniacid` int(11) DEFAULT '0',
  468. `billid` int(11) DEFAULT '0',
  469. `authorid` int(11) DEFAULT NULL,
  470. `orderid` text,
  471. `ordermoney` decimal(10,2) DEFAULT '0.00',
  472. PRIMARY KEY (`id`),
  473. KEY `idx_billid` (`billid`) USING BTREE,
  474. KEY `idx_uniacid` (`uniacid`) USING BTREE
  475. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  476. -- ----------------------------
  477. -- Table structure for ims_ewei_shop_author_billp
  478. -- ----------------------------
  479. DROP TABLE IF EXISTS `ims_ewei_shop_author_billp`;
  480. CREATE TABLE `ims_ewei_shop_author_billp` (
  481. `id` int(11) NOT NULL AUTO_INCREMENT,
  482. `uniacid` int(11) DEFAULT '0',
  483. `billid` int(11) DEFAULT '0',
  484. `openid` varchar(255) DEFAULT '',
  485. `payno` varchar(255) DEFAULT '',
  486. `paytype` tinyint(3) DEFAULT '0',
  487. `bonus` decimal(10,2) DEFAULT '0.00',
  488. `money` decimal(10,2) DEFAULT '0.00',
  489. `realmoney` decimal(10,2) DEFAULT '0.00',
  490. `paymoney` decimal(10,2) DEFAULT '0.00',
  491. `charge` decimal(10,2) DEFAULT '0.00',
  492. `chargemoney` decimal(10,2) DEFAULT '0.00',
  493. `status` tinyint(3) DEFAULT '0',
  494. `reason` varchar(255) DEFAULT '',
  495. `paytime` int(11) DEFAULT '0',
  496. PRIMARY KEY (`id`),
  497. KEY `idx_billid` (`billid`) USING BTREE,
  498. KEY `idx_uniacid` (`uniacid`) USING BTREE
  499. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  500. -- ----------------------------
  501. -- Table structure for ims_ewei_shop_author_level
  502. -- ----------------------------
  503. DROP TABLE IF EXISTS `ims_ewei_shop_author_level`;
  504. CREATE TABLE `ims_ewei_shop_author_level` (
  505. `id` int(11) NOT NULL AUTO_INCREMENT,
  506. `uniacid` int(11) NOT NULL,
  507. `levelname` varchar(50) DEFAULT '',
  508. `bonus` decimal(10,4) DEFAULT '0.0000',
  509. `ordermoney` decimal(10,2) DEFAULT '0.00',
  510. `ordercount` int(11) DEFAULT '0',
  511. `commissionmoney` decimal(10,2) DEFAULT '0.00',
  512. `bonusmoney` decimal(10,2) DEFAULT '0.00',
  513. `downcount` int(11) DEFAULT '0',
  514. `bonus_fg` varchar(500) DEFAULT '',
  515. PRIMARY KEY (`id`),
  516. KEY `idx_uniacid` (`uniacid`) USING BTREE
  517. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  518. -- ----------------------------
  519. -- Table structure for ims_ewei_shop_author_team
  520. -- ----------------------------
  521. DROP TABLE IF EXISTS `ims_ewei_shop_author_team`;
  522. CREATE TABLE `ims_ewei_shop_author_team` (
  523. `id` int(11) NOT NULL AUTO_INCREMENT,
  524. `uniacid` int(11) DEFAULT '0',
  525. `teamno` varchar(50) DEFAULT '',
  526. `year` int(11) DEFAULT '0',
  527. `month` int(11) DEFAULT '0',
  528. `team_count` int(11) DEFAULT '0',
  529. `team_ids` longtext,
  530. `status` tinyint(1) DEFAULT '0',
  531. `createtime` int(11) DEFAULT '0',
  532. `paytime` int(11) DEFAULT '0',
  533. PRIMARY KEY (`id`),
  534. KEY `uniacid` (`uniacid`) USING BTREE,
  535. KEY `teamno` (`teamno`) USING BTREE,
  536. KEY `year` (`year`) USING BTREE,
  537. KEY `month` (`month`) USING BTREE,
  538. KEY `status` (`status`) USING BTREE,
  539. KEY `createtime` (`createtime`) USING BTREE
  540. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  541. -- ----------------------------
  542. -- Table structure for ims_ewei_shop_author_team_pay
  543. -- ----------------------------
  544. DROP TABLE IF EXISTS `ims_ewei_shop_author_team_pay`;
  545. CREATE TABLE `ims_ewei_shop_author_team_pay` (
  546. `id` int(11) NOT NULL AUTO_INCREMENT,
  547. `uniacid` int(11) DEFAULT '0',
  548. `teamid` int(11) DEFAULT '0',
  549. `mid` int(11) DEFAULT '0',
  550. `payno` varchar(255) DEFAULT '',
  551. `money` decimal(10,2) DEFAULT '0.00',
  552. `paymoney` decimal(10,2) DEFAULT '0.00',
  553. `paytime` int(11) DEFAULT '0',
  554. PRIMARY KEY (`id`),
  555. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  556. KEY `idx_teamid` (`teamid`) USING BTREE,
  557. KEY `idx_mid` (`mid`) USING BTREE
  558. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  559. -- ----------------------------
  560. -- Table structure for ims_ewei_shop_banner
  561. -- ----------------------------
  562. DROP TABLE IF EXISTS `ims_ewei_shop_banner`;
  563. CREATE TABLE `ims_ewei_shop_banner` (
  564. `id` int(11) NOT NULL AUTO_INCREMENT,
  565. `uniacid` int(11) DEFAULT '0',
  566. `bannername` varchar(50) DEFAULT '',
  567. `link` varchar(255) DEFAULT '',
  568. `thumb` varchar(255) DEFAULT '',
  569. `displayorder` int(11) DEFAULT '0',
  570. `enabled` int(11) DEFAULT '0',
  571. `shopid` int(11) DEFAULT '0',
  572. `iswxapp` tinyint(1) NOT NULL DEFAULT '0',
  573. PRIMARY KEY (`id`),
  574. KEY `idx_uniacid` (`uniacid`),
  575. KEY `idx_enabled` (`enabled`),
  576. KEY `idx_displayorder` (`displayorder`)
  577. ) ENGINE=MyISAM AUTO_INCREMENT=32 DEFAULT CHARSET=utf8;
  578. -- ----------------------------
  579. -- Table structure for ims_ewei_shop_bargain_account
  580. -- ----------------------------
  581. DROP TABLE IF EXISTS `ims_ewei_shop_bargain_account`;
  582. CREATE TABLE `ims_ewei_shop_bargain_account` (
  583. `id` int(11) NOT NULL,
  584. `mall_name` varchar(255) DEFAULT NULL,
  585. `banner` varchar(255) DEFAULT NULL,
  586. `mall_title` varchar(255) DEFAULT NULL,
  587. `mall_content` varchar(255) DEFAULT NULL,
  588. `mall_logo` varchar(255) DEFAULT NULL,
  589. `message` int(11) DEFAULT '0',
  590. `partin` int(11) DEFAULT '0',
  591. `rule` text,
  592. `end_message` int(11) DEFAULT '0',
  593. `follow_swi` tinyint(1) NOT NULL DEFAULT '0',
  594. `sharestyle` tinyint(1) NOT NULL DEFAULT '0'
  595. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  596. -- ----------------------------
  597. -- Table structure for ims_ewei_shop_bargain_actor
  598. -- ----------------------------
  599. DROP TABLE IF EXISTS `ims_ewei_shop_bargain_actor`;
  600. CREATE TABLE `ims_ewei_shop_bargain_actor` (
  601. `id` int(11) NOT NULL AUTO_INCREMENT,
  602. `goods_id` int(11) NOT NULL,
  603. `now_price` decimal(9,2) NOT NULL,
  604. `created_time` datetime NOT NULL,
  605. `update_time` datetime NOT NULL,
  606. `bargain_times` int(10) NOT NULL,
  607. `openid` varchar(50) NOT NULL DEFAULT '',
  608. `nickname` varchar(20) NOT NULL,
  609. `head_image` varchar(200) NOT NULL,
  610. `bargain_price` decimal(9,2) NOT NULL,
  611. `status` tinyint(2) NOT NULL,
  612. `account_id` int(11) NOT NULL,
  613. `initiate` tinyint(4) NOT NULL DEFAULT '0',
  614. `order` int(11) DEFAULT '0',
  615. PRIMARY KEY (`id`),
  616. KEY `idx_openid` (`openid`),
  617. KEY `idx_account_id` (`account_id`),
  618. KEY `idx_status` (`status`)
  619. ) ENGINE=MyISAM AUTO_INCREMENT=129 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  620. -- ----------------------------
  621. -- Table structure for ims_ewei_shop_bargain_goods
  622. -- ----------------------------
  623. DROP TABLE IF EXISTS `ims_ewei_shop_bargain_goods`;
  624. CREATE TABLE `ims_ewei_shop_bargain_goods` (
  625. `id` int(11) NOT NULL AUTO_INCREMENT,
  626. `account_id` int(11) NOT NULL,
  627. `goods_id` varchar(20) NOT NULL,
  628. `end_price` decimal(10,2) NOT NULL,
  629. `start_time` datetime NOT NULL,
  630. `end_time` datetime NOT NULL,
  631. `status` tinyint(2) NOT NULL,
  632. `type` tinyint(2) NOT NULL,
  633. `user_set` text,
  634. `rule` text,
  635. `act_times` int(11) NOT NULL,
  636. `mode` tinyint(4) NOT NULL,
  637. `total_time` int(11) NOT NULL,
  638. `each_time` int(11) NOT NULL,
  639. `time_limit` int(11) NOT NULL,
  640. `probability` text NOT NULL,
  641. `custom` varchar(255) DEFAULT NULL,
  642. `maximum` int(11) DEFAULT NULL,
  643. `initiate` tinyint(4) NOT NULL DEFAULT '0',
  644. `myself` tinyint(3) DEFAULT '0',
  645. PRIMARY KEY (`id`),
  646. KEY `goods_id` (`goods_id`) USING BTREE
  647. ) ENGINE=MyISAM AUTO_INCREMENT=22 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  648. -- ----------------------------
  649. -- Table structure for ims_ewei_shop_bargain_record
  650. -- ----------------------------
  651. DROP TABLE IF EXISTS `ims_ewei_shop_bargain_record`;
  652. CREATE TABLE `ims_ewei_shop_bargain_record` (
  653. `id` int(11) NOT NULL AUTO_INCREMENT,
  654. `actor_id` int(11) NOT NULL,
  655. `bargain_price` decimal(9,2) NOT NULL,
  656. `openid` varchar(50) NOT NULL DEFAULT '',
  657. `nickname` varchar(20) NOT NULL,
  658. `head_image` varchar(200) NOT NULL,
  659. `bargain_time` datetime NOT NULL,
  660. PRIMARY KEY (`id`),
  661. KEY `idx_openid` (`openid`),
  662. KEY `idx_actor_id` (`actor_id`)
  663. ) ENGINE=MyISAM AUTO_INCREMENT=399 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  664. -- ----------------------------
  665. -- Table structure for ims_ewei_shop_carrier
  666. -- ----------------------------
  667. DROP TABLE IF EXISTS `ims_ewei_shop_carrier`;
  668. CREATE TABLE `ims_ewei_shop_carrier` (
  669. `id` int(11) NOT NULL AUTO_INCREMENT,
  670. `uniacid` int(11) DEFAULT '0',
  671. `realname` varchar(50) DEFAULT '',
  672. `mobile` varchar(50) DEFAULT '',
  673. `address` varchar(255) DEFAULT '',
  674. `deleted` tinyint(1) DEFAULT '0',
  675. `createtime` int(11) DEFAULT '0',
  676. `displayorder` int(11) DEFAULT '0',
  677. PRIMARY KEY (`id`),
  678. KEY `idx_uniacid` (`uniacid`),
  679. KEY `idx_deleted` (`deleted`),
  680. KEY `idx_createtime` (`createtime`)
  681. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  682. -- ----------------------------
  683. -- Table structure for ims_ewei_shop_cashier_category
  684. -- ----------------------------
  685. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_category`;
  686. CREATE TABLE `ims_ewei_shop_cashier_category` (
  687. `id` int(11) NOT NULL AUTO_INCREMENT,
  688. `uniacid` int(11) DEFAULT '0',
  689. `catename` varchar(255) DEFAULT '',
  690. `createtime` int(11) DEFAULT '0',
  691. `status` tinyint(1) DEFAULT '0',
  692. `displayorder` int(11) DEFAULT '0',
  693. PRIMARY KEY (`id`),
  694. KEY `idx_uniacid` (`uniacid`) USING BTREE
  695. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  696. -- ----------------------------
  697. -- Table structure for ims_ewei_shop_cashier_clearing
  698. -- ----------------------------
  699. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_clearing`;
  700. CREATE TABLE `ims_ewei_shop_cashier_clearing` (
  701. `id` int(11) NOT NULL AUTO_INCREMENT,
  702. `uniacid` int(11) DEFAULT '0',
  703. `cashierid` int(11) DEFAULT '0',
  704. `clearno` varchar(64) DEFAULT '',
  705. `status` tinyint(3) DEFAULT '0',
  706. `money` decimal(10,2) DEFAULT '0.00',
  707. `realmoney` decimal(10,2) DEFAULT '0.00',
  708. `remark` varchar(500) DEFAULT '',
  709. `orderids` text,
  710. `createtime` int(11) DEFAULT '0',
  711. `paytime` int(11) DEFAULT '0',
  712. `deleted` tinyint(3) DEFAULT '0',
  713. `paytype` tinyint(1) DEFAULT '0',
  714. `payinfo` varchar(1000) DEFAULT '',
  715. `charge` decimal(10,2) DEFAULT '0.00',
  716. PRIMARY KEY (`id`),
  717. KEY `uniacid` (`uniacid`) USING BTREE,
  718. KEY `storeid` (`cashierid`) USING BTREE,
  719. KEY `status` (`status`) USING BTREE,
  720. KEY `createtime` (`createtime`) USING BTREE,
  721. KEY `deleted` (`deleted`) USING BTREE,
  722. KEY `clearno` (`clearno`) USING BTREE
  723. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  724. -- ----------------------------
  725. -- Table structure for ims_ewei_shop_cashier_goods
  726. -- ----------------------------
  727. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_goods`;
  728. CREATE TABLE `ims_ewei_shop_cashier_goods` (
  729. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  730. `uniacid` int(11) DEFAULT '0',
  731. `cashierid` int(11) DEFAULT '0',
  732. `createtime` int(10) unsigned DEFAULT '0',
  733. `title` varchar(255) DEFAULT '',
  734. `image` varchar(255) DEFAULT '',
  735. `categoryid` tinyint(1) DEFAULT '0',
  736. `price` decimal(10,2) DEFAULT '0.00',
  737. `total` int(11) DEFAULT '0',
  738. `status` tinyint(1) DEFAULT '0',
  739. `goodssn` varchar(50) DEFAULT '',
  740. PRIMARY KEY (`id`),
  741. KEY `uniacid` (`uniacid`) USING BTREE,
  742. KEY `cashierid` (`cashierid`) USING BTREE,
  743. KEY `goodssn` (`goodssn`)
  744. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  745. -- ----------------------------
  746. -- Table structure for ims_ewei_shop_cashier_goods_category
  747. -- ----------------------------
  748. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_goods_category`;
  749. CREATE TABLE `ims_ewei_shop_cashier_goods_category` (
  750. `id` int(11) NOT NULL AUTO_INCREMENT,
  751. `uniacid` int(11) DEFAULT '0',
  752. `cashierid` int(11) DEFAULT '0',
  753. `catename` varchar(255) DEFAULT '',
  754. `createtime` int(11) DEFAULT '0',
  755. `status` tinyint(1) DEFAULT '0',
  756. `displayorder` int(11) DEFAULT '0',
  757. PRIMARY KEY (`id`),
  758. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  759. KEY `idx_cashierid` (`cashierid`) USING BTREE
  760. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  761. -- ----------------------------
  762. -- Table structure for ims_ewei_shop_cashier_operator
  763. -- ----------------------------
  764. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_operator`;
  765. CREATE TABLE `ims_ewei_shop_cashier_operator` (
  766. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  767. `uniacid` int(11) DEFAULT '0',
  768. `cashierid` int(11) DEFAULT '0',
  769. `title` varchar(255) DEFAULT '',
  770. `manageopenid` varchar(50) DEFAULT '',
  771. `username` varchar(255) DEFAULT '',
  772. `password` varchar(50) DEFAULT '',
  773. `salt` varchar(8) DEFAULT '',
  774. `perm` text,
  775. `createtime` int(10) unsigned DEFAULT '0',
  776. PRIMARY KEY (`id`),
  777. KEY `uniacid` (`uniacid`) USING BTREE,
  778. KEY `cashierid` (`cashierid`) USING BTREE,
  779. KEY `manageopenid` (`manageopenid`) USING BTREE,
  780. KEY `username` (`username`) USING BTREE
  781. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  782. -- ----------------------------
  783. -- Table structure for ims_ewei_shop_cashier_order
  784. -- ----------------------------
  785. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_order`;
  786. CREATE TABLE `ims_ewei_shop_cashier_order` (
  787. `id` int(11) NOT NULL AUTO_INCREMENT,
  788. `uniacid` int(11) DEFAULT '0',
  789. `ordersn` varchar(255) DEFAULT '',
  790. `price` decimal(10,2) DEFAULT '0.00',
  791. `openid` varchar(50) DEFAULT '',
  792. `payopenid` varchar(50) DEFAULT '',
  793. `createtime` int(10) unsigned DEFAULT '0',
  794. `status` tinyint(4) DEFAULT '0',
  795. `paytime` int(10) unsigned DEFAULT '0',
  796. PRIMARY KEY (`id`)
  797. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  798. -- ----------------------------
  799. -- Table structure for ims_ewei_shop_cashier_pay_log
  800. -- ----------------------------
  801. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_pay_log`;
  802. CREATE TABLE `ims_ewei_shop_cashier_pay_log` (
  803. `id` int(11) NOT NULL AUTO_INCREMENT,
  804. `uniacid` int(11) DEFAULT '0',
  805. `cashierid` int(11) DEFAULT '0',
  806. `operatorid` int(11) DEFAULT '0',
  807. `openid` varchar(50) DEFAULT '',
  808. `paytype` tinyint(3) DEFAULT NULL,
  809. `logno` varchar(255) DEFAULT '',
  810. `title` varchar(255) DEFAULT '',
  811. `createtime` int(11) DEFAULT '0',
  812. `status` int(11) DEFAULT '0',
  813. `money` decimal(10,2) DEFAULT '0.00',
  814. `paytime` int(11) DEFAULT '0',
  815. `is_applypay` tinyint(1) DEFAULT '0',
  816. `randommoney` decimal(10,2) DEFAULT '0.00',
  817. `enough` decimal(10,2) DEFAULT '0.00',
  818. `mobile` varchar(20) DEFAULT '',
  819. `deduction` decimal(10,2) DEFAULT '0.00',
  820. `discountmoney` decimal(10,2) DEFAULT '0.00',
  821. `discount` decimal(5,2) DEFAULT '0.00',
  822. `isgoods` tinyint(1) DEFAULT '0',
  823. `orderid` int(11) DEFAULT '0',
  824. `orderprice` decimal(10,2) DEFAULT '0.00',
  825. `goodsprice` decimal(10,2) DEFAULT '0.00',
  826. `couponpay` decimal(10,2) DEFAULT '0.00',
  827. `payopenid` varchar(50) DEFAULT '',
  828. `nosalemoney` decimal(10,2) DEFAULT '0.00',
  829. `coupon` int(11) DEFAULT '0',
  830. `usecoupon` int(11) DEFAULT '0',
  831. `usecouponprice` decimal(10,2) DEFAULT '0.00',
  832. `present_credit1` int(11) DEFAULT '0',
  833. `refundsn` varchar(50) DEFAULT '',
  834. `refunduser` int(11) DEFAULT '0',
  835. `client_ip` varchar(16) DEFAULT '',
  836. PRIMARY KEY (`id`),
  837. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  838. KEY `idx_type` (`paytype`) USING BTREE,
  839. KEY `idx_createtime` (`createtime`) USING BTREE,
  840. KEY `idx_status` (`status`) USING BTREE,
  841. KEY `idx_storeid` (`cashierid`) USING BTREE,
  842. KEY `idx_logno` (`logno`) USING BTREE,
  843. KEY `is_applypay` (`is_applypay`) USING BTREE,
  844. KEY `orderid` (`orderid`) USING BTREE
  845. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  846. -- ----------------------------
  847. -- Table structure for ims_ewei_shop_cashier_pay_log_goods
  848. -- ----------------------------
  849. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_pay_log_goods`;
  850. CREATE TABLE `ims_ewei_shop_cashier_pay_log_goods` (
  851. `id` int(11) NOT NULL AUTO_INCREMENT,
  852. `cashierid` int(11) DEFAULT '0',
  853. `logid` int(11) DEFAULT '0',
  854. `goodsid` int(11) DEFAULT '0',
  855. `price` decimal(10,2) DEFAULT '0.00',
  856. `total` int(11) DEFAULT '0',
  857. PRIMARY KEY (`id`),
  858. KEY `logid` (`logid`) USING BTREE,
  859. KEY `goodsid` (`goodsid`) USING BTREE,
  860. KEY `cashierid` (`cashierid`) USING BTREE
  861. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
  862. -- ----------------------------
  863. -- Table structure for ims_ewei_shop_cashier_qrcode
  864. -- ----------------------------
  865. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_qrcode`;
  866. CREATE TABLE `ims_ewei_shop_cashier_qrcode` (
  867. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  868. `uniacid` int(11) DEFAULT '0',
  869. `cashierid` int(11) DEFAULT '0',
  870. `title` varchar(255) DEFAULT '',
  871. `goodstitle` varchar(255) DEFAULT '',
  872. `money` decimal(10,2) DEFAULT '0.00',
  873. `createtime` int(10) unsigned DEFAULT NULL,
  874. PRIMARY KEY (`id`),
  875. KEY `uniacid` (`uniacid`) USING BTREE,
  876. KEY `cashierid` (`cashierid`) USING BTREE
  877. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  878. -- ----------------------------
  879. -- Table structure for ims_ewei_shop_cashier_randommoney_log
  880. -- ----------------------------
  881. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_randommoney_log`;
  882. CREATE TABLE `ims_ewei_shop_cashier_randommoney_log` (
  883. `id` int(11) NOT NULL AUTO_INCREMENT,
  884. `uniacid` int(11) DEFAULT '0',
  885. `cashierid` int(11) DEFAULT '0',
  886. `clientip` int(11) unsigned DEFAULT '0',
  887. `ordermoney` decimal(10,2) DEFAULT '0.00',
  888. `randommoney` decimal(10,2) DEFAULT '0.00',
  889. `expires_time` int(11) DEFAULT '0',
  890. PRIMARY KEY (`id`) USING BTREE,
  891. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  892. KEY `idx_storeid` (`cashierid`) USING BTREE,
  893. KEY `idx_clientip` (`clientip`) USING BTREE
  894. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
  895. -- ----------------------------
  896. -- Table structure for ims_ewei_shop_cashier_user
  897. -- ----------------------------
  898. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_user`;
  899. CREATE TABLE `ims_ewei_shop_cashier_user` (
  900. `id` int(11) NOT NULL AUTO_INCREMENT,
  901. `uniacid` int(11) DEFAULT '0',
  902. `storeid` int(11) DEFAULT '0',
  903. `merchid` int(11) DEFAULT '0',
  904. `setmeal` tinyint(3) DEFAULT '0',
  905. `title` varchar(255) DEFAULT '',
  906. `logo` varchar(255) DEFAULT '',
  907. `manageopenid` varchar(50) DEFAULT '',
  908. `isopen_commission` tinyint(1) DEFAULT '0',
  909. `name` varchar(50) DEFAULT '',
  910. `mobile` varchar(50) DEFAULT '',
  911. `categoryid` int(11) DEFAULT '0',
  912. `wechat_status` tinyint(1) DEFAULT '0',
  913. `wechatpay` text,
  914. `alipay_status` tinyint(1) DEFAULT '0',
  915. `alipay` text,
  916. `withdraw` decimal(10,2) DEFAULT '0.00',
  917. `openid` varchar(50) DEFAULT '',
  918. `diyformfields` text,
  919. `diyformdata` text,
  920. `createtime` int(11) DEFAULT '0',
  921. `username` varchar(255) DEFAULT '',
  922. `password` varchar(32) DEFAULT '',
  923. `salt` char(8) DEFAULT '',
  924. `lifetimestart` int(10) unsigned DEFAULT '0',
  925. `lifetimeend` int(10) unsigned DEFAULT '0',
  926. `status` tinyint(1) DEFAULT '0',
  927. `set` longtext,
  928. `deleted` tinyint(1) DEFAULT '0',
  929. `can_withdraw` tinyint(1) DEFAULT '0',
  930. `show_paytype` tinyint(1) DEFAULT '0',
  931. `couponid` varchar(255) DEFAULT '',
  932. `management` varchar(1000) DEFAULT '',
  933. `notice_openids` varchar(500) DEFAULT NULL,
  934. PRIMARY KEY (`id`),
  935. KEY `uniacid` (`uniacid`) USING BTREE,
  936. KEY `openid` (`manageopenid`) USING BTREE,
  937. KEY `username` (`username`) USING BTREE,
  938. KEY `status` (`status`) USING BTREE
  939. ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  940. -- ----------------------------
  941. -- Table structure for ims_ewei_shop_category
  942. -- ----------------------------
  943. DROP TABLE IF EXISTS `ims_ewei_shop_category`;
  944. CREATE TABLE `ims_ewei_shop_category` (
  945. `id` int(11) NOT NULL AUTO_INCREMENT,
  946. `uniacid` int(11) DEFAULT '0',
  947. `name` varchar(50) DEFAULT NULL,
  948. `thumb` varchar(255) DEFAULT NULL,
  949. `parentid` int(11) DEFAULT '0',
  950. `isrecommand` int(10) DEFAULT '0',
  951. `description` varchar(500) DEFAULT NULL,
  952. `displayorder` tinyint(3) unsigned DEFAULT '0',
  953. `enabled` tinyint(1) DEFAULT '1',
  954. `ishome` tinyint(3) DEFAULT '0',
  955. `advimg` varchar(255) DEFAULT '',
  956. `advurl` varchar(500) DEFAULT '',
  957. `level` tinyint(3) DEFAULT NULL,
  958. PRIMARY KEY (`id`),
  959. KEY `idx_uniacid` (`uniacid`),
  960. KEY `idx_displayorder` (`displayorder`),
  961. KEY `idx_enabled` (`enabled`),
  962. KEY `idx_parentid` (`parentid`),
  963. KEY `idx_isrecommand` (`isrecommand`),
  964. KEY `idx_ishome` (`ishome`)
  965. ) ENGINE=MyISAM AUTO_INCREMENT=3145 DEFAULT CHARSET=utf8;
  966. -- ----------------------------
  967. -- Table structure for ims_ewei_shop_city_express
  968. -- ----------------------------
  969. DROP TABLE IF EXISTS `ims_ewei_shop_city_express`;
  970. CREATE TABLE `ims_ewei_shop_city_express` (
  971. `id` int(11) NOT NULL AUTO_INCREMENT,
  972. `uniacid` int(11) DEFAULT '0',
  973. `merchid` int(11) DEFAULT '0',
  974. `start_fee` decimal(10,2) DEFAULT '0.00',
  975. `start_km` int(11) DEFAULT '0',
  976. `pre_km` int(11) DEFAULT '0',
  977. `pre_km_fee` decimal(10,2) DEFAULT '0.00',
  978. `fixed_km` int(11) DEFAULT '0',
  979. `fixed_fee` decimal(10,2) DEFAULT '0.00',
  980. `receive_goods` int(11) DEFAULT NULL,
  981. `lng` varchar(255) DEFAULT '',
  982. `lat` varchar(255) DEFAULT '',
  983. `range` int(11) DEFAULT '0',
  984. `zoom` int(11) NOT NULL DEFAULT '13',
  985. `express_type` int(11) NOT NULL DEFAULT '0',
  986. `config` varchar(255) NOT NULL DEFAULT '',
  987. `tel1` varchar(255) DEFAULT '',
  988. `tel2` varchar(255) DEFAULT '',
  989. `is_sum` tinyint(1) DEFAULT '0',
  990. `is_dispatch` tinyint(1) DEFAULT '1',
  991. `enabled` tinyint(1) DEFAULT '0',
  992. `geo_key` varchar(255) NOT NULL DEFAULT '',
  993. PRIMARY KEY (`id`),
  994. KEY `idx_uniacid` (`uniacid`)
  995. ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
  996. -- ----------------------------
  997. -- Table structure for ims_ewei_shop_commission_apply
  998. -- ----------------------------
  999. DROP TABLE IF EXISTS `ims_ewei_shop_commission_apply`;
  1000. CREATE TABLE `ims_ewei_shop_commission_apply` (
  1001. `id` int(11) NOT NULL AUTO_INCREMENT,
  1002. `uniacid` int(11) DEFAULT '0',
  1003. `applyno` varchar(255) DEFAULT '',
  1004. `mid` int(11) DEFAULT '0',
  1005. `type` tinyint(3) DEFAULT '0',
  1006. `orderids` longtext,
  1007. `commission` decimal(10,2) DEFAULT '0.00',
  1008. `commission_pay` decimal(10,2) DEFAULT '0.00',
  1009. `content` text,
  1010. `status` tinyint(3) DEFAULT '0',
  1011. `applytime` int(11) DEFAULT '0',
  1012. `checktime` int(11) DEFAULT '0',
  1013. `paytime` int(11) DEFAULT '0',
  1014. `invalidtime` int(11) DEFAULT '0',
  1015. `refusetime` int(11) DEFAULT '0',
  1016. `realmoney` decimal(10,2) DEFAULT '0.00',
  1017. `charge` decimal(10,2) DEFAULT '0.00',
  1018. `deductionmoney` decimal(10,2) DEFAULT '0.00',
  1019. `beginmoney` decimal(10,2) DEFAULT '0.00',
  1020. `endmoney` decimal(10,2) DEFAULT '0.00',
  1021. `alipay` varchar(50) NOT NULL DEFAULT '',
  1022. `bankname` varchar(50) NOT NULL DEFAULT '',
  1023. `bankcard` varchar(50) NOT NULL DEFAULT '',
  1024. `realname` varchar(50) NOT NULL DEFAULT '',
  1025. `repurchase` decimal(10,2) DEFAULT '0.00',
  1026. `alipay1` varchar(50) NOT NULL DEFAULT '',
  1027. `bankname1` varchar(50) NOT NULL DEFAULT '',
  1028. `bankcard1` varchar(50) NOT NULL DEFAULT '',
  1029. `sendmoney` decimal(10,2) DEFAULT '0.00',
  1030. `senddata` text,
  1031. PRIMARY KEY (`id`),
  1032. KEY `idx_uniacid` (`uniacid`),
  1033. KEY `idx_mid` (`mid`),
  1034. KEY `idx_checktime` (`checktime`),
  1035. KEY `idx_paytime` (`paytime`),
  1036. KEY `idx_applytime` (`applytime`),
  1037. KEY `idx_status` (`status`),
  1038. KEY `idx_invalidtime` (`invalidtime`)
  1039. ) ENGINE=MyISAM AUTO_INCREMENT=76 DEFAULT CHARSET=utf8;
  1040. -- ----------------------------
  1041. -- Table structure for ims_ewei_shop_commission_bank
  1042. -- ----------------------------
  1043. DROP TABLE IF EXISTS `ims_ewei_shop_commission_bank`;
  1044. CREATE TABLE `ims_ewei_shop_commission_bank` (
  1045. `id` int(11) NOT NULL AUTO_INCREMENT,
  1046. `uniacid` int(11) NOT NULL DEFAULT '0',
  1047. `bankname` varchar(255) NOT NULL DEFAULT '',
  1048. `content` varchar(255) NOT NULL DEFAULT '',
  1049. `status` tinyint(1) NOT NULL DEFAULT '0',
  1050. `displayorder` int(11) NOT NULL DEFAULT '0',
  1051. PRIMARY KEY (`id`),
  1052. KEY `idx_uniacid` (`uniacid`)
  1053. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  1054. -- ----------------------------
  1055. -- Table structure for ims_ewei_shop_commission_clickcount
  1056. -- ----------------------------
  1057. DROP TABLE IF EXISTS `ims_ewei_shop_commission_clickcount`;
  1058. CREATE TABLE `ims_ewei_shop_commission_clickcount` (
  1059. `id` int(11) NOT NULL AUTO_INCREMENT,
  1060. `uniacid` int(11) DEFAULT '0',
  1061. `openid` varchar(255) DEFAULT '',
  1062. `from_openid` varchar(255) DEFAULT '',
  1063. `clicktime` int(11) DEFAULT '0',
  1064. PRIMARY KEY (`id`),
  1065. KEY `idx_uniacid` (`uniacid`),
  1066. KEY `idx_openid` (`openid`),
  1067. KEY `idx_from_openid` (`from_openid`)
  1068. ) ENGINE=MyISAM AUTO_INCREMENT=6896 DEFAULT CHARSET=utf8;
  1069. -- ----------------------------
  1070. -- Table structure for ims_ewei_shop_commission_level
  1071. -- ----------------------------
  1072. DROP TABLE IF EXISTS `ims_ewei_shop_commission_level`;
  1073. CREATE TABLE `ims_ewei_shop_commission_level` (
  1074. `id` int(11) NOT NULL AUTO_INCREMENT,
  1075. `uniacid` int(11) NOT NULL,
  1076. `levelname` varchar(50) DEFAULT '',
  1077. `commission1` decimal(10,2) DEFAULT '0.00',
  1078. `commission2` decimal(10,2) DEFAULT '0.00',
  1079. `commission3` decimal(10,2) DEFAULT '0.00',
  1080. `commissionmoney` decimal(10,2) DEFAULT '0.00',
  1081. `ordermoney` decimal(10,2) DEFAULT '0.00',
  1082. `downcount` int(11) DEFAULT '0',
  1083. `ordercount` int(11) DEFAULT '0',
  1084. `withdraw` decimal(10,2) DEFAULT '0.00',
  1085. `repurchase` decimal(10,2) DEFAULT '0.00',
  1086. `goodsids` varchar(1000) DEFAULT '',
  1087. PRIMARY KEY (`id`),
  1088. KEY `idx_uniacid` (`uniacid`)
  1089. ) ENGINE=MyISAM AUTO_INCREMENT=60 DEFAULT CHARSET=utf8;
  1090. -- ----------------------------
  1091. -- Table structure for ims_ewei_shop_commission_log
  1092. -- ----------------------------
  1093. DROP TABLE IF EXISTS `ims_ewei_shop_commission_log`;
  1094. CREATE TABLE `ims_ewei_shop_commission_log` (
  1095. `id` int(11) NOT NULL AUTO_INCREMENT,
  1096. `uniacid` int(11) DEFAULT '0',
  1097. `applyid` int(11) DEFAULT '0',
  1098. `mid` int(11) DEFAULT '0',
  1099. `commission` decimal(10,2) DEFAULT '0.00',
  1100. `createtime` int(11) DEFAULT '0',
  1101. `commission_pay` decimal(10,2) DEFAULT '0.00',
  1102. `realmoney` decimal(10,2) DEFAULT '0.00',
  1103. `charge` decimal(10,2) DEFAULT '0.00',
  1104. `deductionmoney` decimal(10,2) DEFAULT '0.00',
  1105. `type` tinyint(3) DEFAULT '0',
  1106. PRIMARY KEY (`id`),
  1107. KEY `idx_uniacid` (`uniacid`),
  1108. KEY `idx_applyid` (`applyid`),
  1109. KEY `idx_mid` (`mid`),
  1110. KEY `idx_createtime` (`createtime`)
  1111. ) ENGINE=MyISAM AUTO_INCREMENT=62 DEFAULT CHARSET=utf8;
  1112. -- ----------------------------
  1113. -- Table structure for ims_ewei_shop_commission_rank
  1114. -- ----------------------------
  1115. DROP TABLE IF EXISTS `ims_ewei_shop_commission_rank`;
  1116. CREATE TABLE `ims_ewei_shop_commission_rank` (
  1117. `id` int(11) NOT NULL AUTO_INCREMENT,
  1118. `uniacid` int(11) NOT NULL,
  1119. `type` tinyint(4) NOT NULL DEFAULT '0',
  1120. `num` int(11) NOT NULL,
  1121. `status` tinyint(4) NOT NULL DEFAULT '0',
  1122. `title` varchar(255) NOT NULL DEFAULT '',
  1123. `content` text,
  1124. PRIMARY KEY (`id`)
  1125. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  1126. -- ----------------------------
  1127. -- Table structure for ims_ewei_shop_commission_relation
  1128. -- ----------------------------
  1129. DROP TABLE IF EXISTS `ims_ewei_shop_commission_relation`;
  1130. CREATE TABLE `ims_ewei_shop_commission_relation` (
  1131. `id` int(10) unsigned NOT NULL,
  1132. `pid` int(10) unsigned NOT NULL,
  1133. `level` tinyint(1) unsigned NOT NULL,
  1134. UNIQUE KEY `id_pid` (`id`,`pid`),
  1135. KEY `id` (`id`),
  1136. KEY `pid` (`pid`),
  1137. KEY `level` (`level`)
  1138. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  1139. -- ----------------------------
  1140. -- Table structure for ims_ewei_shop_commission_repurchase
  1141. -- ----------------------------
  1142. DROP TABLE IF EXISTS `ims_ewei_shop_commission_repurchase`;
  1143. CREATE TABLE `ims_ewei_shop_commission_repurchase` (
  1144. `id` int(11) NOT NULL AUTO_INCREMENT,
  1145. `uniacid` int(11) DEFAULT '0',
  1146. `openid` varchar(50) DEFAULT '',
  1147. `year` int(4) DEFAULT '0',
  1148. `month` tinyint(2) DEFAULT '0',
  1149. `repurchase` decimal(10,2) DEFAULT '0.00',
  1150. `applyid` int(11) DEFAULT '0',
  1151. PRIMARY KEY (`id`),
  1152. KEY `applyid` (`applyid`),
  1153. KEY `openid` (`openid`),
  1154. KEY `uniacid` (`uniacid`)
  1155. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  1156. -- ----------------------------
  1157. -- Table structure for ims_ewei_shop_commission_shop
  1158. -- ----------------------------
  1159. DROP TABLE IF EXISTS `ims_ewei_shop_commission_shop`;
  1160. CREATE TABLE `ims_ewei_shop_commission_shop` (
  1161. `id` int(11) NOT NULL AUTO_INCREMENT,
  1162. `uniacid` int(11) DEFAULT '0',
  1163. `mid` int(11) DEFAULT '0',
  1164. `name` varchar(255) DEFAULT '',
  1165. `logo` varchar(255) DEFAULT '',
  1166. `img` varchar(255) DEFAULT NULL,
  1167. `desc` varchar(255) DEFAULT '',
  1168. `selectgoods` tinyint(3) DEFAULT '0',
  1169. `selectcategory` tinyint(3) DEFAULT '0',
  1170. `goodsids` text,
  1171. PRIMARY KEY (`id`),
  1172. KEY `idx_uniacid` (`uniacid`),
  1173. KEY `idx_mid` (`mid`)
  1174. ) ENGINE=MyISAM AUTO_INCREMENT=65 DEFAULT CHARSET=utf8;
  1175. -- ----------------------------
  1176. -- Table structure for ims_ewei_shop_coupon
  1177. -- ----------------------------
  1178. DROP TABLE IF EXISTS `ims_ewei_shop_coupon`;
  1179. CREATE TABLE `ims_ewei_shop_coupon` (
  1180. `id` int(11) NOT NULL AUTO_INCREMENT,
  1181. `uniacid` int(11) DEFAULT '0',
  1182. `catid` int(11) DEFAULT '0',
  1183. `couponname` varchar(255) DEFAULT '',
  1184. `gettype` tinyint(3) DEFAULT '0',
  1185. `getmax` int(11) DEFAULT '0',
  1186. `usetype` tinyint(3) DEFAULT '0',
  1187. `returntype` tinyint(3) DEFAULT '0',
  1188. `bgcolor` varchar(255) DEFAULT '',
  1189. `enough` decimal(10,2) DEFAULT '0.00',
  1190. `timelimit` tinyint(3) DEFAULT '0',
  1191. `coupontype` tinyint(3) DEFAULT '0',
  1192. `timedays` int(11) DEFAULT '0',
  1193. `timestart` int(11) DEFAULT '0',
  1194. `timeend` int(11) DEFAULT '0',
  1195. `discount` decimal(10,2) DEFAULT '0.00',
  1196. `deduct` decimal(10,2) DEFAULT '0.00',
  1197. `backtype` tinyint(3) DEFAULT '0',
  1198. `backmoney` varchar(50) DEFAULT '',
  1199. `backcredit` varchar(50) DEFAULT '',
  1200. `backredpack` varchar(50) DEFAULT '',
  1201. `backwhen` tinyint(3) DEFAULT '0',
  1202. `thumb` varchar(255) DEFAULT '',
  1203. `desc` text,
  1204. `createtime` int(11) DEFAULT '0',
  1205. `total` int(11) DEFAULT '0',
  1206. `status` tinyint(3) DEFAULT '0',
  1207. `money` decimal(10,2) DEFAULT '0.00',
  1208. `respdesc` text,
  1209. `respthumb` varchar(255) DEFAULT '',
  1210. `resptitle` varchar(255) DEFAULT '',
  1211. `respurl` varchar(255) DEFAULT '',
  1212. `credit` int(11) DEFAULT '0',
  1213. `usecredit2` tinyint(3) DEFAULT '0',
  1214. `remark` varchar(1000) DEFAULT '',
  1215. `descnoset` tinyint(3) DEFAULT '0',
  1216. `pwdkey` varchar(255) DEFAULT '',
  1217. `pwdsuc` text,
  1218. `pwdfail` text,
  1219. `pwdurl` varchar(255) DEFAULT '',
  1220. `pwdask` text,
  1221. `pwdstatus` tinyint(3) DEFAULT '0',
  1222. `pwdtimes` int(11) DEFAULT '0',
  1223. `pwdfull` text,
  1224. `pwdwords` text,
  1225. `pwdopen` tinyint(3) DEFAULT '0',
  1226. `pwdown` text,
  1227. `pwdexit` varchar(255) DEFAULT '',
  1228. `pwdexitstr` text,
  1229. `displayorder` int(11) DEFAULT '0',
  1230. `pwdkey2` varchar(255) DEFAULT '',
  1231. `merchid` int(11) DEFAULT '0',
  1232. `limitgoodtype` tinyint(1) DEFAULT '0',
  1233. `limitgoodcatetype` tinyint(1) DEFAULT '0',
  1234. `limitgoodcateids` varchar(500) DEFAULT '',
  1235. `limitgoodids` varchar(500) DEFAULT '',
  1236. `islimitlevel` tinyint(1) DEFAULT '0',
  1237. `limitmemberlevels` varchar(500) DEFAULT '',
  1238. `limitagentlevels` varchar(500) DEFAULT '',
  1239. `limitpartnerlevels` varchar(500) DEFAULT '',
  1240. `limitaagentlevels` varchar(500) DEFAULT '',
  1241. `tagtitle` varchar(20) DEFAULT '',
  1242. `settitlecolor` tinyint(1) DEFAULT '0',
  1243. `titlecolor` varchar(10) DEFAULT '',
  1244. `limitdiscounttype` tinyint(1) DEFAULT '1',
  1245. `quickget` tinyint(1) DEFAULT '0',
  1246. `templateid` varchar(60) DEFAULT '0',
  1247. PRIMARY KEY (`id`),
  1248. KEY `idx_uniacid` (`uniacid`),
  1249. KEY `idx_coupontype` (`coupontype`),
  1250. KEY `idx_timestart` (`timestart`),
  1251. KEY `idx_timeend` (`timeend`),
  1252. KEY `idx_timelimit` (`timelimit`),
  1253. KEY `idx_status` (`status`),
  1254. KEY `idx_givetype` (`backtype`),
  1255. KEY `idx_catid` (`catid`)
  1256. ) ENGINE=MyISAM AUTO_INCREMENT=73 DEFAULT CHARSET=utf8;
  1257. -- ----------------------------
  1258. -- Table structure for ims_ewei_shop_coupon_category
  1259. -- ----------------------------
  1260. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_category`;
  1261. CREATE TABLE `ims_ewei_shop_coupon_category` (
  1262. `id` int(11) NOT NULL AUTO_INCREMENT,
  1263. `uniacid` int(11) DEFAULT '0',
  1264. `name` varchar(255) DEFAULT '',
  1265. `displayorder` int(11) DEFAULT '0',
  1266. `status` int(11) DEFAULT '0',
  1267. `merchid` int(11) DEFAULT '0',
  1268. PRIMARY KEY (`id`),
  1269. KEY `idx_uniacid` (`uniacid`),
  1270. KEY `idx_displayorder` (`displayorder`),
  1271. KEY `idx_status` (`status`)
  1272. ) ENGINE=MyISAM AUTO_INCREMENT=31 DEFAULT CHARSET=utf8;
  1273. -- ----------------------------
  1274. -- Table structure for ims_ewei_shop_coupon_data
  1275. -- ----------------------------
  1276. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_data`;
  1277. CREATE TABLE `ims_ewei_shop_coupon_data` (
  1278. `id` int(11) NOT NULL AUTO_INCREMENT,
  1279. `uniacid` int(11) DEFAULT '0',
  1280. `openid` varchar(255) DEFAULT '',
  1281. `couponid` int(11) DEFAULT '0',
  1282. `gettype` tinyint(3) DEFAULT '0',
  1283. `used` int(11) DEFAULT '0',
  1284. `usetime` int(11) DEFAULT '0',
  1285. `gettime` int(11) DEFAULT '0',
  1286. `senduid` int(11) DEFAULT '0',
  1287. `ordersn` varchar(255) DEFAULT '',
  1288. `back` tinyint(3) DEFAULT '0',
  1289. `backtime` int(11) DEFAULT '0',
  1290. `merchid` int(11) DEFAULT '0',
  1291. `isnew` tinyint(1) DEFAULT '1',
  1292. `nocount` tinyint(1) DEFAULT '1',
  1293. `shareident` varchar(50) DEFAULT NULL,
  1294. `textkey` int(11) DEFAULT NULL,
  1295. PRIMARY KEY (`id`),
  1296. KEY `idx_couponid` (`couponid`),
  1297. KEY `idx_gettype` (`gettype`),
  1298. KEY `idx_used` (`used`),
  1299. KEY `idx_gettime` (`gettime`)
  1300. ) ENGINE=MyISAM AUTO_INCREMENT=21850 DEFAULT CHARSET=utf8;
  1301. -- ----------------------------
  1302. -- Table structure for ims_ewei_shop_coupon_goodsendtask
  1303. -- ----------------------------
  1304. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_goodsendtask`;
  1305. CREATE TABLE `ims_ewei_shop_coupon_goodsendtask` (
  1306. `id` int(11) NOT NULL AUTO_INCREMENT,
  1307. `uniacid` int(11) DEFAULT NULL,
  1308. `goodsid` int(11) DEFAULT '0',
  1309. `couponid` int(11) DEFAULT '0',
  1310. `starttime` int(11) DEFAULT '0',
  1311. `endtime` int(11) DEFAULT '0',
  1312. `sendnum` int(11) DEFAULT '1',
  1313. `num` int(11) DEFAULT '0',
  1314. `sendpoint` tinyint(1) DEFAULT '0',
  1315. `status` tinyint(1) DEFAULT '0',
  1316. PRIMARY KEY (`id`)
  1317. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
  1318. -- ----------------------------
  1319. -- Table structure for ims_ewei_shop_coupon_guess
  1320. -- ----------------------------
  1321. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_guess`;
  1322. CREATE TABLE `ims_ewei_shop_coupon_guess` (
  1323. `id` int(11) NOT NULL AUTO_INCREMENT,
  1324. `uniacid` int(11) DEFAULT '0',
  1325. `couponid` int(11) DEFAULT '0',
  1326. `openid` varchar(255) DEFAULT '',
  1327. `times` int(11) DEFAULT '0',
  1328. `pwdkey` varchar(255) DEFAULT '',
  1329. `ok` tinyint(3) DEFAULT '0',
  1330. `merchid` int(11) DEFAULT '0',
  1331. PRIMARY KEY (`id`),
  1332. KEY `idx_uniacid` (`uniacid`),
  1333. KEY `idx_couponid` (`couponid`)
  1334. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  1335. -- ----------------------------
  1336. -- Table structure for ims_ewei_shop_coupon_log
  1337. -- ----------------------------
  1338. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_log`;
  1339. CREATE TABLE `ims_ewei_shop_coupon_log` (
  1340. `id` int(11) NOT NULL AUTO_INCREMENT,
  1341. `uniacid` int(11) DEFAULT '0',
  1342. `logno` varchar(255) DEFAULT '',
  1343. `openid` varchar(255) DEFAULT '',
  1344. `couponid` int(11) DEFAULT '0',
  1345. `status` int(11) DEFAULT '0',
  1346. `paystatus` tinyint(3) DEFAULT '0',
  1347. `creditstatus` tinyint(3) DEFAULT '0',
  1348. `createtime` int(11) DEFAULT '0',
  1349. `paytype` tinyint(3) DEFAULT '0',
  1350. `getfrom` tinyint(3) DEFAULT '0',
  1351. `merchid` int(11) DEFAULT '0',
  1352. PRIMARY KEY (`id`),
  1353. KEY `idx_uniacid` (`uniacid`),
  1354. KEY `idx_couponid` (`couponid`),
  1355. KEY `idx_status` (`status`),
  1356. KEY `idx_paystatus` (`paystatus`),
  1357. KEY `idx_createtime` (`createtime`),
  1358. KEY `idx_getfrom` (`getfrom`),
  1359. KEY `idx_logno` (`logno`)
  1360. ) ENGINE=MyISAM AUTO_INCREMENT=21850 DEFAULT CHARSET=utf8;
  1361. -- ----------------------------
  1362. -- Table structure for ims_ewei_shop_coupon_record
  1363. -- ----------------------------
  1364. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_record`;
  1365. CREATE TABLE `ims_ewei_shop_coupon_record` (
  1366. `id` int(11) NOT NULL AUTO_INCREMENT,
  1367. `coupon_id` int(11) NOT NULL,
  1368. `openid` varchar(60) NOT NULL,
  1369. `mid` int(11) NOT NULL,
  1370. `record_id` int(11) NOT NULL,
  1371. `add_time` int(11) NOT NULL,
  1372. PRIMARY KEY (`id`) USING BTREE,
  1373. KEY `coupon_id` (`coupon_id`) USING BTREE,
  1374. KEY `coupon_id_2` (`coupon_id`) USING BTREE,
  1375. KEY `record_id` (`record_id`) USING BTREE,
  1376. KEY `add_time` (`add_time`) USING BTREE,
  1377. KEY `openid` (`openid`) USING BTREE,
  1378. KEY `openid_2` (`openid`) USING BTREE
  1379. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  1380. -- ----------------------------
  1381. -- Table structure for ims_ewei_shop_coupon_sendshow
  1382. -- ----------------------------
  1383. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_sendshow`;
  1384. CREATE TABLE `ims_ewei_shop_coupon_sendshow` (
  1385. `id` int(11) NOT NULL AUTO_INCREMENT,
  1386. `showkey` varchar(20) NOT NULL,
  1387. `uniacid` int(11) NOT NULL,
  1388. `openid` varchar(255) NOT NULL,
  1389. `coupondataid` int(11) NOT NULL,
  1390. PRIMARY KEY (`id`)
  1391. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  1392. -- ----------------------------
  1393. -- Table structure for ims_ewei_shop_coupon_sendtasks
  1394. -- ----------------------------
  1395. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_sendtasks`;
  1396. CREATE TABLE `ims_ewei_shop_coupon_sendtasks` (
  1397. `id` int(11) NOT NULL AUTO_INCREMENT,
  1398. `uniacid` int(11) DEFAULT NULL,
  1399. `enough` decimal(10,2) DEFAULT '0.00',
  1400. `couponid` int(11) DEFAULT '0',
  1401. `starttime` int(11) DEFAULT '0',
  1402. `endtime` int(11) DEFAULT '0',
  1403. `sendnum` int(11) DEFAULT '1',
  1404. `num` int(11) DEFAULT '0',
  1405. `sendpoint` tinyint(1) DEFAULT '0',
  1406. `status` tinyint(1) DEFAULT '0',
  1407. PRIMARY KEY (`id`)
  1408. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
  1409. -- ----------------------------
  1410. -- Table structure for ims_ewei_shop_coupon_taskdata
  1411. -- ----------------------------
  1412. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_taskdata`;
  1413. CREATE TABLE `ims_ewei_shop_coupon_taskdata` (
  1414. `id` int(11) NOT NULL AUTO_INCREMENT,
  1415. `uniacid` int(11) DEFAULT NULL,
  1416. `openid` varchar(50) DEFAULT NULL,
  1417. `taskid` int(11) DEFAULT '0',
  1418. `couponid` int(11) DEFAULT '0',
  1419. `sendnum` int(11) DEFAULT '0',
  1420. `tasktype` tinyint(1) DEFAULT '0',
  1421. `orderid` int(11) DEFAULT '0',
  1422. `parentorderid` int(11) DEFAULT '0',
  1423. `createtime` int(11) DEFAULT '0',
  1424. `status` tinyint(1) DEFAULT '0',
  1425. `sendpoint` tinyint(1) DEFAULT '0',
  1426. PRIMARY KEY (`id`)
  1427. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  1428. -- ----------------------------
  1429. -- Table structure for ims_ewei_shop_coupon_usesendtasks
  1430. -- ----------------------------
  1431. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_usesendtasks`;
  1432. CREATE TABLE `ims_ewei_shop_coupon_usesendtasks` (
  1433. `id` int(11) NOT NULL AUTO_INCREMENT,
  1434. `uniacid` int(11) DEFAULT NULL,
  1435. `usecouponid` int(11) DEFAULT '0',
  1436. `couponid` int(11) DEFAULT '0',
  1437. `starttime` int(11) DEFAULT '0',
  1438. `endtime` int(11) DEFAULT '0',
  1439. `sendnum` int(11) DEFAULT '1',
  1440. `num` int(11) DEFAULT '0',
  1441. `status` tinyint(1) DEFAULT '0',
  1442. PRIMARY KEY (`id`)
  1443. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  1444. -- ----------------------------
  1445. -- Table structure for ims_ewei_shop_creditshop_adv
  1446. -- ----------------------------
  1447. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_adv`;
  1448. CREATE TABLE `ims_ewei_shop_creditshop_adv` (
  1449. `id` int(11) NOT NULL AUTO_INCREMENT,
  1450. `uniacid` int(11) DEFAULT '0',
  1451. `advname` varchar(50) DEFAULT '',
  1452. `link` varchar(255) DEFAULT '',
  1453. `thumb` varchar(255) DEFAULT '',
  1454. `displayorder` int(11) DEFAULT '0',
  1455. `enabled` int(11) DEFAULT '0',
  1456. `merchid` int(11) NOT NULL DEFAULT '0',
  1457. PRIMARY KEY (`id`),
  1458. KEY `idx_uniacid` (`uniacid`),
  1459. KEY `idx_enabled` (`enabled`),
  1460. KEY `idx_displayorder` (`displayorder`)
  1461. ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
  1462. -- ----------------------------
  1463. -- Table structure for ims_ewei_shop_creditshop_category
  1464. -- ----------------------------
  1465. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_category`;
  1466. CREATE TABLE `ims_ewei_shop_creditshop_category` (
  1467. `id` int(11) NOT NULL AUTO_INCREMENT,
  1468. `uniacid` int(11) DEFAULT '0',
  1469. `name` varchar(50) DEFAULT NULL,
  1470. `thumb` varchar(255) DEFAULT NULL,
  1471. `displayorder` tinyint(3) unsigned DEFAULT '0',
  1472. `enabled` tinyint(1) DEFAULT '1',
  1473. `advimg` varchar(255) DEFAULT '',
  1474. `advurl` varchar(500) DEFAULT '',
  1475. `isrecommand` tinyint(3) DEFAULT '0',
  1476. PRIMARY KEY (`id`),
  1477. KEY `idx_uniacid` (`uniacid`),
  1478. KEY `idx_displayorder` (`displayorder`),
  1479. KEY `idx_enabled` (`enabled`)
  1480. ) ENGINE=MyISAM AUTO_INCREMENT=26 DEFAULT CHARSET=utf8;
  1481. -- ----------------------------
  1482. -- Table structure for ims_ewei_shop_creditshop_comment
  1483. -- ----------------------------
  1484. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_comment`;
  1485. CREATE TABLE `ims_ewei_shop_creditshop_comment` (
  1486. `id` int(11) NOT NULL AUTO_INCREMENT,
  1487. `uniacid` int(11) NOT NULL DEFAULT '0',
  1488. `logid` int(11) NOT NULL DEFAULT '0',
  1489. `logno` varchar(50) NOT NULL DEFAULT '',
  1490. `goodsid` int(11) NOT NULL DEFAULT '0',
  1491. `openid` varchar(50) DEFAULT NULL,
  1492. `nickname` varchar(50) DEFAULT NULL,
  1493. `headimg` varchar(255) DEFAULT NULL,
  1494. `level` tinyint(3) NOT NULL DEFAULT '0',
  1495. `content` varchar(255) DEFAULT NULL,
  1496. `images` text,
  1497. `time` int(11) NOT NULL DEFAULT '0',
  1498. `reply_content` varchar(255) DEFAULT NULL,
  1499. `reply_images` text,
  1500. `reply_time` int(11) NOT NULL DEFAULT '0',
  1501. `append_content` varchar(255) DEFAULT NULL,
  1502. `append_images` text,
  1503. `append_time` int(11) NOT NULL DEFAULT '0',
  1504. `append_reply_content` varchar(255) DEFAULT NULL,
  1505. `append_reply_images` text,
  1506. `append_reply_time` int(11) NOT NULL DEFAULT '0',
  1507. `istop` tinyint(3) NOT NULL DEFAULT '0',
  1508. `checked` tinyint(3) NOT NULL DEFAULT '0',
  1509. `append_checked` tinyint(3) NOT NULL DEFAULT '0',
  1510. `virtual` tinyint(3) NOT NULL DEFAULT '0',
  1511. `deleted` tinyint(3) NOT NULL DEFAULT '0',
  1512. `merchid` int(11) NOT NULL DEFAULT '0',
  1513. PRIMARY KEY (`id`)
  1514. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  1515. -- ----------------------------
  1516. -- Table structure for ims_ewei_shop_creditshop_goods
  1517. -- ----------------------------
  1518. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_goods`;
  1519. CREATE TABLE `ims_ewei_shop_creditshop_goods` (
  1520. `id` int(11) NOT NULL AUTO_INCREMENT,
  1521. `uniacid` int(11) DEFAULT '0',
  1522. `displayorder` int(11) DEFAULT '0',
  1523. `title` varchar(255) DEFAULT '',
  1524. `cate` int(11) DEFAULT '0',
  1525. `thumb` varchar(255) DEFAULT '',
  1526. `price` decimal(10,2) DEFAULT '0.00',
  1527. `type` tinyint(3) DEFAULT '0',
  1528. `credit` int(11) DEFAULT '0',
  1529. `money` decimal(10,2) DEFAULT '0.00',
  1530. `total` int(11) DEFAULT '0',
  1531. `totalday` int(11) DEFAULT '0',
  1532. `chance` int(11) DEFAULT '0',
  1533. `chanceday` int(11) DEFAULT '0',
  1534. `detail` text,
  1535. `rate1` int(11) DEFAULT '0',
  1536. `rate2` int(11) DEFAULT '0',
  1537. `endtime` int(11) DEFAULT '0',
  1538. `joins` int(11) DEFAULT '0',
  1539. `views` int(11) DEFAULT '0',
  1540. `createtime` int(11) DEFAULT '0',
  1541. `status` tinyint(3) DEFAULT '0',
  1542. `deleted` tinyint(3) DEFAULT '0',
  1543. `showlevels` text,
  1544. `buylevels` text,
  1545. `showgroups` text,
  1546. `buygroups` text,
  1547. `vip` tinyint(3) DEFAULT '0',
  1548. `istop` tinyint(3) DEFAULT '0',
  1549. `isrecommand` tinyint(3) DEFAULT '0',
  1550. `istime` tinyint(3) DEFAULT '0',
  1551. `timestart` int(11) DEFAULT '0',
  1552. `timeend` int(11) DEFAULT '0',
  1553. `share_title` varchar(255) DEFAULT '',
  1554. `share_icon` varchar(255) DEFAULT '',
  1555. `share_desc` varchar(500) DEFAULT '',
  1556. `followneed` tinyint(3) DEFAULT '0',
  1557. `followtext` varchar(255) DEFAULT '',
  1558. `subtitle` varchar(255) DEFAULT '',
  1559. `subdetail` text,
  1560. `noticedetail` text,
  1561. `usedetail` varchar(255) DEFAULT '',
  1562. `goodsdetail` text,
  1563. `isendtime` tinyint(3) DEFAULT '0',
  1564. `usecredit2` tinyint(3) DEFAULT '0',
  1565. `area` varchar(255) DEFAULT '',
  1566. `dispatch` decimal(10,2) DEFAULT '0.00',
  1567. `storeids` text,
  1568. `noticeopenid` varchar(255) DEFAULT '',
  1569. `noticetype` tinyint(3) DEFAULT '0',
  1570. `isverify` tinyint(3) DEFAULT '0',
  1571. `goodstype` tinyint(3) DEFAULT '0',
  1572. `couponid` int(11) DEFAULT '0',
  1573. `goodsid` int(11) DEFAULT '0',
  1574. `merchid` int(11) NOT NULL DEFAULT '0',
  1575. `productprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  1576. `mincredit` decimal(10,2) NOT NULL DEFAULT '0.00',
  1577. `minmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  1578. `maxcredit` decimal(10,2) NOT NULL DEFAULT '0.00',
  1579. `maxmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  1580. `dispatchtype` tinyint(3) NOT NULL DEFAULT '0',
  1581. `dispatchid` int(11) NOT NULL DEFAULT '0',
  1582. `verifytype` tinyint(3) NOT NULL DEFAULT '0',
  1583. `verifynum` int(11) NOT NULL DEFAULT '0',
  1584. `grant1` decimal(10,2) NOT NULL DEFAULT '0.00',
  1585. `grant2` decimal(10,2) NOT NULL DEFAULT '0.00',
  1586. `goodssn` varchar(255) NOT NULL,
  1587. `productsn` varchar(255) NOT NULL,
  1588. `weight` int(11) NOT NULL,
  1589. `showtotal` tinyint(3) NOT NULL,
  1590. `totalcnf` tinyint(3) NOT NULL DEFAULT '0',
  1591. `usetime` int(11) NOT NULL DEFAULT '0',
  1592. `hasoption` tinyint(3) NOT NULL DEFAULT '0',
  1593. `noticedetailshow` tinyint(3) NOT NULL DEFAULT '0',
  1594. `detailshow` tinyint(3) NOT NULL DEFAULT '0',
  1595. `packetmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  1596. `surplusmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  1597. `packetlimit` decimal(10,2) NOT NULL DEFAULT '0.00',
  1598. `packettype` tinyint(3) NOT NULL DEFAULT '0',
  1599. `minpacketmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  1600. `packettotal` int(11) NOT NULL DEFAULT '0',
  1601. `packetsurplus` int(11) NOT NULL DEFAULT '0',
  1602. `maxpacketmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  1603. PRIMARY KEY (`id`),
  1604. KEY `idx_uniacid` (`uniacid`),
  1605. KEY `idx_type` (`type`),
  1606. KEY `idx_endtime` (`endtime`),
  1607. KEY `idx_createtime` (`createtime`),
  1608. KEY `idx_status` (`status`),
  1609. KEY `idx_displayorder` (`displayorder`),
  1610. KEY `idx_deleted` (`deleted`),
  1611. KEY `idx_istop` (`istop`),
  1612. KEY `idx_isrecommand` (`isrecommand`),
  1613. KEY `idx_istime` (`istime`),
  1614. KEY `idx_timestart` (`timestart`),
  1615. KEY `idx_timeend` (`timeend`),
  1616. KEY `idx_goodstype` (`goodstype`)
  1617. ) ENGINE=MyISAM AUTO_INCREMENT=52 DEFAULT CHARSET=utf8;
  1618. -- ----------------------------
  1619. -- Table structure for ims_ewei_shop_creditshop_log
  1620. -- ----------------------------
  1621. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_log`;
  1622. CREATE TABLE `ims_ewei_shop_creditshop_log` (
  1623. `id` int(11) NOT NULL AUTO_INCREMENT,
  1624. `uniacid` int(11) DEFAULT '0',
  1625. `logno` varchar(255) DEFAULT '',
  1626. `eno` varchar(255) DEFAULT '',
  1627. `openid` varchar(255) DEFAULT '',
  1628. `goodsid` int(11) DEFAULT '0',
  1629. `createtime` int(11) DEFAULT '0',
  1630. `status` tinyint(3) DEFAULT '0',
  1631. `paystatus` tinyint(3) DEFAULT '0',
  1632. `paytype` tinyint(3) DEFAULT '-1',
  1633. `dispatchstatus` tinyint(3) DEFAULT '0',
  1634. `creditpay` tinyint(3) DEFAULT '0',
  1635. `addressid` int(11) DEFAULT '0',
  1636. `dispatchno` varchar(255) DEFAULT '',
  1637. `usetime` int(11) DEFAULT '0',
  1638. `express` varchar(255) DEFAULT '',
  1639. `expresssn` varchar(255) DEFAULT '',
  1640. `expresscom` varchar(255) DEFAULT '',
  1641. `verifyopenid` varchar(255) DEFAULT '',
  1642. `storeid` int(11) DEFAULT '0',
  1643. `realname` varchar(255) DEFAULT '',
  1644. `mobile` varchar(255) DEFAULT '',
  1645. `couponid` int(11) DEFAULT '0',
  1646. `dupdate1` tinyint(3) DEFAULT '0',
  1647. `transid` varchar(255) DEFAULT '',
  1648. `dispatchtransid` varchar(255) DEFAULT '',
  1649. `address` text,
  1650. `optionid` int(11) NOT NULL DEFAULT '0',
  1651. `time_send` int(11) NOT NULL DEFAULT '0',
  1652. `time_finish` int(11) NOT NULL DEFAULT '0',
  1653. `iscomment` tinyint(3) NOT NULL DEFAULT '0',
  1654. `dispatchtime` int(11) NOT NULL DEFAULT '0',
  1655. `verifynum` int(11) NOT NULL DEFAULT '1',
  1656. `verifytime` int(11) NOT NULL DEFAULT '0',
  1657. `merchid` int(11) NOT NULL DEFAULT '0',
  1658. `remarksaler` text,
  1659. `dispatch` decimal(10,2) DEFAULT '0.00',
  1660. `money` decimal(10,2) DEFAULT '0.00',
  1661. `credit` int(11) DEFAULT '0',
  1662. `goods_num` int(11) DEFAULT '0',
  1663. `merchapply` tinyint(4) NOT NULL DEFAULT '0',
  1664. PRIMARY KEY (`id`)
  1665. ) ENGINE=MyISAM AUTO_INCREMENT=84 DEFAULT CHARSET=utf8;
  1666. -- ----------------------------
  1667. -- Table structure for ims_ewei_shop_creditshop_option
  1668. -- ----------------------------
  1669. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_option`;
  1670. CREATE TABLE `ims_ewei_shop_creditshop_option` (
  1671. `id` int(11) NOT NULL AUTO_INCREMENT,
  1672. `uniacid` int(11) DEFAULT '0',
  1673. `goodsid` int(10) DEFAULT '0',
  1674. `title` varchar(50) DEFAULT '',
  1675. `thumb` varchar(60) DEFAULT '',
  1676. `credit` int(10) NOT NULL DEFAULT '0',
  1677. `money` decimal(10,2) DEFAULT '0.00',
  1678. `total` int(11) DEFAULT '0',
  1679. `weight` decimal(10,2) DEFAULT '0.00',
  1680. `displayorder` int(11) DEFAULT '0',
  1681. `specs` text,
  1682. `skuId` varchar(255) DEFAULT '',
  1683. `goodssn` varchar(255) DEFAULT '',
  1684. `productsn` varchar(255) DEFAULT '',
  1685. `virtual` int(11) DEFAULT '0',
  1686. `exchange_stock` int(11) NOT NULL DEFAULT '-1',
  1687. PRIMARY KEY (`id`)
  1688. ) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  1689. -- ----------------------------
  1690. -- Table structure for ims_ewei_shop_creditshop_spec
  1691. -- ----------------------------
  1692. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_spec`;
  1693. CREATE TABLE `ims_ewei_shop_creditshop_spec` (
  1694. `id` int(11) NOT NULL AUTO_INCREMENT,
  1695. `uniacid` int(11) DEFAULT '0',
  1696. `goodsid` int(11) DEFAULT '0',
  1697. `title` varchar(50) DEFAULT '',
  1698. `description` varchar(1000) DEFAULT '',
  1699. `displaytype` tinyint(3) DEFAULT '0',
  1700. `content` text,
  1701. `displayorder` int(11) DEFAULT '0',
  1702. `propId` varchar(255) DEFAULT '',
  1703. PRIMARY KEY (`id`)
  1704. ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  1705. -- ----------------------------
  1706. -- Table structure for ims_ewei_shop_creditshop_spec_item
  1707. -- ----------------------------
  1708. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_spec_item`;
  1709. CREATE TABLE `ims_ewei_shop_creditshop_spec_item` (
  1710. `id` int(11) NOT NULL AUTO_INCREMENT,
  1711. `uniacid` int(11) DEFAULT '0',
  1712. `specid` int(11) DEFAULT '0',
  1713. `title` varchar(255) DEFAULT '',
  1714. `thumb` varchar(255) DEFAULT '',
  1715. `show` int(11) DEFAULT '0',
  1716. `displayorder` int(11) DEFAULT '0',
  1717. `valueId` varchar(255) DEFAULT '',
  1718. `virtual` int(11) DEFAULT '0',
  1719. PRIMARY KEY (`id`)
  1720. ) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  1721. -- ----------------------------
  1722. -- Table structure for ims_ewei_shop_creditshop_verify
  1723. -- ----------------------------
  1724. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_verify`;
  1725. CREATE TABLE `ims_ewei_shop_creditshop_verify` (
  1726. `id` int(11) NOT NULL AUTO_INCREMENT,
  1727. `uniacid` int(11) DEFAULT '0',
  1728. `openid` varchar(45) DEFAULT '0',
  1729. `logid` int(11) DEFAULT '0',
  1730. `verifycode` varchar(45) DEFAULT NULL,
  1731. `storeid` int(11) DEFAULT '0',
  1732. `verifier` varchar(45) DEFAULT '0',
  1733. `isverify` tinyint(3) DEFAULT '0',
  1734. `verifytime` int(11) DEFAULT '0',
  1735. `merchid` int(11) NOT NULL DEFAULT '0',
  1736. PRIMARY KEY (`id`)
  1737. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  1738. -- ----------------------------
  1739. -- Table structure for ims_ewei_shop_customer
  1740. -- ----------------------------
  1741. DROP TABLE IF EXISTS `ims_ewei_shop_customer`;
  1742. CREATE TABLE `ims_ewei_shop_customer` (
  1743. `id` int(11) NOT NULL AUTO_INCREMENT,
  1744. `uniacid` int(11) DEFAULT '0',
  1745. `kf_id` varchar(255) DEFAULT NULL,
  1746. `kf_account` varchar(255) DEFAULT '',
  1747. `kf_nick` varchar(255) DEFAULT '',
  1748. `kf_pwd` varchar(255) DEFAULT '',
  1749. `kf_headimgurl` varchar(255) DEFAULT '',
  1750. `createtime` int(11) DEFAULT '0',
  1751. PRIMARY KEY (`id`),
  1752. KEY `idx_uniacid` (`uniacid`),
  1753. KEY `idx_createtime` (`createtime`)
  1754. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  1755. -- ----------------------------
  1756. -- Table structure for ims_ewei_shop_customer_category
  1757. -- ----------------------------
  1758. DROP TABLE IF EXISTS `ims_ewei_shop_customer_category`;
  1759. CREATE TABLE `ims_ewei_shop_customer_category` (
  1760. `id` int(11) NOT NULL AUTO_INCREMENT,
  1761. `uniacid` int(11) DEFAULT '0',
  1762. `name` varchar(50) DEFAULT NULL,
  1763. PRIMARY KEY (`id`),
  1764. KEY `idx_uniacid` (`uniacid`)
  1765. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  1766. -- ----------------------------
  1767. -- Table structure for ims_ewei_shop_customer_guestbook
  1768. -- ----------------------------
  1769. DROP TABLE IF EXISTS `ims_ewei_shop_customer_guestbook`;
  1770. CREATE TABLE `ims_ewei_shop_customer_guestbook` (
  1771. `id` int(11) NOT NULL AUTO_INCREMENT,
  1772. `uniacid` int(11) DEFAULT '0',
  1773. `openid` varchar(255) DEFAULT '',
  1774. `realname` varchar(11) DEFAULT '',
  1775. `mobile` varchar(255) DEFAULT '',
  1776. `weixin` varchar(255) DEFAULT '',
  1777. `images` text,
  1778. `content` text,
  1779. `remark` text,
  1780. `status` tinyint(3) DEFAULT '0',
  1781. `createtime` int(11) DEFAULT '0',
  1782. `deleted` tinyint(3) DEFAULT '0',
  1783. PRIMARY KEY (`id`)
  1784. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  1785. -- ----------------------------
  1786. -- Table structure for ims_ewei_shop_customer_robot
  1787. -- ----------------------------
  1788. DROP TABLE IF EXISTS `ims_ewei_shop_customer_robot`;
  1789. CREATE TABLE `ims_ewei_shop_customer_robot` (
  1790. `id` int(11) NOT NULL AUTO_INCREMENT,
  1791. `uniacid` int(11) DEFAULT '0',
  1792. `cate` int(11) DEFAULT '0',
  1793. `keywords` varchar(500) DEFAULT '',
  1794. `title` varchar(255) DEFAULT '',
  1795. `content` longtext,
  1796. `url` varchar(255) DEFAULT '',
  1797. `createtime` int(11) DEFAULT '0',
  1798. PRIMARY KEY (`id`),
  1799. KEY `idx_uniacid` (`uniacid`),
  1800. KEY `idx_cate` (`cate`)
  1801. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  1802. -- ----------------------------
  1803. -- Table structure for ims_ewei_shop_cycelbuy_periods
  1804. -- ----------------------------
  1805. DROP TABLE IF EXISTS `ims_ewei_shop_cycelbuy_periods`;
  1806. CREATE TABLE `ims_ewei_shop_cycelbuy_periods` (
  1807. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  1808. `uniacid` int(11) NOT NULL,
  1809. `orderid` int(11) NOT NULL,
  1810. `cycelsn` varchar(255) NOT NULL,
  1811. `sendtime` int(11) DEFAULT NULL,
  1812. `receipttime` int(11) DEFAULT NULL,
  1813. `status` tinyint(3) NOT NULL DEFAULT '0',
  1814. `remark` varchar(255) DEFAULT NULL,
  1815. `addressid` int(11) DEFAULT NULL,
  1816. `dispatchprice` decimal(10,2) DEFAULT NULL,
  1817. `dispatchid` int(11) DEFAULT NULL,
  1818. `createtime` int(11) DEFAULT NULL,
  1819. `dispatchtype` tinyint(3) DEFAULT NULL,
  1820. `finishtime` int(11) DEFAULT NULL,
  1821. `expresscom` varchar(255) DEFAULT NULL,
  1822. `expresssn` varchar(255) DEFAULT NULL,
  1823. `express` varchar(255) DEFAULT NULL,
  1824. `address` text,
  1825. `updatelog` text,
  1826. `ispostpone` tinyint(4) DEFAULT '0',
  1827. PRIMARY KEY (`id`)
  1828. ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
  1829. -- ----------------------------
  1830. -- Table structure for ims_ewei_shop_datatransfer
  1831. -- ----------------------------
  1832. DROP TABLE IF EXISTS `ims_ewei_shop_datatransfer`;
  1833. CREATE TABLE `ims_ewei_shop_datatransfer` (
  1834. `id` int(11) NOT NULL AUTO_INCREMENT,
  1835. `fromuniacid` int(11) DEFAULT NULL,
  1836. `touniacid` int(11) DEFAULT NULL,
  1837. `status` tinyint(1) DEFAULT NULL,
  1838. PRIMARY KEY (`id`)
  1839. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  1840. -- ----------------------------
  1841. -- Table structure for ims_ewei_shop_designer
  1842. -- ----------------------------
  1843. DROP TABLE IF EXISTS `ims_ewei_shop_designer`;
  1844. CREATE TABLE `ims_ewei_shop_designer` (
  1845. `id` int(11) NOT NULL AUTO_INCREMENT,
  1846. `uniacid` int(11) NOT NULL DEFAULT '0',
  1847. `pagename` varchar(255) NOT NULL DEFAULT '',
  1848. `pagetype` tinyint(3) NOT NULL DEFAULT '0',
  1849. `pageinfo` text NOT NULL,
  1850. `createtime` varchar(255) NOT NULL DEFAULT '',
  1851. `keyword` varchar(255) DEFAULT '',
  1852. `savetime` varchar(255) NOT NULL DEFAULT '',
  1853. `setdefault` tinyint(3) NOT NULL DEFAULT '0',
  1854. `datas` text NOT NULL,
  1855. PRIMARY KEY (`id`),
  1856. KEY `idx_uniacid` (`uniacid`),
  1857. KEY `idx_pagetype` (`pagetype`),
  1858. KEY `idx_keyword` (`keyword`) USING BTREE
  1859. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
  1860. -- ----------------------------
  1861. -- Table structure for ims_ewei_shop_designer_menu
  1862. -- ----------------------------
  1863. DROP TABLE IF EXISTS `ims_ewei_shop_designer_menu`;
  1864. CREATE TABLE `ims_ewei_shop_designer_menu` (
  1865. `id` int(11) NOT NULL AUTO_INCREMENT,
  1866. `uniacid` int(11) DEFAULT '0',
  1867. `menuname` varchar(255) DEFAULT '',
  1868. `isdefault` tinyint(3) DEFAULT '0',
  1869. `createtime` int(11) DEFAULT '0',
  1870. `menus` text,
  1871. `params` text,
  1872. PRIMARY KEY (`id`),
  1873. KEY `idx_uniacid` (`uniacid`),
  1874. KEY `idx_isdefault` (`isdefault`),
  1875. KEY `idx_createtime` (`createtime`)
  1876. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  1877. -- ----------------------------
  1878. -- Table structure for ims_ewei_shop_dispatch
  1879. -- ----------------------------
  1880. DROP TABLE IF EXISTS `ims_ewei_shop_dispatch`;
  1881. CREATE TABLE `ims_ewei_shop_dispatch` (
  1882. `id` int(11) NOT NULL AUTO_INCREMENT,
  1883. `uniacid` int(11) DEFAULT '0',
  1884. `dispatchname` varchar(50) DEFAULT '',
  1885. `dispatchtype` int(11) DEFAULT '0',
  1886. `displayorder` int(11) DEFAULT '0',
  1887. `firstprice` decimal(10,2) DEFAULT '0.00',
  1888. `secondprice` decimal(10,2) DEFAULT '0.00',
  1889. `firstweight` int(11) DEFAULT '0',
  1890. `secondweight` int(11) DEFAULT '0',
  1891. `express` varchar(250) DEFAULT '',
  1892. `areas` longtext,
  1893. `carriers` text,
  1894. `enabled` int(11) DEFAULT '0',
  1895. `calculatetype` tinyint(1) DEFAULT '0',
  1896. `firstnum` int(11) DEFAULT '0',
  1897. `secondnum` int(11) DEFAULT '0',
  1898. `firstnumprice` decimal(10,2) DEFAULT '0.00',
  1899. `secondnumprice` decimal(10,2) DEFAULT '0.00',
  1900. `isdefault` tinyint(1) DEFAULT '0',
  1901. `shopid` int(11) DEFAULT '0',
  1902. `merchid` int(11) DEFAULT '0',
  1903. `nodispatchareas` text,
  1904. `nodispatchareas_code` longtext,
  1905. `isdispatcharea` tinyint(3) NOT NULL DEFAULT '0',
  1906. `freeprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  1907. PRIMARY KEY (`id`),
  1908. KEY `idx_uniacid` (`uniacid`),
  1909. KEY `idx_displayorder` (`displayorder`)
  1910. ) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=utf8;
  1911. -- ----------------------------
  1912. -- Table structure for ims_ewei_shop_dividend_apply
  1913. -- ----------------------------
  1914. DROP TABLE IF EXISTS `ims_ewei_shop_dividend_apply`;
  1915. CREATE TABLE `ims_ewei_shop_dividend_apply` (
  1916. `id` int(11) NOT NULL AUTO_INCREMENT,
  1917. `uniacid` int(11) DEFAULT '0',
  1918. `applyno` varchar(255) DEFAULT '',
  1919. `mid` int(11) DEFAULT '0',
  1920. `type` tinyint(3) DEFAULT '0',
  1921. `orderids` longtext,
  1922. `dividend` decimal(10,2) DEFAULT '0.00',
  1923. `dividend_pay` decimal(10,2) DEFAULT '0.00',
  1924. `content` text,
  1925. `status` tinyint(3) DEFAULT '0',
  1926. `applytime` int(11) DEFAULT '0',
  1927. `checktime` int(11) DEFAULT '0',
  1928. `paytime` int(11) DEFAULT '0',
  1929. `invalidtime` int(11) DEFAULT '0',
  1930. `realmoney` decimal(10,2) DEFAULT '0.00',
  1931. `charge` decimal(10,2) DEFAULT '0.00',
  1932. `deductionmoney` decimal(10,2) DEFAULT '0.00',
  1933. `beginmoney` decimal(10,2) DEFAULT '0.00',
  1934. `endmoney` decimal(10,2) DEFAULT '0.00',
  1935. `alipay` varchar(50) NOT NULL DEFAULT '',
  1936. `bankname` varchar(50) NOT NULL DEFAULT '',
  1937. `bankcard` varchar(50) NOT NULL DEFAULT '',
  1938. `alipay1` varchar(50) NOT NULL DEFAULT '',
  1939. `bankname1` varchar(50) NOT NULL DEFAULT '',
  1940. `bankcard1` varchar(50) NOT NULL DEFAULT '',
  1941. `realname` varchar(50) NOT NULL DEFAULT '',
  1942. `sendmoney` decimal(10,2) DEFAULT '0.00',
  1943. `senddata` text,
  1944. PRIMARY KEY (`id`),
  1945. KEY `idx_uniacid` (`uniacid`),
  1946. KEY `idx_mid` (`mid`),
  1947. KEY `idx_checktime` (`checktime`),
  1948. KEY `idx_paytime` (`paytime`),
  1949. KEY `idx_applytime` (`applytime`),
  1950. KEY `idx_status` (`status`),
  1951. KEY `idx_invalidtime` (`invalidtime`)
  1952. ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
  1953. -- ----------------------------
  1954. -- Table structure for ims_ewei_shop_dividend_bank
  1955. -- ----------------------------
  1956. DROP TABLE IF EXISTS `ims_ewei_shop_dividend_bank`;
  1957. CREATE TABLE `ims_ewei_shop_dividend_bank` (
  1958. `id` int(11) NOT NULL AUTO_INCREMENT,
  1959. `uniacid` int(11) NOT NULL DEFAULT '0',
  1960. `bankname` varchar(255) NOT NULL DEFAULT '',
  1961. `content` varchar(255) NOT NULL DEFAULT '',
  1962. `status` tinyint(1) NOT NULL DEFAULT '0',
  1963. `displayorder` int(11) NOT NULL DEFAULT '0',
  1964. PRIMARY KEY (`id`),
  1965. KEY `idx_uniacid` (`uniacid`)
  1966. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  1967. -- ----------------------------
  1968. -- Table structure for ims_ewei_shop_dividend_init
  1969. -- ----------------------------
  1970. DROP TABLE IF EXISTS `ims_ewei_shop_dividend_init`;
  1971. CREATE TABLE `ims_ewei_shop_dividend_init` (
  1972. `id` int(11) NOT NULL AUTO_INCREMENT,
  1973. `uniacid` int(11) NOT NULL DEFAULT '0',
  1974. `headsid` int(11) NOT NULL DEFAULT '0',
  1975. `status` tinyint(1) NOT NULL DEFAULT '0',
  1976. PRIMARY KEY (`id`),
  1977. KEY `idx_uniacid` (`uniacid`)
  1978. ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
  1979. -- ----------------------------
  1980. -- Table structure for ims_ewei_shop_dividend_log
  1981. -- ----------------------------
  1982. DROP TABLE IF EXISTS `ims_ewei_shop_dividend_log`;
  1983. CREATE TABLE `ims_ewei_shop_dividend_log` (
  1984. `id` int(11) NOT NULL AUTO_INCREMENT,
  1985. `uniacid` int(11) DEFAULT '0',
  1986. `applyid` int(11) DEFAULT '0',
  1987. `mid` int(11) DEFAULT '0',
  1988. `dividend` decimal(10,2) DEFAULT '0.00',
  1989. `createtime` int(11) DEFAULT '0',
  1990. `dividend_pay` decimal(10,2) DEFAULT '0.00',
  1991. `realmoney` decimal(10,2) DEFAULT '0.00',
  1992. `charge` decimal(10,2) DEFAULT '0.00',
  1993. `deductionmoney` decimal(10,2) DEFAULT '0.00',
  1994. `type` tinyint(3) DEFAULT '0',
  1995. `type1` tinyint(3) NOT NULL DEFAULT '0',
  1996. PRIMARY KEY (`id`),
  1997. KEY `idx_uniacid` (`uniacid`),
  1998. KEY `idx_applyid` (`applyid`),
  1999. KEY `idx_mid` (`mid`),
  2000. KEY `idx_createtime` (`createtime`)
  2001. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  2002. -- ----------------------------
  2003. -- Table structure for ims_ewei_shop_diyform_category
  2004. -- ----------------------------
  2005. DROP TABLE IF EXISTS `ims_ewei_shop_diyform_category`;
  2006. CREATE TABLE `ims_ewei_shop_diyform_category` (
  2007. `id` int(11) NOT NULL AUTO_INCREMENT,
  2008. `uniacid` int(11) DEFAULT '0',
  2009. `name` varchar(50) DEFAULT NULL,
  2010. PRIMARY KEY (`id`),
  2011. KEY `idx_uniacid` (`uniacid`)
  2012. ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
  2013. -- ----------------------------
  2014. -- Table structure for ims_ewei_shop_diyform_data
  2015. -- ----------------------------
  2016. DROP TABLE IF EXISTS `ims_ewei_shop_diyform_data`;
  2017. CREATE TABLE `ims_ewei_shop_diyform_data` (
  2018. `id` int(11) NOT NULL AUTO_INCREMENT,
  2019. `uniacid` int(11) NOT NULL DEFAULT '0',
  2020. `typeid` int(11) NOT NULL DEFAULT '0',
  2021. `cid` int(11) DEFAULT '0',
  2022. `diyformfields` text,
  2023. `fields` text NOT NULL,
  2024. `openid` varchar(255) NOT NULL DEFAULT '',
  2025. `type` tinyint(2) DEFAULT '0',
  2026. PRIMARY KEY (`id`),
  2027. KEY `idx_uniacid` (`uniacid`),
  2028. KEY `idx_typeid` (`typeid`),
  2029. KEY `idx_cid` (`cid`)
  2030. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2031. -- ----------------------------
  2032. -- Table structure for ims_ewei_shop_diyform_temp
  2033. -- ----------------------------
  2034. DROP TABLE IF EXISTS `ims_ewei_shop_diyform_temp`;
  2035. CREATE TABLE `ims_ewei_shop_diyform_temp` (
  2036. `id` int(11) NOT NULL AUTO_INCREMENT,
  2037. `uniacid` int(11) NOT NULL DEFAULT '0',
  2038. `typeid` int(11) DEFAULT '0',
  2039. `cid` int(11) NOT NULL DEFAULT '0',
  2040. `diyformfields` text,
  2041. `fields` text NOT NULL,
  2042. `openid` varchar(255) NOT NULL DEFAULT '',
  2043. `type` tinyint(1) DEFAULT '0',
  2044. `diyformid` int(11) DEFAULT '0',
  2045. `diyformdata` text,
  2046. `carrier_realname` varchar(255) DEFAULT '',
  2047. `carrier_mobile` varchar(255) DEFAULT '',
  2048. PRIMARY KEY (`id`),
  2049. KEY `idx_uniacid` (`uniacid`),
  2050. KEY `idx_cid` (`cid`)
  2051. ) ENGINE=MyISAM AUTO_INCREMENT=84 DEFAULT CHARSET=utf8;
  2052. -- ----------------------------
  2053. -- Table structure for ims_ewei_shop_diyform_type
  2054. -- ----------------------------
  2055. DROP TABLE IF EXISTS `ims_ewei_shop_diyform_type`;
  2056. CREATE TABLE `ims_ewei_shop_diyform_type` (
  2057. `id` int(11) NOT NULL AUTO_INCREMENT,
  2058. `uniacid` int(11) NOT NULL DEFAULT '0',
  2059. `cate` int(11) DEFAULT '0',
  2060. `title` varchar(255) NOT NULL DEFAULT '',
  2061. `fields` text NOT NULL,
  2062. `usedata` int(11) NOT NULL DEFAULT '0',
  2063. `alldata` int(11) NOT NULL DEFAULT '0',
  2064. `status` tinyint(1) DEFAULT '1',
  2065. `savedata` tinyint(1) NOT NULL DEFAULT '0',
  2066. PRIMARY KEY (`id`),
  2067. KEY `idx_uniacid` (`uniacid`),
  2068. KEY `idx_cate` (`cate`)
  2069. ) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
  2070. -- ----------------------------
  2071. -- Table structure for ims_ewei_shop_diypage
  2072. -- ----------------------------
  2073. DROP TABLE IF EXISTS `ims_ewei_shop_diypage`;
  2074. CREATE TABLE `ims_ewei_shop_diypage` (
  2075. `id` int(11) NOT NULL AUTO_INCREMENT,
  2076. `uniacid` int(11) NOT NULL DEFAULT '0',
  2077. `type` tinyint(1) NOT NULL DEFAULT '0',
  2078. `name` varchar(255) NOT NULL DEFAULT '',
  2079. `data` longtext NOT NULL,
  2080. `createtime` int(11) NOT NULL DEFAULT '0',
  2081. `lastedittime` int(11) NOT NULL DEFAULT '0',
  2082. `keyword` varchar(255) NOT NULL DEFAULT '',
  2083. `diymenu` int(11) NOT NULL DEFAULT '0',
  2084. `merch` int(11) NOT NULL DEFAULT '0',
  2085. `diyadv` int(11) NOT NULL DEFAULT '0',
  2086. PRIMARY KEY (`id`),
  2087. KEY `idx_uniacid` (`uniacid`),
  2088. KEY `idx_type` (`type`),
  2089. KEY `idx_keyword` (`keyword`),
  2090. KEY `idx_lastedittime` (`lastedittime`),
  2091. KEY `idx_createtime` (`createtime`)
  2092. ) ENGINE=MyISAM AUTO_INCREMENT=217 DEFAULT CHARSET=utf8;
  2093. -- ----------------------------
  2094. -- Table structure for ims_ewei_shop_diypage_menu
  2095. -- ----------------------------
  2096. DROP TABLE IF EXISTS `ims_ewei_shop_diypage_menu`;
  2097. CREATE TABLE `ims_ewei_shop_diypage_menu` (
  2098. `id` int(11) NOT NULL AUTO_INCREMENT,
  2099. `uniacid` int(11) NOT NULL DEFAULT '0',
  2100. `name` varchar(255) NOT NULL DEFAULT '',
  2101. `data` text NOT NULL,
  2102. `createtime` int(11) NOT NULL DEFAULT '0',
  2103. `lastedittime` int(11) NOT NULL DEFAULT '0',
  2104. `merch` int(11) NOT NULL DEFAULT '0',
  2105. PRIMARY KEY (`id`),
  2106. KEY `idx_uniacid` (`uniacid`),
  2107. KEY `idx_createtime` (`createtime`),
  2108. KEY `idx_lastedittime` (`lastedittime`)
  2109. ) ENGINE=MyISAM AUTO_INCREMENT=25 DEFAULT CHARSET=utf8;
  2110. -- ----------------------------
  2111. -- Table structure for ims_ewei_shop_diypage_plu
  2112. -- ----------------------------
  2113. DROP TABLE IF EXISTS `ims_ewei_shop_diypage_plu`;
  2114. CREATE TABLE `ims_ewei_shop_diypage_plu` (
  2115. `id` int(11) NOT NULL AUTO_INCREMENT,
  2116. `uniacid` int(11) NOT NULL DEFAULT '0',
  2117. `type` int(11) NOT NULL DEFAULT '0',
  2118. `status` tinyint(3) NOT NULL DEFAULT '0',
  2119. `name` varchar(255) NOT NULL DEFAULT '',
  2120. `data` text NOT NULL,
  2121. `createtime` int(11) NOT NULL DEFAULT '0',
  2122. `lastedittime` int(11) NOT NULL DEFAULT '0',
  2123. `merch` int(11) NOT NULL DEFAULT '0',
  2124. PRIMARY KEY (`id`),
  2125. KEY `idx_uniacid` (`uniacid`),
  2126. KEY `idx_createtime` (`createtime`),
  2127. KEY `idx_lastedittime` (`lastedittime`)
  2128. ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
  2129. -- ----------------------------
  2130. -- Table structure for ims_ewei_shop_diypage_template
  2131. -- ----------------------------
  2132. DROP TABLE IF EXISTS `ims_ewei_shop_diypage_template`;
  2133. CREATE TABLE `ims_ewei_shop_diypage_template` (
  2134. `id` int(11) NOT NULL AUTO_INCREMENT,
  2135. `uniacid` int(11) NOT NULL DEFAULT '0',
  2136. `type` tinyint(3) NOT NULL DEFAULT '0',
  2137. `name` varchar(255) NOT NULL DEFAULT '',
  2138. `data` longtext NOT NULL,
  2139. `preview` varchar(255) NOT NULL DEFAULT '',
  2140. `tplid` int(11) DEFAULT '0',
  2141. `cate` int(11) DEFAULT '0',
  2142. `deleted` tinyint(3) DEFAULT '0',
  2143. `merch` int(11) NOT NULL DEFAULT '0',
  2144. PRIMARY KEY (`id`),
  2145. KEY `idx_uniacid` (`uniacid`),
  2146. KEY `idx_type` (`type`),
  2147. KEY `idx_cate` (`cate`)
  2148. ) ENGINE=MyISAM AUTO_INCREMENT=65 DEFAULT CHARSET=utf8;
  2149. -- ----------------------------
  2150. -- Records of ims_ewei_shop_diypage_template
  2151. -- ----------------------------
  2152. BEGIN;
  2153. INSERT INTO `ims_ewei_shop_diypage_template` VALUES (1, 0, 2, '系统模板01', 'eyJwYWdlIjp7InR5cGUiOiIyIiwidGl0bGUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwMSIsIm5hbWUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwMSIsImRlc2MiOiIiLCJpY29uIjoiIiwia2V5d29yZCI6IiIsImJhY2tncm91bmQiOiIjZmFmYWZhIiwiZGl5bWVudSI6Ii0xIn0sIml0ZW1zIjp7Ik0xNDY1ODAyOTg0ODg1Ijp7InN0eWxlIjp7ImRvdHN0eWxlIjoicm91bmQiLCJkb3RhbGlnbiI6ImNlbnRlciIsImJhY2tncm91bmQiOiIjZmZmZmZmIiwibGVmdHJpZ2h0IjoiNSIsImJvdHRvbSI6IjEwIiwib3BhY2l0eSI6IjAuOCJ9LCJkYXRhIjp7IkMxNDY1ODAyOTg0ODg1Ijp7ImltZ3VybCI6Ii4uXC9hZGRvbnNcL2V3ZWlfc2hvcHYyXC9wbHVnaW5cL2RpeXBhZ2VcL3N0YXRpY1wvdGVtcGxhdGVcL2RlZmF1bHQxXC9iYW5uZXJfMS5qcGciLCJsaW5rdXJsIjoiIn0sIkMxNDY1ODAyOTg0ODg2Ijp7ImltZ3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4OTQiOnsidGh1bWIiOiIuLlwvYWRkb25zXC9ld2VpX3Nob3B2MlwvcGx1Z2luXC9kaXlwYWdlXC9zdGF0aWNcL2ltYWdlc1wvZGVmYXVsdFwvZ29vZHMtMy5qcGciLCJwcmljZSI6IjIwLjAwIiwidGl0bGUiOiJcdThmZDlcdTkxY2NcdTY2MmZcdTU1NDZcdTU0YzFcdTY4MDdcdTk4OTgiLCJnaWQiOiIifSwiQzE0NjU4MTMzNzY4OTUiOnsidGh1bWIiOiIuLlwvYWRkb25zXC9ld2VpX3Nob3B2MlwvcGx1Z2luXC9kaXlwYWdlXC9zdGF0aWNcL2ltYWdlc1wvZGVmYXVsdFwvZ29vZHMtNC5qcGciLCJwcmljZSI6IjIwLjAwIiwidGl0bGUiOiJcdThmZDlcdTkxY2NcdTY2MmZcdTU1NDZcdTU0YzFcdTY4MDdcdTk4OTgiLCJnaWQiOiIifX0sImlkIjoiZ29vZHMifX19', '../addons/ewei_shopv2/plugin/diypage/static/template/default1/preview.jpg', 1, 0, 0, 0);
  2154. INSERT INTO `ims_ewei_shop_diypage_template` VALUES (2, 0, 1, '系统模板02', 'eyJwYWdlIjp7InR5cGUiOiIxIiwidGl0bGUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwMiIsIm5hbWUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwMiIsImRlc2MiOiIiLCJpY29uIjoiIiwia2V5d29yZCI6IiIsImJhY2tncm91bmQiOiIjZmFmYWZhIiwiZGl5bWVudSI6Ii0xIn0sIml0ZW1zIjp7Ik0xNDY1ODA4NTU2MDAxIjp7InN0eWxlIjp7ImRvdHN0eWxlIjoicm91bmQiLCJkb3RhbGlnbiI6InJpZ2h0IiwiYmFja2dyb3VuZCI6IiNmZmZmZmYiLCJsZWZ0cmlnaHQiOiIxMCIsImJvdHRvbSI6Ij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anBnIiwicHJpY2UiOiIyMC4wMCIsInRpdGxlIjoiXHU4ZmQ5XHU5MWNjXHU2NjJmXHU1NTQ2XHU1NGMxXHU2ODA3XHU5ODk4IiwiZ2lkIjoiIn19LCJpZCI6Imdvb2RzIn0sIk0xNDY1ODg5Mzc3NDIzIjp7InBhcmFtcyI6eyJjb250ZW50IjoiUEhBZ2MzUjViR1U5SW5SbGVIUXRZV3hwWjI0NklHTmxiblJsY2pzaVB1V2J2dWVKaCthZHBlYTZrT1M2anVlOWtlZTduTys4ak9lSmlPYWRnK1c5a3VXT24rUzluT2lBaGVhSmdPYWNpVHd2Y0Q0PSJ9LCJzdHlsZSI6eyJiYWNrZ3JvdW5kIjoiI2ZmZmZmZiIsInBhZGRpbmciOiIyMCJ9LCJpZCI6InJpY2h0ZXh0In19fQ==', '../addons/ewei_shopv2/plugin/diypage/static/template/default2/preview.jpg', 2, 0, 0, 0);
  2155. INSERT INTO `ims_ewei_shop_diypage_template` VALUES (3, 0, 2, '系统模板03', 'eyJwYWdlIjp7InR5cGUiOiIyIiwidGl0bGUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwMyIsIm5hbWUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwMyIsImRlc2MiOiIiLCJpY29uIjoiIiwia2V5d29yZCI6IiIsImJhY2tncm91bmQiOiIjZmFmYWZhIiwiZGl5bWVudSI6Ii0xIn0sIml0ZW1zIjp7Ik0xNDY1ODA5MjQyOTc2Ijp7InN0eWxlIjp7ImRvdHN0eWxlIjoicm91bmQiLCJkb3RhbGlnbiI6ImxlZnQiLCJiYWNrZ3JvdW5kIjoiIzM0YmVkYyIsImxlZnRyaWdodCI6IjEwIiwiYm90dG9tIjoiMTAiLCJvcGFjaXR5IjoiMC43In0sImRhdGEiOnsiQzE0NjU4MDkyNDI5NzYiOnsiaW1nd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aG9wdjJcL3BsdWdpblwvZGl5cGFnZVwvc3RhdGljXC90ZW1wbGF0ZVwvZGVmYXVsdDZcL3BpY3R1cmVfNC5qcGciLCJsaW5rdXJsIjoiIn0sIk0xNDY1ODEyNjA1OTgwIjp7ImltZ3VybCI6Ii4uXC9hZGRvbnNcL2V3ZWlfc2hvcHYyXC9wbHVnaW5cL2RpeXBhZ2VcL3N0YXRpY1wvdGVtcGxhdGVcL2RlZmF1bHQ2XC9waWN0dXJlXzUuanBnIiwibGlua3VybCI6IiJ9LCJNMTQ2NTgxMjYwNzA0NSI6eyJpbWd1cmwiOiIuLlwvYWRkb25zXC9ld2VpX3Nob3B2MlwvcGx1Z2luXC9kaXlwYWdlXC9zdGF0aWNcL3RlbXBsYXRlXC9kZWZhdWx0NlwvcGljdHVyZV82LmpwZyIsImxpbmt1cmwiOiIifX0sImlkIjoicGljdHVyZSIsInN0eWxlIjp7InBhZGRpbmd0b3AiOiIwIiwicGFkZGluZ2xlZnQiOiIwIn19LCJNMTQ2NTg5MDE4NDY1MCI6eyJwYXJhbXMiOnsiY29udGVudCI6IlBIQWdjM1I1YkdVOUluUmxlSFF0WVd4cFoyNDZJR05sYm5SbGNqc2lQdVdidnVlSmgrYWRwZWE2a09TNmp1ZTlrZWU3bk8rOGpPZUppT2FkZytXOWt1V09uK1M5bk9pQWhlYUpnT2FjaVR3dmNEND0ifSwic3R5bGUiOnsiYmFja2dyb3VuZCI6IiNmZmZmZmYiLCJwYWRkaW5nIjoiMjAifSwiaWQiOiJyaWNodGV4dCJ9fX0=', '../addons/ewei_shopv2/plugin/diypage/static/template/default6/preview.jpg', 6, 0, 0, 0);
  2159. INSERT INTO `ims_ewei_shop_diypage_template` VALUES (7, 0, 2, '系统模板07', 'eyJwYWdlIjp7InR5cGUiOiIyIiwidGl0bGUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwNyIsIm5hbWUiOiJcdTMwMTB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U2ODA3XHU5ODk4IiwiZ2lkIjoiIn19LCJpZCI6Imdvb2RzIn0sIk0xNDY1ODg4ODMxMjc4Ijp7InBhcmFtcyI6eyJjb250ZW50IjoiUEhBZ2MzUjViR1U5SW5SbGVIUXRZV3hwWjI0NklHTmxiblJsY2pzaVB1V2J2dWVKaCthZHBlYTZrT1M2anVlOWtlZTduTys4ak9lSmlPYWRnK1c5a3VXT24rUzluT2lBaGVhSmdPYWNpVHd2Y0Q0PSJ9LCJzdHlsZSI6eyJiYWNrZ3JvdW5kIjoiI2ZmZmZmZiIsInBhZGRpbmciOiIyMCJ9LCJpZCI6InJpY2h0ZXh0In19fQ==', '../addons/ewei_shopv2/plugin/diypage/static/template/default8/preview.jpg', 8, 0, 0, 0);
  2161. INSERT INTO `ims_ewei_shop_diypage_template` VALUES (9, 0, 3, '会员中心01', 'eyJwYWdlIjp7InR5cGUiOiIzIiwidGl0bGUiOiJcdTRmMWFcdTU0NThcdTRlMmRcdTVmYzMiLCJuYW1lIjoiXHU0ZjFhXHU1NDU4XHU0ZTJkXHU1ZmMzIiwiZGVzYyI6IiIsImljb24iOiIiLCJrZXl3b3JkIjoiIiwiYmFja2dyb3VuZCI6IiNmYWZhZmEiLCJkaXltZW51IjoiMCIsImZvbGxvd2JhciI6IjAiLCJ2aXNpdCI6IjAiLCJ2aXNpdGxldmVsIjp7Im1lbWJlciI6IiIsImNvbW1pc3Npb24iOiIifSwibm92aXNpdCI6eyJ0aXRsZSI6IiIsImxpbmsiOiIifX0sIml0ZW1zIjp7Ik0xNDc0NTI2MTM0ODE0Ijp7InBhcmFtcyI6eyJzdHlsZSI6ImRlZmF1bHQxIiwibGV2ZWxsaW5rIjoiIiwic2V0aWNvbiI6Imljb24tc2V0dGluZ3MiLCJzZXRsaW5rIjoiIiwibGVmdG5hdiI6Ilx1NTE0NVx1NTAzYyIsImxlZnRuYXZsaW5rIjoiIiwicmlnaHRuYXYiOiJcdTUxNTFcdTYzNjIiLCJyaWdodG5hdmxpb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iIsImRvdG51bSI6IiJ9LCJDMTQ3NDUyNjMwNzI3MSI6eyJ0ZXh0IjoiXHU1ZTJlXHU1MmE5XHU0ZTJkXHU1ZmMzIiwibGlua3VybCI6IiIsImljb25jbGFzcyI6Imljb24tcXVlc3Rpb25maWxsIiwicmVtYXJrIjoiXHU2N2U1XHU3NzBiIiwiZG90bnVtIjoiIn19LCJpZCI6Imxpc3RtZW51In0sIk0xNDc0NTk3NzI2NTU2Ijp7InBhcmFtcyI6eyJiaW5kdXJsIjoiIiwibG9nb3V0dXJsIjoiIn0sInN0eWxlIjp7InRleHRjb2xvciI6IiNmZjAwMTEiLCJiYWNrZ3JvdW5kIjoiI2ZmZmZmZiIsIm1hcmdpbnRvcCI6IjEwIn0sImlkIjoibG9nb3V0In0sIk0xNDc0NTk3OTcxMjE4Ijp7InBhcmFtcyI6eyJjb250ZW50IjoiUEhBZ2MzUjViR1U5SW5SbGVIUXRZV3hwWjI0NklHTmxiblJsY2pzaVB1ZUppT2FkZythSmdPYWNpU0FvWXlrZ2VIaDQ1WldHNVorT1BDOXdQZz09In0sInN0eWxlIjp7ImJhY2tncm91bmQiOiIjZmZmZmZmIiwicGFkZGluZyI6IjIwIn0sImlkIjoicmljaHRleHQifX19', '../addons/ewei_shopv2/plugin/diypage/static/template/member1/preview.jpg', 9, 0, 0, 0);
  2162. INSERT INTO `ims_ewei_shop_diypage_template` VALUES (10, 0, 4, '分销中心01', 'eyJwYWdlIjp7InR5cGUiOiI0IiwidGl0bGUiOiJcdThiZjdcdThmOTNcdTUxNjVcdTk4NzVcdTk3NjJcdTY4MDdcdTk4OTgiLCJuYW1lIjoiXHU2NzJhXHU1NDdkXHU1NDBkXHU5ODc1XHU5NzYyIiwiZGVzYyI6IiIsImljb24iOiIiLCJrZXl3b3JkIjoiIiwiYmFja2dyb3VuZCI6IiNmYWZhZmEiLCJkaXltZW51IjoiLTEiLCJmb2xsb3diYXIiOiIwIiwidmlzaXQiOiIwIiwidmlzaXRsZXZlbCI6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iLCJ0ZXh0Y29sb3IiOiIjNjY2NjY2IiwibGlua3VybCI6IiIsInRpcG51bSI6IiIsInRpcHRleHQiOiIifX0sImlkIjoiYmxvY2tncm91cCJ9fX0=', '../addons/ewei_shopv2/plugin/diypage/static/template/commission1/preview.jpg', 10, 0, 0, 0);
  2163. INSERT INTO `ims_ewei_shop_diypage_template` VALUES (11, 0, 5, '商品详情', 'eyJwYWdlIjp7InR5cGUiOiI1IiwidGl0bGUiOiJcdTU1NDZcdTU0YzFcdThiZTZcdTYwYzUiLCJuYW1lIjoiXHU1NTQ2XHU1NGMxXHU4YmU2XHU2MGM1IiwiZGVzYyI6IiIsImljb24iOiIiLCJrZXl3b3JkIjoiIiwiYmFja2dyb3VuZCI6IiNmYWZhZmEiLCJkaXltZW51IjoiLTEiLCJmb2xsb3diYXIiOiIwIiwidmlzaXQiOiIwIiwidmlzaXRsZXZlbCI6eyJtZW1iZXIiOiIiLCJjb21taXNzaW9uIjoiIn0sIm5vdmlzaXQiOnsidGl0bGUiOiIiLCJsaW5rIjoiIn0sImRpeWxheWVyIjoiMSJ9LCJpdGVtcyI6eyJNMTQ3ODc4Mjg4ODAyOCI6eyJ0eXBlIjoiNSIsIm1heCI6IjEiLCJwYXJhbXMiOnsiZ29vZHN0ZXh0IjoiXHU1NTQ2XHU1NGMxIiwiZGV0YWlsdGV4dCI6Ilx1OGJlNlx1NjBjNSJ9LCJzdHlsZSI6eyJiYWNrZ3JvdW5kIjoiI2Y3ZjdmNyIsInRleHRjb2xvciI6IiM2NjY2NjYiLCJhY3RpdmVjb2xvciI6IiNlZjRmNGYifSwiaWQiOiJkZXRhaWxfdGFiIn0sIk0xNDc4NzgyODkwMTA3Ijp7InR5cGUiOiI1IiwibWF4IjoiMSIsInN0eWxlIjp7ImRvdHN0eWxlIjoicmVjdGFuZ2xlIiwiZG90YWxpZ24iOiJsZWZ0IiwiYmFja2dyb3VuZCI6IiNmZmZmZmYiLCJsZWZ0cmlnaHQiOiI1IiwiYm90dG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IiwibWF4IjoiMSIsInBhcmFtcyI6eyJoaWRlbGlrZSI6IjAiLCJoaWRlc2hvcCI6IjAiLCJoaWRlY2FydCI6IjAiLCJoaWRlY2FydGJ0biI6IjAiLCJ0ZXh0YnV5IjoiXHU3YWNiXHU1MjNiXHU4ZDJkXHU0ZTcwIiwiZ29vZHN0ZXh0IjoiXHU1NTQ2XHU1NGMxIiwibGlrZXRleHQiOiJcdTUxNzNcdTZjZTgiLCJsaWtlaWNvbmNsYXNzIjoiaWNvbi1saWtlIiwibGlrZWxpbmsiOiJpY29uLWxpa2UiLCJzaG9wdGV4dCI6Ilx1NWU5N1x1OTRmYSIsInNob3BpY29uY2xhc3MiOiJpY29uLXNob3AiLCJjYXJ0dGV4dCI6Ilx1OGQyZFx1NzI2OVx1OGY2NiIsImNhcnRpY29uY2xhc3MiOiJpY29uLWNhcnQifSwic3R5bGUiOnsiYmFja2dyb3VuZCI6IiNmZmZmZmYiLCJ0ZXh0Y29sb3IiOiIjOTk5OTk5IiwiaWNvbmNvbG9yIjoiIzk5OTk5OSIsImNhcnRjb2xvciI6IiNmZTk0MDIiLCJidXljb2xvciI6IiNmZDU1NTUiLCJkb3Rjb2xvciI6IiNmZjAwMTEifSwiaWQiOiJkZXRhaWxfbmF2YmFyIn19fQ==', '../addons/ewei_shopv2/plugin/diypage/static/template/detail1/preview.jpg', 11, 0, 0, 0);
  2164. INSERT INTO `ims_ewei_shop_diypage_template` VALUES (12, 0, 7, '整点秒杀', 'eyJwYWdlIjp7InR5cGUiOiI3IiwidGl0bGUiOiJcdTY1NzRcdTcwYjlcdTc5ZDJcdTY3NDAiLCJuYW1lIjoiXHU2NTc0XHU3MGI5XHU3OWQyXHU2NzQwIiwiZGVzYyI6IiIsImljb24iOiIiLCJrZXl3b3JkIjoiIiwiYmFja2dyb3VuZCI6IiNmYWZhZmEiLCJkaXltZW51IjoiLTEiLCJmb2xsb3diYXIiOiIwIiwidmlzaXQiOiIwIiwidmlzaXRsZXZlbCI6eyJt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icHJpY2UiOiIyMC4wMCIsInRpdGxlIjoiXHU4ZmQ5XHU5MWNjXHU2NjJmXHU1NTQ2XHU1NGMxXHU2ODA3XHU5ODk4IiwiZ2lkIjoiIiwiYmFyZ2FpbiI6IjAifSwiQzE0NzkyNjE2NTU5MjIiOnsidGh1bWIiOiIuLlwvYWRkb25zXC9ld2VpX3Nob3B2MlwvcGx1Z2luXC9kaXlwYWdlXC9zdGF0aWNcL2ltYWdlc1wvZGVmYXVsdFwvZ29vZHMtNC5qcGciLCJwcmljZSI6IjIwLjAwIiwidGl0bGUiOiJcdThmZDlcdTkxY2NcdTY2MmZcdTU1NDZcdTU0YzFcdTY4MDdcdTk4OTgiLCJnaWQiOiIiLCJiYXJnYWluIjoiMCJ9fSwiaWQiOiJnb29kcyJ9fX0=', '../addons/ewei_shopv2/plugin/diypage/static/template/creditshop/preview.png', 13, 0, 0, 0);
  2166. INSERT INTO `ims_ewei_shop_diypage_template` VALUES (14, 0, 8, '兑换中心', 'eyJwYWdlIjp7InR5cGUiOiI4IiwidGl0bGUiOiJcdTUxNTFcdTYzNjJcdTRlMmRcdTVmYzMiLCJuYW1lIjoiXHU1MTUxXHU2MzYyXHU0ZTJkXHU1ZmMzXHU2YTIxXHU2NzdmIiwiZGVzYyI6IiIsImljb24iOiIiLCJrZXl3b3JkIjoiIiwiYmFja2dyb3VuZCI6IiNmYWZhZmEiLCJkaXltZW51IjoiLTEiLCJkaXlsYXllciI6IjAiLCJkaXlnb3RvcCI6IjAiLCJmb2xsb3diYXIiOiIwIiwidmlzaXQiOiIwIiwidmlzaXRsZXZlbCI6eyJtZW1iZXIiOiIiLCJjb21taXNzaW9uIjoiIn0sIm5vdmlzaXQiOnsidGl0bGUiOiIiLCJsaW5rIjoiIn19LCJpdGVtcyI6eyJNMTQ4MjM3Mjk0MjA3NSI6eyJtYXgiOiIxIiwidHlwZSI6IjgiLCJwYXJhbXMiOnsiZGF0YXR5cGUiOiIwIn0sInN0eWxlIjp7ImRvdHN0eW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vb2RzdGl0bGUiOiIjNDQ0NDQ0IiwiZ29vZHNwcmljZSI6IiNhYWFhYWEifSwiaWQiOiJleGNoYW5nZV9pbnB1dCJ9LCJNMTQ4MjM3Mjk0MzE3MyI6eyJtYXgiOiIxIiwidHlwZSI6IjgiLCJwYXJhbXMiOnsicnVsZXRpdGxlIjoiXHU1MTUxXHU2MzYyXHU4OWM0XHU1MjE5In0sInN0eWxlIjp7InJ1bGV0aXRsZWNvbG9yIjoiIzU1NTU1NSJ9LCJpZCI6ImV4Y2hhbmdlX3J1bGUifX19', '../addons/ewei_shopv2/plugin/diypage/static/template/exchange/preview.png', 14, 0, 0, 0);
  2167. COMMIT;
  2168. -- ----------------------------
  2169. -- Table structure for ims_ewei_shop_diypage_template_category
  2170. -- ----------------------------
  2171. DROP TABLE IF EXISTS `ims_ewei_shop_diypage_template_category`;
  2172. CREATE TABLE `ims_ewei_shop_diypage_template_category` (
  2173. `id` int(11) NOT NULL AUTO_INCREMENT,
  2174. `uniacid` int(11) NOT NULL DEFAULT '0',
  2175. `name` varchar(255) NOT NULL DEFAULT '',
  2176. `merch` int(11) NOT NULL DEFAULT '0',
  2177. PRIMARY KEY (`id`),
  2178. KEY `idx_uniacid` (`uniacid`)
  2179. ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
  2180. -- ----------------------------
  2181. -- Table structure for ims_ewei_shop_exchange_cart
  2182. -- ----------------------------
  2183. DROP TABLE IF EXISTS `ims_ewei_shop_exchange_cart`;
  2184. CREATE TABLE `ims_ewei_shop_exchange_cart` (
  2185. `id` int(11) NOT NULL AUTO_INCREMENT,
  2186. `uniacid` int(11) DEFAULT NULL,
  2187. `openid` varchar(100) DEFAULT NULL,
  2188. `goodsid` int(11) DEFAULT NULL,
  2189. `total` int(10) DEFAULT '1',
  2190. `marketprice` decimal(10,2) DEFAULT NULL,
  2191. `optionid` int(11) DEFAULT NULL,
  2192. `selected` tinyint(1) DEFAULT '1',
  2193. `deleted` tinyint(1) DEFAULT '0',
  2194. `merchid` int(11) DEFAULT '0',
  2195. `title` varchar(255) DEFAULT NULL,
  2196. `groupid` int(11) DEFAULT NULL,
  2197. `serial` varchar(255) DEFAULT '',
  2198. PRIMARY KEY (`id`)
  2199. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  2200. -- ----------------------------
  2201. -- Table structure for ims_ewei_shop_exchange_code
  2202. -- ----------------------------
  2203. DROP TABLE IF EXISTS `ims_ewei_shop_exchange_code`;
  2204. CREATE TABLE `ims_ewei_shop_exchange_code` (
  2205. `id` int(11) NOT NULL AUTO_INCREMENT,
  2206. `groupid` int(11) NOT NULL DEFAULT '0',
  2207. `uniacid` int(11) NOT NULL DEFAULT '0',
  2208. `endtime` datetime NOT NULL DEFAULT '2016-10-01 00:00:00',
  2209. `status` int(2) NOT NULL DEFAULT '1',
  2210. `openid` varchar(255) NOT NULL DEFAULT '',
  2211. `count` int(11) NOT NULL DEFAULT '0',
  2212. `key` varchar(255) NOT NULL DEFAULT '',
  2213. `type` int(11) NOT NULL DEFAULT '0',
  2214. `scene` int(11) NOT NULL DEFAULT '0',
  2215. `qrcode_url` varchar(255) NOT NULL DEFAULT '',
  2216. `serial` varchar(255) NOT NULL DEFAULT '',
  2217. `balancestatus` int(11) DEFAULT '1',
  2218. `redstatus` int(11) DEFAULT '1',
  2219. `scorestatus` int(11) DEFAULT '1',
  2220. `couponstatus` int(11) DEFAULT '1',
  2221. `goodsstatus` int(11) DEFAULT NULL,
  2222. `repeatcount` int(11) NOT NULL DEFAULT '1',
  2223. PRIMARY KEY (`id`,`key`)
  2224. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  2225. -- ----------------------------
  2226. -- Table structure for ims_ewei_shop_exchange_group
  2227. -- ----------------------------
  2228. DROP TABLE IF EXISTS `ims_ewei_shop_exchange_group`;
  2229. CREATE TABLE `ims_ewei_shop_exchange_group` (
  2230. `id` int(11) NOT NULL AUTO_INCREMENT,
  2231. `title` varchar(255) NOT NULL DEFAULT '',
  2232. `type` int(2) NOT NULL DEFAULT '0',
  2233. `endtime` datetime NOT NULL DEFAULT '2016-10-01 00:00:00',
  2234. `mode` int(2) NOT NULL DEFAULT '0',
  2235. `status` int(2) NOT NULL DEFAULT '0',
  2236. `max` int(2) NOT NULL DEFAULT '0',
  2237. `value` decimal(10,2) NOT NULL DEFAULT '0.00',
  2238. `uniacid` int(11) NOT NULL DEFAULT '0',
  2239. `starttime` datetime NOT NULL DEFAULT '2016-10-01 00:00:00',
  2240. `goods` text,
  2241. `score` int(11) NOT NULL DEFAULT '0',
  2242. `coupon` text,
  2243. `use` int(11) NOT NULL DEFAULT '0',
  2244. `total` int(11) NOT NULL DEFAULT '0',
  2245. `red` decimal(10,2) NOT NULL DEFAULT '0.00',
  2246. `balance` decimal(10,2) NOT NULL DEFAULT '0.00',
  2247. `balance_left` decimal(10,2) NOT NULL DEFAULT '0.00',
  2248. `balance_right` decimal(10,2) NOT NULL DEFAULT '0.00',
  2249. `red_left` decimal(10,2) NOT NULL DEFAULT '0.00',
  2250. `red_right` decimal(10,2) NOT NULL DEFAULT '0.00',
  2251. `score_left` int(11) NOT NULL DEFAULT '0',
  2252. `score_right` int(11) NOT NULL DEFAULT '0',
  2253. `balance_type` int(11) NOT NULL,
  2254. `red_type` int(11) NOT NULL,
  2255. `score_type` int(11) NOT NULL,
  2256. `title_reply` varchar(255) NOT NULL DEFAULT '',
  2257. `img` varchar(255) NOT NULL DEFAULT '',
  2258. `content` varchar(255) NOT NULL DEFAULT '',
  2259. `rule` text NOT NULL,
  2260. `coupon_type` varchar(255) DEFAULT NULL,
  2261. `basic_content` varchar(500) NOT NULL DEFAULT '',
  2262. `reply_type` int(11) NOT NULL DEFAULT '0',
  2263. `code_type` int(11) NOT NULL DEFAULT '0',
  2264. `binding` int(11) NOT NULL DEFAULT '0',
  2265. `showcount` int(11) DEFAULT '0',
  2266. `postage` decimal(10,2) DEFAULT '0.00',
  2267. `postage_type` int(11) DEFAULT '0',
  2268. `banner` varchar(800) DEFAULT '',
  2269. `keyword_reply` int(11) DEFAULT '0',
  2270. `reply_status` int(11) DEFAULT '1',
  2271. `reply_keyword` varchar(255) DEFAULT '',
  2272. `input_banner` varchar(255) DEFAULT '',
  2273. `diypage` int(11) NOT NULL DEFAULT '0',
  2274. `sendname` varchar(255) DEFAULT '',
  2275. `wishing` varchar(255) DEFAULT '',
  2276. `actname` varchar(255) DEFAULT '',
  2277. `remark` varchar(255) DEFAULT '',
  2278. `repeat` tinyint(1) NOT NULL DEFAULT '0',
  2279. `koulingstart` varchar(255) NOT NULL DEFAULT '',
  2280. `koulingend` varchar(255) NOT NULL DEFAULT '',
  2281. `kouling` tinyint(1) NOT NULL DEFAULT '0',
  2282. `chufa` varchar(255) NOT NULL DEFAULT '',
  2283. `chufaend` varchar(255) NOT NULL DEFAULT '',
  2284. `goods_native` text,
  2285. PRIMARY KEY (`id`)
  2286. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  2287. -- ----------------------------
  2288. -- Table structure for ims_ewei_shop_exchange_query
  2289. -- ----------------------------
  2290. DROP TABLE IF EXISTS `ims_ewei_shop_exchange_query`;
  2291. CREATE TABLE `ims_ewei_shop_exchange_query` (
  2292. `id` int(11) NOT NULL AUTO_INCREMENT,
  2293. `uniacid` int(11) NOT NULL DEFAULT '0',
  2294. `openid` varchar(255) NOT NULL DEFAULT '',
  2295. `querykey` varchar(255) NOT NULL DEFAULT '',
  2296. `querytime` int(11) NOT NULL DEFAULT '0',
  2297. `unfreeze` int(11) NOT NULL DEFAULT '0',
  2298. `errorcount` int(11) NOT NULL DEFAULT '0',
  2299. PRIMARY KEY (`id`,`openid`)
  2300. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  2301. -- ----------------------------
  2302. -- Table structure for ims_ewei_shop_exchange_record
  2303. -- ----------------------------
  2304. DROP TABLE IF EXISTS `ims_ewei_shop_exchange_record`;
  2305. CREATE TABLE `ims_ewei_shop_exchange_record` (
  2306. `id` int(11) NOT NULL AUTO_INCREMENT,
  2307. `key` varchar(255) NOT NULL DEFAULT '',
  2308. `uniacid` int(11) DEFAULT NULL,
  2309. `goods` text,
  2310. `orderid` varchar(255) NOT NULL DEFAULT '',
  2311. `time` int(11) NOT NULL,
  2312. `openid` varchar(255) NOT NULL DEFAULT '',
  2313. `mode` int(11) NOT NULL DEFAULT '0',
  2314. `balance` decimal(10,2) DEFAULT '0.00',
  2315. `red` decimal(10,2) NOT NULL DEFAULT '0.00',
  2316. `coupon` text,
  2317. `score` int(11) NOT NULL DEFAULT '0',
  2318. `nickname` varchar(255) NOT NULL DEFAULT '',
  2319. `groupid` int(11) NOT NULL DEFAULT '0',
  2320. `title` varchar(255) NOT NULL DEFAULT '',
  2321. `serial` varchar(255) NOT NULL DEFAULT '',
  2322. `ordersn` varchar(255) NOT NULL DEFAULT '',
  2323. `goods_title` varchar(255) DEFAULT NULL,
  2324. PRIMARY KEY (`id`,`key`)
  2325. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  2326. -- ----------------------------
  2327. -- Table structure for ims_ewei_shop_exchange_setting
  2328. -- ----------------------------
  2329. DROP TABLE IF EXISTS `ims_ewei_shop_exchange_setting`;
  2330. CREATE TABLE `ims_ewei_shop_exchange_setting` (
  2331. `id` int(11) NOT NULL AUTO_INCREMENT,
  2332. `uniacid` int(11) NOT NULL DEFAULT '0',
  2333. `freeze` int(11) NOT NULL DEFAULT '0',
  2334. `mistake` int(11) NOT NULL DEFAULT '0',
  2335. `grouplimit` int(11) NOT NULL DEFAULT '0',
  2336. `alllimit` int(11) NOT NULL DEFAULT '0',
  2337. `no_qrimg` tinyint(3) NOT NULL DEFAULT '1',
  2338. `rule` text,
  2339. `coupon_templateid` varchar(60) NOT NULL DEFAULT '',
  2340. PRIMARY KEY (`id`,`uniacid`)
  2341. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
  2342. -- ----------------------------
  2343. -- Table structure for ims_ewei_shop_exhelper_esheet
  2344. -- ----------------------------
  2345. DROP TABLE IF EXISTS `ims_ewei_shop_exhelper_esheet`;
  2346. CREATE TABLE `ims_ewei_shop_exhelper_esheet` (
  2347. `id` int(11) NOT NULL AUTO_INCREMENT,
  2348. `name` varchar(50) NOT NULL DEFAULT '',
  2349. `express` varchar(50) DEFAULT '',
  2350. `code` varchar(20) NOT NULL DEFAULT '',
  2351. `datas` varchar(255) NOT NULL DEFAULT '',
  2352. PRIMARY KEY (`id`)
  2353. ) ENGINE=MyISAM AUTO_INCREMENT=24 DEFAULT CHARSET=utf8;
  2354. -- ----------------------------
  2355. -- Records of ims_ewei_shop_exhelper_esheet
  2356. -- ----------------------------
  2357. BEGIN;
  2358. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (1, '顺丰', '', 'SF', 'a:2:{i:0;a:4:{s:5:\"style\";s:9:\"二联150\";s:4:\"spec\";s:33:\"(宽100mm高150mm切点90/60)\";s:4:\"size\";s:3:\"150\";s:9:\"isdefault\";i:1;}i:1;a:4:{s:5:\"style\";s:9:\"三联210\";s:4:\"spec\";s:38:\"(宽100mm 高210mm 切点90/60/60)\";s:4:\"size\";s:3:\"210\";s:9:\"isdefault\";i:0;}}');
  2359. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (2, '百世快递', '', 'HTKY', 'a:2:{i:0;a:4:{s:5:\"style\";s:9:\"二联180\";s:4:\"spec\";s:34:\"(宽100mm高180mm切点110/70)\";s:4:\"size\";s:3:\"180\";s:9:\"isdefault\";i:0;}i:1;a:4:{s:5:\"style\";s:9:\"二联183\";s:4:\"spec\";s:37:\"(宽100mm 高183mm 切点87/5/91)\";s:4:\"size\";s:3:\"183\";s:9:\"isdefault\";i:1;}}');
  2360. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (3, '韵达', '', 'YD', 'a:2:{i:0;a:4:{s:5:\"style\";s:9:\"二联180\";s:4:\"spec\";s:34:\"(宽100mm高180mm切点110/70)\";s:4:\"size\";s:3:\"180\";s:9:\"isdefault\";i:0;}i:1;a:4:{s:5:\"style\";s:9:\"二联203\";s:4:\"spec\";s:36:\"(宽100mm 高203mm 切点152/51)\";s:4:\"size\";s:3:\"203\";s:9:\"isdefault\";i:1;}}');
  2361. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (4, '申通', '', 'STO', 'a:2:{i:0;a:4:{s:5:\"style\";s:9:\"二联180\";s:4:\"spec\";s:34:\"(宽100mm高180mm切点110/70)\";s:4:\"size\";s:3:\"180\";s:9:\"isdefault\";i:1;}i:1;a:4:{s:5:\"style\";s:9:\"二联150\";s:4:\"spec\";s:35:\"(宽100mm 高150mm 切点90/60)\";s:4:\"size\";s:3:\"150\";s:9:\"isdefault\";i:0;}}');
  2362. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (5, '圆通', '', 'YTO', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联180\";s:4:\"spec\";s:34:\"(宽100mm高180mm切点110/70)\";s:4:\"size\";s:3:\"180\";s:9:\"isdefault\";i:1;}}');
  2363. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (6, 'EMS', '', 'EMS', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联150\";s:4:\"spec\";s:33:\"(宽100mm高150mm切点90/60)\";s:4:\"size\";s:3:\"150\";s:9:\"isdefault\";i:1;}}');
  2364. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (7, '中通', '', 'ZTO', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联180\";s:4:\"spec\";s:34:\"(宽100mm高180mm切点110/70)\";s:4:\"size\";s:3:\"180\";s:9:\"isdefault\";i:1;}}');
  2365. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (8, '德邦', '', 'DBL', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联177\";s:4:\"spec\";s:34:\"(宽100mm高177mm切点107/70)\";s:4:\"size\";s:3:\"177\";s:9:\"isdefault\";i:1;}}');
  2366. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (9, '优速', '', 'UC', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联180\";s:4:\"spec\";s:34:\"(宽100mm高180mm切点110/70)\";s:4:\"size\";s:3:\"180\";s:9:\"isdefault\";i:1;}}');
  2367. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (10, '宅急送', '', 'ZJS', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联120\";s:4:\"spec\";s:33:\"(宽100mm高116mm切点98/10)\";s:4:\"size\";s:3:\"120\";s:9:\"isdefault\";i:1;}}');
  2368. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (11, '京东', '', 'JD', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联110\";s:4:\"spec\";s:33:\"(宽100mm高110mm切点60/50)\";s:4:\"size\";s:3:\"110\";s:9:\"isdefault\";i:1;}}');
  2369. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (12, '信丰', '', 'XFEX', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联150\";s:4:\"spec\";s:33:\"(宽100mm高150mm切点90/60)\";s:4:\"size\";s:3:\"150\";s:9:\"isdefault\";i:1;}}');
  2370. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (13, '全峰', '', 'QFKD', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联180\";s:4:\"spec\";s:34:\"(宽100mm高180mm切点110/70)\";s:4:\"size\";s:3:\"180\";s:9:\"isdefault\";i:1;}}');
  2371. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (14, '跨越速运', '', 'KYSY', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联137\";s:4:\"spec\";s:34:\"(宽100mm高137mm切点101/36)\";s:4:\"size\";s:3:\"137\";s:9:\"isdefault\";i:1;}}');
  2372. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (15, '安能', '', 'ANE', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"三联180\";s:4:\"spec\";s:37:\"(宽100mm高180mm切点110/30/40)\";s:4:\"size\";s:3:\"180\";s:9:\"isdefault\";i:1;}}');
  2373. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (16, '快捷', '', 'FAST', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联180\";s:4:\"spec\";s:34:\"(宽100mm高180mm切点110/70)\";s:4:\"size\";s:3:\"180\";s:9:\"isdefault\";i:1;}}');
  2374. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (17, '国通', '', 'GTO', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联180\";s:4:\"spec\";s:34:\"(宽100mm高180mm切点110/70)\";s:4:\"size\";s:3:\"180\";s:9:\"isdefault\";i:1;}}');
  2375. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (18, '天天', '', 'HHTT', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联180\";s:4:\"spec\";s:34:\"(宽100mm高180mm切点110/70)\";s:4:\"size\";s:3:\"180\";s:9:\"isdefault\";i:1;}}');
  2376. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (19, '中铁快运', '', 'ZTKY', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联150\";s:4:\"spec\";s:33:\"(宽100mm高150mm切点90/60)\";s:4:\"size\";s:3:\"150\";s:9:\"isdefault\";i:1;}}');
  2377. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES (20, '邮政快递包裹', '', 'YZPY', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联180\";s:4:\"spec\";s:34:\"(宽100mm高180mm切点110/70)\";s:4:\"size\";s:3:\"180\";s:9:\"isdefault\";i:1;}}');
  2378. COMMIT;
  2379. -- ----------------------------
  2380. -- Table structure for ims_ewei_shop_exhelper_esheet_temp
  2381. -- ----------------------------
  2382. DROP TABLE IF EXISTS `ims_ewei_shop_exhelper_esheet_temp`;
  2383. CREATE TABLE `ims_ewei_shop_exhelper_esheet_temp` (
  2384. `id` int(11) NOT NULL AUTO_INCREMENT,
  2385. `uniacid` int(11) DEFAULT '0',
  2386. `esheetid` int(11) NOT NULL DEFAULT '0',
  2387. `esheetname` varchar(255) NOT NULL DEFAULT '',
  2388. `customername` varchar(50) NOT NULL DEFAULT '',
  2389. `customerpwd` varchar(50) NOT NULL DEFAULT '',
  2390. `monthcode` varchar(50) NOT NULL DEFAULT '',
  2391. `sendsite` varchar(50) NOT NULL DEFAULT '',
  2392. `paytype` tinyint(3) NOT NULL DEFAULT '1',
  2393. `templatesize` varchar(10) NOT NULL DEFAULT '',
  2394. `isnotice` tinyint(3) NOT NULL DEFAULT '0',
  2395. `merchid` int(11) NOT NULL DEFAULT '0',
  2396. `issend` tinyint(3) NOT NULL DEFAULT '1',
  2397. `isdefault` tinyint(3) NOT NULL DEFAULT '0',
  2398. PRIMARY KEY (`id`),
  2399. KEY `idx_isdefault` (`isdefault`),
  2400. KEY `idx_uniacid` (`uniacid`)
  2401. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
  2402. -- ----------------------------
  2403. -- Table structure for ims_ewei_shop_exhelper_express
  2404. -- ----------------------------
  2405. DROP TABLE IF EXISTS `ims_ewei_shop_exhelper_express`;
  2406. CREATE TABLE `ims_ewei_shop_exhelper_express` (
  2407. `id` int(11) NOT NULL AUTO_INCREMENT,
  2408. `uniacid` int(11) DEFAULT '0',
  2409. `type` int(1) NOT NULL DEFAULT '1',
  2410. `expressname` varchar(255) DEFAULT '',
  2411. `expresscom` varchar(255) NOT NULL DEFAULT '',
  2412. `express` varchar(255) NOT NULL DEFAULT '',
  2413. `width` decimal(10,2) DEFAULT '0.00',
  2414. `datas` text,
  2415. `height` decimal(10,2) DEFAULT '0.00',
  2416. `bg` varchar(255) DEFAULT '',
  2417. `isdefault` tinyint(3) DEFAULT '0',
  2418. `merchid` int(11) DEFAULT '0',
  2419. PRIMARY KEY (`id`),
  2420. KEY `idx_uniacid` (`uniacid`),
  2421. KEY `idx_isdefault` (`isdefault`)
  2422. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
  2423. -- ----------------------------
  2424. -- Table structure for ims_ewei_shop_exhelper_senduser
  2425. -- ----------------------------
  2426. DROP TABLE IF EXISTS `ims_ewei_shop_exhelper_senduser`;
  2427. CREATE TABLE `ims_ewei_shop_exhelper_senduser` (
  2428. `id` int(11) NOT NULL AUTO_INCREMENT,
  2429. `uniacid` int(11) DEFAULT '0',
  2430. `sendername` varchar(255) DEFAULT '',
  2431. `sendertel` varchar(255) DEFAULT '',
  2432. `sendersign` varchar(255) DEFAULT '',
  2433. `sendercode` int(11) DEFAULT NULL,
  2434. `senderaddress` varchar(255) DEFAULT '',
  2435. `sendercity` varchar(255) DEFAULT NULL,
  2436. `isdefault` tinyint(3) DEFAULT '0',
  2437. `merchid` int(11) DEFAULT '0',
  2438. `province` varchar(30) NOT NULL DEFAULT '',
  2439. `city` varchar(30) NOT NULL DEFAULT '',
  2440. `area` varchar(30) NOT NULL DEFAULT '',
  2441. PRIMARY KEY (`id`),
  2442. KEY `idx_uniacid` (`uniacid`),
  2443. KEY `idx_isdefault` (`isdefault`)
  2444. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
  2445. -- ----------------------------
  2446. -- Table structure for ims_ewei_shop_exhelper_sys
  2447. -- ----------------------------
  2448. DROP TABLE IF EXISTS `ims_ewei_shop_exhelper_sys`;
  2449. CREATE TABLE `ims_ewei_shop_exhelper_sys` (
  2450. `id` int(11) NOT NULL AUTO_INCREMENT,
  2451. `uniacid` int(11) NOT NULL DEFAULT '0',
  2452. `ip` varchar(20) NOT NULL DEFAULT 'localhost',
  2453. `port` int(11) NOT NULL DEFAULT '8000',
  2454. `ip_cloud` varchar(255) NOT NULL DEFAULT '',
  2455. `port_cloud` int(11) NOT NULL DEFAULT '8000',
  2456. `is_cloud` int(1) NOT NULL DEFAULT '0',
  2457. `merchid` int(11) DEFAULT '0',
  2458. `ebusiness` varchar(20) NOT NULL DEFAULT '',
  2459. `apikey` varchar(50) NOT NULL DEFAULT '',
  2460. PRIMARY KEY (`id`)
  2461. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  2462. -- ----------------------------
  2463. -- Table structure for ims_ewei_shop_express
  2464. -- ----------------------------
  2465. DROP TABLE IF EXISTS `ims_ewei_shop_express`;
  2466. CREATE TABLE `ims_ewei_shop_express` (
  2467. `id` int(11) NOT NULL AUTO_INCREMENT,
  2468. `name` varchar(50) DEFAULT '',
  2469. `express` varchar(50) DEFAULT '',
  2470. `status` tinyint(1) DEFAULT '1',
  2471. `displayorder` tinyint(3) unsigned DEFAULT '0',
  2472. `code` varchar(30) NOT NULL DEFAULT '',
  2473. PRIMARY KEY (`id`)
  2474. ) ENGINE=MyISAM AUTO_INCREMENT=92 DEFAULT CHARSET=utf8;
  2475. -- ----------------------------
  2476. -- Records of ims_ewei_shop_express
  2477. -- ----------------------------
  2478. BEGIN;
  2479. INSERT INTO `ims_ewei_shop_express` VALUES (1, '顺丰', 'shunfeng', 1, 0, 'JH_014');
  2480. INSERT INTO `ims_ewei_shop_express` VALUES (2, '申通', 'shentong', 1, 0, 'JH_005');
  2481. INSERT INTO `ims_ewei_shop_express` VALUES (3, '韵达快运', 'yunda', 1, 0, 'JH_003');
  2482. INSERT INTO `ims_ewei_shop_express` VALUES (4, '天天快递', 'tiantian', 1, 0, 'JH_004');
  2483. INSERT INTO `ims_ewei_shop_express` VALUES (5, '圆通速递', 'yuantong', 1, 0, 'JH_002');
  2484. INSERT INTO `ims_ewei_shop_express` VALUES (6, '中通速递', 'zhongtong', 1, 0, 'JH_006');
  2485. INSERT INTO `ims_ewei_shop_express` VALUES (7, 'ems快递', 'ems', 1, 0, 'JH_001');
  2486. INSERT INTO `ims_ewei_shop_express` VALUES (8, '汇通快运', 'huitongkuaidi', 1, 0, 'JH_012');
  2487. INSERT INTO `ims_ewei_shop_express` VALUES (9, '全峰快递', 'quanfengkuaidi', 1, 0, 'JH_009');
  2488. INSERT INTO `ims_ewei_shop_express` VALUES (10, '宅急送', 'zhaijisong', 1, 0, 'JH_007');
  2489. INSERT INTO `ims_ewei_shop_express` VALUES (11, 'aae全球专递', 'aae', 1, 0, 'JHI_049');
  2490. INSERT INTO `ims_ewei_shop_express` VALUES (12, '安捷快递', 'anjie', 1, 0, '');
  2491. INSERT INTO `ims_ewei_shop_express` VALUES (13, '安信达快递', 'anxindakuaixi', 1, 0, 'JH_131');
  2492. INSERT INTO `ims_ewei_shop_express` VALUES (14, '彪记快递', 'biaojikuaidi', 1, 0, '');
  2493. INSERT INTO `ims_ewei_shop_express` VALUES (15, 'bht', 'bht', 1, 0, 'JHI_008');
  2494. INSERT INTO `ims_ewei_shop_express` VALUES (16, '百福东方国际物流', 'baifudongfang', 1, 0, 'JH_062');
  2495. INSERT INTO `ims_ewei_shop_express` VALUES (17, '中国东方(COE)', 'coe', 1, 0, 'JHI_038');
  2496. INSERT INTO `ims_ewei_shop_express` VALUES (18, '长宇物流', 'changyuwuliu', 1, 0, '');
  2497. INSERT INTO `ims_ewei_shop_express` VALUES (19, '大田物流', 'datianwuliu', 1, 0, 'JH_050');
  2498. INSERT INTO `ims_ewei_shop_express` VALUES (20, '德邦物流', 'debangwuliu', 1, 0, 'JH_011');
  2499. INSERT INTO `ims_ewei_shop_express` VALUES (21, 'dhl', 'dhl', 1, 0, 'JHI_002');
  2500. INSERT INTO `ims_ewei_shop_express` VALUES (22, 'dpex', 'dpex', 1, 0, 'JHI_011');
  2501. INSERT INTO `ims_ewei_shop_express` VALUES (23, 'd速快递', 'dsukuaidi', 1, 0, 'JH_049');
  2502. INSERT INTO `ims_ewei_shop_express` VALUES (24, '递四方', 'disifang', 1, 0, 'JHI_080');
  2503. INSERT INTO `ims_ewei_shop_express` VALUES (25, 'fedex(国外)', 'fedex', 1, 0, 'JHI_014');
  2504. INSERT INTO `ims_ewei_shop_express` VALUES (26, '飞康达物流', 'feikangda', 1, 0, 'JH_088');
  2505. INSERT INTO `ims_ewei_shop_express` VALUES (27, '凤凰快递', 'fenghuangkuaidi', 1, 0, '');
  2506. INSERT INTO `ims_ewei_shop_express` VALUES (28, '飞快达', 'feikuaida', 1, 0, 'JH_151');
  2507. INSERT INTO `ims_ewei_shop_express` VALUES (29, '国通快递', 'guotongkuaidi', 1, 0, 'JH_010');
  2508. INSERT INTO `ims_ewei_shop_express` VALUES (30, '港中能达物流', 'ganzhongnengda', 1, 0, 'JH_033');
  2509. INSERT INTO `ims_ewei_shop_express` VALUES (31, '广东邮政物流', 'guangdongyouzhengwuliu', 1, 0, 'JH_135');
  2510. INSERT INTO `ims_ewei_shop_express` VALUES (32, '共速达', 'gongsuda', 1, 0, 'JH_039');
  2511. INSERT INTO `ims_ewei_shop_express` VALUES (33, '恒路物流', 'hengluwuliu', 1, 0, 'JH_048');
  2512. INSERT INTO `ims_ewei_shop_express` VALUES (34, '华夏龙物流', 'huaxialongwuliu', 1, 0, 'JH_129');
  2513. INSERT INTO `ims_ewei_shop_express` VALUES (35, '海红', 'haihongwangsong', 1, 0, 'JH_132');
  2514. INSERT INTO `ims_ewei_shop_express` VALUES (36, '海外环球', 'haiwaihuanqiu', 1, 0, 'JHI_013');
  2515. INSERT INTO `ims_ewei_shop_express` VALUES (37, '佳怡物流', 'jiayiwuliu', 1, 0, 'JH_035');
  2516. INSERT INTO `ims_ewei_shop_express` VALUES (38, '京广速递', 'jinguangsudikuaijian', 1, 0, 'JH_041');
  2517. INSERT INTO `ims_ewei_shop_express` VALUES (39, '急先达', 'jixianda', 1, 0, 'JH_040');
  2518. INSERT INTO `ims_ewei_shop_express` VALUES (40, '佳吉物流', 'jjwl', 1, 0, '');
  2519. INSERT INTO `ims_ewei_shop_express` VALUES (41, '加运美物流', 'jymwl', 1, 0, 'JH_054');
  2520. INSERT INTO `ims_ewei_shop_express` VALUES (42, '金大物流', 'jindawuliu', 1, 0, 'JH_079');
  2521. INSERT INTO `ims_ewei_shop_express` VALUES (43, '嘉里大通', 'jialidatong', 1, 0, 'JH_060');
  2522. INSERT INTO `ims_ewei_shop_express` VALUES (44, '晋越快递', 'jykd', 1, 0, 'JHI_046');
  2523. INSERT INTO `ims_ewei_shop_express` VALUES (45, '快捷速递', 'kuaijiesudi', 1, 0, 'JH_008');
  2524. INSERT INTO `ims_ewei_shop_express` VALUES (46, '联邦快递(国内)', 'lianb', 1, 0, 'JH_122');
  2525. INSERT INTO `ims_ewei_shop_express` VALUES (47, '联昊通物流', 'lianhaowuliu', 1, 0, 'JH_021');
  2526. INSERT INTO `ims_ewei_shop_express` VALUES (48, '龙邦物流', 'longbanwuliu', 1, 0, 'JH_019');
  2527. INSERT INTO `ims_ewei_shop_express` VALUES (49, '立即送', 'lijisong', 1, 0, 'JH_044');
  2528. INSERT INTO `ims_ewei_shop_express` VALUES (50, '乐捷递', 'lejiedi', 1, 0, 'JH_043');
  2529. INSERT INTO `ims_ewei_shop_express` VALUES (51, '民航快递', 'minghangkuaidi', 1, 0, 'JH_100');
  2530. INSERT INTO `ims_ewei_shop_express` VALUES (52, '美国快递', 'meiguokuaidi', 1, 0, 'JHI_044');
  2531. INSERT INTO `ims_ewei_shop_express` VALUES (53, '门对门', 'menduimen', 1, 0, 'JH_036');
  2532. INSERT INTO `ims_ewei_shop_express` VALUES (54, 'OCS', 'ocs', 1, 0, 'JHI_012');
  2533. INSERT INTO `ims_ewei_shop_express` VALUES (55, '配思货运', 'peisihuoyunkuaidi', 1, 0, '');
  2534. INSERT INTO `ims_ewei_shop_express` VALUES (56, '全晨快递', 'quanchenkuaidi', 1, 0, 'JH_055');
  2535. INSERT INTO `ims_ewei_shop_express` VALUES (57, '全际通物流', 'quanjitong', 1, 0, 'JH_127');
  2536. INSERT INTO `ims_ewei_shop_express` VALUES (58, '全日通快递', 'quanritongkuaidi', 1, 0, 'JH_029');
  2537. INSERT INTO `ims_ewei_shop_express` VALUES (59, '全一快递', 'quanyikuaidi', 1, 0, 'JH_020');
  2538. INSERT INTO `ims_ewei_shop_express` VALUES (60, '如风达', 'rufengda', 1, 0, 'JH_017');
  2539. INSERT INTO `ims_ewei_shop_express` VALUES (61, '三态速递', 'santaisudi', 1, 0, 'JH_065');
  2540. INSERT INTO `ims_ewei_shop_express` VALUES (62, '盛辉物流', 'shenghuiwuliu', 1, 0, 'JH_066');
  2541. INSERT INTO `ims_ewei_shop_express` VALUES (63, '速尔物流', 'sue', 1, 0, 'JH_016');
  2542. INSERT INTO `ims_ewei_shop_express` VALUES (64, '盛丰物流', 'shengfeng', 1, 0, 'JH_082');
  2543. INSERT INTO `ims_ewei_shop_express` VALUES (65, '赛澳递', 'saiaodi', 1, 0, 'JH_042');
  2544. INSERT INTO `ims_ewei_shop_express` VALUES (66, '天地华宇', 'tiandihuayu', 1, 0, 'JH_018');
  2545. INSERT INTO `ims_ewei_shop_express` VALUES (67, 'tnt', 'tnt', 1, 0, 'JHI_003');
  2546. INSERT INTO `ims_ewei_shop_express` VALUES (68, 'ups', 'ups', 1, 0, 'JHI_004');
  2547. INSERT INTO `ims_ewei_shop_express` VALUES (69, '万家物流', 'wanjiawuliu', 1, 0, '');
  2548. INSERT INTO `ims_ewei_shop_express` VALUES (70, '文捷航空速递', 'wenjiesudi', 1, 0, '');
  2549. INSERT INTO `ims_ewei_shop_express` VALUES (71, '伍圆', 'wuyuan', 1, 0, '');
  2550. INSERT INTO `ims_ewei_shop_express` VALUES (72, '万象物流', 'wxwl', 1, 0, 'JH_115');
  2551. INSERT INTO `ims_ewei_shop_express` VALUES (73, '新邦物流', 'xinbangwuliu', 1, 0, 'JH_022');
  2552. INSERT INTO `ims_ewei_shop_express` VALUES (74, '信丰物流', 'xinfengwuliu', 1, 0, 'JH_023');
  2553. INSERT INTO `ims_ewei_shop_express` VALUES (75, '亚风速递', 'yafengsudi', 1, 0, 'JH_075');
  2554. INSERT INTO `ims_ewei_shop_express` VALUES (76, '一邦速递', 'yibangwuliu', 1, 0, 'JH_064');
  2555. INSERT INTO `ims_ewei_shop_express` VALUES (77, '优速物流', 'youshuwuliu', 1, 0, 'JH_013');
  2556. INSERT INTO `ims_ewei_shop_express` VALUES (78, '邮政包裹挂号信', 'youzhengguonei', 1, 0, 'JH_077');
  2557. INSERT INTO `ims_ewei_shop_express` VALUES (79, '邮政国际包裹挂号信', 'youzhengguoji', 1, 0, '');
  2558. INSERT INTO `ims_ewei_shop_express` VALUES (80, '远成物流', 'yuanchengwuliu', 1, 0, 'JH_024');
  2559. INSERT INTO `ims_ewei_shop_express` VALUES (81, '源伟丰快递', 'yuanweifeng', 1, 0, 'JH_141');
  2560. INSERT INTO `ims_ewei_shop_express` VALUES (82, '元智捷诚快递', 'yuanzhijiecheng', 1, 0, 'JH_126');
  2561. INSERT INTO `ims_ewei_shop_express` VALUES (83, '运通快递', 'yuntongkuaidi', 1, 0, 'JH_145');
  2562. INSERT INTO `ims_ewei_shop_express` VALUES (84, '越丰物流', 'yuefengwuliu', 1, 0, 'JH_068');
  2563. INSERT INTO `ims_ewei_shop_express` VALUES (85, '源安达', 'yad', 1, 0, 'JH_067');
  2564. INSERT INTO `ims_ewei_shop_express` VALUES (86, '银捷速递', 'yinjiesudi', 1, 0, 'JH_148');
  2565. INSERT INTO `ims_ewei_shop_express` VALUES (87, '中铁快运', 'zhongtiekuaiyun', 1, 0, 'JH_015');
  2566. INSERT INTO `ims_ewei_shop_express` VALUES (88, '中邮物流', 'zhongyouwuliu', 1, 0, 'JH_027');
  2567. INSERT INTO `ims_ewei_shop_express` VALUES (89, '忠信达', 'zhongxinda', 1, 0, 'JH_086');
  2568. INSERT INTO `ims_ewei_shop_express` VALUES (90, '芝麻开门', 'zhimakaimen', 1, 0, 'JH_026');
  2569. INSERT INTO `ims_ewei_shop_express` VALUES (91, '安能物流', 'annengwuliu', 1, 0, 'JH_059');
  2570. COMMIT;
  2571. -- ----------------------------
  2572. -- Table structure for ims_ewei_shop_express_cache
  2573. -- ----------------------------
  2574. DROP TABLE IF EXISTS `ims_ewei_shop_express_cache`;
  2575. CREATE TABLE `ims_ewei_shop_express_cache` (
  2576. `id` int(11) NOT NULL AUTO_INCREMENT,
  2577. `expresssn` varchar(50) DEFAULT NULL,
  2578. `express` varchar(50) DEFAULT NULL,
  2579. `lasttime` int(11) NOT NULL,
  2580. `datas` text,
  2581. PRIMARY KEY (`id`),
  2582. KEY `idx_expresssn` (`expresssn`),
  2583. KEY `idx_express` (`express`)
  2584. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2585. -- ----------------------------
  2586. -- Table structure for ims_ewei_shop_feedback
  2587. -- ----------------------------
  2588. DROP TABLE IF EXISTS `ims_ewei_shop_feedback`;
  2589. CREATE TABLE `ims_ewei_shop_feedback` (
  2590. `id` int(11) NOT NULL AUTO_INCREMENT,
  2591. `uniacid` int(11) DEFAULT '0',
  2592. `openid` varchar(50) DEFAULT '0',
  2593. `type` tinyint(1) DEFAULT '1',
  2594. `status` tinyint(1) DEFAULT '0',
  2595. `feedbackid` varchar(100) DEFAULT '',
  2596. `transid` varchar(100) DEFAULT '',
  2597. `reason` varchar(1000) DEFAULT '',
  2598. `solution` varchar(1000) DEFAULT '',
  2599. `remark` varchar(1000) DEFAULT '',
  2600. `createtime` int(11) DEFAULT '0',
  2601. PRIMARY KEY (`id`),
  2602. KEY `idx_uniacid` (`uniacid`),
  2603. KEY `idx_feedbackid` (`feedbackid`),
  2604. KEY `idx_createtime` (`createtime`),
  2605. KEY `idx_transid` (`transid`)
  2606. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2607. -- ----------------------------
  2608. -- Table structure for ims_ewei_shop_form
  2609. -- ----------------------------
  2610. DROP TABLE IF EXISTS `ims_ewei_shop_form`;
  2611. CREATE TABLE `ims_ewei_shop_form` (
  2612. `id` int(11) NOT NULL AUTO_INCREMENT,
  2613. `uniacid` int(11) DEFAULT '0',
  2614. `displayorder` int(11) DEFAULT '0',
  2615. `isrequire` tinyint(3) DEFAULT '0',
  2616. `key` varchar(255) DEFAULT '',
  2617. `title` varchar(255) DEFAULT '',
  2618. `type` varchar(255) DEFAULT '',
  2619. `values` text,
  2620. `cate` int(11) DEFAULT '0',
  2621. PRIMARY KEY (`id`)
  2622. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2623. -- ----------------------------
  2624. -- Table structure for ims_ewei_shop_form_category
  2625. -- ----------------------------
  2626. DROP TABLE IF EXISTS `ims_ewei_shop_form_category`;
  2627. CREATE TABLE `ims_ewei_shop_form_category` (
  2628. `id` int(11) NOT NULL AUTO_INCREMENT,
  2629. `uniacid` int(11) DEFAULT '0',
  2630. `name` varchar(255) DEFAULT '',
  2631. PRIMARY KEY (`id`)
  2632. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2633. -- ----------------------------
  2634. -- Table structure for ims_ewei_shop_fullback_goods
  2635. -- ----------------------------
  2636. DROP TABLE IF EXISTS `ims_ewei_shop_fullback_goods`;
  2637. CREATE TABLE `ims_ewei_shop_fullback_goods` (
  2638. `id` int(11) NOT NULL AUTO_INCREMENT,
  2639. `uniacid` int(11) NOT NULL DEFAULT '0',
  2640. `type` tinyint(3) NOT NULL DEFAULT '0',
  2641. `goodsid` int(11) NOT NULL DEFAULT '0',
  2642. `titles` varchar(255) NOT NULL,
  2643. `thumb` varchar(255) NOT NULL,
  2644. `marketprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  2645. `minallfullbackallprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  2646. `maxallfullbackallprice` decimal(10,2) NOT NULL,
  2647. `minallfullbackallratio` decimal(10,2) DEFAULT NULL,
  2648. `maxallfullbackallratio` decimal(10,2) DEFAULT NULL,
  2649. `day` int(11) NOT NULL DEFAULT '0',
  2650. `fullbackprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  2651. `fullbackratio` decimal(10,2) DEFAULT NULL,
  2652. `status` tinyint(3) NOT NULL DEFAULT '0',
  2653. `displayorder` int(11) NOT NULL DEFAULT '0',
  2654. `hasoption` tinyint(3) NOT NULL DEFAULT '0',
  2655. `optionid` text NOT NULL,
  2656. `startday` int(11) NOT NULL DEFAULT '0',
  2657. `refund` tinyint(3) NOT NULL DEFAULT '0',
  2658. PRIMARY KEY (`id`)
  2659. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
  2660. -- ----------------------------
  2661. -- Table structure for ims_ewei_shop_fullback_log
  2662. -- ----------------------------
  2663. DROP TABLE IF EXISTS `ims_ewei_shop_fullback_log`;
  2664. CREATE TABLE `ims_ewei_shop_fullback_log` (
  2665. `id` int(11) NOT NULL AUTO_INCREMENT,
  2666. `uniacid` int(11) NOT NULL,
  2667. `openid` varchar(50) NOT NULL,
  2668. `orderid` int(11) NOT NULL,
  2669. `price` decimal(10,2) NOT NULL,
  2670. `priceevery` decimal(10,2) NOT NULL,
  2671. `day` int(10) NOT NULL,
  2672. `fullbackday` int(10) NOT NULL,
  2673. `createtime` int(10) NOT NULL,
  2674. `fullbacktime` int(10) NOT NULL,
  2675. `isfullback` tinyint(3) NOT NULL DEFAULT '0',
  2676. `goodsid` int(11) NOT NULL DEFAULT '0',
  2677. PRIMARY KEY (`id`)
  2678. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  2679. -- ----------------------------
  2680. -- Table structure for ims_ewei_shop_funbar
  2681. -- ----------------------------
  2682. DROP TABLE IF EXISTS `ims_ewei_shop_funbar`;
  2683. CREATE TABLE `ims_ewei_shop_funbar` (
  2684. `id` int(11) NOT NULL AUTO_INCREMENT,
  2685. `uid` int(11) NOT NULL DEFAULT '0',
  2686. `datas` text,
  2687. `uniacid` int(11) NOT NULL DEFAULT '0',
  2688. PRIMARY KEY (`id`)
  2689. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  2690. -- ----------------------------
  2691. -- Table structure for ims_ewei_shop_gift
  2692. -- ----------------------------
  2693. DROP TABLE IF EXISTS `ims_ewei_shop_gift`;
  2694. CREATE TABLE `ims_ewei_shop_gift` (
  2695. `id` int(11) NOT NULL AUTO_INCREMENT,
  2696. `uniacid` int(11) NOT NULL DEFAULT '0',
  2697. `title` varchar(255) NOT NULL,
  2698. `thumb` varchar(255) NOT NULL,
  2699. `activity` tinyint(3) NOT NULL DEFAULT '1',
  2700. `orderprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  2701. `goodsid` varchar(255) NOT NULL,
  2702. `giftgoodsid` varchar(255) NOT NULL,
  2703. `starttime` int(11) NOT NULL DEFAULT '0',
  2704. `endtime` int(11) NOT NULL DEFAULT '0',
  2705. `status` tinyint(3) NOT NULL DEFAULT '0',
  2706. `displayorder` int(11) NOT NULL DEFAULT '0',
  2707. `share_title` varchar(255) NOT NULL,
  2708. `share_icon` varchar(255) NOT NULL,
  2709. `share_desc` text NOT NULL,
  2710. PRIMARY KEY (`id`)
  2711. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  2712. -- ----------------------------
  2713. -- Table structure for ims_ewei_shop_globonus_bill
  2714. -- ----------------------------
  2715. DROP TABLE IF EXISTS `ims_ewei_shop_globonus_bill`;
  2716. CREATE TABLE `ims_ewei_shop_globonus_bill` (
  2717. `id` int(11) NOT NULL AUTO_INCREMENT,
  2718. `uniacid` int(11) DEFAULT '0',
  2719. `billno` varchar(100) DEFAULT '',
  2720. `paytype` int(11) DEFAULT '0',
  2721. `year` int(11) DEFAULT '0',
  2722. `month` int(11) DEFAULT '0',
  2723. `week` int(11) DEFAULT '0',
  2724. `ordercount` int(11) DEFAULT '0',
  2725. `ordermoney` decimal(10,2) DEFAULT '0.00',
  2726. `bonusmoney` decimal(10,2) DEFAULT '0.00',
  2727. `bonusmoney_send` decimal(10,2) DEFAULT '0.00',
  2728. `bonusmoney_pay` decimal(10,2) DEFAULT '0.00',
  2729. `paytime` int(11) DEFAULT '0',
  2730. `partnercount` int(11) DEFAULT '0',
  2731. `createtime` int(11) DEFAULT '0',
  2732. `status` tinyint(3) DEFAULT '0',
  2733. `starttime` int(11) DEFAULT '0',
  2734. `endtime` int(11) DEFAULT '0',
  2735. `confirmtime` int(11) DEFAULT '0',
  2736. `bonusordermoney` decimal(10,2) DEFAULT '0.00',
  2737. `bonusrate` decimal(10,2) DEFAULT '0.00',
  2738. PRIMARY KEY (`id`),
  2739. KEY `idx_uniacid` (`uniacid`),
  2740. KEY `idx_paytype` (`paytype`),
  2741. KEY `idx_createtime` (`createtime`),
  2742. KEY `idx_paytime` (`paytime`),
  2743. KEY `idx_status` (`status`),
  2744. KEY `idx_month` (`month`),
  2745. KEY `idx_week` (`week`),
  2746. KEY `idx_year` (`year`)
  2747. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2748. -- ----------------------------
  2749. -- Table structure for ims_ewei_shop_globonus_billo
  2750. -- ----------------------------
  2751. DROP TABLE IF EXISTS `ims_ewei_shop_globonus_billo`;
  2752. CREATE TABLE `ims_ewei_shop_globonus_billo` (
  2753. `id` int(11) NOT NULL AUTO_INCREMENT,
  2754. `uniacid` int(11) DEFAULT '0',
  2755. `billid` int(11) DEFAULT '0',
  2756. `orderid` int(11) DEFAULT '0',
  2757. `ordermoney` decimal(10,2) DEFAULT '0.00',
  2758. PRIMARY KEY (`id`),
  2759. KEY `idx_billid` (`billid`),
  2760. KEY `idx_uniacid` (`uniacid`)
  2761. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2762. -- ----------------------------
  2763. -- Table structure for ims_ewei_shop_globonus_billp
  2764. -- ----------------------------
  2765. DROP TABLE IF EXISTS `ims_ewei_shop_globonus_billp`;
  2766. CREATE TABLE `ims_ewei_shop_globonus_billp` (
  2767. `id` int(11) NOT NULL AUTO_INCREMENT,
  2768. `uniacid` int(11) DEFAULT '0',
  2769. `billid` int(11) DEFAULT '0',
  2770. `openid` varchar(255) DEFAULT '',
  2771. `payno` varchar(255) DEFAULT '',
  2772. `paytype` tinyint(3) DEFAULT '0',
  2773. `bonus` decimal(10,2) DEFAULT '0.00',
  2774. `money` decimal(10,2) DEFAULT '0.00',
  2775. `realmoney` decimal(10,2) DEFAULT '0.00',
  2776. `paymoney` decimal(10,2) DEFAULT '0.00',
  2777. `charge` decimal(10,2) DEFAULT '0.00',
  2778. `chargemoney` decimal(10,2) DEFAULT '0.00',
  2779. `status` tinyint(3) DEFAULT '0',
  2780. `reason` varchar(255) DEFAULT '',
  2781. `paytime` int(11) DEFAULT '0',
  2782. PRIMARY KEY (`id`),
  2783. KEY `idx_billid` (`billid`),
  2784. KEY `idx_uniacid` (`uniacid`)
  2785. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2786. -- ----------------------------
  2787. -- Table structure for ims_ewei_shop_globonus_level
  2788. -- ----------------------------
  2789. DROP TABLE IF EXISTS `ims_ewei_shop_globonus_level`;
  2790. CREATE TABLE `ims_ewei_shop_globonus_level` (
  2791. `id` int(11) NOT NULL AUTO_INCREMENT,
  2792. `uniacid` int(11) NOT NULL,
  2793. `levelname` varchar(50) DEFAULT '',
  2794. `bonus` decimal(10,4) DEFAULT '0.0000',
  2795. `ordermoney` decimal(10,2) DEFAULT '0.00',
  2796. `ordercount` int(11) DEFAULT '0',
  2797. `commissionmoney` decimal(10,2) DEFAULT '0.00',
  2798. `bonusmoney` decimal(10,2) DEFAULT '0.00',
  2799. `downcount` int(11) DEFAULT '0',
  2800. PRIMARY KEY (`id`),
  2801. KEY `idx_uniacid` (`uniacid`)
  2802. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
  2803. -- ----------------------------
  2804. -- Table structure for ims_ewei_shop_goods
  2805. -- ----------------------------
  2806. DROP TABLE IF EXISTS `ims_ewei_shop_goods`;
  2807. CREATE TABLE `ims_ewei_shop_goods` (
  2808. `id` int(11) NOT NULL AUTO_INCREMENT,
  2809. `uniacid` int(11) DEFAULT '0',
  2810. `pcate` int(11) DEFAULT '0',
  2811. `ccate` int(11) DEFAULT '0',
  2812. `type` tinyint(1) DEFAULT '1',
  2813. `status` tinyint(1) DEFAULT '1',
  2814. `displayorder` int(11) DEFAULT '0',
  2815. `title` varchar(100) DEFAULT '',
  2816. `thumb` varchar(255) DEFAULT '',
  2817. `unit` varchar(5) DEFAULT '',
  2818. `description` varchar(1000) DEFAULT NULL,
  2819. `content` text,
  2820. `goodssn` varchar(50) DEFAULT '',
  2821. `productsn` varchar(50) DEFAULT '',
  2822. `productprice` decimal(10,2) DEFAULT '0.00',
  2823. `marketprice` decimal(10,2) DEFAULT '0.00',
  2824. `costprice` decimal(10,2) DEFAULT '0.00',
  2825. `originalprice` decimal(10,2) DEFAULT '0.00',
  2826. `total` int(10) DEFAULT '0',
  2827. `totalcnf` int(11) DEFAULT '0',
  2828. `sales` int(11) DEFAULT '0',
  2829. `salesreal` int(11) DEFAULT '0',
  2830. `spec` varchar(5000) DEFAULT '',
  2831. `createtime` int(11) DEFAULT '0',
  2832. `weight` decimal(10,2) DEFAULT '0.00',
  2833. `credit` varchar(255) DEFAULT NULL,
  2834. `maxbuy` int(11) DEFAULT '0',
  2835. `usermaxbuy` int(11) DEFAULT '0',
  2836. `hasoption` int(11) DEFAULT '0',
  2837. `dispatch` int(11) DEFAULT '0',
  2838. `thumb_url` text,
  2839. `isnew` tinyint(1) DEFAULT '0',
  2840. `ishot` tinyint(1) DEFAULT '0',
  2841. `isdiscount` tinyint(1) DEFAULT '0',
  2842. `isrecommand` tinyint(1) DEFAULT '0',
  2843. `issendfree` tinyint(1) DEFAULT '0',
  2844. `istime` tinyint(1) DEFAULT '0',
  2845. `iscomment` tinyint(1) DEFAULT '0',
  2846. `timestart` int(11) DEFAULT '0',
  2847. `timeend` int(11) DEFAULT '0',
  2848. `viewcount` int(11) DEFAULT '0',
  2849. `deleted` tinyint(3) DEFAULT '0',
  2850. `hascommission` tinyint(3) DEFAULT '0',
  2851. `commission1_rate` decimal(10,2) DEFAULT '0.00',
  2852. `commission1_pay` decimal(10,2) DEFAULT '0.00',
  2853. `commission2_rate` decimal(10,2) DEFAULT '0.00',
  2854. `commission2_pay` decimal(10,2) DEFAULT '0.00',
  2855. `commission3_rate` decimal(10,2) DEFAULT '0.00',
  2856. `commission3_pay` decimal(10,2) DEFAULT '0.00',
  2857. `score` decimal(10,2) DEFAULT '0.00',
  2858. `taobaoid` varchar(255) DEFAULT '',
  2859. `taotaoid` varchar(255) DEFAULT '',
  2860. `taobaourl` varchar(255) DEFAULT '',
  2861. `updatetime` int(11) DEFAULT '0',
  2862. `share_title` varchar(255) DEFAULT '',
  2863. `share_icon` varchar(255) DEFAULT '',
  2864. `cash` tinyint(3) DEFAULT '0',
  2865. `commission_thumb` varchar(255) DEFAULT '',
  2866. `isnodiscount` tinyint(3) DEFAULT '0',
  2867. `showlevels` text,
  2868. `buylevels` text,
  2869. `showgroups` text,
  2870. `buygroups` text,
  2871. `isverify` tinyint(3) DEFAULT '0',
  2872. `storeids` text,
  2873. `noticeopenid` varchar(255) DEFAULT '',
  2874. `tcate` int(11) DEFAULT '0',
  2875. `noticetype` text,
  2876. `needfollow` tinyint(3) DEFAULT '0',
  2877. `followtip` varchar(255) DEFAULT '',
  2878. `followurl` varchar(255) DEFAULT '',
  2879. `deduct` decimal(10,2) DEFAULT '0.00',
  2880. `virtual` int(11) DEFAULT '0',
  2881. `ccates` text,
  2882. `discounts` text,
  2883. `nocommission` tinyint(3) DEFAULT '0',
  2884. `hidecommission` tinyint(3) DEFAULT '0',
  2885. `pcates` text,
  2886. `tcates` text,
  2887. `cates` text,
  2888. `artid` int(11) DEFAULT '0',
  2889. `detail_logo` varchar(255) DEFAULT '',
  2890. `detail_shopname` varchar(255) DEFAULT '',
  2891. `detail_btntext1` varchar(255) DEFAULT '',
  2892. `detail_btnurl1` varchar(255) DEFAULT '',
  2893. `detail_btntext2` varchar(255) DEFAULT '',
  2894. `detail_btnurl2` varchar(255) DEFAULT '',
  2895. `detail_totaltitle` varchar(255) DEFAULT '',
  2896. `saleupdate42392` tinyint(3) DEFAULT '0',
  2897. `deduct2` decimal(10,2) DEFAULT '0.00',
  2898. `ednum` int(11) DEFAULT '0',
  2899. `edmoney` decimal(10,2) DEFAULT '0.00',
  2900. `edareas` text,
  2901. `diyformtype` tinyint(1) DEFAULT '0',
  2902. `diyformid` int(11) DEFAULT '0',
  2903. `diymode` tinyint(1) DEFAULT '0',
  2904. `dispatchtype` tinyint(1) DEFAULT '0',
  2905. `dispatchid` int(11) DEFAULT '0',
  2906. `dispatchprice` decimal(10,2) DEFAULT '0.00',
  2907. `manydeduct` tinyint(1) DEFAULT '0',
  2908. `shorttitle` varchar(255) DEFAULT '',
  2909. `isdiscount_title` varchar(255) DEFAULT '',
  2910. `isdiscount_time` int(11) DEFAULT '0',
  2911. `isdiscount_discounts` text,
  2912. `commission` text,
  2913. `saleupdate37975` tinyint(3) DEFAULT '0',
  2914. `shopid` int(11) DEFAULT '0',
  2915. `allcates` text,
  2916. `minbuy` int(11) DEFAULT '0',
  2917. `invoice` tinyint(3) DEFAULT '0',
  2918. `repair` tinyint(3) DEFAULT '0',
  2919. `seven` tinyint(3) DEFAULT '0',
  2920. `money` varchar(255) DEFAULT '',
  2921. `minprice` decimal(10,2) DEFAULT '0.00',
  2922. `maxprice` decimal(10,2) DEFAULT '0.00',
  2923. `province` varchar(255) DEFAULT '',
  2924. `city` varchar(255) DEFAULT '',
  2925. `buyshow` tinyint(1) DEFAULT '0',
  2926. `buycontent` text,
  2927. `saleupdate51117` tinyint(3) DEFAULT '0',
  2928. `virtualsend` tinyint(1) DEFAULT '0',
  2929. `virtualsendcontent` text,
  2930. `verifytype` tinyint(1) DEFAULT '0',
  2931. `diyfields` text,
  2932. `diysaveid` int(11) DEFAULT '0',
  2933. `diysave` tinyint(1) DEFAULT '0',
  2934. `quality` tinyint(3) DEFAULT '0',
  2935. `groupstype` tinyint(1) unsigned NOT NULL DEFAULT '0',
  2936. `showtotal` tinyint(1) unsigned NOT NULL DEFAULT '0',
  2937. `subtitle` varchar(255) DEFAULT '',
  2938. `minpriceupdated` tinyint(1) DEFAULT '0',
  2939. `sharebtn` tinyint(1) NOT NULL DEFAULT '0',
  2940. `catesinit3` text,
  2941. `showtotaladd` tinyint(1) DEFAULT '0',
  2942. `merchid` int(11) DEFAULT '0',
  2943. `checked` tinyint(3) DEFAULT '0',
  2944. `thumb_first` tinyint(3) DEFAULT '0',
  2945. `merchsale` tinyint(1) DEFAULT '0',
  2946. `keywords` varchar(255) DEFAULT '',
  2947. `catch_id` varchar(255) DEFAULT '',
  2948. `catch_url` varchar(255) DEFAULT '',
  2949. `catch_source` varchar(255) DEFAULT '',
  2950. `saleupdate40170` tinyint(3) DEFAULT '0',
  2951. `saleupdate35843` tinyint(3) DEFAULT '0',
  2952. `labelname` text,
  2953. `autoreceive` int(11) DEFAULT '0',
  2954. `cannotrefund` tinyint(3) DEFAULT '0',
  2955. `saleupdate33219` tinyint(3) DEFAULT '0',
  2956. `bargain` int(11) DEFAULT '0',
  2957. `buyagain` decimal(10,2) DEFAULT '0.00',
  2958. `buyagain_islong` tinyint(1) DEFAULT '0',
  2959. `buyagain_condition` tinyint(1) DEFAULT '0',
  2960. `buyagain_sale` tinyint(1) DEFAULT '0',
  2961. `buyagain_commission` text,
  2962. `saleupdate32484` tinyint(3) DEFAULT '0',
  2963. `saleupdate36586` tinyint(3) DEFAULT '0',
  2964. `diypage` int(11) DEFAULT NULL,
  2965. `cashier` tinyint(1) DEFAULT '0',
  2966. `saleupdate53481` tinyint(3) DEFAULT '0',
  2967. `saleupdate30424` tinyint(3) DEFAULT '0',
  2968. `isendtime` tinyint(3) NOT NULL DEFAULT '0',
  2969. `usetime` int(11) NOT NULL DEFAULT '0',
  2970. `endtime` int(11) NOT NULL DEFAULT '0',
  2971. `merchdisplayorder` int(11) NOT NULL DEFAULT '0',
  2972. `exchange_stock` int(11) DEFAULT '0',
  2973. `exchange_postage` decimal(10,2) NOT NULL DEFAULT '0.00',
  2974. `ispresell` tinyint(3) NOT NULL DEFAULT '0',
  2975. `presellprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  2976. `presellover` tinyint(3) NOT NULL DEFAULT '0',
  2977. `presellovertime` int(11) NOT NULL,
  2978. `presellstart` tinyint(3) NOT NULL DEFAULT '0',
  2979. `preselltimestart` int(11) NOT NULL DEFAULT '0',
  2980. `presellend` tinyint(3) NOT NULL DEFAULT '0',
  2981. `preselltimeend` int(11) NOT NULL DEFAULT '0',
  2982. `presellsendtype` tinyint(3) NOT NULL DEFAULT '0',
  2983. `presellsendstatrttime` int(11) NOT NULL DEFAULT '0',
  2984. `presellsendtime` int(11) NOT NULL DEFAULT '0',
  2985. `edareas_code` text NOT NULL,
  2986. `unite_total` tinyint(3) NOT NULL DEFAULT '0',
  2987. `buyagain_price` decimal(10,2) DEFAULT '0.00',
  2988. `threen` varchar(255) DEFAULT '',
  2989. `intervalfloor` tinyint(1) DEFAULT '0',
  2990. `intervalprice` varchar(512) DEFAULT '',
  2991. `isfullback` tinyint(3) NOT NULL DEFAULT '0',
  2992. `isstatustime` tinyint(3) NOT NULL DEFAULT '0',
  2993. `statustimestart` int(10) NOT NULL DEFAULT '0',
  2994. `statustimeend` int(10) NOT NULL DEFAULT '0',
  2995. `nosearch` tinyint(1) NOT NULL DEFAULT '0',
  2996. `showsales` tinyint(3) NOT NULL DEFAULT '1',
  2997. `islive` int(11) NOT NULL DEFAULT '0',
  2998. `liveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  2999. `opencard` tinyint(1) DEFAULT '0',
  3000. `cardid` varchar(255) DEFAULT '',
  3001. `verifygoodsnum` int(11) DEFAULT '1',
  3002. `verifygoodsdays` int(11) DEFAULT '1',
  3003. `verifygoodslimittype` tinyint(1) DEFAULT '0',
  3004. `verifygoodslimitdate` int(11) DEFAULT '0',
  3005. `minliveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  3006. `maxliveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  3007. `dowpayment` decimal(10,2) NOT NULL DEFAULT '0.00',
  3008. `tempid` int(11) NOT NULL DEFAULT '0',
  3009. `isstoreprice` tinyint(11) NOT NULL DEFAULT '0',
  3010. `beforehours` int(11) NOT NULL DEFAULT '0',
  3011. `saleupdate` tinyint(3) DEFAULT '0',
  3012. `newgoods` tinyint(3) NOT NULL DEFAULT '0',
  3013. `video` varchar(512) DEFAULT '',
  3014. `officthumb` varchar(512) DEFAULT '',
  3015. `verifygoodstype` tinyint(1) NOT NULL DEFAULT '0',
  3016. `isforceverifystore` tinyint(1) NOT NULL DEFAULT '0',
  3017. PRIMARY KEY (`id`),
  3018. KEY `idx_uniacid` (`uniacid`),
  3019. KEY `idx_pcate` (`pcate`),
  3020. KEY `idx_ccate` (`ccate`),
  3021. KEY `idx_isnew` (`isnew`),
  3022. KEY `idx_ishot` (`ishot`),
  3023. KEY `idx_isdiscount` (`isdiscount`),
  3024. KEY `idx_isrecommand` (`isrecommand`),
  3025. KEY `idx_iscomment` (`iscomment`),
  3026. KEY `idx_issendfree` (`issendfree`),
  3027. KEY `idx_istime` (`istime`),
  3028. KEY `idx_deleted` (`deleted`),
  3029. KEY `idx_tcate` (`tcate`),
  3030. KEY `idx_scate` (`tcate`),
  3031. KEY `idx_merchid` (`merchid`),
  3032. KEY `idx_checked` (`checked`),
  3033. KEY `idx_productsn` (`productsn`),
  3034. FULLTEXT KEY `idx_buylevels` (`buylevels`),
  3035. FULLTEXT KEY `idx_showgroups` (`showgroups`),
  3036. FULLTEXT KEY `idx_buygroups` (`buygroups`)
  3037. ) ENGINE=MyISAM AUTO_INCREMENT=7488 DEFAULT CHARSET=utf8;
  3038. -- ----------------------------
  3039. -- Table structure for ims_ewei_shop_goods_cards
  3040. -- ----------------------------
  3041. DROP TABLE IF EXISTS `ims_ewei_shop_goods_cards`;
  3042. CREATE TABLE `ims_ewei_shop_goods_cards` (
  3043. `id` int(11) NOT NULL AUTO_INCREMENT,
  3044. `uniacid` int(11) DEFAULT NULL,
  3045. `card_id` varchar(255) DEFAULT NULL,
  3046. `card_title` varchar(255) DEFAULT NULL,
  3047. `card_brand_name` varchar(255) DEFAULT NULL,
  3048. `card_totalquantity` int(11) DEFAULT NULL,
  3049. `card_quantity` int(11) DEFAULT NULL,
  3050. `card_logoimg` varchar(255) DEFAULT NULL,
  3051. `card_logowxurl` varchar(255) DEFAULT NULL,
  3052. `card_backgroundtype` tinyint(1) DEFAULT NULL,
  3053. `color` varchar(255) DEFAULT NULL,
  3054. `card_backgroundimg` varchar(255) DEFAULT NULL,
  3055. `card_backgroundwxurl` varchar(255) DEFAULT NULL,
  3056. `prerogative` varchar(255) DEFAULT NULL,
  3057. `card_description` varchar(255) DEFAULT NULL,
  3058. `freewifi` tinyint(1) DEFAULT NULL,
  3059. `withpet` tinyint(1) DEFAULT NULL,
  3060. `freepark` tinyint(1) DEFAULT NULL,
  3061. `deliver` tinyint(1) DEFAULT NULL,
  3062. `custom_cell1` tinyint(1) DEFAULT NULL,
  3063. `custom_cell1_name` varchar(255) DEFAULT NULL,
  3064. `custom_cell1_tips` varchar(255) DEFAULT NULL,
  3065. `custom_cell1_url` varchar(255) DEFAULT NULL,
  3066. `color2` varchar(20) DEFAULT '',
  3067. PRIMARY KEY (`id`)
  3068. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3069. -- ----------------------------
  3070. -- Table structure for ims_ewei_shop_goods_comment
  3071. -- ----------------------------
  3072. DROP TABLE IF EXISTS `ims_ewei_shop_goods_comment`;
  3073. CREATE TABLE `ims_ewei_shop_goods_comment` (
  3074. `id` int(11) NOT NULL AUTO_INCREMENT,
  3075. `uniacid` int(11) DEFAULT '0',
  3076. `goodsid` int(10) DEFAULT '0',
  3077. `openid` varchar(50) DEFAULT '',
  3078. `nickname` varchar(50) DEFAULT '',
  3079. `headimgurl` varchar(255) DEFAULT '',
  3080. `content` varchar(255) DEFAULT '',
  3081. `createtime` int(11) DEFAULT '0',
  3082. PRIMARY KEY (`id`),
  3083. KEY `idx_uniacid` (`uniacid`),
  3084. KEY `idx_goodsid` (`goodsid`),
  3085. KEY `idx_openid` (`openid`),
  3086. KEY `idx_createtime` (`createtime`)
  3087. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3088. -- ----------------------------
  3089. -- Table structure for ims_ewei_shop_goods_group
  3090. -- ----------------------------
  3091. DROP TABLE IF EXISTS `ims_ewei_shop_goods_group`;
  3092. CREATE TABLE `ims_ewei_shop_goods_group` (
  3093. `id` int(11) NOT NULL AUTO_INCREMENT,
  3094. `uniacid` int(11) NOT NULL DEFAULT '0',
  3095. `name` varchar(255) NOT NULL DEFAULT '',
  3096. `goodsids` text NOT NULL,
  3097. `enabled` tinyint(1) NOT NULL DEFAULT '0',
  3098. `merchid` int(11) NOT NULL DEFAULT '0',
  3099. PRIMARY KEY (`id`),
  3100. KEY `idx_uniacid` (`uniacid`),
  3101. KEY `idx_enabled` (`enabled`)
  3102. ) ENGINE=MyISAM AUTO_INCREMENT=44 DEFAULT CHARSET=utf8;
  3103. -- ----------------------------
  3104. -- Table structure for ims_ewei_shop_goods_label
  3105. -- ----------------------------
  3106. DROP TABLE IF EXISTS `ims_ewei_shop_goods_label`;
  3107. CREATE TABLE `ims_ewei_shop_goods_label` (
  3108. `id` int(11) NOT NULL AUTO_INCREMENT,
  3109. `uniacid` int(11) NOT NULL DEFAULT '0',
  3110. `label` varchar(255) NOT NULL DEFAULT '',
  3111. `labelname` text NOT NULL,
  3112. `status` tinyint(3) NOT NULL DEFAULT '0',
  3113. `displayorder` int(11) NOT NULL DEFAULT '0',
  3114. PRIMARY KEY (`id`)
  3115. ) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  3116. -- ----------------------------
  3117. -- Table structure for ims_ewei_shop_goods_labelstyle
  3118. -- ----------------------------
  3119. DROP TABLE IF EXISTS `ims_ewei_shop_goods_labelstyle`;
  3120. CREATE TABLE `ims_ewei_shop_goods_labelstyle` (
  3121. `id` int(11) NOT NULL AUTO_INCREMENT,
  3122. `uniacid` int(11) NOT NULL,
  3123. `style` int(3) NOT NULL,
  3124. PRIMARY KEY (`id`)
  3125. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
  3126. -- ----------------------------
  3127. -- Table structure for ims_ewei_shop_goods_option
  3128. -- ----------------------------
  3129. DROP TABLE IF EXISTS `ims_ewei_shop_goods_option`;
  3130. CREATE TABLE `ims_ewei_shop_goods_option` (
  3131. `id` int(11) NOT NULL AUTO_INCREMENT,
  3132. `uniacid` int(11) DEFAULT '0',
  3133. `goodsid` int(10) DEFAULT '0',
  3134. `title` varchar(50) DEFAULT '',
  3135. `thumb` varchar(60) DEFAULT '',
  3136. `productprice` decimal(10,2) DEFAULT '0.00',
  3137. `marketprice` decimal(10,2) DEFAULT '0.00',
  3138. `costprice` decimal(10,2) DEFAULT '0.00',
  3139. `stock` int(11) DEFAULT '0',
  3140. `weight` decimal(10,2) DEFAULT '0.00',
  3141. `displayorder` int(11) DEFAULT '0',
  3142. `specs` text,
  3143. `skuId` varchar(255) DEFAULT '',
  3144. `goodssn` varchar(255) DEFAULT '',
  3145. `productsn` varchar(255) DEFAULT '',
  3146. `virtual` int(11) DEFAULT '0',
  3147. `exchange_stock` int(11) DEFAULT '0',
  3148. `exchange_postage` decimal(10,2) NOT NULL DEFAULT '0.00',
  3149. `presellprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  3150. `day` int(3) NOT NULL,
  3151. `allfullbackprice` decimal(10,2) NOT NULL,
  3152. `fullbackprice` decimal(10,2) NOT NULL,
  3153. `allfullbackratio` decimal(10,2) DEFAULT NULL,
  3154. `fullbackratio` decimal(10,2) DEFAULT NULL,
  3155. `isfullback` tinyint(3) NOT NULL,
  3156. `islive` int(11) NOT NULL,
  3157. `liveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  3158. `cycelbuy_periodic` varchar(20) NOT NULL DEFAULT '',
  3159. PRIMARY KEY (`id`),
  3160. KEY `idx_uniacid` (`uniacid`),
  3161. KEY `idx_goodsid` (`goodsid`),
  3162. KEY `idx_displayorder` (`displayorder`),
  3163. KEY `idx_productsn` (`productsn`)
  3164. ) ENGINE=MyISAM AUTO_INCREMENT=47642 DEFAULT CHARSET=utf8;
  3165. -- ----------------------------
  3166. -- Table structure for ims_ewei_shop_goods_param
  3167. -- ----------------------------
  3168. DROP TABLE IF EXISTS `ims_ewei_shop_goods_param`;
  3169. CREATE TABLE `ims_ewei_shop_goods_param` (
  3170. `id` int(11) NOT NULL AUTO_INCREMENT,
  3171. `uniacid` int(11) DEFAULT '0',
  3172. `goodsid` int(10) DEFAULT '0',
  3173. `title` varchar(50) DEFAULT '',
  3174. `value` text,
  3175. `displayorder` int(11) DEFAULT '0',
  3176. PRIMARY KEY (`id`),
  3177. KEY `idx_uniacid` (`uniacid`),
  3178. KEY `idx_goodsid` (`goodsid`),
  3179. KEY `idx_displayorder` (`displayorder`)
  3180. ) ENGINE=MyISAM AUTO_INCREMENT=71496 DEFAULT CHARSET=utf8;
  3181. -- ----------------------------
  3182. -- Table structure for ims_ewei_shop_goods_spec
  3183. -- ----------------------------
  3184. DROP TABLE IF EXISTS `ims_ewei_shop_goods_spec`;
  3185. CREATE TABLE `ims_ewei_shop_goods_spec` (
  3186. `id` int(11) NOT NULL AUTO_INCREMENT,
  3187. `uniacid` int(11) DEFAULT '0',
  3188. `goodsid` int(11) DEFAULT '0',
  3189. `title` varchar(50) DEFAULT '',
  3190. `description` varchar(1000) DEFAULT '',
  3191. `displaytype` tinyint(3) DEFAULT '0',
  3192. `content` text,
  3193. `displayorder` int(11) DEFAULT '0',
  3194. `propId` varchar(255) DEFAULT '',
  3195. `iscycelbuy` tinyint(1) NOT NULL DEFAULT '0',
  3196. PRIMARY KEY (`id`),
  3197. KEY `idx_uniacid` (`uniacid`),
  3198. KEY `idx_goodsid` (`goodsid`),
  3199. KEY `idx_displayorder` (`displayorder`)
  3200. ) ENGINE=MyISAM AUTO_INCREMENT=6974 DEFAULT CHARSET=utf8;
  3201. -- ----------------------------
  3202. -- Table structure for ims_ewei_shop_goods_spec_item
  3203. -- ----------------------------
  3204. DROP TABLE IF EXISTS `ims_ewei_shop_goods_spec_item`;
  3205. CREATE TABLE `ims_ewei_shop_goods_spec_item` (
  3206. `id` int(11) NOT NULL AUTO_INCREMENT,
  3207. `uniacid` int(11) DEFAULT '0',
  3208. `specid` int(11) DEFAULT '0',
  3209. `title` varchar(255) DEFAULT '',
  3210. `thumb` varchar(255) DEFAULT '',
  3211. `show` int(11) DEFAULT '0',
  3212. `displayorder` int(11) DEFAULT '0',
  3213. `valueId` varchar(255) DEFAULT '',
  3214. `virtual` int(11) DEFAULT '0',
  3215. `cycelbuy_periodic` varchar(20) NOT NULL DEFAULT '',
  3216. PRIMARY KEY (`id`),
  3217. KEY `idx_uniacid` (`uniacid`),
  3218. KEY `idx_specid` (`specid`),
  3219. KEY `idx_show` (`show`),
  3220. KEY `idx_displayorder` (`displayorder`)
  3221. ) ENGINE=MyISAM AUTO_INCREMENT=25790 DEFAULT CHARSET=utf8;
  3222. -- ----------------------------
  3223. -- Table structure for ims_ewei_shop_goodscode_good
  3224. -- ----------------------------
  3225. DROP TABLE IF EXISTS `ims_ewei_shop_goodscode_good`;
  3226. CREATE TABLE `ims_ewei_shop_goodscode_good` (
  3227. `id` int(11) NOT NULL AUTO_INCREMENT,
  3228. `uniacid` int(11) NOT NULL,
  3229. `goodsid` int(11) NOT NULL,
  3230. `title` varchar(255) NOT NULL,
  3231. `thumb` varchar(255) NOT NULL,
  3232. `qrcode` varchar(255) NOT NULL,
  3233. `status` tinyint(3) NOT NULL,
  3234. `displayorder` int(11) NOT NULL,
  3235. PRIMARY KEY (`id`)
  3236. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3237. -- ----------------------------
  3238. -- Table structure for ims_ewei_shop_groups_adv
  3239. -- ----------------------------
  3240. DROP TABLE IF EXISTS `ims_ewei_shop_groups_adv`;
  3241. CREATE TABLE `ims_ewei_shop_groups_adv` (
  3242. `id` int(11) NOT NULL AUTO_INCREMENT,
  3243. `uniacid` int(11) DEFAULT '0',
  3244. `advname` varchar(50) DEFAULT '',
  3245. `link` varchar(255) DEFAULT '',
  3246. `thumb` varchar(255) DEFAULT '',
  3247. `displayorder` int(11) DEFAULT '0',
  3248. `enabled` int(11) DEFAULT '0',
  3249. PRIMARY KEY (`id`),
  3250. KEY `idx_uniacid` (`uniacid`),
  3251. KEY `idx_enabled` (`enabled`),
  3252. KEY `idx_displayorder` (`displayorder`)
  3253. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
  3254. -- ----------------------------
  3255. -- Table structure for ims_ewei_shop_groups_category
  3256. -- ----------------------------
  3257. DROP TABLE IF EXISTS `ims_ewei_shop_groups_category`;
  3258. CREATE TABLE `ims_ewei_shop_groups_category` (
  3259. `id` int(11) NOT NULL AUTO_INCREMENT,
  3260. `uniacid` int(11) DEFAULT '0',
  3261. `name` varchar(50) DEFAULT NULL,
  3262. `thumb` varchar(255) DEFAULT NULL,
  3263. `displayorder` tinyint(3) unsigned DEFAULT '0',
  3264. `enabled` tinyint(1) DEFAULT '1',
  3265. `advimg` varchar(255) DEFAULT '',
  3266. `advurl` varchar(500) DEFAULT '',
  3267. `isrecommand` tinyint(3) DEFAULT '0',
  3268. PRIMARY KEY (`id`),
  3269. KEY `idx_uniacid` (`uniacid`),
  3270. KEY `idx_displayorder` (`displayorder`),
  3271. KEY `idx_enabled` (`enabled`),
  3272. KEY `idx_name` (`name`)
  3273. ) ENGINE=MyISAM AUTO_INCREMENT=24 DEFAULT CHARSET=utf8;
  3274. -- ----------------------------
  3275. -- Table structure for ims_ewei_shop_groups_goods
  3276. -- ----------------------------
  3277. DROP TABLE IF EXISTS `ims_ewei_shop_groups_goods`;
  3278. CREATE TABLE `ims_ewei_shop_groups_goods` (
  3279. `id` int(11) NOT NULL AUTO_INCREMENT,
  3280. `displayorder` int(11) unsigned DEFAULT '0',
  3281. `uniacid` int(11) DEFAULT '0',
  3282. `title` varchar(255) NOT NULL DEFAULT '',
  3283. `category` int(11) DEFAULT NULL,
  3284. `stock` int(11) NOT NULL DEFAULT '0',
  3285. `price` decimal(10,2) DEFAULT '0.00',
  3286. `groupsprice` decimal(10,2) DEFAULT '0.00',
  3287. `singleprice` decimal(10,2) DEFAULT '0.00',
  3288. `goodsnum` int(11) NOT NULL DEFAULT '1',
  3289. `units` varchar(255) NOT NULL DEFAULT '件',
  3290. `freight` decimal(10,2) DEFAULT '0.00',
  3291. `endtime` int(11) unsigned NOT NULL DEFAULT '0',
  3292. `groupnum` int(10) NOT NULL DEFAULT '0',
  3293. `sales` int(10) NOT NULL DEFAULT '0',
  3294. `thumb` varchar(255) DEFAULT '',
  3295. `description` varchar(1000) DEFAULT NULL,
  3296. `content` text,
  3297. `createtime` int(11) unsigned NOT NULL DEFAULT '0',
  3298. `status` tinyint(3) NOT NULL DEFAULT '0',
  3299. `ishot` tinyint(3) NOT NULL DEFAULT '0',
  3300. `deleted` tinyint(3) NOT NULL DEFAULT '0',
  3301. `goodsid` int(11) NOT NULL DEFAULT '0',
  3302. `followneed` tinyint(2) NOT NULL DEFAULT '0',
  3303. `followtext` varchar(255) DEFAULT NULL,
  3304. `share_title` varchar(255) DEFAULT NULL,
  3305. `share_icon` varchar(255) DEFAULT NULL,
  3306. `share_desc` varchar(500) DEFAULT NULL,
  3307. `goodssn` varchar(50) DEFAULT NULL,
  3308. `productsn` varchar(50) DEFAULT NULL,
  3309. `showstock` tinyint(2) NOT NULL,
  3310. `purchaselimit` int(11) NOT NULL DEFAULT '0',
  3311. `single` tinyint(2) NOT NULL DEFAULT '0',
  3312. `dispatchtype` tinyint(2) NOT NULL,
  3313. `dispatchid` int(11) NOT NULL,
  3314. `isindex` tinyint(3) NOT NULL DEFAULT '0',
  3315. `followurl` varchar(255) DEFAULT NULL,
  3316. `deduct` decimal(10,2) NOT NULL DEFAULT '0.00',
  3317. `rights` tinyint(2) NOT NULL DEFAULT '1',
  3318. `thumb_url` text,
  3319. `gid` int(11) DEFAULT '0',
  3320. `discount` tinyint(3) DEFAULT '0',
  3321. `headstype` tinyint(3) DEFAULT NULL,
  3322. `headsmoney` decimal(10,2) DEFAULT '0.00',
  3323. `headsdiscount` int(11) DEFAULT '0',
  3324. `isdiscount` tinyint(3) DEFAULT '0',
  3325. `isverify` tinyint(3) DEFAULT '0',
  3326. `verifytype` tinyint(3) DEFAULT '0',
  3327. `verifynum` int(11) DEFAULT '0',
  3328. `storeids` text,
  3329. `merchid` int(11) DEFAULT '0',
  3330. `shorttitle` varchar(255) DEFAULT '',
  3331. `teamnum` int(11) DEFAULT '0',
  3332. `more_spec` tinyint(1) DEFAULT '0',
  3333. `is_ladder` tinyint(1) DEFAULT '0',
  3334. PRIMARY KEY (`id`),
  3335. KEY `idx_uniacid` (`uniacid`),
  3336. KEY `idx_type` (`category`),
  3337. KEY `idx_createtime` (`createtime`),
  3338. KEY `idx_status` (`status`),
  3339. KEY `idx_istop` (`isindex`),
  3340. KEY `idx_category` (`category`),
  3341. KEY `idx_dispatchid` (`dispatchid`)
  3342. ) ENGINE=MyISAM AUTO_INCREMENT=26 DEFAULT CHARSET=utf8;
  3343. -- ----------------------------
  3344. -- Table structure for ims_ewei_shop_groups_goods_atlas
  3345. -- ----------------------------
  3346. DROP TABLE IF EXISTS `ims_ewei_shop_groups_goods_atlas`;
  3347. CREATE TABLE `ims_ewei_shop_groups_goods_atlas` (
  3348. `id` int(11) NOT NULL AUTO_INCREMENT,
  3349. `g_id` int(11) NOT NULL,
  3350. `thumb` varchar(145) NOT NULL,
  3351. PRIMARY KEY (`id`)
  3352. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3353. -- ----------------------------
  3354. -- Table structure for ims_ewei_shop_groups_goods_option
  3355. -- ----------------------------
  3356. DROP TABLE IF EXISTS `ims_ewei_shop_groups_goods_option`;
  3357. CREATE TABLE `ims_ewei_shop_groups_goods_option` (
  3358. `id` int(11) NOT NULL AUTO_INCREMENT,
  3359. `uniacid` int(11) DEFAULT NULL,
  3360. `goodsid` int(11) DEFAULT '0',
  3361. `groups_goods_id` int(255) DEFAULT '0',
  3362. `goods_option_id` int(11) DEFAULT '0',
  3363. `title` varchar(255) DEFAULT NULL,
  3364. `marketprice` decimal(10,2) DEFAULT NULL,
  3365. `price` decimal(10,2) DEFAULT NULL,
  3366. `single_price` decimal(10,2) DEFAULT NULL,
  3367. `specs` varchar(255) DEFAULT NULL,
  3368. `stock` int(255) DEFAULT NULL,
  3369. PRIMARY KEY (`id`)
  3370. ) ENGINE=MyISAM AUTO_INCREMENT=20 DEFAULT CHARSET=utf8;
  3371. -- ----------------------------
  3372. -- Table structure for ims_ewei_shop_groups_ladder
  3373. -- ----------------------------
  3374. DROP TABLE IF EXISTS `ims_ewei_shop_groups_ladder`;
  3375. CREATE TABLE `ims_ewei_shop_groups_ladder` (
  3376. `id` int(11) NOT NULL AUTO_INCREMENT,
  3377. `uniacid` int(11) DEFAULT NULL,
  3378. `goods_id` int(11) DEFAULT '0',
  3379. `ladder_num` int(11) DEFAULT NULL,
  3380. `ladder_price` decimal(10,2) DEFAULT NULL,
  3381. PRIMARY KEY (`id`)
  3382. ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
  3383. -- ----------------------------
  3384. -- Table structure for ims_ewei_shop_groups_order
  3385. -- ----------------------------
  3386. DROP TABLE IF EXISTS `ims_ewei_shop_groups_order`;
  3387. CREATE TABLE `ims_ewei_shop_groups_order` (
  3388. `id` int(11) NOT NULL AUTO_INCREMENT,
  3389. `uniacid` int(11) NOT NULL DEFAULT '0',
  3390. `openid` varchar(45) NOT NULL,
  3391. `orderno` varchar(45) NOT NULL,
  3392. `groupnum` int(11) NOT NULL,
  3393. `paytime` int(11) NOT NULL,
  3394. `price` decimal(11,2) DEFAULT '0.00',
  3395. `freight` decimal(11,2) DEFAULT '0.00',
  3396. `status` int(9) NOT NULL,
  3397. `pay_type` varchar(45) DEFAULT NULL,
  3398. `goodid` int(11) NOT NULL,
  3399. `teamid` int(11) NOT NULL,
  3400. `is_team` int(2) NOT NULL,
  3401. `heads` int(11) DEFAULT '0',
  3402. `starttime` int(11) NOT NULL,
  3403. `endtime` int(45) NOT NULL,
  3404. `createtime` int(11) NOT NULL,
  3405. `success` int(2) NOT NULL DEFAULT '0',
  3406. `delete` int(2) NOT NULL DEFAULT '0',
  3407. `credit` int(11) DEFAULT '0',
  3408. `creditmoney` decimal(11,2) DEFAULT '0.00',
  3409. `dispatchid` int(11) DEFAULT NULL,
  3410. `addressid` int(11) NOT NULL DEFAULT '0',
  3411. `address` varchar(1000) DEFAULT NULL,
  3412. `discount` decimal(10,2) DEFAULT '0.00',
  3413. `canceltime` int(11) NOT NULL DEFAULT '0',
  3414. `finishtime` int(11) NOT NULL DEFAULT '0',
  3415. `refundid` int(11) NOT NULL DEFAULT '0',
  3416. `refundstate` tinyint(2) NOT NULL DEFAULT '0',
  3417. `refundtime` int(11) NOT NULL DEFAULT '0',
  3418. `express` varchar(45) DEFAULT NULL,
  3419. `expresscom` varchar(100) DEFAULT NULL,
  3420. `expresssn` varchar(45) DEFAULT NULL,
  3421. `sendtime` int(45) DEFAULT '0',
  3422. `remark` varchar(255) DEFAULT NULL,
  3423. `remarkclose` text,
  3424. `remarksend` text,
  3425. `message` varchar(255) DEFAULT NULL,
  3426. `deleted` int(2) NOT NULL DEFAULT '0',
  3427. `realname` varchar(20) DEFAULT NULL,
  3428. `mobile` varchar(11) DEFAULT NULL,
  3429. `isverify` tinyint(3) DEFAULT '0',
  3430. `verifytype` tinyint(3) DEFAULT '0',
  3431. `verifycode` varchar(45) DEFAULT '0',
  3432. `verifynum` int(11) DEFAULT '0',
  3433. `printstate` int(11) NOT NULL DEFAULT '0',
  3434. `printstate2` int(11) NOT NULL DEFAULT '0',
  3435. `apppay` tinyint(3) NOT NULL DEFAULT '0',
  3436. `isborrow` tinyint(1) DEFAULT '0',
  3437. `borrowopenid` varchar(50) DEFAULT '',
  3438. `source` tinyint(1) DEFAULT '0',
  3439. `ladder_id` tinyint(1) DEFAULT '0',
  3440. `is_ladder` tinyint(1) DEFAULT '0',
  3441. `more_spec` tinyint(1) DEFAULT '0',
  3442. `wxapp_prepay_id` varchar(255) DEFAULT '',
  3443. `cancel_reason` varchar(255) DEFAULT '',
  3444. `goods_price` decimal(10,2) DEFAULT '0.00',
  3445. `goods_option_id` int(11) DEFAULT '0',
  3446. `specs` varchar(255) DEFAULT '',
  3447. `diyformid` int(11) DEFAULT '0',
  3448. `diyformdata` text,
  3449. `diyformfields` text,
  3450. PRIMARY KEY (`id`),
  3451. KEY `idx_uniacid` (`uniacid`),
  3452. KEY `idx_openid` (`openid`),
  3453. KEY `idx_orderno` (`orderno`),
  3454. KEY `idx_paytime` (`paytime`),
  3455. KEY `idx_pay_type` (`pay_type`),
  3456. KEY `idx_teamid` (`teamid`),
  3457. KEY `idx_verifycode` (`verifycode`),
  3458. KEY `idx_createtime` (`createtime`)
  3459. ) ENGINE=MyISAM AUTO_INCREMENT=31 DEFAULT CHARSET=utf8;
  3460. -- ----------------------------
  3461. -- Table structure for ims_ewei_shop_groups_order_goods
  3462. -- ----------------------------
  3463. DROP TABLE IF EXISTS `ims_ewei_shop_groups_order_goods`;
  3464. CREATE TABLE `ims_ewei_shop_groups_order_goods` (
  3465. `id` int(11) NOT NULL AUTO_INCREMENT,
  3466. `uniacid` int(11) DEFAULT NULL,
  3467. `goods_id` int(11) DEFAULT '0',
  3468. `groups_goods_id` int(11) DEFAULT '0',
  3469. `groups_goods_option_id` int(11) DEFAULT '0',
  3470. `groups_order_id` int(11) DEFAULT '0',
  3471. `price` decimal(10,2) DEFAULT NULL,
  3472. `option_name` varchar(255) DEFAULT NULL,
  3473. `create_time` int(11) DEFAULT NULL,
  3474. PRIMARY KEY (`id`)
  3475. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3476. -- ----------------------------
  3477. -- Table structure for ims_ewei_shop_groups_order_refund
  3478. -- ----------------------------
  3479. DROP TABLE IF EXISTS `ims_ewei_shop_groups_order_refund`;
  3480. CREATE TABLE `ims_ewei_shop_groups_order_refund` (
  3481. `id` int(11) NOT NULL AUTO_INCREMENT,
  3482. `uniacid` int(11) NOT NULL DEFAULT '0',
  3483. `openid` varchar(45) NOT NULL DEFAULT '',
  3484. `orderid` int(11) NOT NULL DEFAULT '0',
  3485. `refundno` varchar(45) NOT NULL DEFAULT '',
  3486. `refundstatus` tinyint(3) NOT NULL DEFAULT '0',
  3487. `refundaddressid` int(11) NOT NULL DEFAULT '0',
  3488. `refundaddress` varchar(1000) NOT NULL DEFAULT '',
  3489. `content` varchar(255) NOT NULL DEFAULT '',
  3490. `reason` varchar(255) NOT NULL DEFAULT '',
  3491. `images` varchar(255) NOT NULL DEFAULT '',
  3492. `applytime` varchar(45) NOT NULL DEFAULT '',
  3493. `applycredit` int(11) NOT NULL DEFAULT '0',
  3494. `applyprice` decimal(11,2) NOT NULL DEFAULT '0.00',
  3495. `reply` text NOT NULL,
  3496. `refundtype` varchar(45) NOT NULL DEFAULT '',
  3497. `rtype` int(3) NOT NULL DEFAULT '0',
  3498. `refundtime` varchar(45) NOT NULL,
  3499. `endtime` varchar(45) NOT NULL DEFAULT '',
  3500. `message` varchar(255) NOT NULL DEFAULT '',
  3501. `operatetime` varchar(45) NOT NULL DEFAULT '',
  3502. `realcredit` int(11) NOT NULL DEFAULT '0',
  3503. `realmoney` decimal(11,2) NOT NULL DEFAULT '0.00',
  3504. `express` varchar(45) NOT NULL DEFAULT '',
  3505. `expresscom` varchar(100) NOT NULL DEFAULT '',
  3506. `expresssn` varchar(45) NOT NULL DEFAULT '',
  3507. `sendtime` varchar(45) NOT NULL DEFAULT '',
  3508. `returntime` int(11) NOT NULL DEFAULT '0',
  3509. `rexpress` varchar(45) NOT NULL DEFAULT '',
  3510. `rexpresscom` varchar(100) NOT NULL DEFAULT '',
  3511. `rexpresssn` varchar(45) NOT NULL DEFAULT '',
  3512. PRIMARY KEY (`id`),
  3513. KEY `uniacid` (`uniacid`),
  3514. KEY `openid` (`openid`),
  3515. KEY `orderid` (`orderid`),
  3516. KEY `refundno` (`refundno`)
  3517. ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
  3518. -- ----------------------------
  3519. -- Table structure for ims_ewei_shop_groups_paylog
  3520. -- ----------------------------
  3521. DROP TABLE IF EXISTS `ims_ewei_shop_groups_paylog`;
  3522. CREATE TABLE `ims_ewei_shop_groups_paylog` (
  3523. `plid` bigint(11) unsigned NOT NULL AUTO_INCREMENT,
  3524. `type` varchar(20) NOT NULL,
  3525. `uniacid` int(11) NOT NULL,
  3526. `acid` int(10) unsigned NOT NULL,
  3527. `openid` varchar(40) NOT NULL,
  3528. `tid` varchar(64) NOT NULL,
  3529. `credit` int(10) NOT NULL DEFAULT '0',
  3530. `creditmoney` decimal(10,2) NOT NULL,
  3531. `fee` decimal(10,2) DEFAULT '0.00',
  3532. `status` tinyint(4) NOT NULL,
  3533. `module` varchar(50) NOT NULL,
  3534. `tag` varchar(2000) NOT NULL,
  3535. `is_usecard` tinyint(3) unsigned NOT NULL,
  3536. `card_type` tinyint(3) unsigned NOT NULL,
  3537. `card_id` varchar(50) DEFAULT '',
  3538. `card_fee` decimal(10,2) DEFAULT '0.00',
  3539. `encrypt_code` varchar(100) DEFAULT '',
  3540. `uniontid` varchar(50) DEFAULT '',
  3541. PRIMARY KEY (`plid`),
  3542. KEY `idx_openid` (`openid`),
  3543. KEY `idx_tid` (`tid`),
  3544. KEY `idx_uniacid` (`uniacid`),
  3545. KEY `uniontid` (`uniontid`)
  3546. ) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=utf8;
  3547. -- ----------------------------
  3548. -- Table structure for ims_ewei_shop_groups_set
  3549. -- ----------------------------
  3550. DROP TABLE IF EXISTS `ims_ewei_shop_groups_set`;
  3551. CREATE TABLE `ims_ewei_shop_groups_set` (
  3552. `id` int(11) NOT NULL AUTO_INCREMENT,
  3553. `uniacid` varchar(45) DEFAULT NULL,
  3554. `groups` int(2) NOT NULL DEFAULT '0',
  3555. `followurl` varchar(255) DEFAULT NULL,
  3556. `groupsurl` varchar(255) DEFAULT NULL,
  3557. `share_title` varchar(255) DEFAULT NULL,
  3558. `share_icon` varchar(255) DEFAULT NULL,
  3559. `share_desc` varchar(255) DEFAULT NULL,
  3560. `groups_description` text,
  3561. `description` int(2) NOT NULL DEFAULT '0',
  3562. `followqrcode` varchar(255) DEFAULT NULL,
  3563. `share_url` varchar(255) DEFAULT NULL,
  3564. `creditdeduct` tinyint(2) NOT NULL DEFAULT '0',
  3565. `groupsdeduct` tinyint(2) NOT NULL DEFAULT '0',
  3566. `credit` int(11) NOT NULL DEFAULT '1',
  3567. `groupsmoney` decimal(11,2) NOT NULL DEFAULT '0.00',
  3568. `refund` int(11) NOT NULL DEFAULT '0',
  3569. `refundday` int(11) NOT NULL DEFAULT '0',
  3570. `goodsid` text NOT NULL,
  3571. `rules` text,
  3572. `receive` int(11) DEFAULT '0',
  3573. `discount` tinyint(3) DEFAULT '0',
  3574. `headstype` tinyint(3) DEFAULT '0',
  3575. `headsmoney` decimal(10,2) DEFAULT '0.00',
  3576. `headsdiscount` int(11) DEFAULT '0',
  3577. `followbar` tinyint(2) NOT NULL DEFAULT '0',
  3578. PRIMARY KEY (`id`)
  3579. ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
  3580. -- ----------------------------
  3581. -- Table structure for ims_ewei_shop_groups_verify
  3582. -- ----------------------------
  3583. DROP TABLE IF EXISTS `ims_ewei_shop_groups_verify`;
  3584. CREATE TABLE `ims_ewei_shop_groups_verify` (
  3585. `id` int(11) NOT NULL AUTO_INCREMENT,
  3586. `uniacid` int(11) DEFAULT '0',
  3587. `openid` varchar(45) DEFAULT '0',
  3588. `orderid` int(11) DEFAULT '0',
  3589. `verifycode` varchar(45) DEFAULT '',
  3590. `storeid` int(11) DEFAULT '0',
  3591. `verifier` varchar(45) DEFAULT '0',
  3592. `isverify` tinyint(3) DEFAULT '0',
  3593. `verifytime` int(11) DEFAULT '0',
  3594. PRIMARY KEY (`id`)
  3595. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3596. -- ----------------------------
  3597. -- Table structure for ims_ewei_shop_invitation
  3598. -- ----------------------------
  3599. DROP TABLE IF EXISTS `ims_ewei_shop_invitation`;
  3600. CREATE TABLE `ims_ewei_shop_invitation` (
  3601. `id` int(11) NOT NULL AUTO_INCREMENT,
  3602. `uniacid` int(11) NOT NULL DEFAULT '0',
  3603. `type` tinyint(3) NOT NULL DEFAULT '0',
  3604. `title` varchar(255) NOT NULL DEFAULT '',
  3605. `data` text NOT NULL,
  3606. `scan` int(11) NOT NULL DEFAULT '0',
  3607. `follow` int(11) NOT NULL DEFAULT '0',
  3608. `qrcode` tinyint(3) NOT NULL DEFAULT '0',
  3609. `status` tinyint(3) NOT NULL,
  3610. `createtime` int(11) NOT NULL DEFAULT '0',
  3611. PRIMARY KEY (`id`),
  3612. KEY `idx_uniacid` (`uniacid`),
  3613. KEY `idx_type` (`type`)
  3614. ) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
  3615. -- ----------------------------
  3616. -- Table structure for ims_ewei_shop_invitation_log
  3617. -- ----------------------------
  3618. DROP TABLE IF EXISTS `ims_ewei_shop_invitation_log`;
  3619. CREATE TABLE `ims_ewei_shop_invitation_log` (
  3620. `id` int(11) NOT NULL AUTO_INCREMENT,
  3621. `uniacid` int(11) NOT NULL DEFAULT '0',
  3622. `invitation_id` int(11) NOT NULL DEFAULT '0',
  3623. `openid` varchar(50) NOT NULL DEFAULT '',
  3624. `invitation_openid` varchar(50) NOT NULL DEFAULT '',
  3625. `scan_time` int(10) NOT NULL DEFAULT '0',
  3626. `follow` tinyint(3) NOT NULL DEFAULT '0',
  3627. PRIMARY KEY (`id`),
  3628. KEY `idx_uniacid` (`uniacid`),
  3629. KEY `idx_posterid` (`invitation_id`),
  3630. KEY `idx_scantime` (`scan_time`),
  3631. KEY `idx_openid` (`openid`)
  3632. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3633. -- ----------------------------
  3634. -- Table structure for ims_ewei_shop_invitation_qr
  3635. -- ----------------------------
  3636. DROP TABLE IF EXISTS `ims_ewei_shop_invitation_qr`;
  3637. CREATE TABLE `ims_ewei_shop_invitation_qr` (
  3638. `id` int(11) NOT NULL AUTO_INCREMENT,
  3639. `acid` int(11) NOT NULL DEFAULT '0',
  3640. `openid` varchar(60) NOT NULL,
  3641. `invitationid` int(11) NOT NULL,
  3642. `roomid` int(11) NOT NULL DEFAULT '0',
  3643. `sceneid` int(11) NOT NULL,
  3644. `ticket` varchar(255) NOT NULL,
  3645. `createtime` int(11) NOT NULL,
  3646. `expire` int(11) NOT NULL DEFAULT '0',
  3647. `qrimg` varchar(255) NOT NULL,
  3648. PRIMARY KEY (`id`)
  3649. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3650. -- ----------------------------
  3651. -- Table structure for ims_ewei_shop_live
  3652. -- ----------------------------
  3653. DROP TABLE IF EXISTS `ims_ewei_shop_live`;
  3654. CREATE TABLE `ims_ewei_shop_live` (
  3655. `id` int(11) NOT NULL AUTO_INCREMENT,
  3656. `uniacid` int(11) NOT NULL DEFAULT '0',
  3657. `merchid` int(11) NOT NULL DEFAULT '0',
  3658. `title` varchar(255) NOT NULL,
  3659. `livetype` tinyint(3) NOT NULL DEFAULT '0',
  3660. `liveidentity` varchar(50) NOT NULL,
  3661. `screen` tinyint(3) NOT NULL DEFAULT '0',
  3662. `goodsid` text NOT NULL,
  3663. `category` int(11) NOT NULL DEFAULT '0',
  3664. `url` varchar(1000) NOT NULL,
  3665. `thumb` varchar(1000) NOT NULL,
  3666. `hot` tinyint(3) NOT NULL DEFAULT '0',
  3667. `recommend` tinyint(3) NOT NULL DEFAULT '0',
  3668. `living` tinyint(3) NOT NULL DEFAULT '0',
  3669. `status` tinyint(3) NOT NULL DEFAULT '0',
  3670. `displayorder` int(11) NOT NULL DEFAULT '0',
  3671. `livetime` int(10) NOT NULL DEFAULT '0',
  3672. `lastlivetime` int(11) NOT NULL DEFAULT '0',
  3673. `createtime` int(10) NOT NULL DEFAULT '0',
  3674. `introduce` text NOT NULL,
  3675. `packetmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  3676. `packettotal` int(11) NOT NULL DEFAULT '0',
  3677. `packetprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  3678. `packetdes` varchar(255) NOT NULL,
  3679. `couponid` varchar(255) NOT NULL,
  3680. `share_title` varchar(255) NOT NULL,
  3681. `share_icon` varchar(1000) NOT NULL,
  3682. `share_desc` text NOT NULL,
  3683. `share_url` varchar(1000) NOT NULL DEFAULT '',
  3684. `subscribe` int(11) NOT NULL DEFAULT '0',
  3685. `subscribenotice` tinyint(3) NOT NULL DEFAULT '0',
  3686. `visit` int(11) NOT NULL DEFAULT '0',
  3687. `video` varchar(1000) NOT NULL DEFAULT '',
  3688. `covertype` tinyint(3) NOT NULL DEFAULT '0',
  3689. `cover` varchar(1000) NOT NULL DEFAULT '',
  3690. `iscoupon` tinyint(3) NOT NULL DEFAULT '0',
  3691. `nestable` text NOT NULL,
  3692. `tabs` text NOT NULL,
  3693. `invitation_id` int(11) NOT NULL DEFAULT '0',
  3694. `showlevels` varchar(255) NOT NULL,
  3695. `showgroups` varchar(255) NOT NULL,
  3696. `showcommission` varchar(255) NOT NULL,
  3697. `jurisdiction_url` varchar(1000) NOT NULL,
  3698. `jurisdictionurl_show` tinyint(3) NOT NULL DEFAULT '0',
  3699. `notice` varchar(255) NOT NULL,
  3700. `notice_url` varchar(1000) NOT NULL,
  3701. `followqrcode` varchar(1000) NOT NULL,
  3702. `coupon_num` int(11) NOT NULL,
  3703. PRIMARY KEY (`id`),
  3704. KEY `idx_uniacid` (`uniacid`),
  3705. KEY `idx_merchid` (`merchid`),
  3706. KEY `idx_category` (`category`),
  3707. KEY `idx_hot` (`hot`),
  3708. KEY `idx_recommend` (`recommend`),
  3709. KEY `idx_living` (`living`),
  3710. KEY `idx_status` (`status`),
  3711. KEY `idx_livetime` (`livetime`)
  3712. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
  3713. -- ----------------------------
  3714. -- Table structure for ims_ewei_shop_live_adv
  3715. -- ----------------------------
  3716. DROP TABLE IF EXISTS `ims_ewei_shop_live_adv`;
  3717. CREATE TABLE `ims_ewei_shop_live_adv` (
  3718. `id` int(11) NOT NULL AUTO_INCREMENT,
  3719. `uniacid` int(11) DEFAULT '0',
  3720. `merchid` int(11) NOT NULL DEFAULT '0',
  3721. `advname` varchar(50) DEFAULT '',
  3722. `link` varchar(255) DEFAULT '',
  3723. `thumb` varchar(255) DEFAULT '',
  3724. `displayorder` int(11) DEFAULT '0',
  3725. `enabled` int(11) DEFAULT '0',
  3726. PRIMARY KEY (`id`),
  3727. KEY `idx_uniacid` (`uniacid`),
  3728. KEY `idx_enabled` (`enabled`),
  3729. KEY `idx_displayorder` (`displayorder`)
  3730. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3731. -- ----------------------------
  3732. -- Table structure for ims_ewei_shop_live_category
  3733. -- ----------------------------
  3734. DROP TABLE IF EXISTS `ims_ewei_shop_live_category`;
  3735. CREATE TABLE `ims_ewei_shop_live_category` (
  3736. `id` int(11) NOT NULL AUTO_INCREMENT,
  3737. `uniacid` int(11) DEFAULT '0',
  3738. `name` varchar(50) DEFAULT NULL,
  3739. `thumb` varchar(255) DEFAULT NULL,
  3740. `displayorder` tinyint(3) unsigned DEFAULT '0',
  3741. `enabled` tinyint(1) DEFAULT '1',
  3742. `advimg` varchar(255) DEFAULT '',
  3743. `advurl` varchar(500) DEFAULT '',
  3744. `isrecommand` tinyint(3) DEFAULT '0',
  3745. PRIMARY KEY (`id`),
  3746. KEY `idx_uniacid` (`uniacid`),
  3747. KEY `idx_displayorder` (`displayorder`),
  3748. KEY `idx_enabled` (`enabled`)
  3749. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
  3750. -- ----------------------------
  3751. -- Table structure for ims_ewei_shop_live_coupon
  3752. -- ----------------------------
  3753. DROP TABLE IF EXISTS `ims_ewei_shop_live_coupon`;
  3754. CREATE TABLE `ims_ewei_shop_live_coupon` (
  3755. `id` int(11) NOT NULL AUTO_INCREMENT,
  3756. `uniacid` int(11) NOT NULL DEFAULT '0',
  3757. `roomid` int(11) NOT NULL DEFAULT '0',
  3758. `couponid` int(11) NOT NULL DEFAULT '0',
  3759. `coupontotal` int(11) NOT NULL DEFAULT '0',
  3760. `couponlimit` int(11) NOT NULL DEFAULT '0',
  3761. PRIMARY KEY (`id`),
  3762. KEY `idx_uniacid` (`uniacid`),
  3763. KEY `idx_roomid` (`roomid`),
  3764. KEY `idx_couponid` (`couponid`)
  3765. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3766. -- ----------------------------
  3767. -- Table structure for ims_ewei_shop_live_favorite
  3768. -- ----------------------------
  3769. DROP TABLE IF EXISTS `ims_ewei_shop_live_favorite`;
  3770. CREATE TABLE `ims_ewei_shop_live_favorite` (
  3771. `id` int(11) NOT NULL AUTO_INCREMENT,
  3772. `uniacid` int(11) NOT NULL DEFAULT '0',
  3773. `roomid` int(11) NOT NULL DEFAULT '0',
  3774. `openid` tinytext NOT NULL,
  3775. `deleted` tinyint(3) NOT NULL DEFAULT '0',
  3776. `createtime` int(11) NOT NULL DEFAULT '0',
  3777. PRIMARY KEY (`id`),
  3778. KEY `idx_uniacid` (`uniacid`),
  3779. KEY `idx_roomid` (`roomid`),
  3780. KEY `idx_deleted` (`deleted`)
  3781. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  3782. -- ----------------------------
  3783. -- Table structure for ims_ewei_shop_live_goods
  3784. -- ----------------------------
  3785. DROP TABLE IF EXISTS `ims_ewei_shop_live_goods`;
  3786. CREATE TABLE `ims_ewei_shop_live_goods` (
  3787. `id` int(11) NOT NULL AUTO_INCREMENT,
  3788. `uniacid` int(11) NOT NULL DEFAULT '0',
  3789. `goodsid` int(11) NOT NULL DEFAULT '0',
  3790. `liveid` int(11) NOT NULL DEFAULT '0',
  3791. `liveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  3792. `minliveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  3793. `maxliveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  3794. PRIMARY KEY (`id`)
  3795. ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
  3796. -- ----------------------------
  3797. -- Table structure for ims_ewei_shop_live_goods_option
  3798. -- ----------------------------
  3799. DROP TABLE IF EXISTS `ims_ewei_shop_live_goods_option`;
  3800. CREATE TABLE `ims_ewei_shop_live_goods_option` (
  3801. `id` int(11) NOT NULL AUTO_INCREMENT,
  3802. `uniacid` int(11) NOT NULL DEFAULT '0',
  3803. `goodsid` int(11) NOT NULL,
  3804. `optionid` int(11) NOT NULL DEFAULT '0',
  3805. `liveid` int(11) NOT NULL DEFAULT '0',
  3806. `liveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  3807. PRIMARY KEY (`id`)
  3808. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3809. -- ----------------------------
  3810. -- Table structure for ims_ewei_shop_live_setting
  3811. -- ----------------------------
  3812. DROP TABLE IF EXISTS `ims_ewei_shop_live_setting`;
  3813. CREATE TABLE `ims_ewei_shop_live_setting` (
  3814. `id` int(11) NOT NULL AUTO_INCREMENT,
  3815. `uniacid` int(11) NOT NULL DEFAULT '0',
  3816. `ismember` tinyint(3) NOT NULL DEFAULT '0',
  3817. `share_title` varchar(255) NOT NULL,
  3818. `share_icon` varchar(1000) NOT NULL,
  3819. `share_desc` varchar(255) NOT NULL,
  3820. `share_url` varchar(255) NOT NULL,
  3821. `livenoticetime` int(11) NOT NULL DEFAULT '0',
  3822. PRIMARY KEY (`id`),
  3823. KEY `idx_uniacid` (`uniacid`),
  3824. KEY `idx_ismember` (`ismember`)
  3825. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
  3826. -- ----------------------------
  3827. -- Table structure for ims_ewei_shop_live_status
  3828. -- ----------------------------
  3829. DROP TABLE IF EXISTS `ims_ewei_shop_live_status`;
  3830. CREATE TABLE `ims_ewei_shop_live_status` (
  3831. `id` int(11) NOT NULL AUTO_INCREMENT,
  3832. `uniacid` int(11) NOT NULL DEFAULT '0',
  3833. `roomid` int(11) NOT NULL DEFAULT '0',
  3834. `starttime` int(11) NOT NULL DEFAULT '0',
  3835. `endtime` int(11) NOT NULL DEFAULT '0',
  3836. PRIMARY KEY (`id`)
  3837. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3838. -- ----------------------------
  3839. -- Table structure for ims_ewei_shop_live_view
  3840. -- ----------------------------
  3841. DROP TABLE IF EXISTS `ims_ewei_shop_live_view`;
  3842. CREATE TABLE `ims_ewei_shop_live_view` (
  3843. `id` int(11) NOT NULL AUTO_INCREMENT,
  3844. `uniacid` int(11) NOT NULL DEFAULT '0',
  3845. `openid` varchar(50) NOT NULL,
  3846. `roomid` int(11) NOT NULL DEFAULT '0',
  3847. `viewing` int(11) NOT NULL DEFAULT '0',
  3848. PRIMARY KEY (`id`),
  3849. KEY `idx_uniacid` (`uniacid`),
  3850. KEY `idx_roomid` (`roomid`)
  3851. ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
  3852. -- ----------------------------
  3853. -- Table structure for ims_ewei_shop_lottery
  3854. -- ----------------------------
  3855. DROP TABLE IF EXISTS `ims_ewei_shop_lottery`;
  3856. CREATE TABLE `ims_ewei_shop_lottery` (
  3857. `lottery_id` int(11) NOT NULL AUTO_INCREMENT,
  3858. `uniacid` int(11) DEFAULT '0',
  3859. `lottery_title` varchar(150) DEFAULT NULL,
  3860. `lottery_icon` varchar(255) DEFAULT NULL,
  3861. `lottery_banner` varchar(255) DEFAULT NULL,
  3862. `lottery_cannot` varchar(255) DEFAULT NULL,
  3863. `lottery_type` tinyint(1) DEFAULT NULL,
  3864. `is_delete` tinyint(1) DEFAULT '0',
  3865. `addtime` int(11) DEFAULT NULL,
  3866. `lottery_data` text,
  3867. `is_goods` tinyint(1) DEFAULT '0',
  3868. `lottery_days` int(11) DEFAULT '0',
  3869. `task_type` tinyint(1) DEFAULT '0',
  3870. `task_data` text,
  3871. `start_time` int(11) DEFAULT NULL,
  3872. `end_time` int(11) DEFAULT NULL,
  3873. `award_start` int(11) DEFAULT '0',
  3874. `award_end` int(11) DEFAULT '0',
  3875. PRIMARY KEY (`lottery_id`)
  3876. ) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  3877. -- ----------------------------
  3878. -- Table structure for ims_ewei_shop_lottery_default
  3879. -- ----------------------------
  3880. DROP TABLE IF EXISTS `ims_ewei_shop_lottery_default`;
  3881. CREATE TABLE `ims_ewei_shop_lottery_default` (
  3882. `id` int(11) NOT NULL AUTO_INCREMENT,
  3883. `uniacid` int(11) NOT NULL DEFAULT '0',
  3884. `data` text,
  3885. `addtime` int(11) NOT NULL DEFAULT '0',
  3886. PRIMARY KEY (`id`)
  3887. ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  3888. -- ----------------------------
  3889. -- Table structure for ims_ewei_shop_lottery_join
  3890. -- ----------------------------
  3891. DROP TABLE IF EXISTS `ims_ewei_shop_lottery_join`;
  3892. CREATE TABLE `ims_ewei_shop_lottery_join` (
  3893. `id` int(11) NOT NULL AUTO_INCREMENT,
  3894. `uniacid` int(11) DEFAULT '0',
  3895. `join_user` varchar(255) DEFAULT NULL,
  3896. `lottery_id` int(11) DEFAULT NULL,
  3897. `lottery_num` int(10) DEFAULT '0',
  3898. `lottery_tag` varchar(255) DEFAULT NULL,
  3899. `addtime` int(11) DEFAULT NULL,
  3900. PRIMARY KEY (`id`)
  3901. ) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  3902. -- ----------------------------
  3903. -- Table structure for ims_ewei_shop_lottery_log
  3904. -- ----------------------------
  3905. DROP TABLE IF EXISTS `ims_ewei_shop_lottery_log`;
  3906. CREATE TABLE `ims_ewei_shop_lottery_log` (
  3907. `log_id` int(11) NOT NULL AUTO_INCREMENT,
  3908. `uniacid` int(11) DEFAULT NULL,
  3909. `lottery_id` int(11) DEFAULT '0',
  3910. `join_user` varchar(255) DEFAULT NULL,
  3911. `lottery_data` text,
  3912. `is_reward` tinyint(1) DEFAULT '0',
  3913. `addtime` int(11) DEFAULT NULL,
  3914. PRIMARY KEY (`log_id`)
  3915. ) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  3916. -- ----------------------------
  3917. -- Table structure for ims_ewei_shop_mc_merchant
  3918. -- ----------------------------
  3919. DROP TABLE IF EXISTS `ims_ewei_shop_mc_merchant`;
  3920. CREATE TABLE `ims_ewei_shop_mc_merchant` (
  3921. `id` int(11) NOT NULL,
  3922. `uniacid` int(11) NOT NULL,
  3923. `merchant_no` varchar(255) NOT NULL DEFAULT '',
  3924. `username` varchar(255) NOT NULL DEFAULT '',
  3925. `password` varchar(32) NOT NULL DEFAULT '',
  3926. `salt` varchar(8) NOT NULL DEFAULT '',
  3927. `contact_name` varchar(255) NOT NULL DEFAULT '',
  3928. `contact_mobile` varchar(16) NOT NULL DEFAULT '',
  3929. `contact_address` varchar(255) NOT NULL DEFAULT '',
  3930. `type` tinyint(4) NOT NULL,
  3931. `status` tinyint(4) NOT NULL,
  3932. `createtime` int(11) NOT NULL,
  3933. `validitytime` int(11) NOT NULL,
  3934. `industry` varchar(255) NOT NULL DEFAULT '',
  3935. `remark` varchar(1000) NOT NULL DEFAULT '',
  3936. PRIMARY KEY (`id`)
  3937. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3938. -- ----------------------------
  3939. -- Table structure for ims_ewei_shop_member
  3940. -- ----------------------------
  3941. DROP TABLE IF EXISTS `ims_ewei_shop_member`;
  3942. CREATE TABLE `ims_ewei_shop_member` (
  3943. `id` int(11) NOT NULL AUTO_INCREMENT,
  3944. `uniacid` int(11) DEFAULT '0',
  3945. `uid` int(11) DEFAULT '0',
  3946. `groupid` varchar(1000) DEFAULT '',
  3947. `level` int(11) DEFAULT '0',
  3948. `agentid` int(11) DEFAULT '0',
  3949. `openid` varchar(50) DEFAULT '',
  3950. `realname` varchar(20) DEFAULT '',
  3951. `mobile` varchar(11) DEFAULT '',
  3952. `pwd` varchar(32) DEFAULT '',
  3953. `weixin` varchar(100) DEFAULT '',
  3954. `content` text,
  3955. `createtime` int(10) DEFAULT '0',
  3956. `agenttime` int(10) DEFAULT '0',
  3957. `status` tinyint(1) DEFAULT '0',
  3958. `isagent` tinyint(1) DEFAULT '0',
  3959. `clickcount` int(11) DEFAULT '0',
  3960. `agentlevel` int(11) DEFAULT '0',
  3961. `noticeset` text,
  3962. `nickname` varchar(255) DEFAULT '',
  3963. `credit1` decimal(10,2) DEFAULT '0.00',
  3964. `credit2` decimal(10,2) DEFAULT '0.00',
  3965. `birthyear` varchar(255) DEFAULT '',
  3966. `birthmonth` varchar(255) DEFAULT '',
  3967. `birthday` varchar(255) DEFAULT '',
  3968. `gender` tinyint(3) DEFAULT '0',
  3969. `avatar` varchar(255) DEFAULT '',
  3970. `province` varchar(255) DEFAULT '',
  3971. `city` varchar(255) DEFAULT '',
  3972. `area` varchar(255) DEFAULT '',
  3973. `childtime` int(11) DEFAULT '0',
  3974. `inviter` int(11) DEFAULT '0',
  3975. `agentnotupgrade` int(11) DEFAULT '0',
  3976. `agentselectgoods` tinyint(3) DEFAULT '0',
  3977. `agentblack` int(11) DEFAULT '0',
  3978. `fixagentid` tinyint(3) DEFAULT '0',
  3979. `diymemberid` int(11) DEFAULT '0',
  3980. `diymemberfields` text,
  3981. `diymemberdata` text,
  3982. `diymemberdataid` int(11) DEFAULT '0',
  3983. `diycommissionid` int(11) DEFAULT '0',
  3984. `diycommissionfields` text,
  3985. `diycommissiondata` text,
  3986. `diycommissiondataid` int(11) DEFAULT '0',
  3987. `isblack` int(11) DEFAULT '0',
  3988. `username` varchar(255) DEFAULT '',
  3989. `commission_total` decimal(10,2) DEFAULT '0.00',
  3990. `endtime2` int(11) DEFAULT '0',
  3991. `ispartner` tinyint(3) DEFAULT '0',
  3992. `partnertime` int(11) DEFAULT '0',
  3993. `partnerstatus` tinyint(3) DEFAULT '0',
  3994. `partnerblack` tinyint(3) DEFAULT '0',
  3995. `partnerlevel` int(11) DEFAULT '0',
  3996. `partnernotupgrade` tinyint(3) DEFAULT '0',
  3997. `diyglobonusid` int(11) DEFAULT '0',
  3998. `diyglobonusdata` text,
  3999. `diyglobonusfields` text,
  4000. `isaagent` tinyint(3) DEFAULT '0',
  4001. `aagentlevel` int(11) DEFAULT '0',
  4002. `aagenttime` int(11) DEFAULT '0',
  4003. `aagentstatus` tinyint(3) DEFAULT '0',
  4004. `aagentblack` tinyint(3) DEFAULT '0',
  4005. `aagentnotupgrade` tinyint(3) DEFAULT '0',
  4006. `aagenttype` tinyint(3) DEFAULT '0',
  4007. `aagentprovinces` text,
  4008. `aagentcitys` text,
  4009. `aagentareas` text,
  4010. `diyaagentid` int(11) DEFAULT '0',
  4011. `diyaagentdata` text,
  4012. `diyaagentfields` text,
  4013. `salt` varchar(32) DEFAULT NULL,
  4014. `mobileverify` tinyint(3) DEFAULT '0',
  4015. `mobileuser` tinyint(3) DEFAULT '0',
  4016. `carrier_mobile` varchar(11) DEFAULT '0',
  4017. `isauthor` tinyint(1) DEFAULT '0',
  4018. `authortime` int(11) DEFAULT '0',
  4019. `authorstatus` tinyint(1) DEFAULT '0',
  4020. `authorblack` tinyint(1) DEFAULT '0',
  4021. `authorlevel` int(11) DEFAULT '0',
  4022. `authornotupgrade` tinyint(1) DEFAULT '0',
  4023. `diyauthorid` int(11) DEFAULT '0',
  4024. `diyauthordata` text,
  4025. `diyauthorfields` text,
  4026. `authorid` int(11) DEFAULT '0',
  4027. `comefrom` varchar(20) DEFAULT NULL,
  4028. `openid_qq` varchar(50) DEFAULT NULL,
  4029. `openid_wx` varchar(50) DEFAULT NULL,
  4030. `diymaxcredit` tinyint(3) DEFAULT '0',
  4031. `maxcredit` int(11) DEFAULT '0',
  4032. `datavalue` varchar(50) NOT NULL DEFAULT '',
  4033. `openid_wa` varchar(50) DEFAULT NULL,
  4034. `nickname_wechat` varchar(255) DEFAULT '',
  4035. `avatar_wechat` varchar(255) DEFAULT '',
  4036. `updateaddress` tinyint(1) NOT NULL DEFAULT '0',
  4037. `membercardid` varchar(255) DEFAULT '',
  4038. `membercardcode` varchar(255) DEFAULT '',
  4039. `membershipnumber` varchar(255) DEFAULT '',
  4040. `membercardactive` tinyint(1) DEFAULT '0',
  4041. `commission` decimal(10,2) DEFAULT '0.00',
  4042. `commission_pay` decimal(10,2) DEFAULT '0.00',
  4043. `idnumber` varchar(255) DEFAULT NULL,
  4044. `wxcardupdatetime` int(11) DEFAULT '0',
  4045. `hasnewcoupon` tinyint(1) DEFAULT '0',
  4046. `isheads` tinyint(1) NOT NULL DEFAULT '0',
  4047. `headsstatus` tinyint(1) NOT NULL DEFAULT '0',
  4048. `headstime` int(11) NOT NULL DEFAULT '0',
  4049. `headsid` int(11) NOT NULL DEFAULT '0',
  4050. `diyheadsid` int(11) NOT NULL DEFAULT '0',
  4051. `diyheadsdata` text,
  4052. `diyheadsfields` text,
  4053. `applyagenttime` int(11) DEFAULT '0',
  4054. PRIMARY KEY (`id`),
  4055. KEY `idx_uniacid` (`uniacid`),
  4056. KEY `idx_shareid` (`agentid`),
  4057. KEY `idx_openid` (`openid`),
  4058. KEY `idx_status` (`status`),
  4059. KEY `idx_agenttime` (`agenttime`),
  4060. KEY `idx_isagent` (`isagent`),
  4061. KEY `idx_uid` (`uid`),
  4062. KEY `idx_groupid` (`groupid`(333)),
  4063. KEY `idx_level` (`level`),
  4064. KEY `idx_mobile` (`mobile`),
  4065. KEY `idx_openid_wx` (`openid_wx`),
  4066. KEY `idx_openid_wa` (`openid_wa`)
  4067. ) ENGINE=MyISAM AUTO_INCREMENT=114578 DEFAULT CHARSET=utf8;
  4068. -- ----------------------------
  4069. -- Table structure for ims_ewei_shop_member_address
  4070. -- ----------------------------
  4071. DROP TABLE IF EXISTS `ims_ewei_shop_member_address`;
  4072. CREATE TABLE `ims_ewei_shop_member_address` (
  4073. `id` int(11) NOT NULL AUTO_INCREMENT,
  4074. `uniacid` int(11) DEFAULT '0',
  4075. `openid` varchar(50) DEFAULT '0',
  4076. `realname` varchar(20) DEFAULT '',
  4077. `mobile` varchar(11) DEFAULT '',
  4078. `province` varchar(30) DEFAULT '',
  4079. `city` varchar(30) DEFAULT '',
  4080. `area` varchar(30) DEFAULT '',
  4081. `address` varchar(300) DEFAULT '',
  4082. `isdefault` tinyint(1) DEFAULT '0',
  4083. `zipcode` varchar(255) DEFAULT '',
  4084. `deleted` tinyint(1) DEFAULT '0',
  4085. `street` varchar(50) NOT NULL DEFAULT '',
  4086. `datavalue` varchar(50) NOT NULL DEFAULT '',
  4087. `streetdatavalue` varchar(30) NOT NULL DEFAULT '',
  4088. `lng` varchar(255) NOT NULL DEFAULT '',
  4089. `lat` varchar(255) NOT NULL DEFAULT '',
  4090. PRIMARY KEY (`id`),
  4091. KEY `idx_uniacid` (`uniacid`),
  4092. KEY `idx_openid` (`openid`),
  4093. KEY `idx_isdefault` (`isdefault`),
  4094. KEY `idx_deleted` (`deleted`)
  4095. ) ENGINE=MyISAM AUTO_INCREMENT=3088 DEFAULT CHARSET=utf8;
  4096. -- ----------------------------
  4097. -- Table structure for ims_ewei_shop_member_card
  4098. -- ----------------------------
  4099. DROP TABLE IF EXISTS `ims_ewei_shop_member_card`;
  4100. CREATE TABLE `ims_ewei_shop_member_card` (
  4101. `id` int(11) NOT NULL AUTO_INCREMENT,
  4102. `uniacid` int(11) DEFAULT '0',
  4103. `name` varchar(255) DEFAULT NULL,
  4104. `card_style` varchar(255) DEFAULT NULL,
  4105. `sort_order` int(10) DEFAULT '0',
  4106. `shipping` tinyint(11) DEFAULT NULL,
  4107. `member_discount` tinyint(1) DEFAULT NULL,
  4108. `discount_rate` decimal(10,1) DEFAULT NULL,
  4109. `discount` tinyint(1) NOT NULL DEFAULT '1',
  4110. `is_card_points` tinyint(1) DEFAULT NULL,
  4111. `card_points` varchar(50) DEFAULT NULL,
  4112. `is_card_coupon` tinyint(1) DEFAULT NULL,
  4113. `card_coupon` varchar(500) DEFAULT NULL,
  4114. `is_month_points` tinyint(1) DEFAULT NULL,
  4115. `month_points` varchar(50) DEFAULT NULL,
  4116. `is_month_coupon` tinyint(1) DEFAULT NULL,
  4117. `month_coupon` varchar(500) DEFAULT NULL,
  4118. `validate` int(11) NOT NULL DEFAULT '1',
  4119. `price` decimal(11,2) NOT NULL DEFAULT '0.00',
  4120. `stock` int(10) DEFAULT NULL,
  4121. `status` tinyint(1) NOT NULL DEFAULT '1',
  4122. `description` text,
  4123. `kefu_tel` varchar(100) DEFAULT NULL,
  4124. `create_time` int(11) NOT NULL DEFAULT '0',
  4125. `sale_count` int(11) NOT NULL DEFAULT '0',
  4126. `del_time` int(11) NOT NULL DEFAULT '0',
  4127. `isdelete` tinyint(11) NOT NULL DEFAULT '0',
  4128. `update_time` int(11) NOT NULL DEFAULT '0',
  4129. PRIMARY KEY (`id`)
  4130. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4131. -- ----------------------------
  4132. -- Table structure for ims_ewei_shop_member_card_buysend
  4133. -- ----------------------------
  4134. DROP TABLE IF EXISTS `ims_ewei_shop_member_card_buysend`;
  4135. CREATE TABLE `ims_ewei_shop_member_card_buysend` (
  4136. `id` int(11) NOT NULL AUTO_INCREMENT,
  4137. `uniacid` int(11) DEFAULT '0',
  4138. `openid` varchar(50) DEFAULT NULL,
  4139. `member_card_id` int(11) NOT NULL,
  4140. `name` varchar(255) NOT NULL,
  4141. `receive_time` int(11) NOT NULL DEFAULT '0',
  4142. `create_time` int(11) NOT NULL DEFAULT '0',
  4143. `price` decimal(11,2) NOT NULL DEFAULT '0.00',
  4144. `sendtype` tinyint(1) NOT NULL DEFAULT '1',
  4145. `card_points` varchar(50) DEFAULT NULL,
  4146. `card_couponid` int(11) NOT NULL DEFAULT '0',
  4147. `card_couponcount` int(11) NOT NULL DEFAULT '0',
  4148. PRIMARY KEY (`id`),
  4149. KEY `idx_openid` (`openid`)
  4150. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4151. -- ----------------------------
  4152. -- Table structure for ims_ewei_shop_member_card_history
  4153. -- ----------------------------
  4154. DROP TABLE IF EXISTS `ims_ewei_shop_member_card_history`;
  4155. CREATE TABLE `ims_ewei_shop_member_card_history` (
  4156. `id` int(11) NOT NULL AUTO_INCREMENT,
  4157. `uniacid` int(11) DEFAULT '0',
  4158. `order_id` int(11) NOT NULL,
  4159. `openid` varchar(50) DEFAULT NULL,
  4160. `member_card_id` int(11) NOT NULL,
  4161. `name` varchar(255) NOT NULL,
  4162. `expire_time` int(11) NOT NULL DEFAULT '0',
  4163. `receive_time` int(11) NOT NULL DEFAULT '0',
  4164. `price` decimal(11,2) NOT NULL DEFAULT '0.00',
  4165. `user_name` varchar(255) DEFAULT NULL,
  4166. `telephone` varchar(32) DEFAULT NULL,
  4167. `isdelete` int(11) NOT NULL DEFAULT '0',
  4168. `del_time` int(11) NOT NULL DEFAULT '0',
  4169. `pay_type` int(1) DEFAULT NULL,
  4170. PRIMARY KEY (`id`)
  4171. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4172. -- ----------------------------
  4173. -- Table structure for ims_ewei_shop_member_card_monthsend
  4174. -- ----------------------------
  4175. DROP TABLE IF EXISTS `ims_ewei_shop_member_card_monthsend`;
  4176. CREATE TABLE `ims_ewei_shop_member_card_monthsend` (
  4177. `id` int(11) NOT NULL AUTO_INCREMENT,
  4178. `uniacid` int(11) DEFAULT '0',
  4179. `openid` varchar(50) DEFAULT NULL,
  4180. `member_card_id` int(11) NOT NULL,
  4181. `name` varchar(255) NOT NULL,
  4182. `receive_time` int(11) NOT NULL DEFAULT '0',
  4183. `create_time` int(11) NOT NULL DEFAULT '0',
  4184. `price` decimal(11,2) NOT NULL DEFAULT '0.00',
  4185. `validate` int(11) NOT NULL DEFAULT '1',
  4186. `sendtype` tinyint(1) NOT NULL DEFAULT '1',
  4187. `card_points` varchar(50) DEFAULT NULL,
  4188. `card_couponid` int(11) NOT NULL DEFAULT '0',
  4189. `card_couponcount` int(11) NOT NULL DEFAULT '0',
  4190. PRIMARY KEY (`id`),
  4191. KEY `idx_openid` (`openid`)
  4192. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4193. -- ----------------------------
  4194. -- Table structure for ims_ewei_shop_member_card_order
  4195. -- ----------------------------
  4196. DROP TABLE IF EXISTS `ims_ewei_shop_member_card_order`;
  4197. CREATE TABLE `ims_ewei_shop_member_card_order` (
  4198. `id` int(11) NOT NULL AUTO_INCREMENT,
  4199. `uniacid` int(11) DEFAULT '0',
  4200. `openid` varchar(50) DEFAULT NULL,
  4201. `member_id` int(11) DEFAULT '0',
  4202. `payment_name` varchar(32) DEFAULT NULL,
  4203. `telephone` varchar(32) DEFAULT NULL,
  4204. `orderno` varchar(30) DEFAULT NULL,
  4205. `total` decimal(15,2) NOT NULL DEFAULT '0.00',
  4206. `status` int(11) NOT NULL DEFAULT '0',
  4207. `createtime` int(11) DEFAULT '0',
  4208. `finishtime` int(11) DEFAULT '0',
  4209. `paytime` int(11) DEFAULT '0',
  4210. `member_card_id` int(11) DEFAULT '0',
  4211. `wxapp_prepay_id` varchar(255) DEFAULT NULL,
  4212. `transid` varchar(32) DEFAULT NULL,
  4213. `paytype` varchar(32) DEFAULT NULL,
  4214. `apppay` tinyint(3) NOT NULL DEFAULT '0',
  4215. `borrowopenid` varchar(50) DEFAULT NULL,
  4216. `isborrow` tinyint(1) NOT NULL DEFAULT '0',
  4217. PRIMARY KEY (`id`)
  4218. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4219. -- ----------------------------
  4220. -- Table structure for ims_ewei_shop_member_card_uselog
  4221. -- ----------------------------
  4222. DROP TABLE IF EXISTS `ims_ewei_shop_member_card_uselog`;
  4223. CREATE TABLE `ims_ewei_shop_member_card_uselog` (
  4224. `id` int(11) NOT NULL AUTO_INCREMENT,
  4225. `uniacid` int(11) DEFAULT '0',
  4226. `openid` varchar(50) DEFAULT NULL,
  4227. `order_id` int(11) NOT NULL,
  4228. `member_card_id` int(11) NOT NULL,
  4229. `name` varchar(255) NOT NULL,
  4230. `shipping` tinyint(1) DEFAULT '0',
  4231. `discount_rate` varchar(50) DEFAULT NULL,
  4232. `order_price` decimal(11,2) NOT NULL DEFAULT '0.00',
  4233. `dec_price` decimal(11,2) NOT NULL DEFAULT '0.00',
  4234. `create_time` int(11) NOT NULL DEFAULT '0',
  4235. PRIMARY KEY (`id`),
  4236. KEY `idx_openid` (`openid`)
  4237. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4238. -- ----------------------------
  4239. -- Table structure for ims_ewei_shop_member_cart
  4240. -- ----------------------------
  4241. DROP TABLE IF EXISTS `ims_ewei_shop_member_cart`;
  4242. CREATE TABLE `ims_ewei_shop_member_cart` (
  4243. `id` int(11) NOT NULL AUTO_INCREMENT,
  4244. `uniacid` int(11) DEFAULT '0',
  4245. `openid` varchar(100) DEFAULT '',
  4246. `goodsid` int(11) DEFAULT '0',
  4247. `total` int(11) DEFAULT '0',
  4248. `marketprice` decimal(10,2) DEFAULT '0.00',
  4249. `deleted` tinyint(1) DEFAULT '0',
  4250. `optionid` int(11) DEFAULT '0',
  4251. `createtime` int(11) DEFAULT '0',
  4252. `diyformdataid` int(11) DEFAULT '0',
  4253. `diyformdata` text,
  4254. `diyformfields` text,
  4255. `diyformid` int(11) DEFAULT '0',
  4256. `selected` tinyint(1) DEFAULT '1',
  4257. `selectedadd` tinyint(1) DEFAULT '1',
  4258. `merchid` int(11) DEFAULT '0',
  4259. `isnewstore` tinyint(3) NOT NULL DEFAULT '0',
  4260. PRIMARY KEY (`id`),
  4261. KEY `idx_uniacid` (`uniacid`),
  4262. KEY `idx_goodsid` (`goodsid`),
  4263. KEY `idx_openid` (`openid`),
  4264. KEY `idx_deleted` (`deleted`)
  4265. ) ENGINE=MyISAM AUTO_INCREMENT=2596 DEFAULT CHARSET=utf8;
  4266. -- ----------------------------
  4267. -- Table structure for ims_ewei_shop_member_credit_record
  4268. -- ----------------------------
  4269. DROP TABLE IF EXISTS `ims_ewei_shop_member_credit_record`;
  4270. CREATE TABLE `ims_ewei_shop_member_credit_record` (
  4271. `id` int(11) NOT NULL AUTO_INCREMENT,
  4272. `uid` int(11) unsigned NOT NULL,
  4273. `openid` varchar(255) DEFAULT '',
  4274. `uniacid` int(11) NOT NULL,
  4275. `credittype` varchar(10) NOT NULL,
  4276. `num` decimal(10,2) NOT NULL,
  4277. `operator` int(10) unsigned NOT NULL,
  4278. `createtime` int(10) unsigned NOT NULL,
  4279. `remark` varchar(200) NOT NULL,
  4280. `module` varchar(30) NOT NULL,
  4281. PRIMARY KEY (`id`),
  4282. KEY `uniacid` (`uniacid`),
  4283. KEY `openid` (`openid`)
  4284. ) ENGINE=MyISAM AUTO_INCREMENT=472 DEFAULT CHARSET=utf8;
  4285. -- ----------------------------
  4286. -- Table structure for ims_ewei_shop_member_favorite
  4287. -- ----------------------------
  4288. DROP TABLE IF EXISTS `ims_ewei_shop_member_favorite`;
  4289. CREATE TABLE `ims_ewei_shop_member_favorite` (
  4290. `id` int(11) NOT NULL AUTO_INCREMENT,
  4291. `uniacid` int(11) DEFAULT '0',
  4292. `goodsid` int(10) DEFAULT '0',
  4293. `openid` varchar(50) DEFAULT '',
  4294. `deleted` tinyint(1) DEFAULT '0',
  4295. `createtime` int(11) DEFAULT '0',
  4296. `merchid` int(11) DEFAULT '0',
  4297. `type` int(11) DEFAULT '0',
  4298. PRIMARY KEY (`id`),
  4299. KEY `idx_uniacid` (`uniacid`),
  4300. KEY `idx_goodsid` (`goodsid`),
  4301. KEY `idx_openid` (`openid`),
  4302. KEY `idx_deleted` (`deleted`),
  4303. KEY `idx_createtime` (`createtime`)
  4304. ) ENGINE=MyISAM AUTO_INCREMENT=516 DEFAULT CHARSET=utf8;
  4305. -- ----------------------------
  4306. -- Table structure for ims_ewei_shop_member_group
  4307. -- ----------------------------
  4308. DROP TABLE IF EXISTS `ims_ewei_shop_member_group`;
  4309. CREATE TABLE `ims_ewei_shop_member_group` (
  4310. `id` int(11) NOT NULL AUTO_INCREMENT,
  4311. `uniacid` int(11) DEFAULT '0',
  4312. `groupname` varchar(255) DEFAULT '',
  4313. `description` varchar(255) NOT NULL DEFAULT '',
  4314. PRIMARY KEY (`id`)
  4315. ) ENGINE=MyISAM AUTO_INCREMENT=24 DEFAULT CHARSET=utf8;
  4316. -- ----------------------------
  4317. -- Table structure for ims_ewei_shop_member_group_log
  4318. -- ----------------------------
  4319. DROP TABLE IF EXISTS `ims_ewei_shop_member_group_log`;
  4320. CREATE TABLE `ims_ewei_shop_member_group_log` (
  4321. `log_id` int(11) NOT NULL AUTO_INCREMENT,
  4322. `mid` int(11) NOT NULL DEFAULT '0',
  4323. `openid` varchar(50) NOT NULL DEFAULT '0',
  4324. `group_id` int(11) NOT NULL DEFAULT '0',
  4325. `add_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  4326. `content` varchar(255) NOT NULL DEFAULT '',
  4327. PRIMARY KEY (`log_id`),
  4328. KEY `group_id` (`group_id`),
  4329. KEY `openid` (`openid`)
  4330. ) ENGINE=MyISAM AUTO_INCREMENT=119 DEFAULT CHARSET=utf8;
  4331. -- ----------------------------
  4332. -- Table structure for ims_ewei_shop_member_history
  4333. -- ----------------------------
  4334. DROP TABLE IF EXISTS `ims_ewei_shop_member_history`;
  4335. CREATE TABLE `ims_ewei_shop_member_history` (
  4336. `id` int(11) NOT NULL AUTO_INCREMENT,
  4337. `uniacid` int(11) DEFAULT '0',
  4338. `goodsid` int(10) DEFAULT '0',
  4339. `openid` varchar(50) DEFAULT '',
  4340. `deleted` tinyint(1) DEFAULT '0',
  4341. `createtime` int(11) DEFAULT '0',
  4342. `times` int(11) DEFAULT '0',
  4343. `merchid` int(11) DEFAULT '0',
  4344. PRIMARY KEY (`id`),
  4345. KEY `idx_uniacid` (`uniacid`),
  4346. KEY `idx_goodsid` (`goodsid`),
  4347. KEY `idx_openid` (`openid`),
  4348. KEY `idx_deleted` (`deleted`),
  4349. KEY `idx_createtime` (`createtime`)
  4350. ) ENGINE=MyISAM AUTO_INCREMENT=48018 DEFAULT CHARSET=utf8;
  4351. -- ----------------------------
  4352. -- Table structure for ims_ewei_shop_member_level
  4353. -- ----------------------------
  4354. DROP TABLE IF EXISTS `ims_ewei_shop_member_level`;
  4355. CREATE TABLE `ims_ewei_shop_member_level` (
  4356. `id` int(11) NOT NULL AUTO_INCREMENT,
  4357. `uniacid` int(11) NOT NULL,
  4358. `level` int(11) DEFAULT '0',
  4359. `levelname` varchar(50) DEFAULT '',
  4360. `ordermoney` decimal(10,2) DEFAULT '0.00',
  4361. `ordercount` int(10) DEFAULT '0',
  4362. `discount` decimal(10,2) DEFAULT '0.00',
  4363. `enabled` tinyint(3) DEFAULT '0',
  4364. `enabledadd` tinyint(1) DEFAULT '0',
  4365. `buygoods` tinyint(1) NOT NULL DEFAULT '0',
  4366. `goodsids` text NOT NULL,
  4367. PRIMARY KEY (`id`),
  4368. KEY `idx_uniacid` (`uniacid`)
  4369. ) ENGINE=MyISAM AUTO_INCREMENT=65 DEFAULT CHARSET=utf8;
  4370. -- ----------------------------
  4371. -- Table structure for ims_ewei_shop_member_log
  4372. -- ----------------------------
  4373. DROP TABLE IF EXISTS `ims_ewei_shop_member_log`;
  4374. CREATE TABLE `ims_ewei_shop_member_log` (
  4375. `id` int(11) NOT NULL AUTO_INCREMENT,
  4376. `uniacid` int(11) DEFAULT '0',
  4377. `openid` varchar(255) DEFAULT '',
  4378. `type` tinyint(3) DEFAULT NULL,
  4379. `logno` varchar(255) DEFAULT '',
  4380. `title` varchar(255) DEFAULT '',
  4381. `createtime` int(11) DEFAULT '0',
  4382. `status` int(11) DEFAULT '0',
  4383. `money` decimal(10,2) DEFAULT '0.00',
  4384. `rechargetype` varchar(255) DEFAULT '',
  4385. `gives` decimal(10,2) DEFAULT NULL,
  4386. `couponid` int(11) DEFAULT '0',
  4387. `transid` varchar(255) DEFAULT '',
  4388. `realmoney` decimal(10,2) DEFAULT '0.00',
  4389. `charge` decimal(10,2) DEFAULT '0.00',
  4390. `deductionmoney` decimal(10,2) DEFAULT '0.00',
  4391. `isborrow` tinyint(3) DEFAULT '0',
  4392. `borrowopenid` varchar(100) DEFAULT '',
  4393. `remark` varchar(255) NOT NULL DEFAULT '',
  4394. `apppay` tinyint(3) NOT NULL DEFAULT '0',
  4395. `alipay` varchar(50) NOT NULL DEFAULT '',
  4396. `bankname` varchar(50) NOT NULL DEFAULT '',
  4397. `bankcard` varchar(50) NOT NULL DEFAULT '',
  4398. `realname` varchar(50) NOT NULL DEFAULT '',
  4399. `applytype` tinyint(3) NOT NULL DEFAULT '0',
  4400. `sendmoney` decimal(10,2) DEFAULT '0.00',
  4401. `senddata` text,
  4402. PRIMARY KEY (`id`),
  4403. KEY `idx_uniacid` (`uniacid`),
  4404. KEY `idx_openid` (`openid`),
  4405. KEY `idx_type` (`type`),
  4406. KEY `idx_createtime` (`createtime`),
  4407. KEY `idx_status` (`status`)
  4408. ) ENGINE=MyISAM AUTO_INCREMENT=460 DEFAULT CHARSET=utf8;
  4409. -- ----------------------------
  4410. -- Table structure for ims_ewei_shop_member_mergelog
  4411. -- ----------------------------
  4412. DROP TABLE IF EXISTS `ims_ewei_shop_member_mergelog`;
  4413. CREATE TABLE `ims_ewei_shop_member_mergelog` (
  4414. `id` int(11) NOT NULL AUTO_INCREMENT,
  4415. `uniacid` int(11) NOT NULL DEFAULT '0',
  4416. `mergetime` int(11) NOT NULL DEFAULT '0',
  4417. `openid_a` varchar(30) NOT NULL,
  4418. `openid_b` varchar(30) NOT NULL,
  4419. `mid_a` int(11) NOT NULL,
  4420. `mid_b` int(11) NOT NULL,
  4421. `detail_a` text,
  4422. `detail_b` text,
  4423. `detail_c` text,
  4424. `fromuniacid` int(11) DEFAULT '0',
  4425. PRIMARY KEY (`id`),
  4426. KEY `idx_uniacid` (`uniacid`),
  4427. KEY `idx_mid_a` (`mid_a`),
  4428. KEY `idx_mid_b` (`mid_b`)
  4429. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  4430. -- ----------------------------
  4431. -- Table structure for ims_ewei_shop_member_message_template
  4432. -- ----------------------------
  4433. DROP TABLE IF EXISTS `ims_ewei_shop_member_message_template`;
  4434. CREATE TABLE `ims_ewei_shop_member_message_template` (
  4435. `id` int(11) NOT NULL AUTO_INCREMENT,
  4436. `uniacid` int(11) DEFAULT '0',
  4437. `title` varchar(255) DEFAULT '',
  4438. `template_id` varchar(255) DEFAULT '',
  4439. `first` text NOT NULL,
  4440. `firstcolor` varchar(255) DEFAULT '',
  4441. `data` text NOT NULL,
  4442. `remark` text NOT NULL,
  4443. `remarkcolor` varchar(255) DEFAULT '',
  4444. `url` varchar(255) NOT NULL,
  4445. `createtime` int(11) DEFAULT '0',
  4446. `sendtimes` int(11) DEFAULT '0',
  4447. `sendcount` int(11) DEFAULT '0',
  4448. `typecode` varchar(30) DEFAULT '',
  4449. `messagetype` tinyint(1) DEFAULT '0',
  4450. `send_desc` varchar(255) DEFAULT '',
  4451. PRIMARY KEY (`id`),
  4452. KEY `idx_uniacid` (`uniacid`),
  4453. KEY `idx_createtime` (`createtime`)
  4454. ) ENGINE=MyISAM AUTO_INCREMENT=26 DEFAULT CHARSET=utf8;
  4455. -- ----------------------------
  4456. -- Table structure for ims_ewei_shop_member_message_template_default
  4457. -- ----------------------------
  4458. DROP TABLE IF EXISTS `ims_ewei_shop_member_message_template_default`;
  4459. CREATE TABLE `ims_ewei_shop_member_message_template_default` (
  4460. `id` int(11) NOT NULL AUTO_INCREMENT,
  4461. `typecode` varchar(255) DEFAULT NULL,
  4462. `uniacid` int(11) DEFAULT NULL,
  4463. `templateid` varchar(255) DEFAULT NULL,
  4464. PRIMARY KEY (`id`)
  4465. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  4466. -- ----------------------------
  4467. -- Records of ims_ewei_shop_member_message_template_default
  4468. -- ----------------------------
  4469. BEGIN;
  4470. INSERT INTO `ims_ewei_shop_member_message_template_default` VALUES (1, 'saler_pay', 72, 'M5L1vi_09j1rzv-Rehg9PZd4bW6XJzb00n1U5w6zUQY');
  4471. INSERT INTO `ims_ewei_shop_member_message_template_default` VALUES (2, 'saler_refund', 72, 'V_CJCRYf6qLzHGrDIytbC1m4n4-kFt4JKZwofz4NZEE');
  4472. COMMIT;
  4473. -- ----------------------------
  4474. -- Table structure for ims_ewei_shop_member_message_template_type
  4475. -- ----------------------------
  4476. DROP TABLE IF EXISTS `ims_ewei_shop_member_message_template_type`;
  4477. CREATE TABLE `ims_ewei_shop_member_message_template_type` (
  4478. `id` int(11) NOT NULL,
  4479. `name` varchar(255) DEFAULT NULL,
  4480. `typecode` varchar(255) DEFAULT NULL,
  4481. `templatecode` varchar(255) DEFAULT NULL,
  4482. `templateid` varchar(255) DEFAULT NULL,
  4483. `templatename` varchar(255) DEFAULT NULL,
  4484. `content` varchar(1000) DEFAULT NULL,
  4485. `showtotaladd` tinyint(1) DEFAULT '0',
  4486. `typegroup` varchar(255) DEFAULT '',
  4487. `groupname` varchar(255) DEFAULT '',
  4488. PRIMARY KEY (`id`) USING BTREE,
  4489. KEY `id` (`id`) USING BTREE
  4490. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  4491. -- ----------------------------
  4492. -- Records of ims_ewei_shop_member_message_template_type
  4493. -- ----------------------------
  4494. BEGIN;
  4495. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (1, '订单付款通知', 'saler_pay', 'OPENTM405584202', '', '订单付款通知', '{{first.DATA}}订单编号:{{keyword1.DATA}}商品名称:{{keyword2.DATA}}商品数量:{{keyword3.DATA}}支付金额:{{keyword4.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4496. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (2, '自提订单提交成功通知', 'carrier', 'OPENTM201594720', '', '订单付款通知', '{{first.DATA}}自提码:{{keyword1.DATA}}商品详情:{{keyword2.DATA}}提货地址:{{keyword3.DATA}}提货时间:{{keyword4.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4497. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (3, '订单取消通知', 'cancel', 'OPENTM201764653', '', '订单关闭提醒', '{{first.DATA}}订单商品:{{keyword1.DATA}}订单编号:{{keyword2.DATA}}下单时间:{{keyword3.DATA}}订单金额:{{keyword4.DATA}}关闭时间:{{keyword5.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4498. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (4, '订单即将取消通知', 'willcancel', 'OPENTM201764653', '', '订单关闭提醒', '{{first.DATA}}订单商品:{{keyword1.DATA}}订单编号:{{keyword2.DATA}}下单时间:{{keyword3.DATA}}订单金额:{{keyword4.DATA}}关闭时间:{{keyword5.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4499. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (5, '订单支付成功通知', 'pay', 'OPENTM405584202', '', '订单支付通知', '{{first.DATA}}订单编号:{{keyword1.DATA}}商品名称:{{keyword2.DATA}}商品数量:{{keyword3.DATA}}支付金额:{{keyword4.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4500. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (6, '订单发货通知', 'send', 'OPENTM401874827', '', '订单发货通知', '{{first.DATA}}订单编号:{{keyword1.DATA}}快递公司:{{keyword2.DATA}}快递单号:{{keyword3.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4501. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (7, '自动发货通知(虚拟物品及卡密)', 'virtualsend', 'OPENTM207793687', '', '自动发货通知', '{{first.DATA}}商品名称:{{keyword1.DATA}}订单号:{{keyword2.DATA}}订单金额:{{keyword3.DATA}}卡密信息:{{keyword4.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4502. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (8, '订单状态更新(修改收货地址)(修改价格)', 'orderstatus', 'TM00017', '', '订单付款通知', '{{first.DATA}}订单编号:{{OrderSn.DATA}}订单状态:{{OrderStatus.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4503. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (9, '退款成功通知', 'refund1', 'TM00430', '', '退款成功通知', '{{first.DATA}}退款金额:{{orderProductPrice.DATA}}商品详情:{{orderProductName.DATA}}订单编号:{{orderName.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4504. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (10, '换货成功通知', 'refund3', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4505. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (11, '退款申请驳回通知', 'refund2', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4506. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (12, '充值成功通知', 'recharge_ok', 'OPENTM207727673', '', '充值成功提醒', '{{first.DATA}}充值金额:{{keyword1.DATA}}充值时间:{{keyword2.DATA}}账户余额:{{keyword3.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4507. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (13, '提现成功通知', 'withdraw_ok', 'OPENTM207422808', '', '提现通知', '{{first.DATA}}申请提现金额:{{keyword1.DATA}}取提现手续费:{{keyword2.DATA}}实际到账金额:{{keyword3.DATA}}提现渠道:{{keyword4.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4508. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (14, '会员升级通知(任务处理通知)', 'upgrade', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4509. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (15, '充值成功通知(后台管理员手动)', 'backrecharge_ok', 'OPENTM207727673', '', '充值成功提醒', '{{first.DATA}}充值金额:{{keyword1.DATA}}充值时间:{{keyword2.DATA}}账户余额:{{keyword3.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4510. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (16, '积分变动提醒', 'backpoint_ok', 'OPENTM207509450', '', '积分变动提醒', '{{first.DATA}}获得时间:{{keyword1.DATA}}获得积分:{{keyword2.DATA}}获得原因:{{keyword3.DATA}}当前积分:{{keyword4.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4511. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (17, '换货发货通知', 'refund4', 'OPENTM401874827', '', '订单发货通知', '{{first.DATA}}订单编号:{{keyword1.DATA}}快递公司:{{keyword2.DATA}}快递单号:{{keyword3.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4512. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (18, '砍价活动通知', 'bargain_message', 'OPENTM207574677', NULL, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'bargain', '砍价消息通知');
  4513. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (19, '拼团活动通知', 'groups', NULL, NULL, NULL, NULL, 0, 'groups', '拼团消息通知');
  4514. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (20, '人人分销通知', 'commission', NULL, NULL, NULL, NULL, 0, 'commission', '分销消息通知');
  4515. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (21, '商品付款通知', 'saler_goodpay', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4516. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (22, '砍到底价通知', 'bargain_fprice', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'bargain', '砍价消息通知');
  4517. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (23, '订单收货通知(卖家)', 'saler_finish', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4518. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (24, '余额兑换成功通知', 'exchange_balance', 'OPENTM207727673', '', '充值成功提醒', '{{first.DATA}}充值金额:{{keyword1.DATA}}充值时间:{{keyword2.DATA}}账户余额:{{keyword3.DATA}}{{remark.DATA}}', 0, 'exchange', '兑换中心消息通知');
  4519. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (25, '积分兑换成功通知', 'exchange_score', 'OPENTM207509450', '', '积分变动提醒', '{{first.DATA}}获得时间:{{keyword1.DATA}}获得积分:{{keyword2.DATA}}获得原因:{{keyword3.DATA}}当前积分:{{keyword4.DATA}}{{remark.DATA}}', 0, 'exchange', '兑换中心消息通知');
  4520. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (26, '兑换中心余额充值通知', 'exchange_recharge', 'OPENTM207727673', '', '充值成功提醒', '{{first.DATA}}充值金额:{{keyword1.DATA}}充值时间:{{keyword2.DATA}}账户余额:{{keyword3.DATA}}{{remark.DATA}}', 0, 'exchange', '兑换中心消息通知');
  4521. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (27, '游戏中心通知', 'lottery_get', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'lottery', '抽奖消息通知');
  4522. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (35, '库存预警通知', 'saler_stockwarn', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4523. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (36, '卖家核销商品核销通知', 'o2o_sverify', 'OPENTM409521536', '', '核销成功提醒', '{{first.DATA}}核销项目:{{keyword1.DATA}}核销时间:{{keyword2.DATA}}核销门店:{{keyword3.DATA}}{{remark.DATA}}', 0, 'o2o', 'O2O消息通知');
  4524. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (37, '核销商品核销通知', 'o2o_bverify', 'OPENTM409521536', '', '核销成功提醒', '{{first.DATA}}核销项目:{{keyword1.DATA}}核销时间:{{keyword2.DATA}}核销门店:{{keyword3.DATA}}{{remark.DATA}}', 0, 'o2o', 'O2O消息通知');
  4525. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (38, '卖家商品预约通知', 'o2o_snorder', 'OPENTM202447657', '', '预约成功提醒', '{{first.DATA}}预约项目:{{keyword1.DATA}}预约时间:{{keyword2.DATA}}{{remark.DATA}}', 0, 'o2o', 'O2O消息通知');
  4526. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (39, '商品预约成功通知', 'o2o_bnorder', 'OPENTM202447657', '', '预约成功提醒', '{{first.DATA}}预约项目:{{keyword1.DATA}}预约时间:{{keyword2.DATA}}{{remark.DATA}}', 0, 'o2o', 'O2O消息通知');
  4527. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (42, '商品下单通知', 'saler_goodsubmit', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4528. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (50, '维权订单通知', 'saler_refund', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'sys', '系统消息通知');
  4529. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (43, '任务接取通知', 'task_pick', 'OPENTM207574677', NULL, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'task', '任务中心消息通知');
  4530. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (44, '任务进度通知', 'task_progress', 'OPENTM207574677', NULL, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'task', '任务中心消息通知');
  4531. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (45, '任务完成通知', 'task_finish', 'OPENTM207574677', NULL, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'task', '任务中心消息通知');
  4532. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (46, '任务海报接取通知', 'task_poster_pick', 'OPENTM207574677', NULL, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'task', '任务中心消息通知');
  4533. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (47, '任务海报进度通知', 'task_poster_progress', 'OPENTM207574677', NULL, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'task', '任务中心消息通知');
  4534. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (48, '任务海报完成通知', 'task_poster_finish', 'OPENTM207574677', NULL, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'task', '任务中心消息通知');
  4535. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (49, '任务海报扫描通知', 'task_poster_scan', 'OPENTM207574677', NULL, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'task', '任务中心消息通知');
  4536. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (52, '成为分销商通知', 'commission_become', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'commission', '分销消息通知');
  4537. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (53, '新增下线通知', 'commission_agent_new', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'commission', '分销消息通知');
  4538. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (54, '下级付款通知', 'commission_order_pay', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'commission', '分销消息通知');
  4539. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (55, '下级确认收货通知', 'commission_order_finish', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'commission', '分销消息通知');
  4540. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (56, '提现申请提交通知', 'commission_apply', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'commission', '分销消息通知');
  4541. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (57, '提现申请完成审核通知', 'commission_check', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'commission', '分销消息通知');
  4542. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (58, '佣金打款通知', 'commission_pay', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'commission', '分销消息通知');
  4543. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (59, '分销商等级升级通知', 'commission_upgrade', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'commission', '分销消息通知');
  4544. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (60, '成为股东通知', 'globonus_become', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'globonus', '股东消息通知');
  4545. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (61, '股东等级升级通知', 'globonus_upgrade', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'globonus', '股东消息通知');
  4546. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (62, '分红发放通知', 'globonus_pay', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'globonus', '股东消息通知');
  4547. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (63, '奖励发放通知', 'article', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'article', '文章营销消息通知');
  4548. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (64, '成为区域代理通知', 'abonus_become', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'abonus', '区域代理消息通知');
  4549. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (65, '省级代理等级升级通知', 'abonus_upgrade1', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'abonus', '区域代理消息通知');
  4550. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (66, '市级代理等级升级通知', 'abonus_upgrade2', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'abonus', '区域代理消息通知');
  4551. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (67, '区级代理等级升级通知', 'abonus_upgrade3', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'abonus', '区域代理消息通知');
  4552. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (68, '区域代理分红发放通知', 'abonus_pay', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'abonus', '区域代理消息通知');
  4553. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (69, '入驻申请通知', 'merch_apply', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'merch', '商家通知');
  4554. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (70, '提现申请提交通知', 'merch_applymoney', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'merch', '商家通知');
  4555. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (71, '社区会员评论通知', 'reply', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'sns', '人人社区消息通知');
  4556. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (51, '社区会员升级通知', 'sns', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'sns', '人人社区消息通知');
  4557. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (74, '周期购定时发货通知', 'cycelbuy_timing', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'cycelbuy', '周期购消息通知');
  4558. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (73, '修改收货时间卖家通知', 'cycelbuy_seller_date', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'cycelbuy', '周期购消息通知');
  4559. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (72, '修改地址卖家通知', 'cycelbuy_seller_address', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'cycelbuy', '周期购消息通知');
  4560. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (75, '修改收货时间买家通知', 'cycelbuy_buyer_date', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'cycelbuy', '周期购消息通知');
  4561. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES (76, '修改地址买家通知', 'cycelbuy_buyer_address', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 0, 'cycelbuy', '周期购消息通知');
  4562. COMMIT;
  4563. -- ----------------------------
  4564. -- Table structure for ims_ewei_shop_member_printer
  4565. -- ----------------------------
  4566. DROP TABLE IF EXISTS `ims_ewei_shop_member_printer`;
  4567. CREATE TABLE `ims_ewei_shop_member_printer` (
  4568. `id` int(11) NOT NULL AUTO_INCREMENT,
  4569. `uniacid` int(11) DEFAULT '0',
  4570. `title` varchar(255) DEFAULT '',
  4571. `type` tinyint(3) DEFAULT '0',
  4572. `print_data` text,
  4573. `createtime` int(11) DEFAULT '0',
  4574. `merchid` int(11) DEFAULT '0',
  4575. PRIMARY KEY (`id`),
  4576. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  4577. KEY `idx_createtime` (`createtime`) USING BTREE,
  4578. KEY `idx_merchid` (`merchid`)
  4579. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  4580. -- ----------------------------
  4581. -- Table structure for ims_ewei_shop_member_printer_template
  4582. -- ----------------------------
  4583. DROP TABLE IF EXISTS `ims_ewei_shop_member_printer_template`;
  4584. CREATE TABLE `ims_ewei_shop_member_printer_template` (
  4585. `id` int(11) NOT NULL AUTO_INCREMENT,
  4586. `uniacid` int(11) DEFAULT '0',
  4587. `title` varchar(255) DEFAULT '',
  4588. `type` tinyint(3) DEFAULT '0',
  4589. `print_title` varchar(255) DEFAULT '',
  4590. `print_style` varchar(255) DEFAULT '',
  4591. `print_data` text,
  4592. `code` varchar(500) DEFAULT '',
  4593. `qrcode` varchar(500) DEFAULT '',
  4594. `createtime` int(11) DEFAULT '0',
  4595. `merchid` int(11) DEFAULT '0',
  4596. `goodssn` tinyint(1) NOT NULL DEFAULT '0',
  4597. `productsn` tinyint(1) NOT NULL DEFAULT '0',
  4598. PRIMARY KEY (`id`),
  4599. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  4600. KEY `idx_createtime` (`createtime`) USING BTREE,
  4601. KEY `idx_merchid` (`merchid`)
  4602. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  4603. -- ----------------------------
  4604. -- Table structure for ims_ewei_shop_member_rank
  4605. -- ----------------------------
  4606. DROP TABLE IF EXISTS `ims_ewei_shop_member_rank`;
  4607. CREATE TABLE `ims_ewei_shop_member_rank` (
  4608. `id` int(11) NOT NULL AUTO_INCREMENT,
  4609. `uniacid` int(10) unsigned NOT NULL,
  4610. `status` tinyint(4) NOT NULL,
  4611. `num` int(11) NOT NULL,
  4612. PRIMARY KEY (`id`)
  4613. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4614. -- ----------------------------
  4615. -- Table structure for ims_ewei_shop_member_tmp
  4616. -- ----------------------------
  4617. DROP TABLE IF EXISTS `ims_ewei_shop_member_tmp`;
  4618. CREATE TABLE `ims_ewei_shop_member_tmp` (
  4619. `uniacid` int(11) DEFAULT '0',
  4620. `openid` varchar(50) DEFAULT ''
  4621. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  4622. -- ----------------------------
  4623. -- Table structure for ims_ewei_shop_merch_account
  4624. -- ----------------------------
  4625. DROP TABLE IF EXISTS `ims_ewei_shop_merch_account`;
  4626. CREATE TABLE `ims_ewei_shop_merch_account` (
  4627. `id` int(11) NOT NULL AUTO_INCREMENT,
  4628. `uniacid` int(11) DEFAULT '0',
  4629. `openid` varchar(255) DEFAULT '',
  4630. `merchid` int(11) DEFAULT '0',
  4631. `username` varchar(255) DEFAULT '',
  4632. `pwd` varchar(255) DEFAULT '',
  4633. `salt` varchar(255) DEFAULT '',
  4634. `status` tinyint(3) DEFAULT '0',
  4635. `perms` text,
  4636. `isfounder` tinyint(3) DEFAULT '0',
  4637. `lastip` varchar(255) DEFAULT '',
  4638. `lastvisit` varchar(255) DEFAULT '',
  4639. `roleid` int(11) DEFAULT '0',
  4640. PRIMARY KEY (`id`),
  4641. KEY `idx_uniacid` (`uniacid`),
  4642. KEY `idx_merchid` (`merchid`),
  4643. KEY `idx_status` (`status`)
  4644. ) ENGINE=MyISAM AUTO_INCREMENT=123 DEFAULT CHARSET=utf8;
  4645. -- ----------------------------
  4646. -- Table structure for ims_ewei_shop_merch_adv
  4647. -- ----------------------------
  4648. DROP TABLE IF EXISTS `ims_ewei_shop_merch_adv`;
  4649. CREATE TABLE `ims_ewei_shop_merch_adv` (
  4650. `id` int(11) NOT NULL AUTO_INCREMENT,
  4651. `uniacid` int(11) DEFAULT '0',
  4652. `advname` varchar(50) DEFAULT NULL,
  4653. `link` varchar(255) DEFAULT NULL,
  4654. `thumb` varchar(255) DEFAULT NULL,
  4655. `displayorder` int(11) DEFAULT NULL,
  4656. `enabled` int(11) DEFAULT NULL,
  4657. `merchid` int(11) DEFAULT '0',
  4658. PRIMARY KEY (`id`),
  4659. KEY `idx_uniacid` (`uniacid`),
  4660. KEY `idx_merchid` (`merchid`)
  4661. ) ENGINE=MyISAM AUTO_INCREMENT=29 DEFAULT CHARSET=utf8;
  4662. -- ----------------------------
  4663. -- Table structure for ims_ewei_shop_merch_banner
  4664. -- ----------------------------
  4665. DROP TABLE IF EXISTS `ims_ewei_shop_merch_banner`;
  4666. CREATE TABLE `ims_ewei_shop_merch_banner` (
  4667. `id` int(11) NOT NULL AUTO_INCREMENT,
  4668. `uniacid` int(11) DEFAULT '0',
  4669. `bannername` varchar(50) DEFAULT '',
  4670. `link` varchar(255) DEFAULT '',
  4671. `thumb` varchar(255) DEFAULT '',
  4672. `displayorder` int(11) DEFAULT '0',
  4673. `enabled` int(11) DEFAULT '0',
  4674. `merchid` int(11) DEFAULT '0',
  4675. PRIMARY KEY (`id`),
  4676. KEY `idx_uniacid` (`uniacid`),
  4677. KEY `idx_enabled` (`enabled`),
  4678. KEY `idx_displayorder` (`displayorder`),
  4679. KEY `idx_merchid` (`merchid`)
  4680. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  4681. -- ----------------------------
  4682. -- Table structure for ims_ewei_shop_merch_bill
  4683. -- ----------------------------
  4684. DROP TABLE IF EXISTS `ims_ewei_shop_merch_bill`;
  4685. CREATE TABLE `ims_ewei_shop_merch_bill` (
  4686. `id` int(11) NOT NULL AUTO_INCREMENT,
  4687. `uniacid` int(11) NOT NULL DEFAULT '0',
  4688. `applyno` varchar(255) NOT NULL DEFAULT '',
  4689. `merchid` int(11) NOT NULL DEFAULT '0',
  4690. `orderids` text NOT NULL,
  4691. `realprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4692. `realpricerate` decimal(10,2) NOT NULL DEFAULT '0.00',
  4693. `finalprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4694. `payrateprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4695. `payrate` decimal(10,2) NOT NULL DEFAULT '0.00',
  4696. `money` decimal(10,2) NOT NULL DEFAULT '0.00',
  4697. `applytime` int(11) NOT NULL DEFAULT '0',
  4698. `checktime` int(11) NOT NULL DEFAULT '0',
  4699. `paytime` int(11) NOT NULL DEFAULT '0',
  4700. `invalidtime` int(11) NOT NULL DEFAULT '0',
  4701. `refusetime` int(11) NOT NULL DEFAULT '0',
  4702. `remark` text NOT NULL,
  4703. `status` tinyint(3) NOT NULL DEFAULT '0',
  4704. `ordernum` int(11) NOT NULL DEFAULT '0',
  4705. `orderprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4706. `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  4707. `passrealprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4708. `passrealpricerate` decimal(10,2) NOT NULL DEFAULT '0.00',
  4709. `passorderids` text NOT NULL,
  4710. `passordernum` int(11) NOT NULL DEFAULT '0',
  4711. `passorderprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4712. `alipay` varchar(50) NOT NULL DEFAULT '',
  4713. `bankname` varchar(50) NOT NULL DEFAULT '',
  4714. `bankcard` varchar(50) NOT NULL DEFAULT '',
  4715. `applyrealname` varchar(50) NOT NULL DEFAULT '',
  4716. `applytype` tinyint(3) NOT NULL DEFAULT '0',
  4717. `handpay` tinyint(3) NOT NULL DEFAULT '0',
  4718. `creditstatus` tinyint(3) NOT NULL DEFAULT '0',
  4719. `creditrate` int(10) NOT NULL DEFAULT '1',
  4720. `creditnum` int(10) NOT NULL DEFAULT '0',
  4721. `creditmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  4722. `passcreditnum` int(10) NOT NULL DEFAULT '0',
  4723. `passcreditmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  4724. `isbillcredit` int(10) NOT NULL DEFAULT '0',
  4725. PRIMARY KEY (`id`),
  4726. KEY `idx_uniacid` (`uniacid`),
  4727. KEY `idx_merchid` (`merchid`),
  4728. KEY `idx_status` (`status`)
  4729. ) ENGINE=MyISAM AUTO_INCREMENT=27 DEFAULT CHARSET=utf8;
  4730. -- ----------------------------
  4731. -- Table structure for ims_ewei_shop_merch_bill_select
  4732. -- ----------------------------
  4733. DROP TABLE IF EXISTS `ims_ewei_shop_merch_bill_select`;
  4734. CREATE TABLE `ims_ewei_shop_merch_bill_select` (
  4735. `bill_id` int(11) NOT NULL DEFAULT '0',
  4736. `order_id` int(11) NOT NULL DEFAULT '0',
  4737. UNIQUE KEY `bid_oid` (`bill_id`,`order_id`),
  4738. KEY `bid` (`bill_id`),
  4739. KEY `oid` (`order_id`)
  4740. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4741. -- ----------------------------
  4742. -- Table structure for ims_ewei_shop_merch_billo
  4743. -- ----------------------------
  4744. DROP TABLE IF EXISTS `ims_ewei_shop_merch_billo`;
  4745. CREATE TABLE `ims_ewei_shop_merch_billo` (
  4746. `id` int(11) NOT NULL AUTO_INCREMENT,
  4747. `uniacid` int(11) NOT NULL DEFAULT '0',
  4748. `billid` int(11) NOT NULL DEFAULT '0',
  4749. `orderid` int(11) NOT NULL DEFAULT '0',
  4750. `ordermoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  4751. PRIMARY KEY (`id`),
  4752. KEY `idx_uniacid` (`uniacid`)
  4753. ) ENGINE=MyISAM AUTO_INCREMENT=55 DEFAULT CHARSET=utf8;
  4754. -- ----------------------------
  4755. -- Table structure for ims_ewei_shop_merch_category
  4756. -- ----------------------------
  4757. DROP TABLE IF EXISTS `ims_ewei_shop_merch_category`;
  4758. CREATE TABLE `ims_ewei_shop_merch_category` (
  4759. `id` int(11) NOT NULL AUTO_INCREMENT,
  4760. `uniacid` int(11) DEFAULT '0',
  4761. `catename` varchar(255) DEFAULT '',
  4762. `createtime` int(11) DEFAULT '0',
  4763. `status` tinyint(1) DEFAULT '0',
  4764. `displayorder` int(11) DEFAULT '0',
  4765. `thumb` varchar(500) DEFAULT '',
  4766. `isrecommand` tinyint(1) DEFAULT '0',
  4767. PRIMARY KEY (`id`),
  4768. KEY `idx_uniacid` (`uniacid`)
  4769. ) ENGINE=MyISAM AUTO_INCREMENT=46 DEFAULT CHARSET=utf8;
  4770. -- ----------------------------
  4771. -- Table structure for ims_ewei_shop_merch_category_swipe
  4772. -- ----------------------------
  4773. DROP TABLE IF EXISTS `ims_ewei_shop_merch_category_swipe`;
  4774. CREATE TABLE `ims_ewei_shop_merch_category_swipe` (
  4775. `id` int(11) NOT NULL AUTO_INCREMENT,
  4776. `uniacid` int(11) DEFAULT '0',
  4777. `title` varchar(255) DEFAULT '',
  4778. `createtime` int(11) DEFAULT '0',
  4779. `status` tinyint(1) DEFAULT '0',
  4780. `displayorder` int(11) DEFAULT '0',
  4781. `thumb` varchar(500) DEFAULT '',
  4782. PRIMARY KEY (`id`),
  4783. KEY `idx_uniacid` (`uniacid`)
  4784. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
  4785. -- ----------------------------
  4786. -- Table structure for ims_ewei_shop_merch_clearing
  4787. -- ----------------------------
  4788. DROP TABLE IF EXISTS `ims_ewei_shop_merch_clearing`;
  4789. CREATE TABLE `ims_ewei_shop_merch_clearing` (
  4790. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  4791. `uniacid` int(11) NOT NULL DEFAULT '0',
  4792. `merchid` int(11) NOT NULL DEFAULT '0',
  4793. `clearno` varchar(64) NOT NULL DEFAULT '',
  4794. `goodsprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4795. `dispatchprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4796. `deductprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4797. `deductcredit2` decimal(10,2) NOT NULL DEFAULT '0.00',
  4798. `discountprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4799. `deductenough` decimal(10,2) NOT NULL DEFAULT '0.00',
  4800. `merchdeductenough` decimal(10,2) NOT NULL DEFAULT '0.00',
  4801. `isdiscountprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4802. `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  4803. `createtime` int(10) unsigned NOT NULL DEFAULT '0',
  4804. `starttime` int(10) unsigned NOT NULL DEFAULT '0',
  4805. `endtime` int(10) unsigned NOT NULL DEFAULT '0',
  4806. `status` tinyint(1) NOT NULL DEFAULT '0',
  4807. `realprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4808. `realpricerate` decimal(10,2) NOT NULL DEFAULT '0.00',
  4809. `finalprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4810. `remark` varchar(2000) NOT NULL DEFAULT '',
  4811. `paytime` int(11) NOT NULL DEFAULT '0',
  4812. `payrate` decimal(10,2) NOT NULL DEFAULT '0.00',
  4813. PRIMARY KEY (`id`),
  4814. KEY `uniacid` (`uniacid`),
  4815. KEY `merchid` (`merchid`),
  4816. KEY `starttime` (`starttime`),
  4817. KEY `endtime` (`endtime`),
  4818. KEY `status` (`status`)
  4819. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4820. -- ----------------------------
  4821. -- Table structure for ims_ewei_shop_merch_commission_orderprice
  4822. -- ----------------------------
  4823. DROP TABLE IF EXISTS `ims_ewei_shop_merch_commission_orderprice`;
  4824. CREATE TABLE `ims_ewei_shop_merch_commission_orderprice` (
  4825. `order_id` int(11) unsigned NOT NULL,
  4826. `commission_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  4827. PRIMARY KEY (`order_id`)
  4828. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4829. -- ----------------------------
  4830. -- Table structure for ims_ewei_shop_merch_group
  4831. -- ----------------------------
  4832. DROP TABLE IF EXISTS `ims_ewei_shop_merch_group`;
  4833. CREATE TABLE `ims_ewei_shop_merch_group` (
  4834. `id` int(11) NOT NULL AUTO_INCREMENT,
  4835. `uniacid` int(11) DEFAULT '0',
  4836. `groupname` varchar(255) DEFAULT '',
  4837. `createtime` int(11) DEFAULT '0',
  4838. `status` tinyint(3) DEFAULT '0',
  4839. `isdefault` tinyint(1) DEFAULT '0',
  4840. `goodschecked` tinyint(1) DEFAULT '0',
  4841. `commissionchecked` tinyint(1) DEFAULT '0',
  4842. `changepricechecked` tinyint(1) DEFAULT '0',
  4843. `finishchecked` tinyint(1) DEFAULT '0',
  4844. PRIMARY KEY (`id`),
  4845. KEY `idx_uniacid` (`uniacid`)
  4846. ) ENGINE=MyISAM AUTO_INCREMENT=70 DEFAULT CHARSET=utf8;
  4847. -- ----------------------------
  4848. -- Table structure for ims_ewei_shop_merch_nav
  4849. -- ----------------------------
  4850. DROP TABLE IF EXISTS `ims_ewei_shop_merch_nav`;
  4851. CREATE TABLE `ims_ewei_shop_merch_nav` (
  4852. `id` int(11) NOT NULL AUTO_INCREMENT,
  4853. `uniacid` int(11) DEFAULT '0',
  4854. `navname` varchar(255) DEFAULT '',
  4855. `icon` varchar(255) DEFAULT '',
  4856. `url` varchar(255) DEFAULT '',
  4857. `displayorder` int(11) DEFAULT '0',
  4858. `status` tinyint(3) DEFAULT '0',
  4859. `merchid` int(11) DEFAULT '0',
  4860. PRIMARY KEY (`id`),
  4861. KEY `idx_status` (`status`),
  4862. KEY `idx_uniacid` (`uniacid`),
  4863. KEY `idx_merchid` (`merchid`)
  4864. ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
  4865. -- ----------------------------
  4866. -- Table structure for ims_ewei_shop_merch_notice
  4867. -- ----------------------------
  4868. DROP TABLE IF EXISTS `ims_ewei_shop_merch_notice`;
  4869. CREATE TABLE `ims_ewei_shop_merch_notice` (
  4870. `id` int(11) NOT NULL AUTO_INCREMENT,
  4871. `uniacid` int(11) DEFAULT '0',
  4872. `displayorder` int(11) DEFAULT '0',
  4873. `title` varchar(255) DEFAULT '',
  4874. `thumb` varchar(255) DEFAULT '',
  4875. `link` varchar(255) DEFAULT '',
  4876. `detail` text,
  4877. `status` tinyint(3) DEFAULT '0',
  4878. `createtime` int(11) DEFAULT NULL,
  4879. `merchid` int(11) DEFAULT '0',
  4880. PRIMARY KEY (`id`),
  4881. KEY `idx_uniacid` (`uniacid`),
  4882. KEY `idx_merchid` (`merchid`)
  4883. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  4884. -- ----------------------------
  4885. -- Table structure for ims_ewei_shop_merch_perm_log
  4886. -- ----------------------------
  4887. DROP TABLE IF EXISTS `ims_ewei_shop_merch_perm_log`;
  4888. CREATE TABLE `ims_ewei_shop_merch_perm_log` (
  4889. `id` int(11) NOT NULL AUTO_INCREMENT,
  4890. `uid` int(11) DEFAULT '0',
  4891. `uniacid` int(11) DEFAULT '0',
  4892. `name` varchar(255) DEFAULT '',
  4893. `type` varchar(255) DEFAULT '',
  4894. `op` text,
  4895. `ip` varchar(255) DEFAULT '',
  4896. `createtime` int(11) DEFAULT '0',
  4897. `merchid` int(11) DEFAULT '0',
  4898. PRIMARY KEY (`id`),
  4899. KEY `idx_createtime` (`createtime`),
  4900. KEY `idx_uniacid` (`uniacid`),
  4901. KEY `idx_merchid` (`merchid`),
  4902. KEY `uid` (`uid`)
  4903. ) ENGINE=MyISAM AUTO_INCREMENT=525 DEFAULT CHARSET=utf8;
  4904. -- ----------------------------
  4905. -- Table structure for ims_ewei_shop_merch_perm_role
  4906. -- ----------------------------
  4907. DROP TABLE IF EXISTS `ims_ewei_shop_merch_perm_role`;
  4908. CREATE TABLE `ims_ewei_shop_merch_perm_role` (
  4909. `id` int(11) NOT NULL AUTO_INCREMENT,
  4910. `uniacid` int(11) DEFAULT '0',
  4911. `merchid` int(11) DEFAULT '0',
  4912. `rolename` varchar(255) DEFAULT '',
  4913. `status` tinyint(3) DEFAULT '0',
  4914. `perms` text,
  4915. `deleted` tinyint(3) DEFAULT '0',
  4916. PRIMARY KEY (`id`),
  4917. KEY `idx_uniacid` (`uniacid`),
  4918. KEY `idx_status` (`status`),
  4919. KEY `idx_deleted` (`deleted`),
  4920. KEY `merchid` (`merchid`)
  4921. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  4922. -- ----------------------------
  4923. -- Table structure for ims_ewei_shop_merch_reg
  4924. -- ----------------------------
  4925. DROP TABLE IF EXISTS `ims_ewei_shop_merch_reg`;
  4926. CREATE TABLE `ims_ewei_shop_merch_reg` (
  4927. `id` int(11) NOT NULL AUTO_INCREMENT,
  4928. `uniacid` int(11) DEFAULT '0',
  4929. `openid` varchar(255) DEFAULT '',
  4930. `merchname` varchar(255) DEFAULT '',
  4931. `salecate` varchar(255) DEFAULT '',
  4932. `desc` varchar(500) DEFAULT '',
  4933. `realname` varchar(255) DEFAULT '',
  4934. `mobile` varchar(255) DEFAULT '',
  4935. `status` tinyint(3) DEFAULT '0',
  4936. `diyformdata` text,
  4937. `diyformfields` text,
  4938. `applytime` int(11) DEFAULT '0',
  4939. `reason` text,
  4940. `uname` varchar(50) NOT NULL DEFAULT '',
  4941. `upass` varchar(255) NOT NULL DEFAULT '',
  4942. PRIMARY KEY (`id`)
  4943. ) ENGINE=MyISAM AUTO_INCREMENT=137 DEFAULT CHARSET=utf8;
  4944. -- ----------------------------
  4945. -- Table structure for ims_ewei_shop_merch_saler
  4946. -- ----------------------------
  4947. DROP TABLE IF EXISTS `ims_ewei_shop_merch_saler`;
  4948. CREATE TABLE `ims_ewei_shop_merch_saler` (
  4949. `id` int(11) NOT NULL AUTO_INCREMENT,
  4950. `storeid` int(11) DEFAULT '0',
  4951. `uniacid` int(11) DEFAULT '0',
  4952. `openid` varchar(255) DEFAULT '',
  4953. `status` tinyint(3) DEFAULT '0',
  4954. `salername` varchar(255) DEFAULT '',
  4955. `merchid` int(11) DEFAULT '0',
  4956. PRIMARY KEY (`id`),
  4957. KEY `idx_storeid` (`storeid`),
  4958. KEY `idx_uniacid` (`uniacid`),
  4959. KEY `idx_merchid` (`merchid`)
  4960. ) ENGINE=MyISAM AUTO_INCREMENT=24 DEFAULT CHARSET=utf8;
  4961. -- ----------------------------
  4962. -- Table structure for ims_ewei_shop_merch_store
  4963. -- ----------------------------
  4964. DROP TABLE IF EXISTS `ims_ewei_shop_merch_store`;
  4965. CREATE TABLE `ims_ewei_shop_merch_store` (
  4966. `id` int(11) NOT NULL AUTO_INCREMENT,
  4967. `uniacid` int(11) DEFAULT '0',
  4968. `storename` varchar(255) DEFAULT '',
  4969. `address` varchar(255) DEFAULT '',
  4970. `tel` varchar(255) DEFAULT '',
  4971. `lat` varchar(255) DEFAULT '',
  4972. `lng` varchar(255) DEFAULT '',
  4973. `status` tinyint(3) DEFAULT '0',
  4974. `type` tinyint(1) DEFAULT '0',
  4975. `realname` varchar(255) DEFAULT '',
  4976. `mobile` varchar(255) DEFAULT '',
  4977. `fetchtime` varchar(255) DEFAULT '',
  4978. `logo` varchar(255) DEFAULT '',
  4979. `saletime` varchar(255) DEFAULT '',
  4980. `desc` text,
  4981. `displayorder` int(11) DEFAULT '0',
  4982. `commission_total` decimal(10,2) DEFAULT NULL,
  4983. `merchid` int(11) DEFAULT '0',
  4984. PRIMARY KEY (`id`),
  4985. KEY `idx_uniacid` (`uniacid`),
  4986. KEY `idx_status` (`status`),
  4987. KEY `idx_merchid` (`merchid`)
  4988. ) ENGINE=MyISAM AUTO_INCREMENT=41 DEFAULT CHARSET=utf8;
  4989. -- ----------------------------
  4990. -- Table structure for ims_ewei_shop_merch_user
  4991. -- ----------------------------
  4992. DROP TABLE IF EXISTS `ims_ewei_shop_merch_user`;
  4993. CREATE TABLE `ims_ewei_shop_merch_user` (
  4994. `id` int(11) NOT NULL AUTO_INCREMENT,
  4995. `uniacid` int(11) DEFAULT '0',
  4996. `regid` int(11) DEFAULT '0',
  4997. `openid` varchar(255) NOT NULL DEFAULT '',
  4998. `groupid` int(11) DEFAULT '0',
  4999. `merchno` varchar(255) NOT NULL DEFAULT '',
  5000. `merchname` varchar(255) NOT NULL DEFAULT '',
  5001. `salecate` varchar(255) NOT NULL DEFAULT '',
  5002. `desc` varchar(500) NOT NULL DEFAULT '',
  5003. `realname` varchar(255) NOT NULL DEFAULT '',
  5004. `mobile` varchar(255) NOT NULL DEFAULT '',
  5005. `status` tinyint(3) DEFAULT '0',
  5006. `accounttime` int(11) DEFAULT '0',
  5007. `diyformdata` text,
  5008. `diyformfields` text,
  5009. `applytime` int(11) DEFAULT '0',
  5010. `accounttotal` int(11) DEFAULT '0',
  5011. `remark` text,
  5012. `jointime` int(11) DEFAULT '0',
  5013. `accountid` int(11) DEFAULT '0',
  5014. `sets` text,
  5015. `logo` varchar(255) NOT NULL DEFAULT '',
  5016. `payopenid` varchar(32) NOT NULL DEFAULT '',
  5017. `payrate` decimal(10,2) NOT NULL DEFAULT '0.00',
  5018. `isrecommand` tinyint(1) DEFAULT '0',
  5019. `cateid` int(11) DEFAULT '0',
  5020. `address` varchar(255) DEFAULT '',
  5021. `tel` varchar(255) DEFAULT '',
  5022. `lat` varchar(255) DEFAULT '',
  5023. `lng` varchar(255) DEFAULT '',
  5024. `pluginset` text NOT NULL,
  5025. `uname` varchar(50) NOT NULL DEFAULT '',
  5026. `upass` varchar(255) NOT NULL DEFAULT '',
  5027. `maxgoods` int(11) NOT NULL DEFAULT '0',
  5028. `iscredit` tinyint(3) NOT NULL DEFAULT '1',
  5029. `creditrate` int(10) NOT NULL DEFAULT '1',
  5030. `iscreditmoney` int(3) NOT NULL DEFAULT '1',
  5031. PRIMARY KEY (`id`),
  5032. KEY `idx_uniacid` (`uniacid`),
  5033. KEY `idx_status` (`status`),
  5034. KEY `idx_groupid` (`groupid`),
  5035. KEY `idx_regid` (`regid`),
  5036. KEY `idx_cateid` (`cateid`)
  5037. ) ENGINE=MyISAM AUTO_INCREMENT=132 DEFAULT CHARSET=utf8;
  5038. -- ----------------------------
  5039. -- Table structure for ims_ewei_shop_multi_shop
  5040. -- ----------------------------
  5041. DROP TABLE IF EXISTS `ims_ewei_shop_multi_shop`;
  5042. CREATE TABLE `ims_ewei_shop_multi_shop` (
  5043. `id` int(11) NOT NULL AUTO_INCREMENT,
  5044. `uniacid` int(11) DEFAULT '0',
  5045. `uid` int(11) DEFAULT '0',
  5046. `name` varchar(255) DEFAULT '',
  5047. `company` varchar(255) DEFAULT '',
  5048. `sales` varchar(255) DEFAULT '',
  5049. `starttime` int(11) DEFAULT '0',
  5050. `endtime` int(11) DEFAULT '0',
  5051. `applytime` int(11) DEFAULT '0',
  5052. `jointime` int(11) DEFAULT '0',
  5053. `status` tinyint(3) DEFAULT '0',
  5054. `refusecontent` text,
  5055. PRIMARY KEY (`id`)
  5056. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5057. -- ----------------------------
  5058. -- Table structure for ims_ewei_shop_nav
  5059. -- ----------------------------
  5060. DROP TABLE IF EXISTS `ims_ewei_shop_nav`;
  5061. CREATE TABLE `ims_ewei_shop_nav` (
  5062. `id` int(11) NOT NULL AUTO_INCREMENT,
  5063. `uniacid` int(11) DEFAULT '0',
  5064. `navname` varchar(255) DEFAULT '',
  5065. `icon` varchar(255) DEFAULT '',
  5066. `url` varchar(255) DEFAULT '',
  5067. `displayorder` int(11) DEFAULT '0',
  5068. `status` tinyint(3) DEFAULT '0',
  5069. `iswxapp` tinyint(1) NOT NULL DEFAULT '0',
  5070. PRIMARY KEY (`id`),
  5071. KEY `idx_status` (`status`),
  5072. KEY `idx_uniacid` (`uniacid`)
  5073. ) ENGINE=MyISAM AUTO_INCREMENT=53 DEFAULT CHARSET=utf8;
  5074. -- ----------------------------
  5075. -- Table structure for ims_ewei_shop_newstore_category
  5076. -- ----------------------------
  5077. DROP TABLE IF EXISTS `ims_ewei_shop_newstore_category`;
  5078. CREATE TABLE `ims_ewei_shop_newstore_category` (
  5079. `id` int(11) NOT NULL AUTO_INCREMENT,
  5080. `name` varchar(255) DEFAULT NULL,
  5081. `uniacid` int(11) DEFAULT NULL,
  5082. PRIMARY KEY (`id`)
  5083. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5084. -- ----------------------------
  5085. -- Table structure for ims_ewei_shop_notice
  5086. -- ----------------------------
  5087. DROP TABLE IF EXISTS `ims_ewei_shop_notice`;
  5088. CREATE TABLE `ims_ewei_shop_notice` (
  5089. `id` int(11) NOT NULL AUTO_INCREMENT,
  5090. `uniacid` int(11) DEFAULT '0',
  5091. `displayorder` int(11) DEFAULT '0',
  5092. `title` varchar(255) DEFAULT '',
  5093. `thumb` varchar(255) DEFAULT '',
  5094. `link` varchar(255) DEFAULT '',
  5095. `detail` text,
  5096. `status` tinyint(3) DEFAULT '0',
  5097. `createtime` int(11) DEFAULT NULL,
  5098. `shopid` int(11) DEFAULT '0',
  5099. `iswxapp` tinyint(3) NOT NULL DEFAULT '0',
  5100. PRIMARY KEY (`id`),
  5101. KEY `idx_uniacid` (`uniacid`)
  5102. ) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
  5103. -- ----------------------------
  5104. -- Table structure for ims_ewei_shop_order
  5105. -- ----------------------------
  5106. DROP TABLE IF EXISTS `ims_ewei_shop_order`;
  5107. CREATE TABLE `ims_ewei_shop_order` (
  5108. `id` int(11) NOT NULL AUTO_INCREMENT,
  5109. `uniacid` int(11) DEFAULT '0',
  5110. `openid` varchar(50) DEFAULT '',
  5111. `agentid` int(11) DEFAULT '0',
  5112. `ordersn` varchar(30) DEFAULT '',
  5113. `price` decimal(10,2) DEFAULT '0.00',
  5114. `goodsprice` decimal(10,2) DEFAULT '0.00',
  5115. `discountprice` decimal(10,2) DEFAULT '0.00',
  5116. `status` tinyint(3) DEFAULT '0',
  5117. `paytype` tinyint(1) DEFAULT '0',
  5118. `transid` varchar(30) DEFAULT '0',
  5119. `remark` varchar(1000) DEFAULT '',
  5120. `addressid` int(11) DEFAULT '0',
  5121. `dispatchprice` decimal(10,2) DEFAULT '0.00',
  5122. `dispatchid` int(10) DEFAULT '0',
  5123. `createtime` int(10) DEFAULT NULL,
  5124. `dispatchtype` tinyint(3) DEFAULT '0',
  5125. `carrier` text,
  5126. `refundid` int(11) DEFAULT '0',
  5127. `iscomment` tinyint(3) DEFAULT '0',
  5128. `creditadd` tinyint(3) DEFAULT '0',
  5129. `deleted` tinyint(3) DEFAULT '0',
  5130. `userdeleted` tinyint(3) DEFAULT '0',
  5131. `finishtime` int(11) DEFAULT '0',
  5132. `paytime` int(11) DEFAULT '0',
  5133. `expresscom` varchar(30) NOT NULL DEFAULT '',
  5134. `expresssn` varchar(50) NOT NULL DEFAULT '',
  5135. `express` varchar(255) DEFAULT '',
  5136. `sendtime` int(11) DEFAULT '0',
  5137. `fetchtime` int(11) DEFAULT '0',
  5138. `cash` tinyint(3) DEFAULT '0',
  5139. `canceltime` int(11) DEFAULT NULL,
  5140. `cancelpaytime` int(11) DEFAULT '0',
  5141. `refundtime` int(11) DEFAULT '0',
  5142. `isverify` tinyint(3) DEFAULT '0',
  5143. `verified` tinyint(3) DEFAULT '0',
  5144. `verifyopenid` varchar(255) DEFAULT '',
  5145. `verifycode` varchar(255) DEFAULT '',
  5146. `verifytime` int(11) DEFAULT '0',
  5147. `verifystoreid` int(11) DEFAULT '0',
  5148. `deductprice` decimal(10,2) DEFAULT '0.00',
  5149. `deductcredit` int(10) DEFAULT '0',
  5150. `deductcredit2` decimal(10,2) DEFAULT '0.00',
  5151. `deductenough` decimal(10,2) DEFAULT '0.00',
  5152. `virtual` int(11) DEFAULT '0',
  5153. `virtual_info` text,
  5154. `virtual_str` text,
  5155. `address` text,
  5156. `sysdeleted` tinyint(3) DEFAULT '0',
  5157. `ordersn2` int(11) DEFAULT '0',
  5158. `changeprice` decimal(10,2) DEFAULT '0.00',
  5159. `changedispatchprice` decimal(10,2) DEFAULT '0.00',
  5160. `oldprice` decimal(10,2) DEFAULT '0.00',
  5161. `olddispatchprice` decimal(10,2) DEFAULT '0.00',
  5162. `isvirtual` tinyint(3) DEFAULT '0',
  5163. `couponid` int(11) DEFAULT '0',
  5164. `couponprice` decimal(10,2) DEFAULT '0.00',
  5165. `diyformdata` text,
  5166. `diyformfields` text,
  5167. `diyformid` int(11) DEFAULT '0',
  5168. `storeid` int(11) DEFAULT '0',
  5169. `printstate` tinyint(1) DEFAULT '0',
  5170. `printstate2` tinyint(1) DEFAULT '0',
  5171. `address_send` text,
  5172. `refundstate` tinyint(3) DEFAULT '0',
  5173. `closereason` text,
  5174. `remarksaler` text,
  5175. `remarkclose` text,
  5176. `remarksend` text,
  5177. `ismr` int(1) NOT NULL DEFAULT '0',
  5178. `isdiscountprice` decimal(10,2) DEFAULT '0.00',
  5179. `isvirtualsend` tinyint(1) DEFAULT '0',
  5180. `virtualsend_info` text,
  5181. `verifyinfo` text,
  5182. `verifytype` tinyint(1) DEFAULT '0',
  5183. `verifycodes` text,
  5184. `invoicename` varchar(255) DEFAULT '',
  5185. `merchid` int(11) DEFAULT '0',
  5186. `ismerch` tinyint(1) DEFAULT '0',
  5187. `parentid` int(11) DEFAULT '0',
  5188. `isparent` tinyint(1) DEFAULT '0',
  5189. `grprice` decimal(10,2) DEFAULT '0.00',
  5190. `merchshow` tinyint(1) DEFAULT '0',
  5191. `merchdeductenough` decimal(10,2) DEFAULT '0.00',
  5192. `couponmerchid` int(11) DEFAULT '0',
  5193. `isglobonus` tinyint(3) DEFAULT '0',
  5194. `merchapply` tinyint(1) DEFAULT '0',
  5195. `isabonus` tinyint(3) DEFAULT '0',
  5196. `isborrow` tinyint(3) DEFAULT '0',
  5197. `borrowopenid` varchar(100) DEFAULT '',
  5198. `merchisdiscountprice` decimal(10,2) DEFAULT '0.00',
  5199. `apppay` tinyint(3) NOT NULL DEFAULT '0',
  5200. `coupongoodprice` decimal(10,2) DEFAULT '1.00',
  5201. `buyagainprice` decimal(10,2) DEFAULT '0.00',
  5202. `authorid` int(11) DEFAULT '0',
  5203. `isauthor` tinyint(1) DEFAULT '0',
  5204. `ispackage` tinyint(3) DEFAULT '0',
  5205. `packageid` int(11) DEFAULT '0',
  5206. `taskdiscountprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5207. `seckilldiscountprice` decimal(10,2) DEFAULT '0.00',
  5208. `verifyendtime` int(11) NOT NULL DEFAULT '0',
  5209. `willcancelmessage` tinyint(1) DEFAULT '0',
  5210. `sendtype` tinyint(3) NOT NULL DEFAULT '0',
  5211. `lotterydiscountprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5212. `contype` tinyint(1) DEFAULT '0',
  5213. `wxid` int(11) DEFAULT '0',
  5214. `wxcardid` varchar(50) DEFAULT '',
  5215. `wxcode` varchar(50) DEFAULT '',
  5216. `dispatchkey` varchar(30) NOT NULL DEFAULT '',
  5217. `quickid` int(11) NOT NULL DEFAULT '0',
  5218. `istrade` tinyint(3) NOT NULL DEFAULT '0',
  5219. `isnewstore` tinyint(3) NOT NULL DEFAULT '0',
  5220. `liveid` int(11) NOT NULL,
  5221. `ordersn_trade` varchar(32) NOT NULL,
  5222. `tradestatus` tinyint(1) DEFAULT '0',
  5223. `tradepaytype` tinyint(1) NOT NULL,
  5224. `tradepaytime` int(11) DEFAULT '0',
  5225. `dowpayment` decimal(10,2) NOT NULL DEFAULT '0.00',
  5226. `betweenprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5227. `isshare` int(11) NOT NULL DEFAULT '0',
  5228. `officcode` varchar(50) NOT NULL DEFAULT '',
  5229. `wxapp_prepay_id` varchar(100) DEFAULT NULL,
  5230. `cashtime` int(11) DEFAULT '0',
  5231. `iswxappcreate` tinyint(1) DEFAULT '0',
  5232. `random_code` varchar(4) DEFAULT NULL,
  5233. `print_template` text,
  5234. `city_express_state` tinyint(1) NOT NULL DEFAULT '0',
  5235. `is_cashier` tinyint(3) NOT NULL DEFAULT '0',
  5236. `commissionmoney` decimal(10,2) DEFAULT '0.00',
  5237. `iscycelbuy` tinyint(3) DEFAULT '0',
  5238. `cycelbuy_predict_time` int(11) DEFAULT NULL,
  5239. `cycelbuy_periodic` varchar(255) DEFAULT NULL,
  5240. `invoice_img` varchar(255) DEFAULT '',
  5241. `headsid` int(11) NOT NULL DEFAULT '0',
  5242. `dividend` text,
  5243. `dividend_applytime` int(11) NOT NULL DEFAULT '0',
  5244. `dividend_checktime` int(11) NOT NULL DEFAULT '0',
  5245. `dividend_paytime` int(11) NOT NULL DEFAULT '0',
  5246. `dividend_invalidtime` int(11) NOT NULL DEFAULT '0',
  5247. `dividend_deletetime` int(11) NOT NULL DEFAULT '0',
  5248. `dividend_status` tinyint(3) NOT NULL DEFAULT '0',
  5249. `dividend_content` text,
  5250. `ces` int(1) DEFAULT NULL,
  5251. PRIMARY KEY (`id`),
  5252. KEY `idx_uniacid` (`uniacid`),
  5253. KEY `idx_openid` (`openid`),
  5254. KEY `idx_shareid` (`agentid`),
  5255. KEY `idx_status` (`status`),
  5256. KEY `idx_createtime` (`createtime`),
  5257. KEY `idx_refundid` (`refundid`),
  5258. KEY `idx_paytime` (`paytime`),
  5259. KEY `idx_finishtime` (`finishtime`),
  5260. KEY `idx_merchid` (`merchid`),
  5261. KEY `idx_ordersn` (`ordersn`),
  5262. KEY `parentid` (`parentid`) USING BTREE
  5263. ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
  5264. -- ----------------------------
  5265. -- Table structure for ims_ewei_shop_order_buysend
  5266. -- ----------------------------
  5267. DROP TABLE IF EXISTS `ims_ewei_shop_order_buysend`;
  5268. CREATE TABLE `ims_ewei_shop_order_buysend` (
  5269. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  5270. `uniacid` int(11) DEFAULT '0',
  5271. `orderid` int(11) DEFAULT '0',
  5272. `openid` varchar(255) DEFAULT '',
  5273. `credit` float(10,2) DEFAULT '0.00',
  5274. `money` decimal(10,2) DEFAULT '0.00',
  5275. `createtime` int(11) DEFAULT '0',
  5276. PRIMARY KEY (`id`),
  5277. KEY `idx_uniacid` (`uniacid`),
  5278. KEY `idx_orderid` (`orderid`),
  5279. KEY `idx_openid` (`openid`)
  5280. ) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
  5281. -- ----------------------------
  5282. -- Table structure for ims_ewei_shop_order_comment
  5283. -- ----------------------------
  5284. DROP TABLE IF EXISTS `ims_ewei_shop_order_comment`;
  5285. CREATE TABLE `ims_ewei_shop_order_comment` (
  5286. `id` int(11) NOT NULL AUTO_INCREMENT,
  5287. `uniacid` int(11) DEFAULT '0',
  5288. `orderid` int(11) DEFAULT '0',
  5289. `goodsid` int(11) DEFAULT '0',
  5290. `openid` varchar(50) DEFAULT '',
  5291. `nickname` varchar(50) DEFAULT '',
  5292. `headimgurl` varchar(255) DEFAULT '',
  5293. `level` tinyint(3) DEFAULT '0',
  5294. `content` varchar(255) DEFAULT '',
  5295. `images` text,
  5296. `createtime` int(11) DEFAULT '0',
  5297. `deleted` tinyint(3) DEFAULT '0',
  5298. `append_content` varchar(255) DEFAULT '',
  5299. `append_images` text,
  5300. `reply_content` varchar(255) DEFAULT '',
  5301. `reply_images` text,
  5302. `append_reply_content` varchar(255) DEFAULT '',
  5303. `append_reply_images` text,
  5304. `istop` tinyint(3) DEFAULT '0',
  5305. `checked` tinyint(3) NOT NULL DEFAULT '0',
  5306. `replychecked` tinyint(3) NOT NULL DEFAULT '0',
  5307. PRIMARY KEY (`id`),
  5308. KEY `idx_uniacid` (`uniacid`),
  5309. KEY `idx_goodsid` (`goodsid`),
  5310. KEY `idx_openid` (`openid`),
  5311. KEY `idx_createtime` (`createtime`),
  5312. KEY `idx_orderid` (`orderid`)
  5313. ) ENGINE=MyISAM AUTO_INCREMENT=64 DEFAULT CHARSET=utf8;
  5314. -- ----------------------------
  5315. -- Table structure for ims_ewei_shop_order_goods
  5316. -- ----------------------------
  5317. DROP TABLE IF EXISTS `ims_ewei_shop_order_goods`;
  5318. CREATE TABLE `ims_ewei_shop_order_goods` (
  5319. `id` int(11) NOT NULL AUTO_INCREMENT,
  5320. `uniacid` int(11) DEFAULT '0',
  5321. `orderid` int(11) DEFAULT '0',
  5322. `goodsid` int(11) DEFAULT '0',
  5323. `price` decimal(10,2) DEFAULT '0.00',
  5324. `total` int(11) DEFAULT '1',
  5325. `optionid` int(10) DEFAULT '0',
  5326. `createtime` int(11) DEFAULT '0',
  5327. `optionname` text,
  5328. `commission1` text,
  5329. `applytime1` int(11) DEFAULT '0',
  5330. `checktime1` int(10) DEFAULT '0',
  5331. `paytime1` int(11) DEFAULT '0',
  5332. `invalidtime1` int(11) DEFAULT '0',
  5333. `deletetime1` int(11) DEFAULT '0',
  5334. `status1` tinyint(3) DEFAULT '0',
  5335. `content1` text,
  5336. `commission2` text,
  5337. `applytime2` int(11) DEFAULT '0',
  5338. `checktime2` int(10) DEFAULT '0',
  5339. `paytime2` int(11) DEFAULT '0',
  5340. `invalidtime2` int(11) DEFAULT '0',
  5341. `deletetime2` int(11) DEFAULT '0',
  5342. `status2` tinyint(3) DEFAULT '0',
  5343. `content2` text,
  5344. `commission3` text,
  5345. `applytime3` int(11) DEFAULT '0',
  5346. `checktime3` int(10) DEFAULT '0',
  5347. `paytime3` int(11) DEFAULT '0',
  5348. `invalidtime3` int(11) DEFAULT '0',
  5349. `deletetime3` int(11) DEFAULT '0',
  5350. `status3` tinyint(3) DEFAULT '0',
  5351. `content3` text,
  5352. `realprice` decimal(10,2) DEFAULT '0.00',
  5353. `goodssn` varchar(255) DEFAULT '',
  5354. `productsn` varchar(255) DEFAULT '',
  5355. `nocommission` tinyint(3) DEFAULT '0',
  5356. `changeprice` decimal(10,2) DEFAULT '0.00',
  5357. `oldprice` decimal(10,2) DEFAULT '0.00',
  5358. `commissions` text,
  5359. `diyformid` int(11) DEFAULT '0',
  5360. `diyformdataid` int(11) DEFAULT '0',
  5361. `diyformdata` text,
  5362. `diyformfields` text,
  5363. `openid` varchar(255) DEFAULT '',
  5364. `printstate` int(11) NOT NULL DEFAULT '0',
  5365. `printstate2` int(11) NOT NULL DEFAULT '0',
  5366. `rstate` tinyint(3) DEFAULT '0',
  5367. `refundtime` int(11) DEFAULT '0',
  5368. `merchid` int(11) DEFAULT '0',
  5369. `parentorderid` int(11) DEFAULT '0',
  5370. `merchsale` tinyint(3) NOT NULL DEFAULT '0',
  5371. `isdiscountprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5372. `canbuyagain` tinyint(1) DEFAULT '0',
  5373. `seckill` tinyint(3) DEFAULT '0',
  5374. `seckill_taskid` int(11) DEFAULT '0',
  5375. `seckill_roomid` int(11) DEFAULT '0',
  5376. `seckill_timeid` int(11) DEFAULT '0',
  5377. `is_make` tinyint(1) DEFAULT '0',
  5378. `sendtype` tinyint(3) NOT NULL DEFAULT '0',
  5379. `expresscom` varchar(30) NOT NULL,
  5380. `expresssn` varchar(50) NOT NULL,
  5381. `express` varchar(255) NOT NULL,
  5382. `sendtime` int(11) NOT NULL,
  5383. `finishtime` int(11) NOT NULL,
  5384. `remarksend` text NOT NULL,
  5385. `prohibitrefund` tinyint(3) NOT NULL DEFAULT '0',
  5386. `storeid` varchar(255) NOT NULL,
  5387. `trade_time` int(11) NOT NULL DEFAULT '0',
  5388. `optime` varchar(30) NOT NULL,
  5389. `tdate_time` int(11) NOT NULL DEFAULT '0',
  5390. `dowpayment` decimal(10,2) NOT NULL DEFAULT '0.00',
  5391. `peopleid` int(11) NOT NULL DEFAULT '0',
  5392. `esheetprintnum` int(11) NOT NULL DEFAULT '0',
  5393. `ordercode` varchar(30) NOT NULL,
  5394. `title` varchar(255) DEFAULT NULL,
  5395. `consume` text,
  5396. `single_refundid` int(11) NOT NULL DEFAULT '0',
  5397. `single_refundstate` tinyint(3) NOT NULL DEFAULT '0',
  5398. `single_refundtime` int(11) NOT NULL DEFAULT '0',
  5399. PRIMARY KEY (`id`),
  5400. KEY `idx_uniacid` (`uniacid`),
  5401. KEY `idx_orderid` (`orderid`),
  5402. KEY `idx_goodsid` (`goodsid`),
  5403. KEY `idx_createtime` (`createtime`),
  5404. KEY `idx_applytime1` (`applytime1`),
  5405. KEY `idx_checktime1` (`checktime1`),
  5406. KEY `idx_status1` (`status1`),
  5407. KEY `idx_applytime2` (`applytime2`),
  5408. KEY `idx_checktime2` (`checktime2`),
  5409. KEY `idx_status2` (`status2`),
  5410. KEY `idx_applytime3` (`applytime3`),
  5411. KEY `idx_invalidtime1` (`invalidtime1`),
  5412. KEY `idx_checktime3` (`checktime3`),
  5413. KEY `idx_invalidtime2` (`invalidtime2`),
  5414. KEY `idx_invalidtime3` (`invalidtime3`),
  5415. KEY `idx_status3` (`status3`),
  5416. KEY `idx_paytime1` (`paytime1`),
  5417. KEY `idx_paytime2` (`paytime2`),
  5418. KEY `idx_paytime3` (`paytime3`)
  5419. ) ENGINE=MyISAM AUTO_INCREMENT=5546 DEFAULT CHARSET=utf8;
  5420. -- ----------------------------
  5421. -- Table structure for ims_ewei_shop_order_peerpay
  5422. -- ----------------------------
  5423. DROP TABLE IF EXISTS `ims_ewei_shop_order_peerpay`;
  5424. CREATE TABLE `ims_ewei_shop_order_peerpay` (
  5425. `id` int(11) NOT NULL AUTO_INCREMENT,
  5426. `uniacid` int(11) NOT NULL DEFAULT '0',
  5427. `orderid` int(11) NOT NULL DEFAULT '0',
  5428. `peerpay_type` tinyint(1) NOT NULL DEFAULT '0',
  5429. `peerpay_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  5430. `peerpay_maxprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5431. `peerpay_realprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5432. `peerpay_selfpay` decimal(10,2) NOT NULL DEFAULT '0.00',
  5433. `peerpay_message` varchar(500) NOT NULL DEFAULT '',
  5434. `status` tinyint(1) NOT NULL DEFAULT '0',
  5435. `createtime` int(10) unsigned NOT NULL DEFAULT '0',
  5436. PRIMARY KEY (`id`),
  5437. KEY `uniacid` (`uniacid`),
  5438. KEY `orderid` (`orderid`)
  5439. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  5440. -- ----------------------------
  5441. -- Table structure for ims_ewei_shop_order_peerpay_payinfo
  5442. -- ----------------------------
  5443. DROP TABLE IF EXISTS `ims_ewei_shop_order_peerpay_payinfo`;
  5444. CREATE TABLE `ims_ewei_shop_order_peerpay_payinfo` (
  5445. `id` int(11) NOT NULL AUTO_INCREMENT,
  5446. `pid` int(11) NOT NULL DEFAULT '0',
  5447. `uid` int(11) NOT NULL DEFAULT '0',
  5448. `uname` varchar(255) NOT NULL DEFAULT '',
  5449. `usay` varchar(500) NOT NULL DEFAULT '',
  5450. `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  5451. `createtime` int(11) NOT NULL DEFAULT '0',
  5452. `headimg` varchar(255) DEFAULT NULL,
  5453. `refundstatus` tinyint(1) NOT NULL DEFAULT '0',
  5454. `refundprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5455. `openid` varchar(255) NOT NULL DEFAULT '',
  5456. `tid` varchar(255) NOT NULL DEFAULT '',
  5457. PRIMARY KEY (`id`)
  5458. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5459. -- ----------------------------
  5460. -- Table structure for ims_ewei_shop_order_print
  5461. -- ----------------------------
  5462. DROP TABLE IF EXISTS `ims_ewei_shop_order_print`;
  5463. CREATE TABLE `ims_ewei_shop_order_print` (
  5464. `id` int(11) NOT NULL AUTO_INCREMENT,
  5465. `status` tinyint(3) DEFAULT '0',
  5466. `sid` tinyint(3) DEFAULT '0',
  5467. `foid` tinyint(3) DEFAULT '0',
  5468. `oid` int(11) DEFAULT '0',
  5469. `pid` int(11) DEFAULT '0',
  5470. `uniacid` int(11) DEFAULT '0',
  5471. `addtime` int(11) DEFAULT '0',
  5472. PRIMARY KEY (`id`)
  5473. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5474. -- ----------------------------
  5475. -- Table structure for ims_ewei_shop_order_query
  5476. -- ----------------------------
  5477. DROP TABLE IF EXISTS `ims_ewei_shop_order_query`;
  5478. CREATE TABLE `ims_ewei_shop_order_query` (
  5479. `id` int(11) NOT NULL AUTO_INCREMENT,
  5480. `uniacid` int(11) DEFAULT '0',
  5481. `out_trade_no` varchar(30) DEFAULT '',
  5482. `transaction_id` varchar(60) DEFAULT '',
  5483. `total_fee` decimal(10,2) DEFAULT '0.00',
  5484. `time_end` int(11) DEFAULT '0',
  5485. `status` tinyint(4) NOT NULL DEFAULT '0',
  5486. `create_time` int(11) DEFAULT '0',
  5487. `apply_time` int(11) NOT NULL DEFAULT '0',
  5488. `check_time` int(11) DEFAULT NULL,
  5489. `withdraw_time` int(11) NOT NULL DEFAULT '0',
  5490. PRIMARY KEY (`id`) USING BTREE,
  5491. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  5492. KEY `idx_openid` (`out_trade_no`) USING BTREE,
  5493. KEY `idx_shareid` (`transaction_id`) USING BTREE
  5494. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  5495. -- ----------------------------
  5496. -- Table structure for ims_ewei_shop_order_refund
  5497. -- ----------------------------
  5498. DROP TABLE IF EXISTS `ims_ewei_shop_order_refund`;
  5499. CREATE TABLE `ims_ewei_shop_order_refund` (
  5500. `id` int(11) NOT NULL AUTO_INCREMENT,
  5501. `uniacid` int(11) DEFAULT '0',
  5502. `orderid` int(11) DEFAULT '0',
  5503. `refundno` varchar(255) DEFAULT '',
  5504. `price` varchar(255) DEFAULT '',
  5505. `reason` varchar(255) DEFAULT '',
  5506. `images` text,
  5507. `content` text,
  5508. `createtime` int(11) DEFAULT '0',
  5509. `status` tinyint(3) DEFAULT '0',
  5510. `reply` text,
  5511. `refundtype` tinyint(3) DEFAULT '0',
  5512. `orderprice` decimal(10,2) DEFAULT '0.00',
  5513. `applyprice` decimal(10,2) DEFAULT '0.00',
  5514. `imgs` text,
  5515. `rtype` tinyint(3) DEFAULT '0',
  5516. `refundaddress` text,
  5517. `message` text,
  5518. `express` varchar(100) DEFAULT '',
  5519. `expresscom` varchar(100) DEFAULT '',
  5520. `expresssn` varchar(100) DEFAULT '',
  5521. `operatetime` int(11) DEFAULT '0',
  5522. `sendtime` int(11) DEFAULT '0',
  5523. `returntime` int(11) DEFAULT '0',
  5524. `refundtime` int(11) DEFAULT '0',
  5525. `rexpress` varchar(100) DEFAULT '',
  5526. `rexpresscom` varchar(100) DEFAULT '',
  5527. `rexpresssn` varchar(100) DEFAULT '',
  5528. `refundaddressid` int(11) DEFAULT '0',
  5529. `endtime` int(11) DEFAULT '0',
  5530. `realprice` decimal(10,2) DEFAULT '0.00',
  5531. `merchid` int(11) DEFAULT '0',
  5532. PRIMARY KEY (`id`),
  5533. KEY `idx_createtime` (`createtime`),
  5534. KEY `idx_uniacid` (`uniacid`)
  5535. ) ENGINE=MyISAM AUTO_INCREMENT=819 DEFAULT CHARSET=utf8;
  5536. -- ----------------------------
  5537. -- Table structure for ims_ewei_shop_order_single_refund
  5538. -- ----------------------------
  5539. DROP TABLE IF EXISTS `ims_ewei_shop_order_single_refund`;
  5540. CREATE TABLE `ims_ewei_shop_order_single_refund` (
  5541. `id` int(11) NOT NULL AUTO_INCREMENT,
  5542. `uniacid` int(11) DEFAULT '0',
  5543. `orderid` int(11) DEFAULT '0',
  5544. `ordergoodsid` int(11) DEFAULT '0',
  5545. `refundno` varchar(255) DEFAULT '',
  5546. `price` varchar(255) DEFAULT '',
  5547. `reason` varchar(255) DEFAULT '',
  5548. `images` text,
  5549. `content` text,
  5550. `createtime` int(11) DEFAULT '0',
  5551. `status` tinyint(3) DEFAULT '0',
  5552. `reply` text,
  5553. `refundtype` tinyint(3) DEFAULT '0',
  5554. `realprice` decimal(10,2) DEFAULT '0.00',
  5555. `refundtime` int(11) DEFAULT '0',
  5556. `ordergoodsrealprice` decimal(10,2) DEFAULT '0.00',
  5557. `applyprice` decimal(10,2) DEFAULT '0.00',
  5558. `imgs` text,
  5559. `rtype` tinyint(3) DEFAULT '0',
  5560. `refundaddress` text,
  5561. `message` text,
  5562. `express` varchar(100) DEFAULT '',
  5563. `expresscom` varchar(100) DEFAULT '',
  5564. `expresssn` varchar(100) DEFAULT '',
  5565. `operatetime` int(11) DEFAULT '0',
  5566. `sendtime` int(11) DEFAULT '0',
  5567. `returntime` int(11) DEFAULT '0',
  5568. `rexpress` varchar(100) DEFAULT '',
  5569. `rexpresscom` varchar(100) DEFAULT '',
  5570. `rexpresssn` varchar(100) DEFAULT '',
  5571. `refundaddressid` int(11) DEFAULT '0',
  5572. `endtime` int(11) DEFAULT '0',
  5573. `merchid` int(11) DEFAULT '0',
  5574. `tradetype` tinyint(3) NOT NULL DEFAULT '0',
  5575. `issuporder` tinyint(3) DEFAULT '0',
  5576. `suptype` tinyint(3) DEFAULT '0',
  5577. PRIMARY KEY (`id`) USING BTREE,
  5578. KEY `idx_createtime` (`createtime`) USING BTREE,
  5579. KEY `idx_uniacid` (`uniacid`) USING BTREE
  5580. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  5581. -- ----------------------------
  5582. -- Table structure for ims_ewei_shop_order_withdraw_apply
  5583. -- ----------------------------
  5584. DROP TABLE IF EXISTS `ims_ewei_shop_order_withdraw_apply`;
  5585. CREATE TABLE `ims_ewei_shop_order_withdraw_apply` (
  5586. `id` int(11) NOT NULL AUTO_INCREMENT,
  5587. `apply_ids` text NOT NULL,
  5588. `create_time` int(11) NOT NULL,
  5589. `uniacid` int(11) NOT NULL,
  5590. `status` tinyint(1) NOT NULL DEFAULT '0',
  5591. `openid` varchar(60) NOT NULL DEFAULT '',
  5592. `id_number` varchar(30) NOT NULL,
  5593. `real_name` varchar(60) NOT NULL,
  5594. `total_money` decimal(10,2) NOT NULL DEFAULT '0.00',
  5595. `check_money` decimal(10,2) NOT NULL DEFAULT '0.00',
  5596. PRIMARY KEY (`id`) USING BTREE
  5597. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  5598. -- ----------------------------
  5599. -- Table structure for ims_ewei_shop_package
  5600. -- ----------------------------
  5601. DROP TABLE IF EXISTS `ims_ewei_shop_package`;
  5602. CREATE TABLE `ims_ewei_shop_package` (
  5603. `id` int(11) NOT NULL AUTO_INCREMENT,
  5604. `uniacid` int(11) NOT NULL DEFAULT '0',
  5605. `title` varchar(255) NOT NULL,
  5606. `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  5607. `freight` decimal(10,2) NOT NULL DEFAULT '0.00',
  5608. `thumb` varchar(255) NOT NULL,
  5609. `starttime` int(11) NOT NULL DEFAULT '0',
  5610. `endtime` int(11) NOT NULL DEFAULT '0',
  5611. `goodsid` varchar(255) NOT NULL,
  5612. `cash` tinyint(3) NOT NULL DEFAULT '0',
  5613. `share_title` varchar(255) NOT NULL,
  5614. `share_icon` varchar(255) NOT NULL,
  5615. `share_desc` varchar(500) NOT NULL,
  5616. `status` tinyint(3) NOT NULL DEFAULT '0',
  5617. `deleted` tinyint(3) NOT NULL DEFAULT '0',
  5618. `displayorder` int(11) NOT NULL DEFAULT '0',
  5619. `dispatchtype` tinyint(3) NOT NULL DEFAULT '0',
  5620. PRIMARY KEY (`id`)
  5621. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  5622. -- ----------------------------
  5623. -- Table structure for ims_ewei_shop_package_goods
  5624. -- ----------------------------
  5625. DROP TABLE IF EXISTS `ims_ewei_shop_package_goods`;
  5626. CREATE TABLE `ims_ewei_shop_package_goods` (
  5627. `id` int(11) NOT NULL AUTO_INCREMENT,
  5628. `uniacid` int(11) NOT NULL,
  5629. `pid` int(11) NOT NULL,
  5630. `goodsid` int(11) NOT NULL,
  5631. `title` varchar(255) NOT NULL,
  5632. `thumb` varchar(255) NOT NULL,
  5633. `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  5634. `option` varchar(255) NOT NULL,
  5635. `goodssn` varchar(255) NOT NULL,
  5636. `productsn` varchar(255) NOT NULL,
  5637. `hasoption` tinyint(3) NOT NULL DEFAULT '0',
  5638. `marketprice` decimal(10,2) DEFAULT '0.00',
  5639. `packageprice` decimal(10,2) DEFAULT '0.00',
  5640. `commission1` decimal(10,2) DEFAULT '0.00',
  5641. `commission2` decimal(10,2) DEFAULT '0.00',
  5642. `commission3` decimal(10,2) DEFAULT '0.00',
  5643. PRIMARY KEY (`id`)
  5644. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  5645. -- ----------------------------
  5646. -- Table structure for ims_ewei_shop_package_goods_option
  5647. -- ----------------------------
  5648. DROP TABLE IF EXISTS `ims_ewei_shop_package_goods_option`;
  5649. CREATE TABLE `ims_ewei_shop_package_goods_option` (
  5650. `id` int(11) NOT NULL AUTO_INCREMENT,
  5651. `uniacid` int(11) NOT NULL DEFAULT '0',
  5652. `goodsid` int(11) NOT NULL DEFAULT '0',
  5653. `optionid` int(11) NOT NULL DEFAULT '0',
  5654. `pid` int(11) NOT NULL DEFAULT '0',
  5655. `title` varchar(255) NOT NULL,
  5656. `packageprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5657. `marketprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5658. `commission1` decimal(10,2) NOT NULL DEFAULT '0.00',
  5659. `commission2` decimal(10,2) NOT NULL DEFAULT '0.00',
  5660. `commission3` decimal(10,2) NOT NULL DEFAULT '0.00',
  5661. PRIMARY KEY (`id`)
  5662. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  5663. -- ----------------------------
  5664. -- Table structure for ims_ewei_shop_payment
  5665. -- ----------------------------
  5666. DROP TABLE IF EXISTS `ims_ewei_shop_payment`;
  5667. CREATE TABLE `ims_ewei_shop_payment` (
  5668. `id` int(11) NOT NULL AUTO_INCREMENT,
  5669. `uniacid` int(11) NOT NULL DEFAULT '0',
  5670. `title` varchar(255) NOT NULL DEFAULT '',
  5671. `type` tinyint(2) NOT NULL DEFAULT '0',
  5672. `appid` varchar(255) DEFAULT '',
  5673. `mch_id` varchar(50) NOT NULL DEFAULT '',
  5674. `apikey` varchar(50) NOT NULL DEFAULT '',
  5675. `sub_appid` varchar(50) DEFAULT '',
  5676. `sub_appsecret` varchar(50) DEFAULT '',
  5677. `sub_mch_id` varchar(50) DEFAULT '',
  5678. `cert_file` text,
  5679. `key_file` text,
  5680. `root_file` text,
  5681. `is_raw` tinyint(1) DEFAULT '0',
  5682. `createtime` int(10) unsigned DEFAULT '0',
  5683. `paytype` tinyint(3) NOT NULL DEFAULT '0',
  5684. `alitype` tinyint(3) NOT NULL DEFAULT '0',
  5685. `alipay_sec` text NOT NULL,
  5686. `qpay_signtype` tinyint(1) NOT NULL DEFAULT '0',
  5687. `app_qpay_public_key` text NOT NULL,
  5688. `app_qpay_private_key` text NOT NULL,
  5689. PRIMARY KEY (`id`),
  5690. KEY `idx_uniacid` (`uniacid`),
  5691. KEY `idx_type` (`type`)
  5692. ) ENGINE=MyISAM AUTO_INCREMENT=26 DEFAULT CHARSET=utf8;
  5693. -- ----------------------------
  5694. -- Table structure for ims_ewei_shop_pc_adv
  5695. -- ----------------------------
  5696. DROP TABLE IF EXISTS `ims_ewei_shop_pc_adv`;
  5697. CREATE TABLE `ims_ewei_shop_pc_adv` (
  5698. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  5699. `uniacid` int(11) unsigned NOT NULL,
  5700. `advname` varchar(255) NOT NULL,
  5701. `title` varchar(255) DEFAULT NULL,
  5702. `src` varchar(255) NOT NULL,
  5703. `alt` varchar(255) DEFAULT NULL,
  5704. `enabled` tinyint(3) unsigned NOT NULL,
  5705. `link` varchar(255) DEFAULT NULL,
  5706. `width` int(11) unsigned NOT NULL,
  5707. `height` int(11) unsigned NOT NULL,
  5708. PRIMARY KEY (`id`)
  5709. ) ENGINE=MyISAM AUTO_INCREMENT=31 DEFAULT CHARSET=utf8;
  5710. -- ----------------------------
  5711. -- Table structure for ims_ewei_shop_pc_link
  5712. -- ----------------------------
  5713. DROP TABLE IF EXISTS `ims_ewei_shop_pc_link`;
  5714. CREATE TABLE `ims_ewei_shop_pc_link` (
  5715. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  5716. `uniacid` int(11) unsigned NOT NULL,
  5717. `linkname` varchar(255) NOT NULL,
  5718. `url` varchar(255) NOT NULL,
  5719. `status` tinyint(3) unsigned NOT NULL DEFAULT '1',
  5720. `displayorder` int(11) unsigned NOT NULL DEFAULT '0',
  5721. PRIMARY KEY (`id`)
  5722. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5723. -- ----------------------------
  5724. -- Table structure for ims_ewei_shop_pc_menu
  5725. -- ----------------------------
  5726. DROP TABLE IF EXISTS `ims_ewei_shop_pc_menu`;
  5727. CREATE TABLE `ims_ewei_shop_pc_menu` (
  5728. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  5729. `uniacid` int(11) unsigned NOT NULL,
  5730. `type` int(11) unsigned DEFAULT '0',
  5731. `displayorder` int(11) unsigned DEFAULT '0',
  5732. `title` varchar(255) DEFAULT '',
  5733. `link` varchar(255) DEFAULT '',
  5734. `enabled` tinyint(3) unsigned DEFAULT '1',
  5735. `createtime` int(11) unsigned DEFAULT NULL,
  5736. PRIMARY KEY (`id`)
  5737. ) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8;
  5738. -- ----------------------------
  5739. -- Table structure for ims_ewei_shop_pc_slide
  5740. -- ----------------------------
  5741. DROP TABLE IF EXISTS `ims_ewei_shop_pc_slide`;
  5742. CREATE TABLE `ims_ewei_shop_pc_slide` (
  5743. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  5744. `uniacid` int(11) unsigned DEFAULT '0',
  5745. `type` int(11) unsigned DEFAULT '0',
  5746. `advname` varchar(50) DEFAULT '',
  5747. `link` varchar(255) DEFAULT '',
  5748. `thumb` varchar(255) DEFAULT '',
  5749. `backcolor` varchar(255) DEFAULT NULL,
  5750. `displayorder` int(11) DEFAULT '0',
  5751. `enabled` int(11) DEFAULT '0',
  5752. `shopid` int(11) DEFAULT '0',
  5753. PRIMARY KEY (`id`),
  5754. KEY `idx_uniacid` (`uniacid`),
  5755. KEY `idx_enabled` (`enabled`),
  5756. KEY `idx_displayorder` (`displayorder`)
  5757. ) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
  5758. -- ----------------------------
  5759. -- Table structure for ims_ewei_shop_perm_log
  5760. -- ----------------------------
  5761. DROP TABLE IF EXISTS `ims_ewei_shop_perm_log`;
  5762. CREATE TABLE `ims_ewei_shop_perm_log` (
  5763. `id` int(11) NOT NULL AUTO_INCREMENT,
  5764. `uid` int(11) DEFAULT '0',
  5765. `uniacid` int(11) DEFAULT '0',
  5766. `name` varchar(255) DEFAULT '',
  5767. `type` varchar(255) DEFAULT '',
  5768. `op` text,
  5769. `createtime` int(11) DEFAULT '0',
  5770. `ip` varchar(255) DEFAULT '',
  5771. PRIMARY KEY (`id`),
  5772. KEY `idx_uid` (`uid`),
  5773. KEY `idx_createtime` (`createtime`),
  5774. KEY `idx_uniacid` (`uniacid`),
  5775. FULLTEXT KEY `idx_type` (`type`),
  5776. FULLTEXT KEY `idx_op` (`op`)
  5777. ) ENGINE=MyISAM AUTO_INCREMENT=94289 DEFAULT CHARSET=utf8;
  5778. -- ----------------------------
  5779. -- Table structure for ims_ewei_shop_perm_plugin
  5780. -- ----------------------------
  5781. DROP TABLE IF EXISTS `ims_ewei_shop_perm_plugin`;
  5782. CREATE TABLE `ims_ewei_shop_perm_plugin` (
  5783. `id` int(11) NOT NULL AUTO_INCREMENT,
  5784. `acid` int(11) DEFAULT '0',
  5785. `uid` int(11) DEFAULT '0',
  5786. `type` tinyint(3) DEFAULT '0',
  5787. `plugins` text,
  5788. `coms` text,
  5789. `datas` text,
  5790. PRIMARY KEY (`id`),
  5791. KEY `idx_uid` (`uid`),
  5792. KEY `idx_acid` (`acid`),
  5793. KEY `idx_type` (`type`),
  5794. KEY `idx_uniacid` (`acid`)
  5795. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  5796. -- ----------------------------
  5797. -- Table structure for ims_ewei_shop_perm_role
  5798. -- ----------------------------
  5799. DROP TABLE IF EXISTS `ims_ewei_shop_perm_role`;
  5800. CREATE TABLE `ims_ewei_shop_perm_role` (
  5801. `id` int(11) NOT NULL AUTO_INCREMENT,
  5802. `uniacid` int(11) DEFAULT '0',
  5803. `rolename` varchar(255) DEFAULT '',
  5804. `status` tinyint(3) DEFAULT '0',
  5805. `perms` text,
  5806. `deleted` tinyint(3) DEFAULT '0',
  5807. `perms2` text,
  5808. PRIMARY KEY (`id`),
  5809. KEY `idx_uniacid` (`uniacid`),
  5810. KEY `idx_status` (`status`),
  5811. KEY `idx_deleted` (`deleted`)
  5812. ) ENGINE=MyISAM AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
  5813. -- ----------------------------
  5814. -- Table structure for ims_ewei_shop_perm_user
  5815. -- ----------------------------
  5816. DROP TABLE IF EXISTS `ims_ewei_shop_perm_user`;
  5817. CREATE TABLE `ims_ewei_shop_perm_user` (
  5818. `id` int(11) NOT NULL AUTO_INCREMENT,
  5819. `uniacid` int(11) DEFAULT '0',
  5820. `uid` int(11) DEFAULT '0',
  5821. `username` varchar(255) DEFAULT '',
  5822. `password` varchar(255) DEFAULT '',
  5823. `roleid` int(11) DEFAULT '0',
  5824. `status` int(11) DEFAULT '0',
  5825. `perms` text,
  5826. `deleted` tinyint(3) DEFAULT '0',
  5827. `realname` varchar(255) DEFAULT '',
  5828. `mobile` varchar(255) DEFAULT '',
  5829. `perms2` text,
  5830. `openid` varchar(50) DEFAULT NULL,
  5831. `openid_wa` varchar(50) DEFAULT NULL,
  5832. `member_nick` varchar(50) DEFAULT NULL,
  5833. PRIMARY KEY (`id`),
  5834. KEY `idx_uniacid` (`uniacid`),
  5835. KEY `idx_uid` (`uid`),
  5836. KEY `idx_roleid` (`roleid`),
  5837. KEY `idx_status` (`status`),
  5838. KEY `idx_deleted` (`deleted`)
  5839. ) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
  5840. -- ----------------------------
  5841. -- Table structure for ims_ewei_shop_plugin
  5842. -- ----------------------------
  5843. DROP TABLE IF EXISTS `ims_ewei_shop_plugin`;
  5844. CREATE TABLE `ims_ewei_shop_plugin` (
  5845. `id` int(11) NOT NULL AUTO_INCREMENT,
  5846. `displayorder` int(11) DEFAULT '0',
  5847. `identity` varchar(50) DEFAULT '',
  5848. `category` varchar(255) DEFAULT '',
  5849. `name` varchar(50) DEFAULT '',
  5850. `version` varchar(10) DEFAULT '',
  5851. `author` varchar(20) DEFAULT '',
  5852. `status` int(11) DEFAULT '0',
  5853. `thumb` varchar(255) DEFAULT '',
  5854. `desc` text,
  5855. `iscom` tinyint(3) DEFAULT '0',
  5856. `deprecated` tinyint(3) DEFAULT '0',
  5857. `isv2` tinyint(3) DEFAULT '0',
  5858. PRIMARY KEY (`id`),
  5859. KEY `idx_displayorder` (`displayorder`),
  5860. KEY `idx_identity` (`identity`) USING BTREE
  5861. ) ENGINE=MyISAM AUTO_INCREMENT=50 DEFAULT CHARSET=utf8;
  5862. -- ----------------------------
  5863. -- Records of ims_ewei_shop_plugin
  5864. -- ----------------------------
  5865. BEGIN;
  5866. INSERT INTO `ims_ewei_shop_plugin` VALUES (1, 1, 'qiniu', 'tool', '七牛存储', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/qiniu.jpg', NULL, 1, 0, 0);
  5867. INSERT INTO `ims_ewei_shop_plugin` VALUES (2, 2, 'taobao', 'tool', '商品助手', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/taobao.jpg', '', 0, 0, 0);
  5868. INSERT INTO `ims_ewei_shop_plugin` VALUES (3, 3, 'commission', 'biz', '人人分销', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/commission.jpg', '', 0, 0, 0);
  5869. INSERT INTO `ims_ewei_shop_plugin` VALUES (4, 4, 'poster', 'sale', '超级海报', '1.2', '官方', 1, '../addons/ewei_shopv2/static/images/poster.jpg', '', 0, 0, 0);
  5870. INSERT INTO `ims_ewei_shop_plugin` VALUES (5, 5, 'verify', 'biz', 'O2O核销', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/verify.jpg', NULL, 1, 0, 0);
  5871. INSERT INTO `ims_ewei_shop_plugin` VALUES (6, 6, 'tmessage', 'tool', '会员群发', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/tmessage.jpg', NULL, 1, 0, 0);
  5872. INSERT INTO `ims_ewei_shop_plugin` VALUES (7, 7, 'perm', 'help', '分权系统', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/perm.jpg', NULL, 1, 0, 0);
  5873. INSERT INTO `ims_ewei_shop_plugin` VALUES (8, 8, 'sale', 'sale', '营销宝', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/sale.jpg', NULL, 1, 0, 0);
  5874. INSERT INTO `ims_ewei_shop_plugin` VALUES (9, 9, 'designer', 'help', '店铺装修V1', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/designer.jpg', NULL, 0, 1, 0);
  5875. INSERT INTO `ims_ewei_shop_plugin` VALUES (10, 10, 'creditshop', 'biz', '积分商城', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/creditshop.jpg', '', 0, 0, 0);
  5876. INSERT INTO `ims_ewei_shop_plugin` VALUES (11, 11, 'virtual', 'biz', '虚拟物品', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/virtual.jpg', NULL, 1, 0, 0);
  5877. INSERT INTO `ims_ewei_shop_plugin` VALUES (12, 11, 'article', 'help', '文章营销', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/article.jpg', '', 0, 0, 0);
  5878. INSERT INTO `ims_ewei_shop_plugin` VALUES (13, 13, 'coupon', 'sale', '超级券', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/coupon.jpg', NULL, 1, 0, 0);
  5879. INSERT INTO `ims_ewei_shop_plugin` VALUES (14, 14, 'postera', 'sale', '活动海报', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/postera.jpg', '', 0, 0, 0);
  5880. INSERT INTO `ims_ewei_shop_plugin` VALUES (15, 16, 'system', 'help', '系统工具', '1.0', '官方', 0, '../addons/ewei_shopv2/static/images/system.jpg', NULL, 0, 1, 0);
  5881. INSERT INTO `ims_ewei_shop_plugin` VALUES (16, 15, 'diyform', 'help', '自定表单', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/diyform.jpg', '', 0, 0, 0);
  5882. INSERT INTO `ims_ewei_shop_plugin` VALUES (17, 16, 'exhelper', 'help', '快递助手', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/exhelper.jpg', '', 0, 0, 0);
  5883. INSERT INTO `ims_ewei_shop_plugin` VALUES (18, 19, 'groups', 'biz', '人人拼团', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/groups.jpg', '', 0, 0, 0);
  5884. INSERT INTO `ims_ewei_shop_plugin` VALUES (19, 20, 'diypage', 'help', '店铺装修', '2.0', '官方', 1, '../addons/ewei_shopv2/static/images/designer.jpg', '', 0, 0, 0);
  5885. INSERT INTO `ims_ewei_shop_plugin` VALUES (20, 22, 'globonus', 'biz', '全民股东', '1.0', '官方', 0, '../addons/ewei_shopv2/static/images/globonus.jpg', '', 0, 0, 0);
  5886. INSERT INTO `ims_ewei_shop_plugin` VALUES (21, 23, 'merch', 'biz', '多商户', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/merch.jpg', '', 0, 0, 1);
  5887. INSERT INTO `ims_ewei_shop_plugin` VALUES (22, 26, 'qa', 'help', '帮助中心', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/qa.jpg', '', 0, 0, 1);
  5888. INSERT INTO `ims_ewei_shop_plugin` VALUES (24, 27, 'sms', 'tool', '短信提醒', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/sms.jpg', '', 1, 0, 1);
  5889. INSERT INTO `ims_ewei_shop_plugin` VALUES (25, 29, 'sign', 'tool', '积分签到', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/sign.jpg', '', 0, 0, 1);
  5890. INSERT INTO `ims_ewei_shop_plugin` VALUES (26, 30, 'sns', 'sale', '全民社区', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/sns.jpg', '', 0, 0, 1);
  5891. INSERT INTO `ims_ewei_shop_plugin` VALUES (27, 33, 'wap', 'tool', '全网通', '1.0', '官方', 1, '', '', 1, 0, 1);
  5892. INSERT INTO `ims_ewei_shop_plugin` VALUES (28, 34, 'h5app', 'tool', 'H5APP', '1.0', '官方', 1, '', '', 1, 0, 1);
  5893. INSERT INTO `ims_ewei_shop_plugin` VALUES (29, 26, 'abonus', 'biz', '区域代理', '1.0', '官方', 0, '../addons/ewei_shopv2/static/images/abonus.jpg', '', 0, 0, 1);
  5894. INSERT INTO `ims_ewei_shop_plugin` VALUES (30, 33, 'printer', 'tool', '小票打印机', '1.0', '官方', 1, '', '', 1, 0, 1);
  5895. INSERT INTO `ims_ewei_shop_plugin` VALUES (31, 34, 'bargain', 'tool', '砍价活动', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/bargain.jpg', '', 0, 0, 1);
  5896. INSERT INTO `ims_ewei_shop_plugin` VALUES (32, 35, 'task', 'sale', '任务中心', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/task.jpg', '', 0, 0, 1);
  5897. INSERT INTO `ims_ewei_shop_plugin` VALUES (33, 36, 'cashier', 'biz', '收银台', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/cashier.jpg', '', 0, 0, 1);
  5898. INSERT INTO `ims_ewei_shop_plugin` VALUES (34, 37, 'messages', 'tool', '消息群发', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/messages.jpg', '', 0, 0, 1);
  5899. INSERT INTO `ims_ewei_shop_plugin` VALUES (35, 38, 'seckill', 'sale', '整点秒杀', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/seckill.jpg', '', 0, 0, 1);
  5900. INSERT INTO `ims_ewei_shop_plugin` VALUES (36, 39, 'exchange', 'biz', '兑换中心', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/exchange.jpg', '', 0, 0, 1);
  5901. INSERT INTO `ims_ewei_shop_plugin` VALUES (37, 65, 'wxcard', 'sale', '微信卡券', '1.0', '官方', 1, '', NULL, 1, 0, 1);
  5902. INSERT INTO `ims_ewei_shop_plugin` VALUES (38, 42, 'quick', 'biz', '快速购买', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/quick.jpg', '', 0, 0, 1);
  5903. INSERT INTO `ims_ewei_shop_plugin` VALUES (39, 43, 'mmanage', 'tool', '手机端商家管理中心', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/mmanage.jpg', '', 0, 0, 1);
  5904. INSERT INTO `ims_ewei_shop_plugin` VALUES (40, 44, 'polyapi', 'tool', '进销存-网店管家', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/polyapi.jpg', '', 0, 0, 1);
  5905. INSERT INTO `ims_ewei_shop_plugin` VALUES (41, 45, 'lottery', 'biz', '游戏营销', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/lottery.jpg', '', 0, 0, 1);
  5906. INSERT INTO `ims_ewei_shop_plugin` VALUES (43, 47, 'live', 'sale', '互动直播', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/live.jpg', '', 0, 0, 1);
  5907. INSERT INTO `ims_ewei_shop_plugin` VALUES (44, 48, 'invitation', 'sale', '邀请卡', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/invitation.png', '', 0, 0, 1);
  5908. INSERT INTO `ims_ewei_shop_plugin` VALUES (45, 49, 'app', 'help', '小程序', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/app.jpg', '', 0, 0, 1);
  5909. INSERT INTO `ims_ewei_shop_plugin` VALUES (46, 50, 'cycelbuy', 'biz', '周期购', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/cycelbuy.jpg', '', 0, 0, 1);
  5910. INSERT INTO `ims_ewei_shop_plugin` VALUES (47, 51, 'dividend', 'biz', '团队分红', '1.0', '官方', 0, '../addons/ewei_shopv2/static/images/dividend.jpg', '', 0, 0, 1);
  5911. INSERT INTO `ims_ewei_shop_plugin` VALUES (48, 52, 'pc', 'tool', 'PC端', '1.0', '官方', 1, '../addons/ewei_shopv2/static/images/pc.jpg', '', 0, 0, 1);
  5912. COMMIT;
  5913. -- ----------------------------
  5914. -- Table structure for ims_ewei_shop_polyapi_key
  5915. -- ----------------------------
  5916. DROP TABLE IF EXISTS `ims_ewei_shop_polyapi_key`;
  5917. CREATE TABLE `ims_ewei_shop_polyapi_key` (
  5918. `id` int(11) NOT NULL AUTO_INCREMENT,
  5919. `uniacid` int(11) NOT NULL DEFAULT '0',
  5920. `merchid` int(11) NOT NULL DEFAULT '0',
  5921. `appkey` varchar(200) NOT NULL DEFAULT '',
  5922. `token` varchar(200) NOT NULL DEFAULT '',
  5923. `appsecret` varchar(200) NOT NULL DEFAULT '',
  5924. `createtime` int(11) NOT NULL DEFAULT '0',
  5925. `updatetime` int(11) NOT NULL DEFAULT '0',
  5926. `status` tinyint(1) NOT NULL DEFAULT '0',
  5927. PRIMARY KEY (`id`),
  5928. KEY `idx_uniacid` (`uniacid`),
  5929. KEY `idx_appkey` (`appkey`),
  5930. KEY `idx_token` (`token`),
  5931. KEY `idx_appsecret` (`appsecret`)
  5932. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5933. -- ----------------------------
  5934. -- Table structure for ims_ewei_shop_poster
  5935. -- ----------------------------
  5936. DROP TABLE IF EXISTS `ims_ewei_shop_poster`;
  5937. CREATE TABLE `ims_ewei_shop_poster` (
  5938. `id` int(11) NOT NULL AUTO_INCREMENT,
  5939. `uniacid` int(11) DEFAULT '0',
  5940. `type` tinyint(3) DEFAULT '0',
  5941. `title` varchar(255) DEFAULT '',
  5942. `bg` varchar(255) DEFAULT '',
  5943. `data` text,
  5944. `keyword` varchar(255) DEFAULT '',
  5945. `times` int(11) DEFAULT '0',
  5946. `follows` int(11) DEFAULT '0',
  5947. `isdefault` tinyint(3) DEFAULT '0',
  5948. `resptitle` varchar(255) DEFAULT '',
  5949. `respthumb` varchar(255) DEFAULT '',
  5950. `createtime` int(11) DEFAULT '0',
  5951. `respdesc` varchar(255) DEFAULT '',
  5952. `respurl` varchar(255) DEFAULT '',
  5953. `waittext` varchar(255) DEFAULT '',
  5954. `oktext` varchar(255) DEFAULT '',
  5955. `subcredit` int(11) DEFAULT '0',
  5956. `submoney` decimal(10,2) DEFAULT '0.00',
  5957. `reccredit` int(11) DEFAULT '0',
  5958. `recmoney` decimal(10,2) DEFAULT '0.00',
  5959. `paytype` tinyint(1) NOT NULL DEFAULT '0',
  5960. `scantext` varchar(255) DEFAULT '',
  5961. `subtext` varchar(255) DEFAULT '',
  5962. `beagent` tinyint(3) DEFAULT '0',
  5963. `bedown` tinyint(3) DEFAULT '0',
  5964. `isopen` tinyint(3) DEFAULT '0',
  5965. `opentext` varchar(255) DEFAULT '',
  5966. `openurl` varchar(255) DEFAULT '',
  5967. `templateid` varchar(255) DEFAULT '',
  5968. `subpaycontent` text,
  5969. `recpaycontent` varchar(255) DEFAULT '',
  5970. `entrytext` varchar(255) DEFAULT '',
  5971. `reccouponid` int(11) DEFAULT '0',
  5972. `reccouponnum` int(11) DEFAULT '0',
  5973. `subcouponid` int(11) DEFAULT '0',
  5974. `subcouponnum` int(11) DEFAULT '0',
  5975. `resptype` tinyint(3) DEFAULT '0',
  5976. `resptext` text,
  5977. `keyword2` varchar(255) DEFAULT '',
  5978. `resptext11` text,
  5979. `reward_totle` varchar(500) DEFAULT '',
  5980. `ismembergroup` tinyint(3) DEFAULT '0',
  5981. `membergroupid` int(11) DEFAULT '0',
  5982. PRIMARY KEY (`id`),
  5983. KEY `idx_uniacid` (`uniacid`),
  5984. KEY `idx_type` (`type`),
  5985. KEY `idx_times` (`times`),
  5986. KEY `idx_isdefault` (`isdefault`),
  5987. KEY `idx_createtime` (`createtime`)
  5988. ) ENGINE=MyISAM AUTO_INCREMENT=28 DEFAULT CHARSET=utf8;
  5989. -- ----------------------------
  5990. -- Table structure for ims_ewei_shop_poster_log
  5991. -- ----------------------------
  5992. DROP TABLE IF EXISTS `ims_ewei_shop_poster_log`;
  5993. CREATE TABLE `ims_ewei_shop_poster_log` (
  5994. `id` int(11) NOT NULL AUTO_INCREMENT,
  5995. `uniacid` int(11) DEFAULT '0',
  5996. `openid` varchar(255) DEFAULT '',
  5997. `posterid` int(11) DEFAULT '0',
  5998. `from_openid` varchar(255) DEFAULT '',
  5999. `subcredit` int(11) DEFAULT '0',
  6000. `submoney` decimal(10,2) DEFAULT '0.00',
  6001. `reccredit` int(11) DEFAULT '0',
  6002. `recmoney` decimal(10,2) DEFAULT '0.00',
  6003. `createtime` int(11) DEFAULT '0',
  6004. `reccouponid` int(11) DEFAULT '0',
  6005. `reccouponnum` int(11) DEFAULT '0',
  6006. `subcouponid` int(11) DEFAULT '0',
  6007. `subcouponnum` int(11) DEFAULT '0',
  6008. PRIMARY KEY (`id`),
  6009. KEY `idx_uniacid` (`uniacid`),
  6010. KEY `idx_openid` (`openid`),
  6011. KEY `idx_createtime` (`createtime`),
  6012. KEY `idx_posterid` (`posterid`),
  6013. KEY `idx_from_openid` (`from_openid`) USING BTREE
  6014. ) ENGINE=MyISAM AUTO_INCREMENT=475 DEFAULT CHARSET=utf8;
  6015. -- ----------------------------
  6016. -- Table structure for ims_ewei_shop_poster_qr
  6017. -- ----------------------------
  6018. DROP TABLE IF EXISTS `ims_ewei_shop_poster_qr`;
  6019. CREATE TABLE `ims_ewei_shop_poster_qr` (
  6020. `id` int(11) NOT NULL AUTO_INCREMENT,
  6021. `acid` int(10) unsigned NOT NULL,
  6022. `openid` varchar(100) NOT NULL DEFAULT '',
  6023. `type` tinyint(3) DEFAULT '0',
  6024. `sceneid` int(11) DEFAULT '0',
  6025. `mediaid` varchar(255) DEFAULT '',
  6026. `ticket` varchar(250) NOT NULL,
  6027. `url` varchar(80) NOT NULL,
  6028. `createtime` int(10) unsigned NOT NULL,
  6029. `goodsid` int(11) DEFAULT '0',
  6030. `qrimg` varchar(1000) DEFAULT '',
  6031. `scenestr` varchar(255) DEFAULT '',
  6032. `posterid` int(11) DEFAULT '0',
  6033. PRIMARY KEY (`id`),
  6034. KEY `idx_acid` (`acid`),
  6035. KEY `idx_sceneid` (`sceneid`),
  6036. KEY `idx_type` (`type`),
  6037. KEY `idx_openid` (`openid`) USING BTREE
  6038. ) ENGINE=MyISAM AUTO_INCREMENT=136 DEFAULT CHARSET=utf8;
  6039. -- ----------------------------
  6040. -- Table structure for ims_ewei_shop_poster_scan
  6041. -- ----------------------------
  6042. DROP TABLE IF EXISTS `ims_ewei_shop_poster_scan`;
  6043. CREATE TABLE `ims_ewei_shop_poster_scan` (
  6044. `id` int(11) NOT NULL AUTO_INCREMENT,
  6045. `uniacid` int(11) DEFAULT '0',
  6046. `posterid` int(11) DEFAULT '0',
  6047. `openid` varchar(255) DEFAULT '',
  6048. `from_openid` varchar(255) DEFAULT '',
  6049. `scantime` int(11) DEFAULT '0',
  6050. PRIMARY KEY (`id`),
  6051. KEY `idx_uniacid` (`uniacid`),
  6052. KEY `idx_posterid` (`posterid`),
  6053. KEY `idx_scantime` (`scantime`),
  6054. KEY `idx_openid` (`openid`) USING BTREE
  6055. ) ENGINE=MyISAM AUTO_INCREMENT=145 DEFAULT CHARSET=utf8;
  6056. -- ----------------------------
  6057. -- Table structure for ims_ewei_shop_postera
  6058. -- ----------------------------
  6059. DROP TABLE IF EXISTS `ims_ewei_shop_postera`;
  6060. CREATE TABLE `ims_ewei_shop_postera` (
  6061. `id` int(11) NOT NULL AUTO_INCREMENT,
  6062. `uniacid` int(11) DEFAULT '0',
  6063. `type` tinyint(3) DEFAULT '0',
  6064. `days` int(11) DEFAULT '0',
  6065. `title` varchar(255) DEFAULT '',
  6066. `bg` varchar(255) DEFAULT '',
  6067. `data` text,
  6068. `keyword` varchar(255) DEFAULT '',
  6069. `isdefault` tinyint(3) DEFAULT '0',
  6070. `resptitle` varchar(255) DEFAULT '',
  6071. `respthumb` varchar(255) DEFAULT '',
  6072. `createtime` int(11) DEFAULT '0',
  6073. `respdesc` varchar(255) DEFAULT '',
  6074. `respurl` varchar(255) DEFAULT '',
  6075. `waittext` varchar(255) DEFAULT '',
  6076. `oktext` varchar(255) DEFAULT '',
  6077. `subcredit` int(11) DEFAULT '0',
  6078. `submoney` decimal(10,2) DEFAULT '0.00',
  6079. `reccredit` int(11) DEFAULT '0',
  6080. `recmoney` decimal(10,2) DEFAULT '0.00',
  6081. `scantext` varchar(255) DEFAULT '',
  6082. `subtext` varchar(255) DEFAULT '',
  6083. `beagent` tinyint(3) DEFAULT '0',
  6084. `bedown` tinyint(3) DEFAULT '0',
  6085. `isopen` tinyint(3) DEFAULT '0',
  6086. `opentext` varchar(255) DEFAULT '',
  6087. `openurl` varchar(255) DEFAULT '',
  6088. `paytype` tinyint(1) NOT NULL DEFAULT '0',
  6089. `subpaycontent` text,
  6090. `recpaycontent` varchar(255) DEFAULT '',
  6091. `templateid` varchar(255) DEFAULT '',
  6092. `entrytext` varchar(255) DEFAULT '',
  6093. `reccouponid` int(11) DEFAULT '0',
  6094. `reccouponnum` int(11) DEFAULT '0',
  6095. `subcouponid` int(11) DEFAULT '0',
  6096. `subcouponnum` int(11) DEFAULT '0',
  6097. `timestart` int(11) DEFAULT '0',
  6098. `timeend` int(11) DEFAULT '0',
  6099. `status` tinyint(3) DEFAULT '0',
  6100. `goodsid` int(11) DEFAULT '0',
  6101. `starttext` varchar(255) DEFAULT '',
  6102. `endtext` varchar(255) DEFAULT NULL,
  6103. `resptype` tinyint(3) DEFAULT '0',
  6104. `resptext` text,
  6105. `testflag` tinyint(1) DEFAULT '0',
  6106. `keyword2` varchar(255) DEFAULT '',
  6107. `reward_totle` varchar(500) DEFAULT '',
  6108. PRIMARY KEY (`id`),
  6109. KEY `idx_uniacid` (`uniacid`),
  6110. KEY `idx_type` (`type`),
  6111. KEY `idx_isdefault` (`isdefault`),
  6112. KEY `idx_createtime` (`createtime`)
  6113. ) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
  6114. -- ----------------------------
  6115. -- Table structure for ims_ewei_shop_postera_log
  6116. -- ----------------------------
  6117. DROP TABLE IF EXISTS `ims_ewei_shop_postera_log`;
  6118. CREATE TABLE `ims_ewei_shop_postera_log` (
  6119. `id` int(11) NOT NULL AUTO_INCREMENT,
  6120. `uniacid` int(11) DEFAULT '0',
  6121. `openid` varchar(255) DEFAULT '',
  6122. `posterid` int(11) DEFAULT '0',
  6123. `from_openid` varchar(255) DEFAULT '',
  6124. `subcredit` int(11) DEFAULT '0',
  6125. `submoney` decimal(10,2) DEFAULT '0.00',
  6126. `reccredit` int(11) DEFAULT '0',
  6127. `recmoney` decimal(10,2) DEFAULT '0.00',
  6128. `createtime` int(11) DEFAULT '0',
  6129. `reccouponid` int(11) DEFAULT '0',
  6130. `reccouponnum` int(11) DEFAULT '0',
  6131. `subcouponid` int(11) DEFAULT '0',
  6132. `subcouponnum` int(11) DEFAULT '0',
  6133. PRIMARY KEY (`id`),
  6134. KEY `idx_uniacid` (`uniacid`),
  6135. KEY `idx_openid` (`openid`),
  6136. KEY `idx_createtime` (`createtime`),
  6137. KEY `idx_posteraid` (`posterid`),
  6138. KEY `idx_from_openid` (`from_openid`) USING BTREE
  6139. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  6140. -- ----------------------------
  6141. -- Table structure for ims_ewei_shop_postera_qr
  6142. -- ----------------------------
  6143. DROP TABLE IF EXISTS `ims_ewei_shop_postera_qr`;
  6144. CREATE TABLE `ims_ewei_shop_postera_qr` (
  6145. `id` int(11) NOT NULL AUTO_INCREMENT,
  6146. `acid` int(10) unsigned NOT NULL,
  6147. `openid` varchar(100) NOT NULL DEFAULT '',
  6148. `posterid` int(11) DEFAULT '0',
  6149. `type` tinyint(3) DEFAULT '0',
  6150. `sceneid` int(11) DEFAULT '0',
  6151. `mediaid` varchar(255) DEFAULT '',
  6152. `ticket` varchar(250) NOT NULL,
  6153. `url` varchar(80) NOT NULL,
  6154. `createtime` int(10) unsigned NOT NULL,
  6155. `goodsid` int(11) DEFAULT '0',
  6156. `qrimg` varchar(1000) DEFAULT '',
  6157. `expire` int(11) DEFAULT '0',
  6158. `endtime` int(11) DEFAULT '0',
  6159. `qrtime` varchar(32) DEFAULT NULL,
  6160. PRIMARY KEY (`id`),
  6161. KEY `idx_acid` (`acid`),
  6162. KEY `idx_sceneid` (`sceneid`),
  6163. KEY `idx_type` (`type`),
  6164. KEY `idx_posterid` (`posterid`)
  6165. ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
  6166. -- ----------------------------
  6167. -- Table structure for ims_ewei_shop_print
  6168. -- ----------------------------
  6169. DROP TABLE IF EXISTS `ims_ewei_shop_print`;
  6170. CREATE TABLE `ims_ewei_shop_print` (
  6171. `id` int(11) NOT NULL AUTO_INCREMENT,
  6172. `status` tinyint(3) DEFAULT '0',
  6173. `name` varchar(200) DEFAULT '',
  6174. `print_no` varchar(200) DEFAULT '',
  6175. `key` varchar(200) DEFAULT '',
  6176. `print_nums` tinyint(3) DEFAULT '0',
  6177. `uniacid` int(11) DEFAULT '0',
  6178. `sid` tinyint(3) DEFAULT '0',
  6179. `print_type` tinyint(3) DEFAULT '0',
  6180. `qrcode_link` varchar(200) NOT NULL DEFAULT '',
  6181. PRIMARY KEY (`id`)
  6182. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  6183. -- ----------------------------
  6184. -- Table structure for ims_ewei_shop_qa_adv
  6185. -- ----------------------------
  6186. DROP TABLE IF EXISTS `ims_ewei_shop_qa_adv`;
  6187. CREATE TABLE `ims_ewei_shop_qa_adv` (
  6188. `id` int(11) NOT NULL AUTO_INCREMENT,
  6189. `uniacid` int(11) DEFAULT '0',
  6190. `advname` varchar(50) DEFAULT '',
  6191. `link` varchar(255) DEFAULT '',
  6192. `thumb` varchar(255) DEFAULT '',
  6193. `displayorder` int(11) DEFAULT '0',
  6194. `enabled` int(11) DEFAULT '0',
  6195. PRIMARY KEY (`id`),
  6196. KEY `idx_uniacid` (`uniacid`),
  6197. KEY `idx_enabled` (`enabled`),
  6198. KEY `idx_displayorder` (`displayorder`)
  6199. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  6200. -- ----------------------------
  6201. -- Table structure for ims_ewei_shop_qa_category
  6202. -- ----------------------------
  6203. DROP TABLE IF EXISTS `ims_ewei_shop_qa_category`;
  6204. CREATE TABLE `ims_ewei_shop_qa_category` (
  6205. `id` int(11) NOT NULL AUTO_INCREMENT,
  6206. `uniacid` int(11) DEFAULT '0',
  6207. `name` varchar(50) DEFAULT NULL,
  6208. `thumb` varchar(255) DEFAULT NULL,
  6209. `displayorder` tinyint(3) unsigned DEFAULT '0',
  6210. `enabled` tinyint(1) DEFAULT '1',
  6211. `isrecommand` tinyint(3) DEFAULT '0',
  6212. PRIMARY KEY (`id`),
  6213. KEY `idx_displayorder` (`displayorder`),
  6214. KEY `idx_enabled` (`enabled`),
  6215. KEY `idx_uniacid` (`uniacid`)
  6216. ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
  6217. -- ----------------------------
  6218. -- Table structure for ims_ewei_shop_qa_question
  6219. -- ----------------------------
  6220. DROP TABLE IF EXISTS `ims_ewei_shop_qa_question`;
  6221. CREATE TABLE `ims_ewei_shop_qa_question` (
  6222. `id` int(11) NOT NULL AUTO_INCREMENT,
  6223. `uniacid` int(11) NOT NULL DEFAULT '0',
  6224. `cate` int(11) NOT NULL DEFAULT '0',
  6225. `title` varchar(255) NOT NULL DEFAULT '',
  6226. `keywords` varchar(255) NOT NULL DEFAULT '',
  6227. `content` mediumtext NOT NULL,
  6228. `status` tinyint(3) NOT NULL DEFAULT '0',
  6229. `isrecommand` tinyint(3) NOT NULL DEFAULT '0',
  6230. `displayorder` int(11) NOT NULL DEFAULT '0',
  6231. `createtime` int(11) NOT NULL DEFAULT '0',
  6232. `lastedittime` int(11) NOT NULL DEFAULT '0',
  6233. PRIMARY KEY (`id`),
  6234. KEY `idx_uniacid` (`uniacid`),
  6235. KEY `idx_status` (`status`)
  6236. ) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
  6237. -- ----------------------------
  6238. -- Table structure for ims_ewei_shop_qa_set
  6239. -- ----------------------------
  6240. DROP TABLE IF EXISTS `ims_ewei_shop_qa_set`;
  6241. CREATE TABLE `ims_ewei_shop_qa_set` (
  6242. `id` int(11) NOT NULL AUTO_INCREMENT,
  6243. `uniacid` int(11) NOT NULL DEFAULT '0',
  6244. `showmember` tinyint(3) NOT NULL DEFAULT '0',
  6245. `showtype` tinyint(3) NOT NULL DEFAULT '0',
  6246. `keyword` varchar(255) NOT NULL DEFAULT '',
  6247. `enter_title` varchar(255) NOT NULL DEFAULT '',
  6248. `enter_img` varchar(255) NOT NULL DEFAULT '',
  6249. `enter_desc` varchar(255) NOT NULL DEFAULT '',
  6250. `share` tinyint(3) NOT NULL DEFAULT '0',
  6251. PRIMARY KEY (`id`),
  6252. KEY `idx_unaicid` (`uniacid`)
  6253. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  6254. -- ----------------------------
  6255. -- Table structure for ims_ewei_shop_quick
  6256. -- ----------------------------
  6257. DROP TABLE IF EXISTS `ims_ewei_shop_quick`;
  6258. CREATE TABLE `ims_ewei_shop_quick` (
  6259. `id` int(11) NOT NULL AUTO_INCREMENT,
  6260. `uniacid` int(11) NOT NULL,
  6261. `title` varchar(255) DEFAULT NULL,
  6262. `keyword` varchar(255) DEFAULT NULL,
  6263. `datas` mediumtext,
  6264. `cart` tinyint(3) NOT NULL DEFAULT '0',
  6265. `createtime` int(11) DEFAULT NULL,
  6266. `lasttime` int(11) DEFAULT NULL,
  6267. `share_title` varchar(255) DEFAULT NULL,
  6268. `share_desc` varchar(255) DEFAULT NULL,
  6269. `share_icon` varchar(255) DEFAULT NULL,
  6270. `enter_title` varchar(255) DEFAULT NULL,
  6271. `enter_desc` varchar(255) DEFAULT NULL,
  6272. `enter_icon` varchar(255) DEFAULT NULL,
  6273. `status` tinyint(3) NOT NULL DEFAULT '0',
  6274. `merchid` int(11) NOT NULL DEFAULT '0',
  6275. `type` tinyint(3) DEFAULT '0',
  6276. PRIMARY KEY (`id`)
  6277. ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
  6278. -- ----------------------------
  6279. -- Table structure for ims_ewei_shop_quick_adv
  6280. -- ----------------------------
  6281. DROP TABLE IF EXISTS `ims_ewei_shop_quick_adv`;
  6282. CREATE TABLE `ims_ewei_shop_quick_adv` (
  6283. `id` int(11) NOT NULL AUTO_INCREMENT,
  6284. `uniacid` int(11) DEFAULT '0',
  6285. `merchid` int(11) NOT NULL DEFAULT '0',
  6286. `advname` varchar(50) DEFAULT '',
  6287. `link` varchar(255) DEFAULT '',
  6288. `thumb` varchar(255) DEFAULT '',
  6289. `displayorder` int(11) DEFAULT '0',
  6290. `enabled` int(11) DEFAULT '0',
  6291. PRIMARY KEY (`id`),
  6292. KEY `idx_uniacid` (`uniacid`),
  6293. KEY `idx_enabled` (`enabled`),
  6294. KEY `idx_displayorder` (`displayorder`)
  6295. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  6296. -- ----------------------------
  6297. -- Table structure for ims_ewei_shop_quick_cart
  6298. -- ----------------------------
  6299. DROP TABLE IF EXISTS `ims_ewei_shop_quick_cart`;
  6300. CREATE TABLE `ims_ewei_shop_quick_cart` (
  6301. `id` int(11) NOT NULL AUTO_INCREMENT,
  6302. `uniacid` int(11) NOT NULL DEFAULT '0',
  6303. `quickid` int(11) NOT NULL DEFAULT '0',
  6304. `openid` varchar(100) DEFAULT '',
  6305. `goodsid` int(11) DEFAULT '0',
  6306. `total` int(11) DEFAULT '0',
  6307. `marketprice` decimal(10,2) DEFAULT '0.00',
  6308. `deleted` tinyint(1) DEFAULT '0',
  6309. `optionid` int(11) DEFAULT '0',
  6310. `createtime` int(11) DEFAULT '0',
  6311. `diyformdataid` int(11) DEFAULT NULL,
  6312. `diyformdata` text,
  6313. `diyformfields` text,
  6314. `diyformid` int(11) DEFAULT '0',
  6315. `selected` tinyint(1) DEFAULT '1',
  6316. `merchid` int(11) DEFAULT '0',
  6317. `selectedadd` tinyint(1) DEFAULT '1',
  6318. PRIMARY KEY (`id`),
  6319. KEY `idx_uniacid` (`uniacid`),
  6320. KEY `idx_goodsid` (`goodsid`),
  6321. KEY `idx_openid` (`openid`),
  6322. KEY `idx_deleted` (`deleted`),
  6323. KEY `idx_merchid` (`merchid`)
  6324. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  6325. -- ----------------------------
  6326. -- Table structure for ims_ewei_shop_refund_address
  6327. -- ----------------------------
  6328. DROP TABLE IF EXISTS `ims_ewei_shop_refund_address`;
  6329. CREATE TABLE `ims_ewei_shop_refund_address` (
  6330. `id` int(11) NOT NULL AUTO_INCREMENT,
  6331. `uniacid` int(11) DEFAULT '0',
  6332. `title` varchar(20) DEFAULT '',
  6333. `name` varchar(20) DEFAULT '',
  6334. `tel` varchar(20) DEFAULT '',
  6335. `mobile` varchar(11) DEFAULT '',
  6336. `province` varchar(30) DEFAULT '',
  6337. `city` varchar(30) DEFAULT '',
  6338. `area` varchar(30) DEFAULT '',
  6339. `address` varchar(300) DEFAULT '',
  6340. `isdefault` tinyint(1) DEFAULT '0',
  6341. `zipcode` varchar(255) DEFAULT '',
  6342. `content` text,
  6343. `deleted` tinyint(1) DEFAULT '0',
  6344. `openid` varchar(50) DEFAULT '0',
  6345. `merchid` int(11) DEFAULT '0',
  6346. PRIMARY KEY (`id`),
  6347. KEY `idx_uniacid` (`uniacid`),
  6348. KEY `idx_openid` (`openid`),
  6349. KEY `idx_isdefault` (`isdefault`),
  6350. KEY `idx_deleted` (`deleted`)
  6351. ) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
  6352. -- ----------------------------
  6353. -- Table structure for ims_ewei_shop_sale_coupon
  6354. -- ----------------------------
  6355. DROP TABLE IF EXISTS `ims_ewei_shop_sale_coupon`;
  6356. CREATE TABLE `ims_ewei_shop_sale_coupon` (
  6357. `id` int(11) NOT NULL AUTO_INCREMENT,
  6358. `uniacid` int(11) DEFAULT '0',
  6359. `name` varchar(255) DEFAULT '',
  6360. `type` tinyint(3) DEFAULT '0',
  6361. `ckey` decimal(10,2) DEFAULT '0.00',
  6362. `cvalue` decimal(10,2) DEFAULT '0.00',
  6363. `nums` int(11) DEFAULT '0',
  6364. `createtime` int(11) DEFAULT '0',
  6365. PRIMARY KEY (`id`),
  6366. KEY `idx_uniacid` (`uniacid`),
  6367. KEY `idx_createtime` (`createtime`)
  6368. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  6369. -- ----------------------------
  6370. -- Table structure for ims_ewei_shop_sale_coupon_data
  6371. -- ----------------------------
  6372. DROP TABLE IF EXISTS `ims_ewei_shop_sale_coupon_data`;
  6373. CREATE TABLE `ims_ewei_shop_sale_coupon_data` (
  6374. `id` int(11) NOT NULL AUTO_INCREMENT,
  6375. `uniacid` int(11) DEFAULT '0',
  6376. `openid` varchar(255) DEFAULT '',
  6377. `couponid` int(11) DEFAULT '0',
  6378. `gettime` int(11) DEFAULT '0',
  6379. `gettype` tinyint(3) DEFAULT '0',
  6380. `usedtime` int(11) DEFAULT '0',
  6381. `orderid` int(11) DEFAULT '0',
  6382. PRIMARY KEY (`id`),
  6383. KEY `idx_uniacid` (`uniacid`),
  6384. KEY `idx_couponid` (`couponid`),
  6385. KEY `idx_gettime` (`gettime`),
  6386. KEY `idx_gettype` (`gettype`),
  6387. KEY `idx_usedtime` (`usedtime`),
  6388. KEY `idx_orderid` (`orderid`)
  6389. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  6390. -- ----------------------------
  6391. -- Table structure for ims_ewei_shop_saler
  6392. -- ----------------------------
  6393. DROP TABLE IF EXISTS `ims_ewei_shop_saler`;
  6394. CREATE TABLE `ims_ewei_shop_saler` (
  6395. `id` int(11) NOT NULL AUTO_INCREMENT,
  6396. `storeid` int(11) DEFAULT '0',
  6397. `uniacid` int(11) DEFAULT '0',
  6398. `openid` varchar(255) DEFAULT '',
  6399. `status` tinyint(3) DEFAULT '0',
  6400. `salername` varchar(255) DEFAULT '',
  6401. `username` varchar(50) DEFAULT '',
  6402. `pwd` varchar(255) DEFAULT '',
  6403. `salt` varchar(255) DEFAULT '',
  6404. `lastvisit` varchar(255) DEFAULT '',
  6405. `lastip` varchar(255) DEFAULT '',
  6406. `isfounder` tinyint(3) DEFAULT '0',
  6407. `mobile` varchar(255) DEFAULT '',
  6408. `getmessage` tinyint(1) DEFAULT '0',
  6409. `getnotice` tinyint(1) DEFAULT '0',
  6410. `roleid` int(11) DEFAULT '0',
  6411. PRIMARY KEY (`id`),
  6412. KEY `idx_storeid` (`storeid`),
  6413. KEY `idx_uniacid` (`uniacid`)
  6414. ) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
  6415. -- ----------------------------
  6416. -- Table structure for ims_ewei_shop_seckill_adv
  6417. -- ----------------------------
  6418. DROP TABLE IF EXISTS `ims_ewei_shop_seckill_adv`;
  6419. CREATE TABLE `ims_ewei_shop_seckill_adv` (
  6420. `id` int(11) NOT NULL AUTO_INCREMENT,
  6421. `uniacid` int(11) DEFAULT '0',
  6422. `advname` varchar(50) DEFAULT '',
  6423. `link` varchar(255) DEFAULT '',
  6424. `thumb` varchar(255) DEFAULT '',
  6425. `displayorder` int(11) DEFAULT '0',
  6426. `enabled` int(11) DEFAULT '0',
  6427. PRIMARY KEY (`id`),
  6428. KEY `idx_displayorder` (`displayorder`) USING BTREE,
  6429. KEY `idx_enabled` (`enabled`) USING BTREE,
  6430. KEY `idx_uniacid` (`uniacid`) USING BTREE
  6431. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  6432. -- ----------------------------
  6433. -- Table structure for ims_ewei_shop_seckill_category
  6434. -- ----------------------------
  6435. DROP TABLE IF EXISTS `ims_ewei_shop_seckill_category`;
  6436. CREATE TABLE `ims_ewei_shop_seckill_category` (
  6437. `id` int(11) NOT NULL AUTO_INCREMENT,
  6438. `uniacid` int(11) DEFAULT '0',
  6439. `name` varchar(255) DEFAULT '',
  6440. PRIMARY KEY (`id`),
  6441. KEY `idx_uniacid` (`uniacid`) USING BTREE
  6442. ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  6443. -- ----------------------------
  6444. -- Table structure for ims_ewei_shop_seckill_task
  6445. -- ----------------------------
  6446. DROP TABLE IF EXISTS `ims_ewei_shop_seckill_task`;
  6447. CREATE TABLE `ims_ewei_shop_seckill_task` (
  6448. `id` int(11) NOT NULL AUTO_INCREMENT,
  6449. `uniacid` int(11) DEFAULT '0',
  6450. `cateid` int(11) DEFAULT '0',
  6451. `title` varchar(255) DEFAULT '',
  6452. `enabled` tinyint(3) DEFAULT '0',
  6453. `page_title` varchar(255) DEFAULT '',
  6454. `share_title` varchar(255) DEFAULT '',
  6455. `share_desc` varchar(255) DEFAULT '',
  6456. `share_icon` varchar(255) DEFAULT '',
  6457. `tag` varchar(10) DEFAULT '',
  6458. `closesec` int(11) DEFAULT '0',
  6459. `oldshow` tinyint(3) DEFAULT '0',
  6460. `times` text,
  6461. `createtime` int(11) DEFAULT '0',
  6462. `overtimes` tinyint(2) DEFAULT NULL,
  6463. PRIMARY KEY (`id`),
  6464. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  6465. KEY `idx_status` (`enabled`) USING BTREE
  6466. ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  6467. -- ----------------------------
  6468. -- Table structure for ims_ewei_shop_seckill_task_goods
  6469. -- ----------------------------
  6470. DROP TABLE IF EXISTS `ims_ewei_shop_seckill_task_goods`;
  6471. CREATE TABLE `ims_ewei_shop_seckill_task_goods` (
  6472. `id` int(11) NOT NULL AUTO_INCREMENT,
  6473. `uniacid` int(11) DEFAULT '0',
  6474. `displayorder` int(11) DEFAULT '0',
  6475. `taskid` int(11) DEFAULT '0',
  6476. `roomid` int(11) DEFAULT '0',
  6477. `timeid` int(11) DEFAULT '0',
  6478. `goodsid` int(11) DEFAULT '0',
  6479. `optionid` int(11) DEFAULT '0',
  6480. `price` decimal(10,2) DEFAULT '0.00',
  6481. `total` int(11) DEFAULT '0',
  6482. `maxbuy` int(11) DEFAULT '0',
  6483. `totalmaxbuy` int(11) DEFAULT '0',
  6484. `commission1` decimal(10,2) DEFAULT '0.00',
  6485. `commission2` decimal(10,2) DEFAULT '0.00',
  6486. `commission3` decimal(10,2) DEFAULT '0.00',
  6487. PRIMARY KEY (`id`),
  6488. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  6489. KEY `idx_goodsid` (`goodsid`) USING BTREE,
  6490. KEY `idx_optionid` (`optionid`) USING BTREE,
  6491. KEY `idx_displayorder` (`displayorder`) USING BTREE,
  6492. KEY `idx_taskid` (`taskid`) USING BTREE,
  6493. KEY `idx_roomid` (`roomid`) USING BTREE,
  6494. KEY `idx_time` (`timeid`) USING BTREE
  6495. ) ENGINE=MyISAM AUTO_INCREMENT=96 DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
  6496. -- ----------------------------
  6497. -- Table structure for ims_ewei_shop_seckill_task_room
  6498. -- ----------------------------
  6499. DROP TABLE IF EXISTS `ims_ewei_shop_seckill_task_room`;
  6500. CREATE TABLE `ims_ewei_shop_seckill_task_room` (
  6501. `id` int(11) NOT NULL AUTO_INCREMENT,
  6502. `uniacid` int(11) DEFAULT '0',
  6503. `displayorder` int(11) DEFAULT '0',
  6504. `taskid` int(11) DEFAULT '0',
  6505. `title` varchar(255) DEFAULT '',
  6506. `enabled` tinyint(3) DEFAULT '0',
  6507. `page_title` varchar(255) DEFAULT '',
  6508. `share_title` varchar(255) DEFAULT '',
  6509. `share_desc` varchar(255) DEFAULT '',
  6510. `share_icon` varchar(255) DEFAULT '',
  6511. `oldshow` tinyint(3) DEFAULT '0',
  6512. `tag` varchar(10) DEFAULT '',
  6513. `createtime` int(11) DEFAULT '0',
  6514. `diypage` int(11) DEFAULT '0',
  6515. PRIMARY KEY (`id`),
  6516. KEY `idx_taskid` (`taskid`) USING BTREE
  6517. ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  6518. -- ----------------------------
  6519. -- Table structure for ims_ewei_shop_seckill_task_time
  6520. -- ----------------------------
  6521. DROP TABLE IF EXISTS `ims_ewei_shop_seckill_task_time`;
  6522. CREATE TABLE `ims_ewei_shop_seckill_task_time` (
  6523. `id` int(11) NOT NULL AUTO_INCREMENT,
  6524. `uniacid` int(11) DEFAULT '0',
  6525. `taskid` int(11) DEFAULT '0',
  6526. `time` tinyint(3) DEFAULT '0',
  6527. PRIMARY KEY (`id`)
  6528. ) ENGINE=MyISAM AUTO_INCREMENT=130 DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
  6529. -- ----------------------------
  6530. -- Table structure for ims_ewei_shop_sendticket
  6531. -- ----------------------------
  6532. DROP TABLE IF EXISTS `ims_ewei_shop_sendticket`;
  6533. CREATE TABLE `ims_ewei_shop_sendticket` (
  6534. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  6535. `uniacid` int(11) NOT NULL,
  6536. `cpid` varchar(200) NOT NULL,
  6537. `expiration` int(11) NOT NULL DEFAULT '0',
  6538. `starttime` int(11) DEFAULT NULL,
  6539. `endtime` int(11) DEFAULT NULL,
  6540. `status` int(11) NOT NULL DEFAULT '0',
  6541. `createtime` int(11) NOT NULL,
  6542. `title` varchar(255) NOT NULL DEFAULT '新人礼包',
  6543. PRIMARY KEY (`id`)
  6544. ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
  6545. -- ----------------------------
  6546. -- Table structure for ims_ewei_shop_sendticket_draw
  6547. -- ----------------------------
  6548. DROP TABLE IF EXISTS `ims_ewei_shop_sendticket_draw`;
  6549. CREATE TABLE `ims_ewei_shop_sendticket_draw` (
  6550. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  6551. `uniacid` int(11) NOT NULL,
  6552. `cpid` varchar(50) NOT NULL,
  6553. `openid` varchar(200) NOT NULL,
  6554. `createtime` int(11) NOT NULL,
  6555. PRIMARY KEY (`id`),
  6556. KEY `uniacid` (`uniacid`),
  6557. KEY `openid` (`openid`),
  6558. KEY `cpid` (`cpid`)
  6559. ) ENGINE=MyISAM AUTO_INCREMENT=174 DEFAULT CHARSET=utf8;
  6560. -- ----------------------------
  6561. -- Table structure for ims_ewei_shop_sendticket_share
  6562. -- ----------------------------
  6563. DROP TABLE IF EXISTS `ims_ewei_shop_sendticket_share`;
  6564. CREATE TABLE `ims_ewei_shop_sendticket_share` (
  6565. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  6566. `uniacid` int(11) NOT NULL,
  6567. `sharetitle` varchar(255) NOT NULL,
  6568. `shareicon` varchar(255) DEFAULT NULL,
  6569. `sharedesc` varchar(255) DEFAULT NULL,
  6570. `expiration` int(11) NOT NULL DEFAULT '0',
  6571. `starttime` int(11) DEFAULT NULL,
  6572. `endtime` int(11) DEFAULT NULL,
  6573. `paycpid1` int(11) DEFAULT NULL,
  6574. `paycpid2` int(11) DEFAULT NULL,
  6575. `paycpid3` int(11) DEFAULT NULL,
  6576. `paycpnum1` int(11) DEFAULT NULL,
  6577. `paycpnum2` int(11) DEFAULT NULL,
  6578. `paycpnum3` int(11) DEFAULT NULL,
  6579. `sharecpid1` int(11) DEFAULT NULL,
  6580. `sharecpid2` int(11) DEFAULT NULL,
  6581. `sharecpid3` int(11) DEFAULT NULL,
  6582. `sharecpnum1` int(11) DEFAULT NULL,
  6583. `sharecpnum2` int(11) DEFAULT NULL,
  6584. `sharecpnum3` int(11) DEFAULT NULL,
  6585. `status` int(11) NOT NULL DEFAULT '0',
  6586. `createtime` int(11) NOT NULL,
  6587. `order` int(11) DEFAULT NULL,
  6588. `enough` decimal(10,2) DEFAULT NULL,
  6589. `issync` int(11) NOT NULL,
  6590. PRIMARY KEY (`id`)
  6591. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  6592. -- ----------------------------
  6593. -- Table structure for ims_ewei_shop_sign_records
  6594. -- ----------------------------
  6595. DROP TABLE IF EXISTS `ims_ewei_shop_sign_records`;
  6596. CREATE TABLE `ims_ewei_shop_sign_records` (
  6597. `id` int(11) NOT NULL AUTO_INCREMENT,
  6598. `uniacid` int(11) NOT NULL DEFAULT '0',
  6599. `time` int(11) NOT NULL DEFAULT '0',
  6600. `openid` varchar(50) NOT NULL DEFAULT '',
  6601. `credit` int(11) NOT NULL DEFAULT '0',
  6602. `log` varchar(255) DEFAULT '',
  6603. `type` tinyint(3) NOT NULL DEFAULT '0',
  6604. `day` int(11) NOT NULL DEFAULT '0',
  6605. PRIMARY KEY (`id`),
  6606. KEY `idx_uniacid` (`uniacid`),
  6607. KEY `idx_time` (`time`),
  6608. KEY `idx_type` (`type`),
  6609. KEY `idx_openid` (`openid`)
  6610. ) ENGINE=MyISAM AUTO_INCREMENT=651 DEFAULT CHARSET=utf8;
  6611. -- ----------------------------
  6612. -- Table structure for ims_ewei_shop_sign_set
  6613. -- ----------------------------
  6614. DROP TABLE IF EXISTS `ims_ewei_shop_sign_set`;
  6615. CREATE TABLE `ims_ewei_shop_sign_set` (
  6616. `id` int(11) NOT NULL AUTO_INCREMENT,
  6617. `uniacid` int(11) NOT NULL DEFAULT '0',
  6618. `iscenter` tinyint(3) NOT NULL DEFAULT '0',
  6619. `iscreditshop` tinyint(3) NOT NULL DEFAULT '0',
  6620. `keyword` varchar(255) NOT NULL DEFAULT '',
  6621. `title` varchar(255) NOT NULL DEFAULT '',
  6622. `thumb` varchar(255) NOT NULL DEFAULT '',
  6623. `desc` varchar(255) NOT NULL DEFAULT '',
  6624. `isopen` tinyint(3) NOT NULL DEFAULT '0',
  6625. `signold` tinyint(3) NOT NULL DEFAULT '0',
  6626. `signold_price` int(11) NOT NULL DEFAULT '0',
  6627. `signold_type` tinyint(3) NOT NULL DEFAULT '0',
  6628. `textsign` varchar(255) NOT NULL DEFAULT '',
  6629. `textsignold` varchar(255) NOT NULL DEFAULT '',
  6630. `textsigned` varchar(255) NOT NULL DEFAULT '',
  6631. `textsignforget` varchar(255) NOT NULL DEFAULT '',
  6632. `maincolor` varchar(20) NOT NULL DEFAULT '',
  6633. `cycle` tinyint(3) NOT NULL DEFAULT '0',
  6634. `reward_default_first` int(11) NOT NULL DEFAULT '0',
  6635. `reward_default_day` int(11) NOT NULL DEFAULT '0',
  6636. `reword_order` text NOT NULL,
  6637. `reword_sum` text NOT NULL,
  6638. `reword_special` text NOT NULL,
  6639. `sign_rule` text NOT NULL,
  6640. `share` tinyint(3) NOT NULL DEFAULT '0',
  6641. PRIMARY KEY (`id`)
  6642. ) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
  6643. -- ----------------------------
  6644. -- Table structure for ims_ewei_shop_sign_user
  6645. -- ----------------------------
  6646. DROP TABLE IF EXISTS `ims_ewei_shop_sign_user`;
  6647. CREATE TABLE `ims_ewei_shop_sign_user` (
  6648. `id` int(11) NOT NULL AUTO_INCREMENT,
  6649. `uniacid` int(11) NOT NULL DEFAULT '0',
  6650. `openid` varchar(255) NOT NULL DEFAULT '',
  6651. `order` int(11) NOT NULL DEFAULT '0',
  6652. `orderday` int(11) NOT NULL DEFAULT '0',
  6653. `sum` int(11) NOT NULL DEFAULT '0',
  6654. `signdate` varchar(10) DEFAULT '',
  6655. `isminiprogram` int(11) NOT NULL DEFAULT '0',
  6656. PRIMARY KEY (`id`)
  6657. ) ENGINE=MyISAM AUTO_INCREMENT=162 DEFAULT CHARSET=utf8;
  6658. -- ----------------------------
  6659. -- Table structure for ims_ewei_shop_sms
  6660. -- ----------------------------
  6661. DROP TABLE IF EXISTS `ims_ewei_shop_sms`;
  6662. CREATE TABLE `ims_ewei_shop_sms` (
  6663. `id` int(11) NOT NULL AUTO_INCREMENT,
  6664. `uniacid` int(11) NOT NULL DEFAULT '0',
  6665. `name` varchar(255) NOT NULL DEFAULT '',
  6666. `type` varchar(10) NOT NULL DEFAULT '',
  6667. `template` tinyint(3) NOT NULL DEFAULT '0',
  6668. `smstplid` varchar(255) NOT NULL DEFAULT '',
  6669. `smssign` varchar(255) NOT NULL DEFAULT '',
  6670. `content` varchar(100) NOT NULL DEFAULT '',
  6671. `data` text NOT NULL,
  6672. `status` tinyint(3) NOT NULL DEFAULT '0',
  6673. PRIMARY KEY (`id`)
  6674. ) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8;
  6675. -- ----------------------------
  6676. -- Table structure for ims_ewei_shop_sms_set
  6677. -- ----------------------------
  6678. DROP TABLE IF EXISTS `ims_ewei_shop_sms_set`;
  6679. CREATE TABLE `ims_ewei_shop_sms_set` (
  6680. `id` int(11) NOT NULL AUTO_INCREMENT,
  6681. `uniacid` int(11) NOT NULL DEFAULT '0',
  6682. `juhe` tinyint(3) NOT NULL DEFAULT '0',
  6683. `juhe_key` varchar(255) NOT NULL DEFAULT '',
  6684. `dayu` tinyint(3) NOT NULL DEFAULT '0',
  6685. `dayu_key` varchar(255) NOT NULL DEFAULT '',
  6686. `dayu_secret` varchar(255) NOT NULL DEFAULT '',
  6687. `emay` tinyint(3) NOT NULL DEFAULT '0',
  6688. `emay_url` varchar(255) NOT NULL DEFAULT '',
  6689. `emay_sn` varchar(255) NOT NULL DEFAULT '',
  6690. `emay_pw` varchar(255) NOT NULL DEFAULT '',
  6691. `emay_sk` varchar(255) NOT NULL DEFAULT '',
  6692. `emay_phost` varchar(255) NOT NULL DEFAULT '',
  6693. `emay_pport` int(11) NOT NULL DEFAULT '0',
  6694. `emay_puser` varchar(255) NOT NULL DEFAULT '',
  6695. `emay_ppw` varchar(255) NOT NULL DEFAULT '',
  6696. `emay_out` int(11) NOT NULL DEFAULT '0',
  6697. `emay_outresp` int(11) NOT NULL DEFAULT '30',
  6698. `emay_warn` decimal(10,2) NOT NULL DEFAULT '0.00',
  6699. `emay_mobile` varchar(11) NOT NULL DEFAULT '',
  6700. `emay_warn_time` int(11) NOT NULL DEFAULT '0',
  6701. `aliyun` tinyint(3) NOT NULL DEFAULT '0',
  6702. `aliyun_appcode` varchar(255) NOT NULL,
  6703. `aliyun_new` tinyint(3) NOT NULL DEFAULT '0',
  6704. `aliyun_new_keyid` varchar(255) NOT NULL DEFAULT '',
  6705. `aliyun_new_keysecret` varchar(255) NOT NULL DEFAULT '',
  6706. PRIMARY KEY (`id`)
  6707. ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
  6708. -- ----------------------------
  6709. -- Table structure for ims_ewei_shop_sns_adv
  6710. -- ----------------------------
  6711. DROP TABLE IF EXISTS `ims_ewei_shop_sns_adv`;
  6712. CREATE TABLE `ims_ewei_shop_sns_adv` (
  6713. `id` int(11) NOT NULL AUTO_INCREMENT,
  6714. `uniacid` int(11) DEFAULT '0',
  6715. `advname` varchar(50) DEFAULT '',
  6716. `link` varchar(255) DEFAULT '',
  6717. `thumb` varchar(255) DEFAULT '',
  6718. `displayorder` int(11) DEFAULT '0',
  6719. `enabled` int(11) DEFAULT '0',
  6720. PRIMARY KEY (`id`),
  6721. KEY `idx_uniacid` (`uniacid`),
  6722. KEY `idx_enabled` (`enabled`),
  6723. KEY `idx_displayorder` (`displayorder`)
  6724. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  6725. -- ----------------------------
  6726. -- Table structure for ims_ewei_shop_sns_board
  6727. -- ----------------------------
  6728. DROP TABLE IF EXISTS `ims_ewei_shop_sns_board`;
  6729. CREATE TABLE `ims_ewei_shop_sns_board` (
  6730. `id` int(11) NOT NULL AUTO_INCREMENT,
  6731. `uniacid` int(11) DEFAULT '0',
  6732. `cid` int(11) DEFAULT '0',
  6733. `title` varchar(50) DEFAULT '',
  6734. `logo` varchar(255) DEFAULT '',
  6735. `desc` varchar(255) DEFAULT '',
  6736. `displayorder` int(11) DEFAULT '0',
  6737. `enabled` int(11) DEFAULT '0',
  6738. `showgroups` text,
  6739. `showlevels` text,
  6740. `postgroups` text,
  6741. `postlevels` text,
  6742. `showagentlevels` text,
  6743. `postagentlevels` text,
  6744. `postcredit` int(11) DEFAULT '0',
  6745. `replycredit` int(11) DEFAULT '0',
  6746. `bestcredit` int(11) DEFAULT '0',
  6747. `bestboardcredit` int(11) DEFAULT '0',
  6748. `notagent` tinyint(3) DEFAULT '0',
  6749. `notagentpost` tinyint(3) DEFAULT '0',
  6750. `topcredit` int(11) DEFAULT '0',
  6751. `topboardcredit` int(11) DEFAULT '0',
  6752. `status` tinyint(3) DEFAULT '0',
  6753. `noimage` tinyint(3) DEFAULT '0',
  6754. `novoice` tinyint(3) DEFAULT '0',
  6755. `needfollow` tinyint(3) DEFAULT '0',
  6756. `needpostfollow` tinyint(3) DEFAULT '0',
  6757. `share_title` varchar(255) DEFAULT '',
  6758. `share_icon` varchar(255) DEFAULT '',
  6759. `share_desc` varchar(255) DEFAULT '',
  6760. `keyword` varchar(255) DEFAULT '',
  6761. `isrecommand` tinyint(3) DEFAULT '0',
  6762. `banner` varchar(255) DEFAULT '',
  6763. `needcheck` tinyint(3) DEFAULT '0',
  6764. `needcheckmanager` tinyint(3) DEFAULT '0',
  6765. `needcheckreply` int(11) DEFAULT '0',
  6766. `needcheckreplymanager` int(11) DEFAULT '0',
  6767. `showsnslevels` text,
  6768. `postsnslevels` text,
  6769. `showpartnerlevels` text,
  6770. `postpartnerlevels` text,
  6771. `notpartner` tinyint(3) DEFAULT '0',
  6772. `notpartnerpost` tinyint(3) DEFAULT '0',
  6773. PRIMARY KEY (`id`),
  6774. KEY `idx_uniacid` (`uniacid`),
  6775. KEY `idx_enabled` (`enabled`),
  6776. KEY `idx_displayorder` (`displayorder`),
  6777. KEY `idx_cid` (`cid`)
  6778. ) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
  6779. -- ----------------------------
  6780. -- Table structure for ims_ewei_shop_sns_board_follow
  6781. -- ----------------------------
  6782. DROP TABLE IF EXISTS `ims_ewei_shop_sns_board_follow`;
  6783. CREATE TABLE `ims_ewei_shop_sns_board_follow` (
  6784. `id` int(11) NOT NULL AUTO_INCREMENT,
  6785. `uniacid` int(11) DEFAULT '0',
  6786. `bid` int(11) DEFAULT '0',
  6787. `openid` varchar(255) DEFAULT NULL,
  6788. `createtime` int(11) DEFAULT '0',
  6789. PRIMARY KEY (`id`),
  6790. KEY `idx_uniacid` (`uniacid`),
  6791. KEY `idx_bid` (`bid`)
  6792. ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
  6793. -- ----------------------------
  6794. -- Table structure for ims_ewei_shop_sns_category
  6795. -- ----------------------------
  6796. DROP TABLE IF EXISTS `ims_ewei_shop_sns_category`;
  6797. CREATE TABLE `ims_ewei_shop_sns_category` (
  6798. `id` int(11) NOT NULL AUTO_INCREMENT,
  6799. `uniacid` int(11) DEFAULT '0',
  6800. `name` varchar(50) DEFAULT NULL,
  6801. `thumb` varchar(255) DEFAULT NULL,
  6802. `displayorder` tinyint(3) unsigned DEFAULT '0',
  6803. `enabled` tinyint(1) DEFAULT '1',
  6804. `advimg` varchar(255) DEFAULT '',
  6805. `advurl` varchar(500) DEFAULT '',
  6806. `isrecommand` tinyint(3) DEFAULT '0',
  6807. PRIMARY KEY (`id`),
  6808. KEY `idx_uniacid` (`uniacid`),
  6809. KEY `idx_enabled` (`enabled`),
  6810. KEY `idx_isrecommand` (`isrecommand`),
  6811. KEY `idx_displayorder` (`displayorder`)
  6812. ) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
  6813. -- ----------------------------
  6814. -- Table structure for ims_ewei_shop_sns_complain
  6815. -- ----------------------------
  6816. DROP TABLE IF EXISTS `ims_ewei_shop_sns_complain`;
  6817. CREATE TABLE `ims_ewei_shop_sns_complain` (
  6818. `id` int(11) NOT NULL AUTO_INCREMENT,
  6819. `uniacid` int(11) NOT NULL DEFAULT '0',
  6820. `type` tinyint(3) NOT NULL,
  6821. `postsid` int(11) NOT NULL DEFAULT '0',
  6822. `defendant` varchar(255) NOT NULL DEFAULT '0',
  6823. `complainant` varchar(255) NOT NULL DEFAULT '0',
  6824. `complaint_type` int(10) NOT NULL DEFAULT '0',
  6825. `complaint_text` text NOT NULL,
  6826. `images` text NOT NULL,
  6827. `createtime` int(11) NOT NULL DEFAULT '0',
  6828. `checkedtime` int(11) NOT NULL DEFAULT '0',
  6829. `checked` tinyint(3) NOT NULL DEFAULT '0',
  6830. `checked_note` varchar(255) NOT NULL,
  6831. `deleted` tinyint(3) NOT NULL DEFAULT '0',
  6832. PRIMARY KEY (`id`)
  6833. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  6834. -- ----------------------------
  6835. -- Table structure for ims_ewei_shop_sns_complaincate
  6836. -- ----------------------------
  6837. DROP TABLE IF EXISTS `ims_ewei_shop_sns_complaincate`;
  6838. CREATE TABLE `ims_ewei_shop_sns_complaincate` (
  6839. `id` int(11) NOT NULL AUTO_INCREMENT,
  6840. `uniacid` int(11) NOT NULL,
  6841. `name` varchar(255) NOT NULL,
  6842. `status` tinyint(3) NOT NULL DEFAULT '0',
  6843. `displayorder` int(11) NOT NULL DEFAULT '0',
  6844. PRIMARY KEY (`id`)
  6845. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  6846. -- ----------------------------
  6847. -- Table structure for ims_ewei_shop_sns_level
  6848. -- ----------------------------
  6849. DROP TABLE IF EXISTS `ims_ewei_shop_sns_level`;
  6850. CREATE TABLE `ims_ewei_shop_sns_level` (
  6851. `id` int(11) NOT NULL AUTO_INCREMENT,
  6852. `uniacid` int(11) DEFAULT '0',
  6853. `levelname` varchar(255) DEFAULT '',
  6854. `credit` int(11) DEFAULT '0',
  6855. `enabled` tinyint(3) DEFAULT '0',
  6856. `post` int(11) DEFAULT '0',
  6857. `color` varchar(255) DEFAULT '',
  6858. `bg` varchar(255) DEFAULT '',
  6859. PRIMARY KEY (`id`),
  6860. KEY `idx_enabled` (`enabled`)
  6861. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  6862. -- ----------------------------
  6863. -- Table structure for ims_ewei_shop_sns_like
  6864. -- ----------------------------
  6865. DROP TABLE IF EXISTS `ims_ewei_shop_sns_like`;
  6866. CREATE TABLE `ims_ewei_shop_sns_like` (
  6867. `id` int(11) NOT NULL AUTO_INCREMENT,
  6868. `uniacid` int(11) DEFAULT '0',
  6869. `openid` varchar(255) DEFAULT '',
  6870. `pid` int(11) DEFAULT '0',
  6871. PRIMARY KEY (`id`),
  6872. KEY `idx_uniacid` (`uniacid`),
  6873. KEY `idx_pid` (`pid`)
  6874. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  6875. -- ----------------------------
  6876. -- Table structure for ims_ewei_shop_sns_manage
  6877. -- ----------------------------
  6878. DROP TABLE IF EXISTS `ims_ewei_shop_sns_manage`;
  6879. CREATE TABLE `ims_ewei_shop_sns_manage` (
  6880. `id` int(11) NOT NULL AUTO_INCREMENT,
  6881. `uniacid` int(11) DEFAULT '0',
  6882. `bid` int(11) DEFAULT '0',
  6883. `openid` varchar(255) DEFAULT '',
  6884. `enabled` tinyint(3) DEFAULT '0',
  6885. PRIMARY KEY (`id`),
  6886. KEY `idx_uniacid` (`uniacid`),
  6887. KEY `idx_bid` (`bid`)
  6888. ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
  6889. -- ----------------------------
  6890. -- Table structure for ims_ewei_shop_sns_member
  6891. -- ----------------------------
  6892. DROP TABLE IF EXISTS `ims_ewei_shop_sns_member`;
  6893. CREATE TABLE `ims_ewei_shop_sns_member` (
  6894. `id` int(11) NOT NULL AUTO_INCREMENT,
  6895. `uniacid` int(11) DEFAULT '0',
  6896. `openid` varchar(255) DEFAULT NULL,
  6897. `level` int(11) DEFAULT '0',
  6898. `createtime` int(11) DEFAULT '0',
  6899. `credit` int(11) DEFAULT '0',
  6900. `sign` varchar(255) DEFAULT '',
  6901. `isblack` tinyint(3) DEFAULT '0',
  6902. `notupgrade` tinyint(3) DEFAULT '0',
  6903. PRIMARY KEY (`id`)
  6904. ) ENGINE=MyISAM AUTO_INCREMENT=28 DEFAULT CHARSET=utf8;
  6905. -- ----------------------------
  6906. -- Table structure for ims_ewei_shop_sns_post
  6907. -- ----------------------------
  6908. DROP TABLE IF EXISTS `ims_ewei_shop_sns_post`;
  6909. CREATE TABLE `ims_ewei_shop_sns_post` (
  6910. `id` int(11) NOT NULL AUTO_INCREMENT,
  6911. `uniacid` int(11) DEFAULT '0',
  6912. `bid` int(11) DEFAULT '0',
  6913. `pid` int(11) DEFAULT '0',
  6914. `rpid` int(11) DEFAULT '0',
  6915. `openid` varchar(255) DEFAULT '',
  6916. `avatar` varchar(255) DEFAULT '',
  6917. `nickname` varchar(255) DEFAULT '',
  6918. `title` varchar(50) DEFAULT '',
  6919. `content` text,
  6920. `images` text,
  6921. `voice` varchar(255) DEFAULT NULL,
  6922. `createtime` int(11) DEFAULT '0',
  6923. `replytime` int(11) DEFAULT '0',
  6924. `credit` int(11) DEFAULT '0',
  6925. `views` int(11) DEFAULT '0',
  6926. `islock` tinyint(1) DEFAULT '0',
  6927. `istop` tinyint(1) DEFAULT '0',
  6928. `isboardtop` tinyint(1) DEFAULT '0',
  6929. `isbest` tinyint(1) DEFAULT '0',
  6930. `isboardbest` tinyint(3) DEFAULT '0',
  6931. `deleted` tinyint(3) DEFAULT '0',
  6932. `deletedtime` int(11) DEFAULT '0',
  6933. `checked` tinyint(3) DEFAULT NULL,
  6934. `checktime` int(11) DEFAULT '0',
  6935. `isadmin` tinyint(3) NOT NULL DEFAULT '0',
  6936. PRIMARY KEY (`id`),
  6937. KEY `idx_uniacid` (`uniacid`),
  6938. KEY `idx_bid` (`bid`),
  6939. KEY `idx_pid` (`pid`),
  6940. KEY `idx_createtime` (`createtime`),
  6941. KEY `idx_islock` (`islock`),
  6942. KEY `idx_istop` (`istop`),
  6943. KEY `idx_isboardtop` (`isboardtop`),
  6944. KEY `idx_isbest` (`isbest`),
  6945. KEY `idx_deleted` (`deleted`),
  6946. KEY `idx_deletetime` (`deletedtime`),
  6947. KEY `idx_checked` (`checked`),
  6948. KEY `idx_rpid` (`rpid`)
  6949. ) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
  6950. -- ----------------------------
  6951. -- Table structure for ims_ewei_shop_store
  6952. -- ----------------------------
  6953. DROP TABLE IF EXISTS `ims_ewei_shop_store`;
  6954. CREATE TABLE `ims_ewei_shop_store` (
  6955. `id` int(11) NOT NULL AUTO_INCREMENT,
  6956. `uniacid` int(11) DEFAULT '0',
  6957. `storename` varchar(255) DEFAULT '',
  6958. `address` varchar(255) DEFAULT '',
  6959. `tel` varchar(255) DEFAULT '',
  6960. `lat` varchar(255) DEFAULT '',
  6961. `lng` varchar(255) DEFAULT '',
  6962. `status` tinyint(3) DEFAULT '0',
  6963. `realname` varchar(255) DEFAULT '',
  6964. `mobile` varchar(255) DEFAULT '',
  6965. `fetchtime` varchar(255) DEFAULT '',
  6966. `type` tinyint(1) DEFAULT '0',
  6967. `logo` varchar(255) DEFAULT '',
  6968. `saletime` varchar(255) DEFAULT '',
  6969. `desc` text,
  6970. `displayorder` int(11) DEFAULT '0',
  6971. `order_printer` varchar(500) DEFAULT '',
  6972. `order_template` int(11) DEFAULT '0',
  6973. `ordertype` varchar(500) DEFAULT '',
  6974. `banner` text,
  6975. `label` varchar(255) DEFAULT NULL,
  6976. `tag` varchar(255) DEFAULT NULL,
  6977. `classify` tinyint(1) DEFAULT NULL,
  6978. `perms` text,
  6979. `citycode` varchar(20) DEFAULT '',
  6980. `opensend` tinyint(3) NOT NULL DEFAULT '0',
  6981. `province` varchar(30) NOT NULL DEFAULT '',
  6982. `city` varchar(30) NOT NULL DEFAULT '',
  6983. `area` varchar(30) NOT NULL DEFAULT '',
  6984. `provincecode` varchar(30) NOT NULL DEFAULT '',
  6985. `areacode` varchar(30) NOT NULL DEFAULT '',
  6986. `diypage` int(11) NOT NULL DEFAULT '0',
  6987. `diypage_ispage` tinyint(3) NOT NULL DEFAULT '0',
  6988. `diypage_list` text,
  6989. `storegroupid` int(11) DEFAULT NULL,
  6990. `cates` text,
  6991. PRIMARY KEY (`id`),
  6992. KEY `idx_uniacid` (`uniacid`),
  6993. KEY `idx_status` (`status`)
  6994. ) ENGINE=MyISAM AUTO_INCREMENT=36 DEFAULT CHARSET=utf8;
  6995. -- ----------------------------
  6996. -- Table structure for ims_ewei_shop_supplier_apply
  6997. -- ----------------------------
  6998. DROP TABLE IF EXISTS `ims_ewei_shop_supplier_apply`;
  6999. CREATE TABLE `ims_ewei_shop_supplier_apply` (
  7000. `id` int(11) NOT NULL AUTO_INCREMENT,
  7001. `uid` int(11) NOT NULL,
  7002. `uniacid` int(11) NOT NULL,
  7003. `type` int(11) NOT NULL,
  7004. `applysn` varchar(255) NOT NULL,
  7005. `apply_money` int(11) NOT NULL,
  7006. `apply_time` int(11) NOT NULL,
  7007. `status` tinyint(3) NOT NULL,
  7008. `finish_time` int(11) NOT NULL,
  7009. PRIMARY KEY (`id`) USING BTREE
  7010. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  7011. -- ----------------------------
  7012. -- Table structure for ims_ewei_shop_sysset
  7013. -- ----------------------------
  7014. DROP TABLE IF EXISTS `ims_ewei_shop_sysset`;
  7015. CREATE TABLE `ims_ewei_shop_sysset` (
  7016. `id` int(11) NOT NULL AUTO_INCREMENT,
  7017. `uniacid` int(11) DEFAULT '0',
  7018. `sets` longtext,
  7019. `plugins` longtext,
  7020. `sec` text,
  7021. PRIMARY KEY (`id`),
  7022. KEY `idx_uniacid` (`uniacid`)
  7023. ) ENGINE=MyISAM AUTO_INCREMENT=99 DEFAULT CHARSET=utf8;
  7024. -- ----------------------------
  7025. -- Table structure for ims_ewei_shop_system_adv
  7026. -- ----------------------------
  7027. DROP TABLE IF EXISTS `ims_ewei_shop_system_adv`;
  7028. CREATE TABLE `ims_ewei_shop_system_adv` (
  7029. `id` int(11) NOT NULL AUTO_INCREMENT,
  7030. `title` varchar(255) DEFAULT '',
  7031. `thumb` varchar(255) DEFAULT '',
  7032. `url` varchar(255) DEFAULT '',
  7033. `createtime` int(11) DEFAULT '0',
  7034. `displayorder` int(11) DEFAULT '0',
  7035. `module` varchar(255) DEFAULT '',
  7036. `status` tinyint(3) DEFAULT '0',
  7037. PRIMARY KEY (`id`)
  7038. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7039. -- ----------------------------
  7040. -- Table structure for ims_ewei_shop_system_article
  7041. -- ----------------------------
  7042. DROP TABLE IF EXISTS `ims_ewei_shop_system_article`;
  7043. CREATE TABLE `ims_ewei_shop_system_article` (
  7044. `id` int(11) NOT NULL AUTO_INCREMENT,
  7045. `title` varchar(255) DEFAULT '',
  7046. `author` varchar(255) DEFAULT '',
  7047. `thumb` varchar(255) DEFAULT '',
  7048. `content` text,
  7049. `createtime` int(11) DEFAULT '0',
  7050. `displayorder` int(11) DEFAULT '0',
  7051. `cate` int(11) DEFAULT '0',
  7052. `status` tinyint(3) DEFAULT '0',
  7053. PRIMARY KEY (`id`)
  7054. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7055. -- ----------------------------
  7056. -- Table structure for ims_ewei_shop_system_banner
  7057. -- ----------------------------
  7058. DROP TABLE IF EXISTS `ims_ewei_shop_system_banner`;
  7059. CREATE TABLE `ims_ewei_shop_system_banner` (
  7060. `id` int(11) NOT NULL AUTO_INCREMENT,
  7061. `title` varchar(255) DEFAULT '',
  7062. `thumb` varchar(255) DEFAULT '',
  7063. `url` varchar(255) DEFAULT '',
  7064. `createtime` int(11) DEFAULT '0',
  7065. `displayorder` int(11) DEFAULT '0',
  7066. `status` tinyint(3) DEFAULT '0',
  7067. `background` varchar(10) DEFAULT '',
  7068. PRIMARY KEY (`id`)
  7069. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7070. -- ----------------------------
  7071. -- Table structure for ims_ewei_shop_system_case
  7072. -- ----------------------------
  7073. DROP TABLE IF EXISTS `ims_ewei_shop_system_case`;
  7074. CREATE TABLE `ims_ewei_shop_system_case` (
  7075. `id` int(11) NOT NULL AUTO_INCREMENT,
  7076. `title` varchar(255) DEFAULT '',
  7077. `thumb` varchar(255) DEFAULT '',
  7078. `qr` varchar(255) DEFAULT '',
  7079. `displayorder` int(11) DEFAULT '0',
  7080. `status` tinyint(3) DEFAULT '0',
  7081. `cate` int(11) DEFAULT '0',
  7082. `description` varchar(255) DEFAULT '0',
  7083. PRIMARY KEY (`id`)
  7084. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7085. -- ----------------------------
  7086. -- Table structure for ims_ewei_shop_system_casecategory
  7087. -- ----------------------------
  7088. DROP TABLE IF EXISTS `ims_ewei_shop_system_casecategory`;
  7089. CREATE TABLE `ims_ewei_shop_system_casecategory` (
  7090. `id` int(11) NOT NULL AUTO_INCREMENT,
  7091. `name` varchar(255) DEFAULT '',
  7092. `displayorder` int(11) DEFAULT '0',
  7093. `status` int(11) DEFAULT '0',
  7094. PRIMARY KEY (`id`)
  7095. ) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
  7096. -- ----------------------------
  7097. -- Table structure for ims_ewei_shop_system_category
  7098. -- ----------------------------
  7099. DROP TABLE IF EXISTS `ims_ewei_shop_system_category`;
  7100. CREATE TABLE `ims_ewei_shop_system_category` (
  7101. `id` int(11) NOT NULL AUTO_INCREMENT,
  7102. `name` varchar(255) DEFAULT '',
  7103. `displayorder` int(11) DEFAULT '0',
  7104. `status` int(11) DEFAULT '0',
  7105. PRIMARY KEY (`id`)
  7106. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7107. -- ----------------------------
  7108. -- Table structure for ims_ewei_shop_system_company_article
  7109. -- ----------------------------
  7110. DROP TABLE IF EXISTS `ims_ewei_shop_system_company_article`;
  7111. CREATE TABLE `ims_ewei_shop_system_company_article` (
  7112. `id` int(11) NOT NULL AUTO_INCREMENT,
  7113. `title` varchar(255) DEFAULT '',
  7114. `author` varchar(255) DEFAULT '',
  7115. `thumb` varchar(255) DEFAULT '',
  7116. `content` text,
  7117. `createtime` int(11) DEFAULT '0',
  7118. `displayorder` int(11) DEFAULT '0',
  7119. `cate` int(11) DEFAULT '0',
  7120. `status` tinyint(3) DEFAULT '0',
  7121. PRIMARY KEY (`id`)
  7122. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7123. -- ----------------------------
  7124. -- Table structure for ims_ewei_shop_system_company_category
  7125. -- ----------------------------
  7126. DROP TABLE IF EXISTS `ims_ewei_shop_system_company_category`;
  7127. CREATE TABLE `ims_ewei_shop_system_company_category` (
  7128. `id` int(11) NOT NULL AUTO_INCREMENT,
  7129. `name` varchar(255) DEFAULT '',
  7130. `displayorder` int(11) DEFAULT '0',
  7131. `status` int(11) DEFAULT '0',
  7132. PRIMARY KEY (`id`)
  7133. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7134. -- ----------------------------
  7135. -- Table structure for ims_ewei_shop_system_copyright
  7136. -- ----------------------------
  7137. DROP TABLE IF EXISTS `ims_ewei_shop_system_copyright`;
  7138. CREATE TABLE `ims_ewei_shop_system_copyright` (
  7139. `id` int(11) NOT NULL AUTO_INCREMENT,
  7140. `uniacid` int(11) DEFAULT NULL,
  7141. `copyright` text,
  7142. `bgcolor` varchar(255) DEFAULT '',
  7143. `ismanage` tinyint(3) DEFAULT '0',
  7144. `logo` varchar(255) DEFAULT '',
  7145. `title` varchar(255) DEFAULT '',
  7146. PRIMARY KEY (`id`),
  7147. KEY `idx_uniacid` (`uniacid`)
  7148. ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
  7149. -- ----------------------------
  7150. -- Table structure for ims_ewei_shop_system_copyright_notice
  7151. -- ----------------------------
  7152. DROP TABLE IF EXISTS `ims_ewei_shop_system_copyright_notice`;
  7153. CREATE TABLE `ims_ewei_shop_system_copyright_notice` (
  7154. `id` int(11) NOT NULL AUTO_INCREMENT,
  7155. `title` varchar(255) DEFAULT '',
  7156. `author` varchar(255) DEFAULT '',
  7157. `content` text,
  7158. `createtime` int(11) DEFAULT '0',
  7159. `displayorder` int(11) DEFAULT '0',
  7160. `status` tinyint(3) DEFAULT '0',
  7161. PRIMARY KEY (`id`)
  7162. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7163. -- ----------------------------
  7164. -- Table structure for ims_ewei_shop_system_guestbook
  7165. -- ----------------------------
  7166. DROP TABLE IF EXISTS `ims_ewei_shop_system_guestbook`;
  7167. CREATE TABLE `ims_ewei_shop_system_guestbook` (
  7168. `id` int(11) NOT NULL AUTO_INCREMENT,
  7169. `title` varchar(255) NOT NULL DEFAULT '',
  7170. `content` varchar(255) NOT NULL DEFAULT '',
  7171. `nickname` varchar(255) NOT NULL DEFAULT '',
  7172. `createtime` int(11) DEFAULT NULL,
  7173. `email` varchar(255) NOT NULL DEFAULT '',
  7174. `clientip` varchar(64) NOT NULL DEFAULT '',
  7175. `mobile` varchar(11) NOT NULL DEFAULT '',
  7176. PRIMARY KEY (`id`)
  7177. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7178. -- ----------------------------
  7179. -- Table structure for ims_ewei_shop_system_link
  7180. -- ----------------------------
  7181. DROP TABLE IF EXISTS `ims_ewei_shop_system_link`;
  7182. CREATE TABLE `ims_ewei_shop_system_link` (
  7183. `id` int(11) NOT NULL AUTO_INCREMENT,
  7184. `name` varchar(255) NOT NULL DEFAULT '',
  7185. `url` varchar(255) NOT NULL DEFAULT '',
  7186. `thumb` varchar(255) NOT NULL DEFAULT '',
  7187. `displayorder` int(11) DEFAULT NULL,
  7188. `status` tinyint(3) DEFAULT NULL,
  7189. PRIMARY KEY (`id`)
  7190. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7191. -- ----------------------------
  7192. -- Table structure for ims_ewei_shop_system_plugingrant_adv
  7193. -- ----------------------------
  7194. DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_adv`;
  7195. CREATE TABLE `ims_ewei_shop_system_plugingrant_adv` (
  7196. `id` int(11) NOT NULL AUTO_INCREMENT,
  7197. `advname` varchar(50) DEFAULT '',
  7198. `link` varchar(255) DEFAULT '',
  7199. `thumb` varchar(255) DEFAULT '',
  7200. `displayorder` int(11) DEFAULT '0',
  7201. `enabled` int(11) DEFAULT '0',
  7202. PRIMARY KEY (`id`),
  7203. KEY `idx_enabled` (`enabled`),
  7204. KEY `idx_displayorder` (`displayorder`)
  7205. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7206. -- ----------------------------
  7207. -- Table structure for ims_ewei_shop_system_plugingrant_log
  7208. -- ----------------------------
  7209. DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_log`;
  7210. CREATE TABLE `ims_ewei_shop_system_plugingrant_log` (
  7211. `id` int(11) NOT NULL AUTO_INCREMENT,
  7212. `logno` varchar(50) DEFAULT NULL,
  7213. `code` varchar(255) DEFAULT NULL,
  7214. `uniacid` int(11) NOT NULL DEFAULT '0',
  7215. `pluginid` int(11) NOT NULL DEFAULT '0',
  7216. `identity` varchar(50) DEFAULT NULL,
  7217. `type` varchar(255) DEFAULT NULL,
  7218. `month` int(10) NOT NULL DEFAULT '0',
  7219. `permendtime` int(10) NOT NULL DEFAULT '0',
  7220. `permlasttime` int(10) NOT NULL DEFAULT '0',
  7221. `isperm` tinyint(3) NOT NULL DEFAULT '0',
  7222. `createtime` int(10) NOT NULL DEFAULT '0',
  7223. `deleted` tinyint(3) NOT NULL DEFAULT '0',
  7224. PRIMARY KEY (`id`)
  7225. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7226. -- ----------------------------
  7227. -- Table structure for ims_ewei_shop_system_plugingrant_order
  7228. -- ----------------------------
  7229. DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_order`;
  7230. CREATE TABLE `ims_ewei_shop_system_plugingrant_order` (
  7231. `id` int(11) NOT NULL AUTO_INCREMENT,
  7232. `logno` varchar(50) DEFAULT NULL,
  7233. `code` varchar(255) DEFAULT NULL,
  7234. `uniacid` int(11) NOT NULL DEFAULT '0',
  7235. `username` varchar(255) DEFAULT NULL,
  7236. `pluginid` varchar(255) DEFAULT NULL,
  7237. `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  7238. `month` int(11) NOT NULL DEFAULT '0',
  7239. `createtime` int(10) NOT NULL DEFAULT '0',
  7240. `paystatus` tinyint(3) NOT NULL DEFAULT '0',
  7241. `paytime` int(10) NOT NULL DEFAULT '0',
  7242. `paytype` tinyint(3) NOT NULL DEFAULT '0',
  7243. PRIMARY KEY (`id`)
  7244. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7245. -- ----------------------------
  7246. -- Table structure for ims_ewei_shop_system_plugingrant_package
  7247. -- ----------------------------
  7248. DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_package`;
  7249. CREATE TABLE `ims_ewei_shop_system_plugingrant_package` (
  7250. `id` int(11) NOT NULL AUTO_INCREMENT,
  7251. `pluginid` varchar(255) NOT NULL DEFAULT '',
  7252. `text` varchar(255) DEFAULT NULL,
  7253. `thumb` varchar(1000) DEFAULT NULL,
  7254. `data` text NOT NULL,
  7255. `state` tinyint(3) NOT NULL DEFAULT '0',
  7256. `rec` tinyint(3) NOT NULL DEFAULT '0',
  7257. `desc` varchar(255) DEFAULT NULL,
  7258. `content` text NOT NULL,
  7259. `displayorder` int(11) NOT NULL DEFAULT '0',
  7260. PRIMARY KEY (`id`)
  7261. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7262. -- ----------------------------
  7263. -- Table structure for ims_ewei_shop_system_plugingrant_plugin
  7264. -- ----------------------------
  7265. DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_plugin`;
  7266. CREATE TABLE `ims_ewei_shop_system_plugingrant_plugin` (
  7267. `id` int(11) NOT NULL AUTO_INCREMENT,
  7268. `pluginid` int(11) NOT NULL DEFAULT '0',
  7269. `thumb` varchar(1000) NOT NULL,
  7270. `data` text,
  7271. `state` tinyint(3) NOT NULL DEFAULT '0',
  7272. `content` text NOT NULL,
  7273. `sales` int(11) NOT NULL DEFAULT '0',
  7274. `createtime` int(10) NOT NULL DEFAULT '0',
  7275. `displayorder` int(11) NOT NULL DEFAULT '0',
  7276. `plugintype` tinyint(3) NOT NULL DEFAULT '0',
  7277. `name` varchar(255) DEFAULT NULL,
  7278. PRIMARY KEY (`id`)
  7279. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7280. -- ----------------------------
  7281. -- Table structure for ims_ewei_shop_system_plugingrant_setting
  7282. -- ----------------------------
  7283. DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_setting`;
  7284. CREATE TABLE `ims_ewei_shop_system_plugingrant_setting` (
  7285. `id` int(11) NOT NULL AUTO_INCREMENT,
  7286. `com` varchar(1000) NOT NULL DEFAULT '',
  7287. `adv` varchar(1000) NOT NULL,
  7288. `plugin` varchar(1000) NOT NULL,
  7289. `customer` varchar(50) NOT NULL DEFAULT '0',
  7290. `contact` text NOT NULL,
  7291. `servertime` varchar(255) DEFAULT NULL,
  7292. `weixin` tinyint(3) NOT NULL DEFAULT '0',
  7293. `appid` varchar(255) DEFAULT NULL,
  7294. `mchid` varchar(255) DEFAULT NULL,
  7295. `apikey` varchar(255) DEFAULT NULL,
  7296. `alipay` tinyint(3) NOT NULL,
  7297. `account` varchar(255) DEFAULT NULL,
  7298. `partner` varchar(255) DEFAULT NULL,
  7299. `secret` varchar(255) DEFAULT NULL,
  7300. PRIMARY KEY (`id`)
  7301. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7302. -- ----------------------------
  7303. -- Table structure for ims_ewei_shop_system_setting
  7304. -- ----------------------------
  7305. DROP TABLE IF EXISTS `ims_ewei_shop_system_setting`;
  7306. CREATE TABLE `ims_ewei_shop_system_setting` (
  7307. `id` int(11) NOT NULL AUTO_INCREMENT,
  7308. `uniacid` int(10) DEFAULT NULL,
  7309. `background` varchar(10) DEFAULT '',
  7310. `casebanner` varchar(255) DEFAULT '',
  7311. `contact` text,
  7312. PRIMARY KEY (`id`)
  7313. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7314. -- ----------------------------
  7315. -- Table structure for ims_ewei_shop_system_site
  7316. -- ----------------------------
  7317. DROP TABLE IF EXISTS `ims_ewei_shop_system_site`;
  7318. CREATE TABLE `ims_ewei_shop_system_site` (
  7319. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  7320. `type` varchar(32) NOT NULL DEFAULT '',
  7321. `content` text,
  7322. PRIMARY KEY (`id`)
  7323. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  7324. -- ----------------------------
  7325. -- Table structure for ims_ewei_shop_task
  7326. -- ----------------------------
  7327. DROP TABLE IF EXISTS `ims_ewei_shop_task`;
  7328. CREATE TABLE `ims_ewei_shop_task` (
  7329. `id` int(11) NOT NULL AUTO_INCREMENT,
  7330. `uniacid` int(11) NOT NULL,
  7331. `title` varchar(255) NOT NULL DEFAULT '',
  7332. `type` int(11) NOT NULL,
  7333. `starttime` int(11) NOT NULL,
  7334. `endtime` int(11) NOT NULL,
  7335. `dotime` int(11) NOT NULL DEFAULT '0',
  7336. `donetime` int(11) NOT NULL DEFAULT '0',
  7337. `timelimit` float(11,1) NOT NULL,
  7338. `keyword` varchar(255) NOT NULL DEFAULT '',
  7339. `status` tinyint(1) NOT NULL DEFAULT '0',
  7340. `explain` text,
  7341. `require_data` text NOT NULL,
  7342. `reward_data` text NOT NULL,
  7343. `period` int(11) NOT NULL DEFAULT '0',
  7344. `repeat` int(11) NOT NULL DEFAULT '0',
  7345. `maxtimes` int(11) NOT NULL DEFAULT '0',
  7346. `everyhours` float(11,1) NOT NULL DEFAULT '0.0',
  7347. `logo` varchar(255) NOT NULL DEFAULT '',
  7348. PRIMARY KEY (`id`),
  7349. KEY `uniacid` (`uniacid`) USING BTREE
  7350. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7351. -- ----------------------------
  7352. -- Table structure for ims_ewei_shop_task_adv
  7353. -- ----------------------------
  7354. DROP TABLE IF EXISTS `ims_ewei_shop_task_adv`;
  7355. CREATE TABLE `ims_ewei_shop_task_adv` (
  7356. `id` int(11) NOT NULL AUTO_INCREMENT,
  7357. `uniacid` int(11) DEFAULT '0',
  7358. `advname` varchar(50) DEFAULT '',
  7359. `link` varchar(255) DEFAULT '',
  7360. `thumb` varchar(255) DEFAULT '',
  7361. `displayorder` int(11) DEFAULT '0',
  7362. `enabled` int(11) DEFAULT '0',
  7363. PRIMARY KEY (`id`)
  7364. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  7365. -- ----------------------------
  7366. -- Table structure for ims_ewei_shop_task_default
  7367. -- ----------------------------
  7368. DROP TABLE IF EXISTS `ims_ewei_shop_task_default`;
  7369. CREATE TABLE `ims_ewei_shop_task_default` (
  7370. `id` int(11) NOT NULL AUTO_INCREMENT,
  7371. `uniacid` int(11) NOT NULL DEFAULT '0',
  7372. `data` text,
  7373. `addtime` int(11) NOT NULL DEFAULT '0',
  7374. `bgimg` varchar(255) NOT NULL DEFAULT '',
  7375. `open` tinyint(1) NOT NULL DEFAULT '0',
  7376. PRIMARY KEY (`id`)
  7377. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  7378. -- ----------------------------
  7379. -- Table structure for ims_ewei_shop_task_extension
  7380. -- ----------------------------
  7381. DROP TABLE IF EXISTS `ims_ewei_shop_task_extension`;
  7382. CREATE TABLE `ims_ewei_shop_task_extension` (
  7383. `id` int(11) NOT NULL AUTO_INCREMENT,
  7384. `taskname` varchar(255) NOT NULL DEFAULT '',
  7385. `taskclass` varchar(25) NOT NULL DEFAULT '',
  7386. `status` tinyint(1) NOT NULL DEFAULT '0',
  7387. `classify` varchar(255) NOT NULL DEFAULT '',
  7388. `classify_name` varchar(255) NOT NULL DEFAULT '',
  7389. `verb` varchar(255) NOT NULL DEFAULT '',
  7390. `unit` varchar(255) NOT NULL DEFAULT '',
  7391. PRIMARY KEY (`id`)
  7392. ) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
  7393. -- ----------------------------
  7394. -- Records of ims_ewei_shop_task_extension
  7395. -- ----------------------------
  7396. BEGIN;
  7397. INSERT INTO `ims_ewei_shop_task_extension` VALUES (1, '推荐人数', 'commission_member', 1, 'number', 'number', '推荐', '人');
  7398. INSERT INTO `ims_ewei_shop_task_extension` VALUES (2, '分销佣金', 'commission_money', 1, 'number', 'number', '达到', '元');
  7399. INSERT INTO `ims_ewei_shop_task_extension` VALUES (3, '分销订单', 'commission_order', 1, 'number', 'number', '达到', '笔');
  7400. INSERT INTO `ims_ewei_shop_task_extension` VALUES (4, '订单满额', 'cost_enough', 1, 'number', 'number', '满', '元');
  7401. INSERT INTO `ims_ewei_shop_task_extension` VALUES (5, '累计金额', 'cost_total', 1, 'number', 'number', '累计', '元');
  7402. INSERT INTO `ims_ewei_shop_task_extension` VALUES (6, '订单数量', 'cost_count', 1, 'number', 'number', '达到', '单');
  7403. INSERT INTO `ims_ewei_shop_task_extension` VALUES (7, '指定商品', 'cost_goods', 1, 'select', 'select', '购买指定商品', '件');
  7404. INSERT INTO `ims_ewei_shop_task_extension` VALUES (8, '商品评价', 'cost_comment', 1, 'number', 'number', '评价订单', '次');
  7405. INSERT INTO `ims_ewei_shop_task_extension` VALUES (9, '累计充值', 'cost_rechargetotal', 1, 'number', 'number', '达到', '元');
  7406. INSERT INTO `ims_ewei_shop_task_extension` VALUES (10, '充值满额', 'cost_rechargeenough', 1, 'number', 'number', '满', '元');
  7407. INSERT INTO `ims_ewei_shop_task_extension` VALUES (11, '完善信息', 'member_info', 1, 'boole', 'boole', '填写手机号', '');
  7408. COMMIT;
  7409. -- ----------------------------
  7410. -- Table structure for ims_ewei_shop_task_extension_join
  7411. -- ----------------------------
  7412. DROP TABLE IF EXISTS `ims_ewei_shop_task_extension_join`;
  7413. CREATE TABLE `ims_ewei_shop_task_extension_join` (
  7414. `id` int(11) NOT NULL AUTO_INCREMENT,
  7415. `uniacid` int(11) NOT NULL,
  7416. `title` varchar(255) NOT NULL DEFAULT '',
  7417. `uid` int(11) NOT NULL,
  7418. `taskid` int(11) NOT NULL,
  7419. `openid` varchar(255) NOT NULL,
  7420. `require_data` text NOT NULL,
  7421. `progress_data` text NOT NULL,
  7422. `reward_data` text NOT NULL,
  7423. `completetime` int(11) NOT NULL DEFAULT '0',
  7424. `pickuptime` int(11) NOT NULL,
  7425. `endtime` int(11) NOT NULL,
  7426. `dotime` int(11) NOT NULL DEFAULT '0',
  7427. `rewarded` text NOT NULL,
  7428. `logo` varchar(255) NOT NULL DEFAULT '0',
  7429. PRIMARY KEY (`id`)
  7430. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7431. -- ----------------------------
  7432. -- Table structure for ims_ewei_shop_task_join
  7433. -- ----------------------------
  7434. DROP TABLE IF EXISTS `ims_ewei_shop_task_join`;
  7435. CREATE TABLE `ims_ewei_shop_task_join` (
  7436. `join_id` int(11) NOT NULL AUTO_INCREMENT,
  7437. `uniacid` int(11) NOT NULL DEFAULT '0',
  7438. `join_user` varchar(100) NOT NULL DEFAULT '',
  7439. `task_id` int(11) NOT NULL DEFAULT '0',
  7440. `task_type` tinyint(1) NOT NULL DEFAULT '0',
  7441. `needcount` int(11) NOT NULL DEFAULT '0',
  7442. `completecount` int(11) NOT NULL DEFAULT '0',
  7443. `reward_data` text,
  7444. `is_reward` tinyint(1) NOT NULL DEFAULT '0',
  7445. `failtime` int(11) NOT NULL DEFAULT '0',
  7446. `addtime` int(11) DEFAULT '0',
  7447. PRIMARY KEY (`join_id`)
  7448. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  7449. -- ----------------------------
  7450. -- Table structure for ims_ewei_shop_task_joiner
  7451. -- ----------------------------
  7452. DROP TABLE IF EXISTS `ims_ewei_shop_task_joiner`;
  7453. CREATE TABLE `ims_ewei_shop_task_joiner` (
  7454. `complete_id` int(11) NOT NULL AUTO_INCREMENT,
  7455. `uniacid` int(11) NOT NULL DEFAULT '0',
  7456. `task_user` varchar(100) NOT NULL DEFAULT '',
  7457. `joiner_id` varchar(100) NOT NULL DEFAULT '',
  7458. `join_id` int(11) NOT NULL DEFAULT '0',
  7459. `task_id` int(11) NOT NULL DEFAULT '0',
  7460. `task_type` tinyint(1) NOT NULL DEFAULT '0',
  7461. `join_status` tinyint(1) NOT NULL DEFAULT '1',
  7462. `addtime` int(11) DEFAULT NULL,
  7463. PRIMARY KEY (`complete_id`)
  7464. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  7465. -- ----------------------------
  7466. -- Table structure for ims_ewei_shop_task_list
  7467. -- ----------------------------
  7468. DROP TABLE IF EXISTS `ims_ewei_shop_task_list`;
  7469. CREATE TABLE `ims_ewei_shop_task_list` (
  7470. `status` tinyint(1) NOT NULL DEFAULT '0',
  7471. `displayorder` int(11) NOT NULL DEFAULT '0',
  7472. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  7473. `uniacid` int(11) NOT NULL DEFAULT '0',
  7474. `title` char(50) NOT NULL DEFAULT '',
  7475. `image` varchar(255) NOT NULL DEFAULT '',
  7476. `type` varchar(50) NOT NULL DEFAULT '',
  7477. `starttime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  7478. `endtime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  7479. `demand` int(11) NOT NULL DEFAULT '0',
  7480. `requiregoods` text NOT NULL,
  7481. `picktype` tinyint(1) NOT NULL DEFAULT '0',
  7482. `stop_type` tinyint(1) NOT NULL DEFAULT '0',
  7483. `stop_limit` int(11) NOT NULL DEFAULT '0',
  7484. `stop_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  7485. `stop_cycle` tinyint(1) NOT NULL DEFAULT '0',
  7486. `repeat_type` tinyint(1) NOT NULL DEFAULT '0',
  7487. `repeat_interval` int(11) NOT NULL DEFAULT '0',
  7488. `repeat_cycle` tinyint(1) NOT NULL DEFAULT '0',
  7489. `reward` text NOT NULL,
  7490. `followreward` text NOT NULL,
  7491. `goods_limit` int(11) NOT NULL DEFAULT '0',
  7492. `notice` text NOT NULL,
  7493. `design_data` text NOT NULL,
  7494. `design_bg` varchar(255) NOT NULL DEFAULT '',
  7495. `native_data` text NOT NULL,
  7496. `native_data2` text,
  7497. `native_data3` text,
  7498. `reward2` text,
  7499. `reward3` text,
  7500. `level2` int(11) NOT NULL DEFAULT '0',
  7501. `level3` int(11) NOT NULL DEFAULT '0',
  7502. `member_group` text,
  7503. `auto_pick` tinyint(1) NOT NULL DEFAULT '0',
  7504. `keyword_pick` varchar(20) NOT NULL DEFAULT '',
  7505. `verb` varchar(255) DEFAULT '',
  7506. `unit` varchar(255) DEFAULT '',
  7507. `member_level` int(11) NOT NULL DEFAULT '0',
  7508. `poster_version` varchar(255) NOT NULL DEFAULT '',
  7509. `we7_rule_keyword_id` int(10) NOT NULL DEFAULT '0',
  7510. PRIMARY KEY (`id`),
  7511. KEY `idx_uniacid` (`uniacid`),
  7512. KEY `idx_passive` (`picktype`)
  7513. ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
  7514. -- ----------------------------
  7515. -- Table structure for ims_ewei_shop_task_log
  7516. -- ----------------------------
  7517. DROP TABLE IF EXISTS `ims_ewei_shop_task_log`;
  7518. CREATE TABLE `ims_ewei_shop_task_log` (
  7519. `id` int(11) NOT NULL AUTO_INCREMENT,
  7520. `uniacid` int(11) NOT NULL DEFAULT '0',
  7521. `openid` varchar(100) NOT NULL DEFAULT '',
  7522. `from_openid` varchar(100) NOT NULL DEFAULT '',
  7523. `join_id` int(11) NOT NULL DEFAULT '0',
  7524. `taskid` int(11) DEFAULT '0',
  7525. `task_type` tinyint(1) NOT NULL DEFAULT '0',
  7526. `subdata` text,
  7527. `recdata` text,
  7528. `createtime` int(11) DEFAULT NULL,
  7529. PRIMARY KEY (`id`)
  7530. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  7531. -- ----------------------------
  7532. -- Table structure for ims_ewei_shop_task_poster
  7533. -- ----------------------------
  7534. DROP TABLE IF EXISTS `ims_ewei_shop_task_poster`;
  7535. CREATE TABLE `ims_ewei_shop_task_poster` (
  7536. `id` int(11) NOT NULL AUTO_INCREMENT,
  7537. `uniacid` int(11) DEFAULT NULL,
  7538. `days` int(11) NOT NULL DEFAULT '0',
  7539. `title` varchar(255) DEFAULT NULL,
  7540. `bg` varchar(255) DEFAULT '',
  7541. `data` text,
  7542. `keyword` varchar(255) DEFAULT NULL,
  7543. `resptype` tinyint(1) NOT NULL DEFAULT '0',
  7544. `resptext` text,
  7545. `resptitle` varchar(255) DEFAULT NULL,
  7546. `respthumb` varchar(255) DEFAULT NULL,
  7547. `respdesc` varchar(255) DEFAULT NULL,
  7548. `respurl` varchar(255) DEFAULT NULL,
  7549. `createtime` int(11) DEFAULT NULL,
  7550. `waittext` varchar(255) DEFAULT NULL,
  7551. `oktext` varchar(255) DEFAULT NULL,
  7552. `scantext` varchar(255) DEFAULT NULL,
  7553. `beagent` tinyint(1) NOT NULL DEFAULT '0',
  7554. `bedown` tinyint(1) NOT NULL DEFAULT '0',
  7555. `timestart` int(11) DEFAULT NULL,
  7556. `timeend` int(11) DEFAULT NULL,
  7557. `is_repeat` tinyint(1) DEFAULT '0',
  7558. `getposter` varchar(255) DEFAULT NULL,
  7559. `status` tinyint(1) DEFAULT NULL,
  7560. `starttext` varchar(255) DEFAULT NULL,
  7561. `endtext` varchar(255) DEFAULT NULL,
  7562. `reward_data` text,
  7563. `needcount` int(11) NOT NULL DEFAULT '0',
  7564. `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  7565. `poster_type` tinyint(1) DEFAULT '1',
  7566. `reward_days` int(11) DEFAULT '0',
  7567. `titleicon` text,
  7568. `poster_banner` text,
  7569. `is_goods` tinyint(1) DEFAULT '0',
  7570. `autoposter` tinyint(1) NOT NULL DEFAULT '0',
  7571. PRIMARY KEY (`id`)
  7572. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  7573. -- ----------------------------
  7574. -- Table structure for ims_ewei_shop_task_poster_qr
  7575. -- ----------------------------
  7576. DROP TABLE IF EXISTS `ims_ewei_shop_task_poster_qr`;
  7577. CREATE TABLE `ims_ewei_shop_task_poster_qr` (
  7578. `id` int(11) NOT NULL AUTO_INCREMENT,
  7579. `acid` int(11) NOT NULL DEFAULT '0',
  7580. `openid` varchar(100) NOT NULL,
  7581. `posterid` int(11) NOT NULL DEFAULT '0',
  7582. `type` tinyint(1) NOT NULL DEFAULT '0',
  7583. `sceneid` int(11) NOT NULL DEFAULT '0',
  7584. `mediaid` varchar(255) DEFAULT NULL,
  7585. `ticket` varchar(255) NOT NULL,
  7586. `url` varchar(255) NOT NULL,
  7587. `createtime` int(11) DEFAULT NULL,
  7588. `qrimg` varchar(1000) DEFAULT NULL,
  7589. `expire` int(11) DEFAULT NULL,
  7590. `endtime` int(11) DEFAULT NULL,
  7591. PRIMARY KEY (`id`)
  7592. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  7593. -- ----------------------------
  7594. -- Table structure for ims_ewei_shop_task_qr
  7595. -- ----------------------------
  7596. DROP TABLE IF EXISTS `ims_ewei_shop_task_qr`;
  7597. CREATE TABLE `ims_ewei_shop_task_qr` (
  7598. `id` int(11) NOT NULL AUTO_INCREMENT,
  7599. `uniacid` int(11) NOT NULL DEFAULT '0',
  7600. `openid` varchar(100) NOT NULL DEFAULT '',
  7601. `recordid` int(11) NOT NULL DEFAULT '0',
  7602. `sceneid` varchar(255) NOT NULL DEFAULT '',
  7603. `mediaid` varchar(255) NOT NULL DEFAULT '',
  7604. `ticket` varchar(255) NOT NULL DEFAULT '',
  7605. `poster_version` varchar(255) NOT NULL DEFAULT '',
  7606. PRIMARY KEY (`id`),
  7607. KEY `uniacid` (`uniacid`),
  7608. KEY `recordid` (`recordid`)
  7609. ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
  7610. -- ----------------------------
  7611. -- Table structure for ims_ewei_shop_task_record
  7612. -- ----------------------------
  7613. DROP TABLE IF EXISTS `ims_ewei_shop_task_record`;
  7614. CREATE TABLE `ims_ewei_shop_task_record` (
  7615. `id` int(11) NOT NULL AUTO_INCREMENT,
  7616. `uniacid` int(11) NOT NULL DEFAULT '0',
  7617. `taskid` int(11) NOT NULL DEFAULT '0',
  7618. `tasktitle` varchar(255) NOT NULL,
  7619. `taskimage` varchar(255) NOT NULL DEFAULT '',
  7620. `tasktype` varchar(50) NOT NULL DEFAULT '',
  7621. `task_progress` int(11) NOT NULL DEFAULT '0',
  7622. `task_demand` int(11) NOT NULL DEFAULT '0',
  7623. `openid` char(50) NOT NULL DEFAULT '',
  7624. `nickname` varchar(255) NOT NULL DEFAULT '',
  7625. `picktime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  7626. `stoptime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  7627. `finishtime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  7628. `reward_data` text NOT NULL,
  7629. `followreward_data` text NOT NULL,
  7630. `design_data` text NOT NULL,
  7631. `design_bg` varchar(255) NOT NULL DEFAULT '',
  7632. `require_goods` varchar(255) NOT NULL DEFAULT '',
  7633. `level1` int(11) NOT NULL DEFAULT '0',
  7634. `reward_data1` text NOT NULL,
  7635. `level2` int(11) NOT NULL DEFAULT '0',
  7636. `reward_data2` text NOT NULL,
  7637. `member_group` text,
  7638. `auto_pick` tinyint(1) NOT NULL DEFAULT '0',
  7639. PRIMARY KEY (`id`),
  7640. KEY `uniacid` (`uniacid`),
  7641. KEY `taskid` (`taskid`)
  7642. ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
  7643. -- ----------------------------
  7644. -- Table structure for ims_ewei_shop_task_reward
  7645. -- ----------------------------
  7646. DROP TABLE IF EXISTS `ims_ewei_shop_task_reward`;
  7647. CREATE TABLE `ims_ewei_shop_task_reward` (
  7648. `id` int(11) NOT NULL AUTO_INCREMENT,
  7649. `uniacid` int(11) NOT NULL DEFAULT '0',
  7650. `taskid` int(11) NOT NULL DEFAULT '0',
  7651. `tasktitle` char(50) NOT NULL DEFAULT '',
  7652. `tasktype` varchar(50) NOT NULL DEFAULT '',
  7653. `taskowner` char(50) NOT NULL DEFAULT '',
  7654. `ownernickname` char(50) NOT NULL DEFAULT '',
  7655. `recordid` int(11) NOT NULL DEFAULT '0',
  7656. `nickname` char(50) NOT NULL DEFAULT '',
  7657. `headimg` varchar(255) NOT NULL DEFAULT '',
  7658. `openid` char(50) NOT NULL DEFAULT '',
  7659. `reward_type` char(10) NOT NULL DEFAULT '',
  7660. `reward_title` char(50) NOT NULL DEFAULT '',
  7661. `reward_data` decimal(10,2) NOT NULL DEFAULT '0.00',
  7662. `get` tinyint(1) NOT NULL DEFAULT '0',
  7663. `sent` tinyint(1) NOT NULL DEFAULT '0',
  7664. `gettime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  7665. `senttime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  7666. `isjoiner` tinyint(1) NOT NULL DEFAULT '0',
  7667. `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  7668. `level` tinyint(1) NOT NULL DEFAULT '0',
  7669. `read` tinyint(1) NOT NULL DEFAULT '0',
  7670. PRIMARY KEY (`id`),
  7671. KEY `uniacid` (`uniacid`),
  7672. KEY `recordid` (`recordid`),
  7673. KEY `taskid` (`taskid`),
  7674. KEY `get` (`get`) USING BTREE
  7675. ) ENGINE=MyISAM AUTO_INCREMENT=37 DEFAULT CHARSET=utf8;
  7676. -- ----------------------------
  7677. -- Table structure for ims_ewei_shop_task_set
  7678. -- ----------------------------
  7679. DROP TABLE IF EXISTS `ims_ewei_shop_task_set`;
  7680. CREATE TABLE `ims_ewei_shop_task_set` (
  7681. `uniacid` int(11) NOT NULL DEFAULT '0',
  7682. `entrance` tinyint(1) NOT NULL DEFAULT '0',
  7683. `keyword` varchar(10) NOT NULL DEFAULT '',
  7684. `cover_title` varchar(20) NOT NULL DEFAULT '',
  7685. `cover_img` varchar(255) NOT NULL DEFAULT '',
  7686. `cover_desc` varchar(255) NOT NULL DEFAULT '',
  7687. `msg_pick` text NOT NULL,
  7688. `msg_progress` text NOT NULL,
  7689. `msg_finish` text NOT NULL,
  7690. `msg_follow` text NOT NULL,
  7691. `isnew` tinyint(1) NOT NULL DEFAULT '0',
  7692. `bg_img` varchar(255) NOT NULL DEFAULT '../addons/ewei_shopv2/plugin/task/static/images/sky.png',
  7693. `top_notice` tinyint(1) NOT NULL DEFAULT '0',
  7694. PRIMARY KEY (`uniacid`),
  7695. KEY `uniacid` (`uniacid`) USING BTREE
  7696. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7697. -- ----------------------------
  7698. -- Records of ims_ewei_shop_task_set
  7699. -- ----------------------------
  7700. BEGIN;
  7701. INSERT INTO `ims_ewei_shop_task_set` VALUES (1, 0, '', '', '', '', '', '', '', '', 0, '../addons/ewei_shopv2/plugin/task/static/images/sky.png', 0);
  7702. COMMIT;
  7703. -- ----------------------------
  7704. -- Table structure for ims_ewei_shop_task_type
  7705. -- ----------------------------
  7706. DROP TABLE IF EXISTS `ims_ewei_shop_task_type`;
  7707. CREATE TABLE `ims_ewei_shop_task_type` (
  7708. `id` int(11) NOT NULL,
  7709. `type_key` char(20) NOT NULL DEFAULT '',
  7710. `type_name` char(10) NOT NULL DEFAULT '',
  7711. `description` char(30) NOT NULL DEFAULT '',
  7712. `verb` char(11) NOT NULL DEFAULT '',
  7713. `numeric` tinyint(1) NOT NULL DEFAULT '0',
  7714. `unit` char(10) NOT NULL DEFAULT '',
  7715. `goods` tinyint(1) NOT NULL DEFAULT '0',
  7716. `theme` char(10) NOT NULL DEFAULT '',
  7717. `once` tinyint(1) NOT NULL DEFAULT '0',
  7718. PRIMARY KEY (`id`)
  7719. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7720. -- ----------------------------
  7721. -- Records of ims_ewei_shop_task_type
  7722. -- ----------------------------
  7723. BEGIN;
  7724. INSERT INTO `ims_ewei_shop_task_type` VALUES (1, 'poster', '任务海报', '把生成的海报并分享给朋友,朋友扫描并关注公众号即可获得奖励。', '转发海报并吸引', 1, '人关注', 0, 'primary', 0);
  7725. INSERT INTO `ims_ewei_shop_task_type` VALUES (2, 'info_phone', '绑定手机', '在个人中心中,绑定手机号,即可完成任务获得奖励。', '绑定手机', 0, '', 0, 'warning', 0);
  7726. INSERT INTO `ims_ewei_shop_task_type` VALUES (3, 'order_first', '首次购物', '在商城中首次下单,即可获得奖励,必须确认收货。', '首次在商城中下单购物', 0, '', 0, 'warning', 0);
  7727. INSERT INTO `ims_ewei_shop_task_type` VALUES (4, 'recharge_full', '单笔充值满额', '在商城中充值余额,单笔充值满额,即可获得奖励。', '单笔充值满', 1, '元', 0, 'success', 1);
  7728. INSERT INTO `ims_ewei_shop_task_type` VALUES (5, 'order_full', '单笔满额', '在商城中下单,单笔满额即可获得奖励,必须确认收货。', '单笔订单满', 1, '元', 0, 'success', 1);
  7729. INSERT INTO `ims_ewei_shop_task_type` VALUES (6, 'order_all', '累计消费', '在商城中购物消费,累计满额即可获得奖励,无需确认收货。', '购物总消费额达到', 1, '元', 0, 'success', 0);
  7730. INSERT INTO `ims_ewei_shop_task_type` VALUES (7, 'pyramid_money', '分销佣金', '只有分销商可接此任务。累计分销佣金满额,即可完成任务。', '分销商获得佣金金额达', 1, '元', 0, 'primary', 0);
  7731. INSERT INTO `ims_ewei_shop_task_type` VALUES (8, 'pyramid_num', '下级人数', '只有分销商可接此任务。累计下级人数达标,即可完成任务。', '分销商推荐下级人数达', 1, '人', 0, 'primary', 0);
  7732. INSERT INTO `ims_ewei_shop_task_type` VALUES (9, 'comment', '商品好评', '任意给一个商品五星好评,即可完成任务获得奖励。', '给商品好评', 0, '', 0, 'warning', 0);
  7733. INSERT INTO `ims_ewei_shop_task_type` VALUES (10, 'post', '社区发帖', '在社区中发表指定篇帖子,即可完成任务获得奖励。', '在论坛中发表', 1, '篇帖子', 0, 'warning', 0);
  7734. INSERT INTO `ims_ewei_shop_task_type` VALUES (11, 'goods', '购买指定商品', '购买指定商品后即可完成任务,必须确认收货。', '购买指定商品', 0, '', 1, 'info', 0);
  7735. INSERT INTO `ims_ewei_shop_task_type` VALUES (12, 'recharge_count', '累计充值满额', '在商城中充值余额,累计充值满额,即可获得奖励。', '累计充值满', 1, '元', 0, 'success', 0);
  7736. COMMIT;
  7737. -- ----------------------------
  7738. -- Table structure for ims_ewei_shop_upwxapp_log
  7739. -- ----------------------------
  7740. DROP TABLE IF EXISTS `ims_ewei_shop_upwxapp_log`;
  7741. CREATE TABLE `ims_ewei_shop_upwxapp_log` (
  7742. `id` int(11) NOT NULL AUTO_INCREMENT,
  7743. `uniacid` int(11) DEFAULT NULL,
  7744. `type` tinyint(2) DEFAULT '0',
  7745. `version` varchar(20) DEFAULT NULL,
  7746. `describe` varchar(50) DEFAULT NULL,
  7747. `version_time` int(11) DEFAULT NULL,
  7748. PRIMARY KEY (`id`)
  7749. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7750. -- ----------------------------
  7751. -- Table structure for ims_ewei_shop_verifygoods
  7752. -- ----------------------------
  7753. DROP TABLE IF EXISTS `ims_ewei_shop_verifygoods`;
  7754. CREATE TABLE `ims_ewei_shop_verifygoods` (
  7755. `id` int(11) NOT NULL AUTO_INCREMENT,
  7756. `uniacid` int(11) DEFAULT NULL,
  7757. `openid` varchar(255) DEFAULT NULL,
  7758. `orderid` int(11) DEFAULT NULL,
  7759. `ordergoodsid` int(11) DEFAULT NULL,
  7760. `storeid` int(11) DEFAULT NULL,
  7761. `starttime` int(11) DEFAULT NULL,
  7762. `limitdays` int(11) DEFAULT NULL,
  7763. `limitnum` int(11) DEFAULT NULL,
  7764. `used` tinyint(1) DEFAULT '0',
  7765. `verifycode` varchar(20) DEFAULT NULL,
  7766. `codeinvalidtime` int(11) DEFAULT NULL,
  7767. `invalid` tinyint(1) DEFAULT '0',
  7768. `getcard` tinyint(1) DEFAULT '0',
  7769. `activecard` tinyint(1) DEFAULT '0',
  7770. `cardcode` varchar(255) DEFAULT '',
  7771. `limittype` tinyint(1) DEFAULT '0',
  7772. `limitdate` int(11) DEFAULT '0',
  7773. PRIMARY KEY (`id`),
  7774. UNIQUE KEY `verifycode` (`verifycode`)
  7775. ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
  7776. -- ----------------------------
  7777. -- Table structure for ims_ewei_shop_verifygoods_log
  7778. -- ----------------------------
  7779. DROP TABLE IF EXISTS `ims_ewei_shop_verifygoods_log`;
  7780. CREATE TABLE `ims_ewei_shop_verifygoods_log` (
  7781. `id` int(11) NOT NULL AUTO_INCREMENT,
  7782. `uniacid` int(11) DEFAULT NULL,
  7783. `verifygoodsid` int(11) DEFAULT NULL,
  7784. `salerid` int(11) DEFAULT NULL,
  7785. `storeid` int(11) DEFAULT NULL,
  7786. `verifynum` int(11) DEFAULT NULL,
  7787. `verifydate` int(11) DEFAULT NULL,
  7788. `remarks` varchar(255) DEFAULT NULL,
  7789. PRIMARY KEY (`id`)
  7790. ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
  7791. -- ----------------------------
  7792. -- Table structure for ims_ewei_shop_version
  7793. -- ----------------------------
  7794. DROP TABLE IF EXISTS `ims_ewei_shop_version`;
  7795. CREATE TABLE `ims_ewei_shop_version` (
  7796. `id` int(11) NOT NULL AUTO_INCREMENT,
  7797. `uid` int(11) NOT NULL,
  7798. `type` tinyint(3) NOT NULL DEFAULT '0',
  7799. `uniacid` int(11) NOT NULL,
  7800. `version` tinyint(3) NOT NULL DEFAULT '0',
  7801. PRIMARY KEY (`id`),
  7802. KEY `idx_uid` (`uid`),
  7803. KEY `idx_version` (`version`)
  7804. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  7805. -- ----------------------------
  7806. -- Records of ims_ewei_shop_version
  7807. -- ----------------------------
  7808. BEGIN;
  7809. INSERT INTO `ims_ewei_shop_version` VALUES (1, 1, 0, 0, 1);
  7810. COMMIT;
  7811. -- ----------------------------
  7812. -- Table structure for ims_ewei_shop_virtual_category
  7813. -- ----------------------------
  7814. DROP TABLE IF EXISTS `ims_ewei_shop_virtual_category`;
  7815. CREATE TABLE `ims_ewei_shop_virtual_category` (
  7816. `id` int(11) NOT NULL AUTO_INCREMENT,
  7817. `uniacid` int(11) DEFAULT '0',
  7818. `name` varchar(50) DEFAULT NULL,
  7819. `merchid` int(11) DEFAULT '0',
  7820. PRIMARY KEY (`id`),
  7821. KEY `idx_uniacid` (`uniacid`)
  7822. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  7823. -- ----------------------------
  7824. -- Table structure for ims_ewei_shop_virtual_data
  7825. -- ----------------------------
  7826. DROP TABLE IF EXISTS `ims_ewei_shop_virtual_data`;
  7827. CREATE TABLE `ims_ewei_shop_virtual_data` (
  7828. `id` int(11) NOT NULL AUTO_INCREMENT,
  7829. `uniacid` int(11) NOT NULL DEFAULT '0',
  7830. `typeid` int(11) NOT NULL DEFAULT '0',
  7831. `pvalue` varchar(255) DEFAULT '',
  7832. `fields` text NOT NULL,
  7833. `openid` varchar(255) NOT NULL DEFAULT '',
  7834. `usetime` int(11) NOT NULL DEFAULT '0',
  7835. `orderid` int(11) DEFAULT '0',
  7836. `ordersn` varchar(255) DEFAULT '',
  7837. `price` decimal(10,2) DEFAULT '0.00',
  7838. `merchid` int(11) DEFAULT '0',
  7839. `createtime` int(11) NOT NULL,
  7840. `is_top` tinyint(1) DEFAULT '0',
  7841. `sort_time` int(11) DEFAULT '0',
  7842. PRIMARY KEY (`id`),
  7843. KEY `idx_uniacid` (`uniacid`),
  7844. KEY `idx_typeid` (`typeid`),
  7845. KEY `idx_usetime` (`usetime`),
  7846. KEY `idx_orderid` (`orderid`)
  7847. ) ENGINE=MyISAM AUTO_INCREMENT=1001 DEFAULT CHARSET=utf8;
  7848. -- ----------------------------
  7849. -- Table structure for ims_ewei_shop_virtual_send_log
  7850. -- ----------------------------
  7851. DROP TABLE IF EXISTS `ims_ewei_shop_virtual_send_log`;
  7852. CREATE TABLE `ims_ewei_shop_virtual_send_log` (
  7853. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  7854. `uniacid` int(11) DEFAULT '0',
  7855. `openid` varchar(40) NOT NULL DEFAULT '',
  7856. `orderid` tinyint(3) unsigned NOT NULL,
  7857. `tag` varchar(20) NOT NULL,
  7858. `default` varchar(2000) NOT NULL DEFAULT '',
  7859. `cusdefault` varchar(2000) NOT NULL DEFAULT '',
  7860. `url` varchar(128) NOT NULL DEFAULT '',
  7861. `datas` varchar(2000) NOT NULL DEFAULT '',
  7862. `appurl` varchar(128) NOT NULL DEFAULT '',
  7863. `status` tinyint(4) NOT NULL DEFAULT '0',
  7864. `sendtime` int(11) NOT NULL DEFAULT '0',
  7865. `createtime` int(11) NOT NULL DEFAULT '0',
  7866. PRIMARY KEY (`id`)
  7867. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7868. -- ----------------------------
  7869. -- Table structure for ims_ewei_shop_virtual_type
  7870. -- ----------------------------
  7871. DROP TABLE IF EXISTS `ims_ewei_shop_virtual_type`;
  7872. CREATE TABLE `ims_ewei_shop_virtual_type` (
  7873. `id` int(11) NOT NULL AUTO_INCREMENT,
  7874. `uniacid` int(11) NOT NULL DEFAULT '0',
  7875. `cate` int(11) DEFAULT '0',
  7876. `title` varchar(255) NOT NULL DEFAULT '',
  7877. `fields` text NOT NULL,
  7878. `usedata` int(11) NOT NULL DEFAULT '0',
  7879. `alldata` int(11) NOT NULL DEFAULT '0',
  7880. `merchid` int(11) DEFAULT '0',
  7881. `linktext` varchar(50) DEFAULT NULL,
  7882. `linkurl` varchar(255) DEFAULT NULL,
  7883. `recycled` int(11) NOT NULL DEFAULT '0',
  7884. `description` text,
  7885. PRIMARY KEY (`id`),
  7886. KEY `idx_uniacid` (`uniacid`),
  7887. KEY `idx_cate` (`cate`)
  7888. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
  7889. -- ----------------------------
  7890. -- Table structure for ims_ewei_shop_wxapp_bind
  7891. -- ----------------------------
  7892. DROP TABLE IF EXISTS `ims_ewei_shop_wxapp_bind`;
  7893. CREATE TABLE `ims_ewei_shop_wxapp_bind` (
  7894. `id` int(11) NOT NULL AUTO_INCREMENT,
  7895. `uniacid` int(11) NOT NULL DEFAULT '0',
  7896. `wxapp` int(11) NOT NULL,
  7897. PRIMARY KEY (`id`),
  7898. KEY `idx_uniacid` (`uniacid`),
  7899. KEY `idx_wxapp` (`wxapp`)
  7900. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7901. -- ----------------------------
  7902. -- Table structure for ims_ewei_shop_wxapp_page
  7903. -- ----------------------------
  7904. DROP TABLE IF EXISTS `ims_ewei_shop_wxapp_page`;
  7905. CREATE TABLE `ims_ewei_shop_wxapp_page` (
  7906. `id` int(11) NOT NULL AUTO_INCREMENT,
  7907. `uniacid` int(11) NOT NULL DEFAULT '0',
  7908. `type` tinyint(2) NOT NULL DEFAULT '0',
  7909. `name` varchar(255) DEFAULT NULL,
  7910. `data` mediumtext,
  7911. `createtime` int(11) NOT NULL DEFAULT '0',
  7912. `lasttime` int(11) NOT NULL DEFAULT '0',
  7913. `status` tinyint(1) NOT NULL DEFAULT '0',
  7914. `isdefault` tinyint(1) NOT NULL DEFAULT '0',
  7915. PRIMARY KEY (`id`),
  7916. KEY `idx_uniacid` (`uniacid`),
  7917. KEY `idx_type` (`type`),
  7918. KEY `idx_status` (`status`),
  7919. KEY `idx_isdefault` (`isdefault`)
  7920. ) ENGINE=MyISAM AUTO_INCREMENT=230 DEFAULT CHARSET=utf8;
  7921. -- ----------------------------
  7922. -- Table structure for ims_ewei_shop_wxapp_poster
  7923. -- ----------------------------
  7924. DROP TABLE IF EXISTS `ims_ewei_shop_wxapp_poster`;
  7925. CREATE TABLE `ims_ewei_shop_wxapp_poster` (
  7926. `id` int(11) NOT NULL AUTO_INCREMENT,
  7927. `uniacid` int(11) NOT NULL DEFAULT '0',
  7928. `type` tinyint(3) NOT NULL DEFAULT '0',
  7929. `title` varchar(255) DEFAULT NULL,
  7930. `thumb` varchar(255) DEFAULT NULL,
  7931. `bgimg` varchar(255) DEFAULT NULL,
  7932. `data` text,
  7933. `createtime` int(11) NOT NULL DEFAULT '0',
  7934. `lastedittime` int(11) NOT NULL DEFAULT '0',
  7935. `status` tinyint(3) NOT NULL DEFAULT '0',
  7936. `displayorder` int(11) NOT NULL DEFAULT '0',
  7937. PRIMARY KEY (`id`),
  7938. KEY `idx_uniacid` (`uniacid`),
  7939. KEY `idx_type` (`type`),
  7940. KEY `idx_status` (`status`)
  7941. ) ENGINE=MyISAM AUTO_INCREMENT=26 DEFAULT CHARSET=utf8;
  7942. -- ----------------------------
  7943. -- Table structure for ims_ewei_shop_wxapp_startadv
  7944. -- ----------------------------
  7945. DROP TABLE IF EXISTS `ims_ewei_shop_wxapp_startadv`;
  7946. CREATE TABLE `ims_ewei_shop_wxapp_startadv` (
  7947. `id` int(11) NOT NULL AUTO_INCREMENT,
  7948. `uniacid` int(11) NOT NULL,
  7949. `status` tinyint(3) NOT NULL DEFAULT '0',
  7950. `name` varchar(255) DEFAULT NULL,
  7951. `data` text,
  7952. `createtime` int(11) NOT NULL DEFAULT '0',
  7953. `lastedittime` int(11) NOT NULL DEFAULT '0',
  7954. PRIMARY KEY (`id`),
  7955. KEY `idx_uniacid` (`uniacid`),
  7956. KEY `idx_status` (`status`)
  7957. ) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
  7958. -- ----------------------------
  7959. -- Table structure for ims_ewei_shop_wxapp_tmessage
  7960. -- ----------------------------
  7961. DROP TABLE IF EXISTS `ims_ewei_shop_wxapp_tmessage`;
  7962. CREATE TABLE `ims_ewei_shop_wxapp_tmessage` (
  7963. `id` int(11) NOT NULL AUTO_INCREMENT,
  7964. `uniacid` int(11) NOT NULL,
  7965. `name` varchar(255) DEFAULT NULL,
  7966. `templateid` varchar(50) DEFAULT '',
  7967. `datas` text,
  7968. `emphasis_keyword` int(11) NOT NULL DEFAULT '0',
  7969. `status` tinyint(3) NOT NULL DEFAULT '0',
  7970. PRIMARY KEY (`id`),
  7971. KEY `idx_uniacid` (`uniacid`),
  7972. KEY `idx_status` (`status`)
  7973. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  7974. -- ----------------------------
  7975. -- Table structure for ims_ewei_shop_wxcard
  7976. -- ----------------------------
  7977. DROP TABLE IF EXISTS `ims_ewei_shop_wxcard`;
  7978. CREATE TABLE `ims_ewei_shop_wxcard` (
  7979. `id` int(11) NOT NULL AUTO_INCREMENT,
  7980. `uniacid` int(11) DEFAULT NULL,
  7981. `card_id` varchar(255) DEFAULT '0',
  7982. `displayorder` int(11) DEFAULT NULL,
  7983. `catid` int(11) DEFAULT NULL,
  7984. `card_type` varchar(50) DEFAULT NULL,
  7985. `logo_url` varchar(255) DEFAULT NULL,
  7986. `wxlogourl` varchar(255) DEFAULT NULL,
  7987. `brand_name` varchar(255) DEFAULT NULL,
  7988. `code_type` varchar(255) DEFAULT NULL,
  7989. `title` varchar(255) DEFAULT NULL,
  7990. `color` varchar(50) DEFAULT NULL,
  7991. `notice` varchar(50) DEFAULT NULL,
  7992. `service_phone` varchar(50) DEFAULT NULL,
  7993. `description` text,
  7994. `datetype` varchar(50) DEFAULT NULL,
  7995. `begin_timestamp` int(11) DEFAULT NULL,
  7996. `end_timestamp` int(11) DEFAULT NULL,
  7997. `fixed_term` int(11) DEFAULT NULL,
  7998. `fixed_begin_term` int(11) DEFAULT NULL,
  7999. `quantity` int(11) DEFAULT NULL,
  8000. `total_quantity` varchar(255) DEFAULT NULL,
  8001. `use_limit` int(11) DEFAULT NULL,
  8002. `get_limit` int(11) DEFAULT NULL,
  8003. `use_custom_code` tinyint(1) DEFAULT NULL,
  8004. `bind_openid` tinyint(1) DEFAULT NULL,
  8005. `can_share` tinyint(1) DEFAULT NULL,
  8006. `can_give_friend` tinyint(1) DEFAULT NULL,
  8007. `center_title` varchar(20) DEFAULT NULL,
  8008. `center_sub_title` varchar(20) DEFAULT NULL,
  8009. `center_url` varchar(255) DEFAULT NULL,
  8010. `setcustom` tinyint(1) DEFAULT NULL,
  8011. `custom_url_name` varchar(20) DEFAULT NULL,
  8012. `custom_url_sub_title` varchar(20) DEFAULT NULL,
  8013. `custom_url` varchar(255) DEFAULT NULL,
  8014. `setpromotion` tinyint(1) DEFAULT NULL,
  8015. `promotion_url_name` varchar(20) DEFAULT NULL,
  8016. `promotion_url_sub_title` varchar(20) DEFAULT NULL,
  8017. `promotion_url` varchar(255) DEFAULT NULL,
  8018. `source` varchar(255) DEFAULT NULL,
  8019. `can_use_with_other_discount` tinyint(1) DEFAULT NULL,
  8020. `setabstract` tinyint(1) DEFAULT NULL,
  8021. `abstract` varchar(50) DEFAULT NULL,
  8022. `abstractimg` varchar(255) DEFAULT NULL,
  8023. `icon_url_list` varchar(255) DEFAULT NULL,
  8024. `accept_category` varchar(50) DEFAULT NULL,
  8025. `reject_category` varchar(50) DEFAULT NULL,
  8026. `least_cost` decimal(10,2) DEFAULT NULL,
  8027. `reduce_cost` decimal(10,2) DEFAULT NULL,
  8028. `discount` decimal(10,2) DEFAULT NULL,
  8029. `limitgoodtype` tinyint(1) DEFAULT '0',
  8030. `limitgoodcatetype` tinyint(1) unsigned DEFAULT '0',
  8031. `limitgoodcateids` varchar(255) DEFAULT NULL,
  8032. `limitgoodids` varchar(255) DEFAULT NULL,
  8033. `limitdiscounttype` tinyint(1) unsigned DEFAULT '0',
  8034. `merchid` int(11) DEFAULT '0',
  8035. `gettype` tinyint(3) DEFAULT NULL,
  8036. `islimitlevel` tinyint(1) DEFAULT '0',
  8037. `limitmemberlevels` varchar(500) DEFAULT '',
  8038. `limitagentlevels` varchar(500) DEFAULT '',
  8039. `limitpartnerlevels` varchar(500) DEFAULT '',
  8040. `limitaagentlevels` varchar(500) DEFAULT '',
  8041. `settitlecolor` tinyint(1) DEFAULT '0',
  8042. `titlecolor` varchar(10) DEFAULT '',
  8043. `tagtitle` varchar(20) DEFAULT '',
  8044. `use_condition` tinyint(1) DEFAULT '0',
  8045. PRIMARY KEY (`id`)
  8046. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  8047. SET FOREIGN_KEY_CHECKS = 1;