人人商城

install.php 444KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548
  1. <?php
  2. pdo_query("
  3. DROP TABLE IF EXISTS `ims_ewei_message_mass_sign`;
  4. CREATE TABLE `ims_ewei_message_mass_sign` (
  5. `id` int(11) NOT NULL AUTO_INCREMENT,
  6. `uniacid` int(11) DEFAULT '0',
  7. `openid` varchar(50) DEFAULT NULL,
  8. `nickname` varchar(50) DEFAULT NULL,
  9. `taskid` int(11) DEFAULT NULL,
  10. `status` tinyint(1) DEFAULT NULL,
  11. `log` varchar(255) DEFAULT NULL,
  12. PRIMARY KEY (`id`),
  13. KEY `idx_openid` (`openid`),
  14. KEY `idx_taskid` (`taskid`),
  15. KEY `idx_status` (`status`)
  16. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  17. -- ----------------------------
  18. -- Records of ims_ewei_message_mass_sign
  19. -- ----------------------------
  20. -- ----------------------------
  21. -- Table structure for `ims_ewei_message_mass_task`
  22. -- ----------------------------
  23. DROP TABLE IF EXISTS `ims_ewei_message_mass_task`;
  24. CREATE TABLE `ims_ewei_message_mass_task` (
  25. `id` int(11) NOT NULL AUTO_INCREMENT,
  26. `uniacid` int(11) DEFAULT '0',
  27. `title` varchar(255) DEFAULT '',
  28. `status` tinyint(1) DEFAULT '0',
  29. `processnum` int(11) DEFAULT '1',
  30. `sendnum` int(11) DEFAULT '0',
  31. `messagetype` tinyint(1) DEFAULT '0',
  32. `templateid` int(11) DEFAULT '0',
  33. `resptitle` varchar(255) DEFAULT NULL,
  34. `respthumb` varchar(255) DEFAULT NULL,
  35. `respdesc` varchar(255) DEFAULT NULL,
  36. `respurl` varchar(255) DEFAULT NULL,
  37. `sendlimittype` tinyint(1) DEFAULT '0',
  38. `send_openid` text,
  39. `send_level` int(11) DEFAULT NULL,
  40. `send_group` int(11) DEFAULT NULL,
  41. `send_agentlevel` int(11) DEFAULT NULL,
  42. `customertype` tinyint(1) DEFAULT '0',
  43. `resdesc2` varchar(255) DEFAULT '',
  44. `pagecount` int(11) DEFAULT '0',
  45. `successnum` int(11) DEFAULT '0',
  46. `failnum` int(11) DEFAULT '0',
  47. PRIMARY KEY (`id`)
  48. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  49. -- ----------------------------
  50. -- Records of ims_ewei_message_mass_task
  51. -- ----------------------------
  52. -- ----------------------------
  53. -- Table structure for `ims_ewei_message_mass_template`
  54. -- ----------------------------
  55. DROP TABLE IF EXISTS `ims_ewei_message_mass_template`;
  56. CREATE TABLE `ims_ewei_message_mass_template` (
  57. `id` int(11) NOT NULL AUTO_INCREMENT,
  58. `uniacid` int(11) DEFAULT '0',
  59. `title` varchar(255) DEFAULT '',
  60. `template_id` varchar(255) DEFAULT '',
  61. `first` text NOT NULL,
  62. `firstcolor` varchar(255) DEFAULT '',
  63. `data` text NOT NULL,
  64. `remark` text NOT NULL,
  65. `remarkcolor` varchar(255) DEFAULT '',
  66. `url` varchar(255) NOT NULL,
  67. `createtime` int(11) DEFAULT '0',
  68. `sendtimes` int(11) DEFAULT '0',
  69. `sendcount` int(11) DEFAULT '0',
  70. `miniprogram` tinyint(1) DEFAULT '0',
  71. `appid` varchar(255) DEFAULT '',
  72. `pagepath` varchar(255) DEFAULT '',
  73. PRIMARY KEY (`id`)
  74. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  75. -- ----------------------------
  76. -- Records of ims_ewei_message_mass_template
  77. -- ----------------------------
  78. -- ----------------------------
  79. -- Table structure for `ims_ewei_shop_abonus_bill`
  80. -- ----------------------------
  81. DROP TABLE IF EXISTS `ims_ewei_shop_abonus_bill`;
  82. CREATE TABLE `ims_ewei_shop_abonus_bill` (
  83. `id` int(11) NOT NULL AUTO_INCREMENT,
  84. `uniacid` int(11) DEFAULT '0',
  85. `billno` varchar(100) DEFAULT '',
  86. `paytype` int(11) DEFAULT '0',
  87. `year` int(11) DEFAULT '0',
  88. `month` int(11) DEFAULT '0',
  89. `week` int(11) DEFAULT '0',
  90. `ordercount` int(11) DEFAULT '0',
  91. `ordermoney` decimal(10,2) DEFAULT '0.00',
  92. `paytime` int(11) DEFAULT '0',
  93. `aagentcount1` int(11) DEFAULT '0',
  94. `aagentcount2` int(11) DEFAULT '0',
  95. `aagentcount3` int(11) DEFAULT '0',
  96. `bonusmoney1` decimal(10,2) DEFAULT '0.00',
  97. `bonusmoney_send1` decimal(10,2) DEFAULT '0.00',
  98. `bonusmoney_pay1` decimal(10,2) DEFAULT '0.00',
  99. `bonusmoney2` decimal(10,2) DEFAULT '0.00',
  100. `bonusmoney_send2` decimal(10,2) DEFAULT '0.00',
  101. `bonusmoney_pay2` decimal(10,2) DEFAULT '0.00',
  102. `bonusmoney3` decimal(10,2) DEFAULT '0.00',
  103. `bonusmoney_send3` decimal(10,2) DEFAULT '0.00',
  104. `bonusmoney_pay3` decimal(10,2) DEFAULT '0.00',
  105. `createtime` int(11) DEFAULT '0',
  106. `status` tinyint(3) DEFAULT '0',
  107. `starttime` int(11) DEFAULT '0',
  108. `endtime` int(11) DEFAULT '0',
  109. `confirmtime` int(11) DEFAULT '0',
  110. `ceshi` int(11) DEFAULT NULL,
  111. PRIMARY KEY (`id`),
  112. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  113. KEY `idx_paytype` (`paytype`) USING BTREE,
  114. KEY `idx_createtime` (`createtime`) USING BTREE,
  115. KEY `idx_paytime` (`paytime`) USING BTREE,
  116. KEY `idx_status` (`status`) USING BTREE,
  117. KEY `idx_month` (`month`) USING BTREE,
  118. KEY `idx_week` (`week`) USING BTREE,
  119. KEY `idx_year` (`year`) USING BTREE
  120. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  121. -- ----------------------------
  122. -- Records of ims_ewei_shop_abonus_bill
  123. -- ----------------------------
  124. -- ----------------------------
  125. -- Table structure for `ims_ewei_shop_abonus_billo`
  126. -- ----------------------------
  127. DROP TABLE IF EXISTS `ims_ewei_shop_abonus_billo`;
  128. CREATE TABLE `ims_ewei_shop_abonus_billo` (
  129. `id` int(11) NOT NULL AUTO_INCREMENT,
  130. `uniacid` int(11) DEFAULT '0',
  131. `billid` int(11) DEFAULT '0',
  132. `orderid` int(11) DEFAULT '0',
  133. `ordermoney` decimal(10,2) DEFAULT '0.00',
  134. PRIMARY KEY (`id`),
  135. KEY `idx_billid` (`billid`) USING BTREE,
  136. KEY `idx_uniacid` (`uniacid`) USING BTREE
  137. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  138. -- ----------------------------
  139. -- Records of ims_ewei_shop_abonus_billo
  140. -- ----------------------------
  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;
  175. -- ----------------------------
  176. -- Records of ims_ewei_shop_abonus_billp
  177. -- ----------------------------
  178. -- ----------------------------
  179. -- Table structure for `ims_ewei_shop_abonus_level`
  180. -- ----------------------------
  181. DROP TABLE IF EXISTS `ims_ewei_shop_abonus_level`;
  182. CREATE TABLE `ims_ewei_shop_abonus_level` (
  183. `id` int(11) NOT NULL AUTO_INCREMENT,
  184. `uniacid` int(11) NOT NULL,
  185. `levelname` varchar(50) DEFAULT '',
  186. `bonus1` decimal(10,4) DEFAULT '0.0000',
  187. `bonus2` decimal(10,4) DEFAULT '0.0000',
  188. `bonus3` decimal(10,4) DEFAULT '0.0000',
  189. `ordermoney` decimal(10,2) DEFAULT '0.00',
  190. `ordercount` int(11) DEFAULT '0',
  191. `bonusmoney` decimal(10,2) DEFAULT '0.00',
  192. `downcount` int(11) DEFAULT '0',
  193. `commissionmoney` decimal(10,2) DEFAULT '0.00',
  194. PRIMARY KEY (`id`),
  195. KEY `idx_uniacid` (`uniacid`) USING BTREE
  196. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  197. -- ----------------------------
  198. -- Records of ims_ewei_shop_abonus_level
  199. -- ----------------------------
  200. -- ----------------------------
  201. -- Table structure for `ims_ewei_shop_address_applyfor`
  202. -- ----------------------------
  203. DROP TABLE IF EXISTS `ims_ewei_shop_address_applyfor`;
  204. CREATE TABLE `ims_ewei_shop_address_applyfor` (
  205. `id` int(11) NOT NULL AUTO_INCREMENT,
  206. `uniacid` int(11) DEFAULT NULL,
  207. `openid` varchar(11) DEFAULT NULL,
  208. `data` text,
  209. `orderid` int(11) DEFAULT NULL,
  210. `ordersn` varchar(255) DEFAULT NULL,
  211. `isdispose` tinyint(1) DEFAULT '0',
  212. `message` varchar(255) DEFAULT NULL,
  213. `createtime` int(11) DEFAULT NULL,
  214. `ispass` tinyint(1) DEFAULT '0',
  215. `isdelete` tinyint(4) DEFAULT '0',
  216. `isall` tinyint(4) DEFAULT '0',
  217. `old_address` text,
  218. `cycleid` int(11) DEFAULT NULL,
  219. PRIMARY KEY (`id`)
  220. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  221. -- ----------------------------
  222. -- Records of ims_ewei_shop_address_applyfor
  223. -- ----------------------------
  224. -- ----------------------------
  225. -- Table structure for `ims_ewei_shop_adv`
  226. -- ----------------------------
  227. DROP TABLE IF EXISTS `ims_ewei_shop_adv`;
  228. CREATE TABLE `ims_ewei_shop_adv` (
  229. `id` int(11) NOT NULL AUTO_INCREMENT,
  230. `uniacid` int(11) DEFAULT '0',
  231. `advname` varchar(50) DEFAULT '',
  232. `link` varchar(255) DEFAULT '',
  233. `thumb` varchar(255) DEFAULT '',
  234. `displayorder` int(11) DEFAULT '0',
  235. `enabled` int(11) DEFAULT '0',
  236. `shopid` int(11) DEFAULT '0',
  237. `iswxapp` tinyint(1) NOT NULL DEFAULT '0',
  238. PRIMARY KEY (`id`),
  239. KEY `idx_uniacid` (`uniacid`),
  240. KEY `idx_enabled` (`enabled`),
  241. KEY `idx_displayorder` (`displayorder`)
  242. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  243. -- ----------------------------
  244. -- Records of ims_ewei_shop_adv
  245. -- ----------------------------
  246. -- ----------------------------
  247. -- Table structure for `ims_ewei_shop_af_supplier`
  248. -- ----------------------------
  249. DROP TABLE IF EXISTS `ims_ewei_shop_af_supplier`;
  250. CREATE TABLE `ims_ewei_shop_af_supplier` (
  251. `id` int(11) NOT NULL AUTO_INCREMENT,
  252. `openid` varchar(255) NOT NULL,
  253. `uniacid` int(11) NOT NULL,
  254. `realname` varchar(55) NOT NULL,
  255. `mobile` varchar(255) NOT NULL,
  256. `weixin` varchar(255) NOT NULL,
  257. `productname` varchar(255) NOT NULL,
  258. PRIMARY KEY (`id`)
  259. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  260. -- ----------------------------
  261. -- Records of ims_ewei_shop_af_supplier
  262. -- ----------------------------
  263. -- ----------------------------
  264. -- Table structure for `ims_ewei_shop_area_config`
  265. -- ----------------------------
  266. DROP TABLE IF EXISTS `ims_ewei_shop_area_config`;
  267. CREATE TABLE `ims_ewei_shop_area_config` (
  268. `id` int(11) NOT NULL AUTO_INCREMENT,
  269. `uniacid` int(11) NOT NULL DEFAULT '0',
  270. `new_area` tinyint(3) NOT NULL DEFAULT '0',
  271. `address_street` tinyint(3) NOT NULL DEFAULT '0',
  272. `createtime` int(11) NOT NULL DEFAULT '0',
  273. PRIMARY KEY (`id`),
  274. KEY `idx_uniacid` (`uniacid`) USING BTREE
  275. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  276. -- ----------------------------
  277. -- Records of ims_ewei_shop_area_config
  278. -- ----------------------------
  279. -- ----------------------------
  280. -- Table structure for `ims_ewei_shop_article`
  281. -- ----------------------------
  282. DROP TABLE IF EXISTS `ims_ewei_shop_article`;
  283. CREATE TABLE `ims_ewei_shop_article` (
  284. `id` int(11) NOT NULL AUTO_INCREMENT,
  285. `article_title` varchar(255) NOT NULL DEFAULT '',
  286. `resp_desc` text NOT NULL,
  287. `resp_img` text NOT NULL,
  288. `article_content` longtext,
  289. `article_category` int(11) NOT NULL DEFAULT '0',
  290. `article_date_v` varchar(20) NOT NULL DEFAULT '',
  291. `article_date` varchar(20) NOT NULL DEFAULT '',
  292. `article_mp` varchar(50) NOT NULL DEFAULT '',
  293. `article_author` varchar(20) NOT NULL DEFAULT '',
  294. `article_readnum_v` int(11) NOT NULL DEFAULT '0',
  295. `article_readnum` int(11) NOT NULL DEFAULT '0',
  296. `article_likenum_v` int(11) NOT NULL DEFAULT '0',
  297. `article_likenum` int(11) NOT NULL DEFAULT '0',
  298. `article_linkurl` varchar(300) NOT NULL DEFAULT '',
  299. `article_rule_daynum` int(11) NOT NULL DEFAULT '0',
  300. `article_rule_allnum` int(11) NOT NULL DEFAULT '0',
  301. `article_rule_credit` int(11) NOT NULL DEFAULT '0',
  302. `article_rule_money` decimal(10,2) NOT NULL DEFAULT '0.00',
  303. `page_set_option_nocopy` int(1) NOT NULL DEFAULT '0',
  304. `page_set_option_noshare_tl` int(1) NOT NULL DEFAULT '0',
  305. `page_set_option_noshare_msg` int(1) NOT NULL DEFAULT '0',
  306. `article_keyword` varchar(255) NOT NULL DEFAULT '',
  307. `article_keyword2` varchar(255) NOT NULL DEFAULT '',
  308. `article_report` int(1) NOT NULL DEFAULT '0',
  309. `product_advs_type` int(1) NOT NULL DEFAULT '0',
  310. `product_advs_title` varchar(255) NOT NULL DEFAULT '',
  311. `product_advs_more` varchar(255) NOT NULL DEFAULT '',
  312. `product_advs_link` varchar(255) NOT NULL DEFAULT '',
  313. `product_advs` text NOT NULL,
  314. `article_state` int(1) NOT NULL DEFAULT '0',
  315. `uniacid` int(11) NOT NULL DEFAULT '0',
  316. `network_attachment` varchar(255) DEFAULT '',
  317. `article_rule_credittotal` int(11) DEFAULT '0',
  318. `article_rule_moneytotal` decimal(10,2) DEFAULT '0.00',
  319. `article_rule_credit2` int(11) NOT NULL DEFAULT '0',
  320. `article_rule_money2` decimal(10,2) NOT NULL DEFAULT '0.00',
  321. `article_rule_creditm` int(11) NOT NULL DEFAULT '0',
  322. `article_rule_moneym` decimal(10,2) NOT NULL DEFAULT '0.00',
  323. `article_rule_creditm2` int(11) NOT NULL DEFAULT '0',
  324. `article_rule_moneym2` decimal(10,2) NOT NULL DEFAULT '0.00',
  325. `article_readtime` int(11) DEFAULT '0',
  326. `article_areas` varchar(255) DEFAULT '',
  327. `article_endtime` int(11) DEFAULT '0',
  328. `article_hasendtime` tinyint(3) DEFAULT '0',
  329. `displayorder` int(11) DEFAULT '0',
  330. `article_advance` int(11) DEFAULT '0',
  331. `article_virtualadd` tinyint(3) DEFAULT '0',
  332. `article_visit` tinyint(3) DEFAULT '0',
  333. `article_visit_level` text,
  334. `article_visit_tip` varchar(500) DEFAULT '',
  335. PRIMARY KEY (`id`),
  336. KEY `idx_article_title` (`article_title`),
  337. KEY `idx_article_keyword` (`article_keyword`),
  338. KEY `idx_uniacid` (`uniacid`)
  339. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='营销文章';
  340. -- ----------------------------
  341. -- Records of ims_ewei_shop_article
  342. -- ----------------------------
  343. -- ----------------------------
  344. -- Table structure for `ims_ewei_shop_article_category`
  345. -- ----------------------------
  346. DROP TABLE IF EXISTS `ims_ewei_shop_article_category`;
  347. CREATE TABLE `ims_ewei_shop_article_category` (
  348. `id` int(11) NOT NULL AUTO_INCREMENT,
  349. `category_name` varchar(255) NOT NULL DEFAULT '',
  350. `displayorder` int(11) NOT NULL DEFAULT '0',
  351. `isshow` tinyint(1) NOT NULL DEFAULT '0',
  352. `uniacid` int(11) NOT NULL DEFAULT '0',
  353. PRIMARY KEY (`id`),
  354. KEY `idx_uniacid` (`uniacid`),
  355. KEY `idx_category_name` (`category_name`)
  356. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='营销表单分类';
  357. -- ----------------------------
  358. -- Records of ims_ewei_shop_article_category
  359. -- ----------------------------
  360. -- ----------------------------
  361. -- Table structure for `ims_ewei_shop_article_comment`
  362. -- ----------------------------
  363. DROP TABLE IF EXISTS `ims_ewei_shop_article_comment`;
  364. CREATE TABLE `ims_ewei_shop_article_comment` (
  365. `id` int(11) NOT NULL AUTO_INCREMENT,
  366. `uniacid` int(11) DEFAULT '0',
  367. `articleid` int(11) DEFAULT '0',
  368. `openid` varchar(50) DEFAULT '',
  369. `nickname` varchar(50) DEFAULT '',
  370. `headimgurl` varchar(255) DEFAULT '',
  371. `content` varchar(500) DEFAULT '',
  372. `reply_createtime` int(11) DEFAULT NULL,
  373. `createtime` int(11) DEFAULT '0',
  374. `deleted` tinyint(3) DEFAULT '0',
  375. `status` tinyint(1) DEFAULT '0',
  376. `reply_content` varchar(500) DEFAULT '',
  377. PRIMARY KEY (`id`),
  378. KEY `idx_uniacid` (`uniacid`),
  379. KEY `idx_openid` (`openid`),
  380. KEY `idx_createtime` (`createtime`)
  381. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  382. -- ----------------------------
  383. -- Records of ims_ewei_shop_article_comment
  384. -- ----------------------------
  385. -- ----------------------------
  386. -- Table structure for `ims_ewei_shop_article_log`
  387. -- ----------------------------
  388. DROP TABLE IF EXISTS `ims_ewei_shop_article_log`;
  389. CREATE TABLE `ims_ewei_shop_article_log` (
  390. `id` int(11) NOT NULL AUTO_INCREMENT,
  391. `aid` int(11) NOT NULL DEFAULT '0',
  392. `read` int(11) NOT NULL DEFAULT '0',
  393. `like` int(11) NOT NULL DEFAULT '0',
  394. `openid` varchar(255) NOT NULL DEFAULT '',
  395. `uniacid` int(11) NOT NULL DEFAULT '0',
  396. PRIMARY KEY (`id`),
  397. KEY `idx_aid` (`aid`),
  398. KEY `idx_openid` (`openid`),
  399. KEY `idx_uniacid` (`uniacid`)
  400. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='点赞/阅读记录';
  401. -- ----------------------------
  402. -- Records of ims_ewei_shop_article_log
  403. -- ----------------------------
  404. -- ----------------------------
  405. -- Table structure for `ims_ewei_shop_article_report`
  406. -- ----------------------------
  407. DROP TABLE IF EXISTS `ims_ewei_shop_article_report`;
  408. CREATE TABLE `ims_ewei_shop_article_report` (
  409. `id` int(11) NOT NULL AUTO_INCREMENT,
  410. `mid` int(11) NOT NULL DEFAULT '0',
  411. `openid` varchar(255) NOT NULL DEFAULT '',
  412. `aid` int(11) DEFAULT '0',
  413. `cate` varchar(255) NOT NULL DEFAULT '',
  414. `cons` varchar(255) NOT NULL DEFAULT '',
  415. `uniacid` int(11) NOT NULL DEFAULT '0',
  416. PRIMARY KEY (`id`)
  417. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='用户举报记录';
  418. -- ----------------------------
  419. -- Records of ims_ewei_shop_article_report
  420. -- ----------------------------
  421. -- ----------------------------
  422. -- Table structure for `ims_ewei_shop_article_share`
  423. -- ----------------------------
  424. DROP TABLE IF EXISTS `ims_ewei_shop_article_share`;
  425. CREATE TABLE `ims_ewei_shop_article_share` (
  426. `id` int(11) NOT NULL AUTO_INCREMENT,
  427. `aid` int(11) NOT NULL DEFAULT '0',
  428. `share_user` int(11) NOT NULL DEFAULT '0',
  429. `click_user` int(11) NOT NULL DEFAULT '0',
  430. `click_date` varchar(20) NOT NULL DEFAULT '',
  431. `add_credit` int(11) NOT NULL DEFAULT '0',
  432. `add_money` decimal(10,2) NOT NULL DEFAULT '0.00',
  433. `uniacid` int(11) NOT NULL DEFAULT '0',
  434. PRIMARY KEY (`id`),
  435. KEY `idx_aid` (`aid`),
  436. KEY `idx_uniacid` (`uniacid`)
  437. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='用户分享数据';
  438. -- ----------------------------
  439. -- Records of ims_ewei_shop_article_share
  440. -- ----------------------------
  441. -- ----------------------------
  442. -- Table structure for `ims_ewei_shop_article_sys`
  443. -- ----------------------------
  444. DROP TABLE IF EXISTS `ims_ewei_shop_article_sys`;
  445. CREATE TABLE `ims_ewei_shop_article_sys` (
  446. `uniacid` int(11) NOT NULL DEFAULT '0',
  447. `article_message` varchar(255) NOT NULL DEFAULT '',
  448. `article_title` varchar(255) NOT NULL DEFAULT '',
  449. `article_image` varchar(300) NOT NULL DEFAULT '',
  450. `article_shownum` int(11) NOT NULL DEFAULT '0',
  451. `article_keyword` varchar(255) NOT NULL DEFAULT '',
  452. `article_source` varchar(255) NOT NULL DEFAULT '',
  453. `article_temp` int(11) NOT NULL DEFAULT '0',
  454. `article_close_advanced` tinyint(1) NOT NULL DEFAULT '1',
  455. PRIMARY KEY (`uniacid`),
  456. KEY `idx_article_message` (`article_message`),
  457. KEY `idx_article_keyword` (`article_keyword`),
  458. KEY `idx_article_title` (`article_title`)
  459. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='文章设置';
  460. -- ----------------------------
  461. -- Records of ims_ewei_shop_article_sys
  462. -- ----------------------------
  463. -- ----------------------------
  464. -- Table structure for `ims_ewei_shop_author_bill`
  465. -- ----------------------------
  466. DROP TABLE IF EXISTS `ims_ewei_shop_author_bill`;
  467. CREATE TABLE `ims_ewei_shop_author_bill` (
  468. `id` int(11) NOT NULL AUTO_INCREMENT,
  469. `uniacid` int(11) DEFAULT '0',
  470. `billno` varchar(100) DEFAULT '',
  471. `paytype` int(11) DEFAULT '0',
  472. `year` int(11) DEFAULT '0',
  473. `month` int(11) DEFAULT '0',
  474. `week` int(11) DEFAULT '0',
  475. `ordercount` int(11) DEFAULT '0',
  476. `ordermoney` decimal(10,2) DEFAULT '0.00',
  477. `bonusordermoney` decimal(10,2) DEFAULT '0.00',
  478. `bonusrate` decimal(10,2) DEFAULT '0.00',
  479. `bonusmoney` decimal(10,2) DEFAULT '0.00',
  480. `bonusmoney_send` decimal(10,2) DEFAULT '0.00',
  481. `bonusmoney_pay` decimal(10,2) DEFAULT '0.00',
  482. `paytime` int(11) DEFAULT '0',
  483. `partnercount` int(11) DEFAULT '0',
  484. `createtime` int(11) DEFAULT '0',
  485. `status` tinyint(3) DEFAULT '0',
  486. `starttime` int(11) DEFAULT '0',
  487. `endtime` int(11) DEFAULT '0',
  488. `confirmtime` int(11) DEFAULT '0',
  489. PRIMARY KEY (`id`),
  490. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  491. KEY `idx_paytype` (`paytype`) USING BTREE,
  492. KEY `idx_createtime` (`createtime`) USING BTREE,
  493. KEY `idx_paytime` (`paytime`) USING BTREE,
  494. KEY `idx_status` (`status`) USING BTREE,
  495. KEY `idx_month` (`month`) USING BTREE,
  496. KEY `idx_week` (`week`) USING BTREE,
  497. KEY `idx_year` (`year`) USING BTREE
  498. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  499. -- ----------------------------
  500. -- Records of ims_ewei_shop_author_bill
  501. -- ----------------------------
  502. -- ----------------------------
  503. -- Table structure for `ims_ewei_shop_author_billo`
  504. -- ----------------------------
  505. DROP TABLE IF EXISTS `ims_ewei_shop_author_billo`;
  506. CREATE TABLE `ims_ewei_shop_author_billo` (
  507. `id` int(11) NOT NULL AUTO_INCREMENT,
  508. `uniacid` int(11) DEFAULT '0',
  509. `billid` int(11) DEFAULT '0',
  510. `authorid` int(11) DEFAULT NULL,
  511. `orderid` text,
  512. `ordermoney` decimal(10,2) DEFAULT '0.00',
  513. PRIMARY KEY (`id`),
  514. KEY `idx_billid` (`billid`) USING BTREE,
  515. KEY `idx_uniacid` (`uniacid`) USING BTREE
  516. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  517. -- ----------------------------
  518. -- Records of ims_ewei_shop_author_billo
  519. -- ----------------------------
  520. -- ----------------------------
  521. -- Table structure for `ims_ewei_shop_author_billp`
  522. -- ----------------------------
  523. DROP TABLE IF EXISTS `ims_ewei_shop_author_billp`;
  524. CREATE TABLE `ims_ewei_shop_author_billp` (
  525. `id` int(11) NOT NULL AUTO_INCREMENT,
  526. `uniacid` int(11) DEFAULT '0',
  527. `billid` int(11) DEFAULT '0',
  528. `openid` varchar(255) DEFAULT '',
  529. `payno` varchar(255) DEFAULT '',
  530. `paytype` tinyint(3) DEFAULT '0',
  531. `bonus` decimal(10,2) DEFAULT '0.00',
  532. `money` decimal(10,2) DEFAULT '0.00',
  533. `realmoney` decimal(10,2) DEFAULT '0.00',
  534. `paymoney` decimal(10,2) DEFAULT '0.00',
  535. `charge` decimal(10,2) DEFAULT '0.00',
  536. `chargemoney` decimal(10,2) DEFAULT '0.00',
  537. `status` tinyint(3) DEFAULT '0',
  538. `reason` varchar(255) DEFAULT '',
  539. `paytime` int(11) DEFAULT '0',
  540. PRIMARY KEY (`id`),
  541. KEY `idx_billid` (`billid`) USING BTREE,
  542. KEY `idx_uniacid` (`uniacid`) USING BTREE
  543. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  544. -- ----------------------------
  545. -- Records of ims_ewei_shop_author_billp
  546. -- ----------------------------
  547. -- ----------------------------
  548. -- Table structure for `ims_ewei_shop_author_level`
  549. -- ----------------------------
  550. DROP TABLE IF EXISTS `ims_ewei_shop_author_level`;
  551. CREATE TABLE `ims_ewei_shop_author_level` (
  552. `id` int(11) NOT NULL AUTO_INCREMENT,
  553. `uniacid` int(11) NOT NULL,
  554. `levelname` varchar(50) DEFAULT '',
  555. `bonus` decimal(10,4) DEFAULT '0.0000',
  556. `ordermoney` decimal(10,2) DEFAULT '0.00',
  557. `ordercount` int(11) DEFAULT '0',
  558. `commissionmoney` decimal(10,2) DEFAULT '0.00',
  559. `bonusmoney` decimal(10,2) DEFAULT '0.00',
  560. `downcount` int(11) DEFAULT '0',
  561. `bonus_fg` varchar(500) DEFAULT '',
  562. PRIMARY KEY (`id`),
  563. KEY `idx_uniacid` (`uniacid`) USING BTREE
  564. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  565. -- ----------------------------
  566. -- Records of ims_ewei_shop_author_level
  567. -- ----------------------------
  568. -- ----------------------------
  569. -- Table structure for `ims_ewei_shop_author_team`
  570. -- ----------------------------
  571. DROP TABLE IF EXISTS `ims_ewei_shop_author_team`;
  572. CREATE TABLE `ims_ewei_shop_author_team` (
  573. `id` int(11) NOT NULL AUTO_INCREMENT,
  574. `uniacid` int(11) DEFAULT '0',
  575. `teamno` varchar(50) DEFAULT '',
  576. `year` int(11) DEFAULT '0',
  577. `month` int(11) DEFAULT '0',
  578. `team_count` int(11) DEFAULT '0',
  579. `team_ids` longtext,
  580. `status` tinyint(1) DEFAULT '0',
  581. `createtime` int(11) DEFAULT '0',
  582. `paytime` int(11) DEFAULT '0',
  583. PRIMARY KEY (`id`),
  584. KEY `uniacid` (`uniacid`) USING BTREE,
  585. KEY `teamno` (`teamno`) USING BTREE,
  586. KEY `year` (`year`) USING BTREE,
  587. KEY `month` (`month`) USING BTREE,
  588. KEY `status` (`status`) USING BTREE,
  589. KEY `createtime` (`createtime`) USING BTREE
  590. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  591. -- ----------------------------
  592. -- Records of ims_ewei_shop_author_team
  593. -- ----------------------------
  594. -- ----------------------------
  595. -- Table structure for `ims_ewei_shop_author_team_pay`
  596. -- ----------------------------
  597. DROP TABLE IF EXISTS `ims_ewei_shop_author_team_pay`;
  598. CREATE TABLE `ims_ewei_shop_author_team_pay` (
  599. `id` int(11) NOT NULL AUTO_INCREMENT,
  600. `uniacid` int(11) DEFAULT '0',
  601. `teamid` int(11) DEFAULT '0',
  602. `mid` int(11) DEFAULT '0',
  603. `payno` varchar(255) DEFAULT '',
  604. `money` decimal(10,2) DEFAULT '0.00',
  605. `paymoney` decimal(10,2) DEFAULT '0.00',
  606. `paytime` int(11) DEFAULT '0',
  607. PRIMARY KEY (`id`),
  608. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  609. KEY `idx_teamid` (`teamid`) USING BTREE,
  610. KEY `idx_mid` (`mid`) USING BTREE
  611. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  612. -- ----------------------------
  613. -- Records of ims_ewei_shop_author_team_pay
  614. -- ----------------------------
  615. -- ----------------------------
  616. -- Table structure for `ims_ewei_shop_banner`
  617. -- ----------------------------
  618. DROP TABLE IF EXISTS `ims_ewei_shop_banner`;
  619. CREATE TABLE `ims_ewei_shop_banner` (
  620. `id` int(11) NOT NULL AUTO_INCREMENT,
  621. `uniacid` int(11) DEFAULT '0',
  622. `bannername` varchar(50) DEFAULT '',
  623. `link` varchar(255) DEFAULT '',
  624. `thumb` varchar(255) DEFAULT '',
  625. `displayorder` int(11) DEFAULT '0',
  626. `enabled` int(11) DEFAULT '0',
  627. `shopid` int(11) DEFAULT '0',
  628. `iswxapp` tinyint(1) NOT NULL DEFAULT '0',
  629. PRIMARY KEY (`id`),
  630. KEY `idx_uniacid` (`uniacid`),
  631. KEY `idx_enabled` (`enabled`),
  632. KEY `idx_displayorder` (`displayorder`)
  633. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  634. -- ----------------------------
  635. -- Records of ims_ewei_shop_banner
  636. -- ----------------------------
  637. -- ----------------------------
  638. -- Table structure for `ims_ewei_shop_bargain_account`
  639. -- ----------------------------
  640. DROP TABLE IF EXISTS `ims_ewei_shop_bargain_account`;
  641. CREATE TABLE `ims_ewei_shop_bargain_account` (
  642. `id` int(11) NOT NULL,
  643. `mall_name` varchar(255) DEFAULT NULL,
  644. `banner` varchar(255) DEFAULT NULL,
  645. `mall_title` varchar(255) DEFAULT NULL,
  646. `mall_content` varchar(255) DEFAULT NULL,
  647. `mall_logo` varchar(255) DEFAULT NULL,
  648. `message` int(11) DEFAULT '0',
  649. `partin` int(11) DEFAULT '0',
  650. `rule` text,
  651. `end_message` int(11) DEFAULT '0',
  652. `follow_swi` tinyint(1) NOT NULL DEFAULT '0',
  653. `sharestyle` tinyint(1) NOT NULL DEFAULT '0',
  654. PRIMARY KEY (`id`)
  655. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  656. -- ----------------------------
  657. -- Records of ims_ewei_shop_bargain_account
  658. -- ----------------------------
  659. -- ----------------------------
  660. -- Table structure for `ims_ewei_shop_bargain_actor`
  661. -- ----------------------------
  662. DROP TABLE IF EXISTS `ims_ewei_shop_bargain_actor`;
  663. CREATE TABLE `ims_ewei_shop_bargain_actor` (
  664. `id` int(11) NOT NULL AUTO_INCREMENT,
  665. `goods_id` int(11) NOT NULL,
  666. `now_price` decimal(9,2) NOT NULL,
  667. `created_time` datetime NOT NULL,
  668. `update_time` datetime NOT NULL,
  669. `bargain_times` int(10) NOT NULL,
  670. `openid` varchar(50) NOT NULL DEFAULT '',
  671. `nickname` varchar(20) NOT NULL,
  672. `head_image` varchar(200) NOT NULL,
  673. `bargain_price` decimal(9,2) NOT NULL,
  674. `status` tinyint(2) NOT NULL,
  675. `account_id` int(11) NOT NULL,
  676. `initiate` tinyint(4) NOT NULL DEFAULT '0',
  677. `order` int(11) DEFAULT '0',
  678. PRIMARY KEY (`id`),
  679. KEY `idx_openid` (`openid`) USING BTREE,
  680. KEY `idx_account_id` (`account_id`) USING BTREE,
  681. KEY `idx_status` (`status`) USING BTREE
  682. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  683. -- ----------------------------
  684. -- Records of ims_ewei_shop_bargain_actor
  685. -- ----------------------------
  686. -- ----------------------------
  687. -- Table structure for `ims_ewei_shop_bargain_goods`
  688. -- ----------------------------
  689. DROP TABLE IF EXISTS `ims_ewei_shop_bargain_goods`;
  690. CREATE TABLE `ims_ewei_shop_bargain_goods` (
  691. `id` int(11) NOT NULL AUTO_INCREMENT,
  692. `account_id` int(11) NOT NULL,
  693. `goods_id` varchar(20) NOT NULL,
  694. `end_price` decimal(10,2) NOT NULL,
  695. `start_time` datetime NOT NULL,
  696. `end_time` datetime NOT NULL,
  697. `status` tinyint(2) NOT NULL,
  698. `type` tinyint(2) NOT NULL,
  699. `user_set` text,
  700. `rule` text,
  701. `act_times` int(11) NOT NULL,
  702. `mode` tinyint(4) NOT NULL,
  703. `total_time` int(11) NOT NULL,
  704. `each_time` int(11) NOT NULL,
  705. `time_limit` int(11) NOT NULL,
  706. `probability` text NOT NULL,
  707. `custom` varchar(255) DEFAULT NULL,
  708. `maximum` int(11) DEFAULT NULL,
  709. `initiate` tinyint(4) NOT NULL DEFAULT '0',
  710. `myself` tinyint(3) DEFAULT '0',
  711. PRIMARY KEY (`id`),
  712. KEY `goods_id` (`goods_id`) USING BTREE
  713. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  714. -- ----------------------------
  715. -- Records of ims_ewei_shop_bargain_goods
  716. -- ----------------------------
  717. -- ----------------------------
  718. -- Table structure for `ims_ewei_shop_bargain_record`
  719. -- ----------------------------
  720. DROP TABLE IF EXISTS `ims_ewei_shop_bargain_record`;
  721. CREATE TABLE `ims_ewei_shop_bargain_record` (
  722. `id` int(11) NOT NULL AUTO_INCREMENT,
  723. `actor_id` int(11) NOT NULL,
  724. `bargain_price` decimal(9,2) NOT NULL,
  725. `openid` varchar(50) NOT NULL DEFAULT '',
  726. `nickname` varchar(20) NOT NULL,
  727. `head_image` varchar(200) NOT NULL,
  728. `bargain_time` datetime NOT NULL,
  729. PRIMARY KEY (`id`),
  730. KEY `idx_openid` (`openid`) USING BTREE,
  731. KEY `idx_actor_id` (`actor_id`) USING BTREE
  732. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  733. -- ----------------------------
  734. -- Records of ims_ewei_shop_bargain_record
  735. -- ----------------------------
  736. -- ----------------------------
  737. -- Table structure for `ims_ewei_shop_carrier`
  738. -- ----------------------------
  739. DROP TABLE IF EXISTS `ims_ewei_shop_carrier`;
  740. CREATE TABLE `ims_ewei_shop_carrier` (
  741. `id` int(11) NOT NULL AUTO_INCREMENT,
  742. `uniacid` int(11) DEFAULT '0',
  743. `realname` varchar(50) DEFAULT '',
  744. `mobile` varchar(50) DEFAULT '',
  745. `address` varchar(255) DEFAULT '',
  746. `deleted` tinyint(1) DEFAULT '0',
  747. `createtime` int(11) DEFAULT '0',
  748. `displayorder` int(11) DEFAULT '0',
  749. PRIMARY KEY (`id`),
  750. KEY `idx_uniacid` (`uniacid`),
  751. KEY `idx_deleted` (`deleted`),
  752. KEY `idx_createtime` (`createtime`)
  753. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  754. -- ----------------------------
  755. -- Records of ims_ewei_shop_carrier
  756. -- ----------------------------
  757. -- ----------------------------
  758. -- Table structure for `ims_ewei_shop_cashier_category`
  759. -- ----------------------------
  760. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_category`;
  761. CREATE TABLE `ims_ewei_shop_cashier_category` (
  762. `id` int(11) NOT NULL AUTO_INCREMENT,
  763. `uniacid` int(11) DEFAULT '0',
  764. `catename` varchar(255) DEFAULT '',
  765. `createtime` int(11) DEFAULT '0',
  766. `status` tinyint(1) DEFAULT '0',
  767. `displayorder` int(11) DEFAULT '0',
  768. PRIMARY KEY (`id`),
  769. KEY `idx_uniacid` (`uniacid`) USING BTREE
  770. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  771. -- ----------------------------
  772. -- Records of ims_ewei_shop_cashier_category
  773. -- ----------------------------
  774. -- ----------------------------
  775. -- Table structure for `ims_ewei_shop_cashier_clearing`
  776. -- ----------------------------
  777. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_clearing`;
  778. CREATE TABLE `ims_ewei_shop_cashier_clearing` (
  779. `id` int(11) NOT NULL AUTO_INCREMENT,
  780. `uniacid` int(11) DEFAULT '0',
  781. `cashierid` int(11) DEFAULT '0',
  782. `clearno` varchar(64) DEFAULT '',
  783. `status` tinyint(3) DEFAULT '0',
  784. `money` decimal(10,2) DEFAULT '0.00',
  785. `realmoney` decimal(10,2) DEFAULT '0.00',
  786. `remark` varchar(500) DEFAULT '',
  787. `orderids` text,
  788. `createtime` int(11) DEFAULT '0',
  789. `paytime` int(11) DEFAULT '0',
  790. `deleted` tinyint(3) DEFAULT '0',
  791. `paytype` tinyint(1) DEFAULT '0',
  792. `payinfo` varchar(1000) DEFAULT '',
  793. `charge` decimal(10,2) DEFAULT '0.00',
  794. PRIMARY KEY (`id`),
  795. KEY `uniacid` (`uniacid`) USING BTREE,
  796. KEY `storeid` (`cashierid`) USING BTREE,
  797. KEY `status` (`status`) USING BTREE,
  798. KEY `createtime` (`createtime`) USING BTREE,
  799. KEY `deleted` (`deleted`) USING BTREE,
  800. KEY `clearno` (`clearno`) USING BTREE
  801. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  802. -- ----------------------------
  803. -- Records of ims_ewei_shop_cashier_clearing
  804. -- ----------------------------
  805. -- ----------------------------
  806. -- Table structure for `ims_ewei_shop_cashier_goods`
  807. -- ----------------------------
  808. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_goods`;
  809. CREATE TABLE `ims_ewei_shop_cashier_goods` (
  810. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  811. `uniacid` int(11) DEFAULT '0',
  812. `cashierid` int(11) DEFAULT '0',
  813. `createtime` int(10) unsigned DEFAULT '0',
  814. `title` varchar(255) DEFAULT '',
  815. `image` varchar(255) DEFAULT '',
  816. `categoryid` tinyint(1) DEFAULT '0',
  817. `price` decimal(10,2) DEFAULT '0.00',
  818. `total` int(11) DEFAULT '0',
  819. `status` tinyint(1) DEFAULT '0',
  820. `goodssn` varchar(50) DEFAULT '',
  821. PRIMARY KEY (`id`),
  822. KEY `uniacid` (`uniacid`) USING BTREE,
  823. KEY `cashierid` (`cashierid`) USING BTREE,
  824. KEY `goodssn` (`goodssn`) USING BTREE
  825. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  826. -- ----------------------------
  827. -- Records of ims_ewei_shop_cashier_goods
  828. -- ----------------------------
  829. -- ----------------------------
  830. -- Table structure for `ims_ewei_shop_cashier_goods_category`
  831. -- ----------------------------
  832. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_goods_category`;
  833. CREATE TABLE `ims_ewei_shop_cashier_goods_category` (
  834. `id` int(11) NOT NULL AUTO_INCREMENT,
  835. `uniacid` int(11) DEFAULT '0',
  836. `cashierid` int(11) DEFAULT '0',
  837. `catename` varchar(255) DEFAULT '',
  838. `createtime` int(11) DEFAULT '0',
  839. `status` tinyint(1) DEFAULT '0',
  840. `displayorder` int(11) DEFAULT '0',
  841. PRIMARY KEY (`id`),
  842. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  843. KEY `idx_cashierid` (`cashierid`) USING BTREE
  844. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  845. -- ----------------------------
  846. -- Records of ims_ewei_shop_cashier_goods_category
  847. -- ----------------------------
  848. -- ----------------------------
  849. -- Table structure for `ims_ewei_shop_cashier_operator`
  850. -- ----------------------------
  851. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_operator`;
  852. CREATE TABLE `ims_ewei_shop_cashier_operator` (
  853. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  854. `uniacid` int(11) DEFAULT '0',
  855. `cashierid` int(11) DEFAULT '0',
  856. `title` varchar(255) DEFAULT '',
  857. `manageopenid` varchar(50) DEFAULT '',
  858. `username` varchar(255) DEFAULT '',
  859. `password` varchar(50) DEFAULT '',
  860. `salt` varchar(8) DEFAULT '',
  861. `perm` text,
  862. `createtime` int(10) unsigned DEFAULT '0',
  863. PRIMARY KEY (`id`),
  864. KEY `uniacid` (`uniacid`) USING BTREE,
  865. KEY `cashierid` (`cashierid`) USING BTREE,
  866. KEY `manageopenid` (`manageopenid`) USING BTREE,
  867. KEY `username` (`username`) USING BTREE
  868. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  869. -- ----------------------------
  870. -- Records of ims_ewei_shop_cashier_operator
  871. -- ----------------------------
  872. -- ----------------------------
  873. -- Table structure for `ims_ewei_shop_cashier_order`
  874. -- ----------------------------
  875. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_order`;
  876. CREATE TABLE `ims_ewei_shop_cashier_order` (
  877. `id` int(11) NOT NULL AUTO_INCREMENT,
  878. `uniacid` int(11) DEFAULT '0',
  879. `ordersn` varchar(255) DEFAULT '',
  880. `price` decimal(10,2) DEFAULT '0.00',
  881. `openid` varchar(50) DEFAULT '',
  882. `payopenid` varchar(50) DEFAULT '',
  883. `createtime` int(10) unsigned DEFAULT '0',
  884. `status` tinyint(4) DEFAULT '0',
  885. `paytime` int(10) unsigned DEFAULT '0',
  886. PRIMARY KEY (`id`)
  887. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  888. -- ----------------------------
  889. -- Records of ims_ewei_shop_cashier_order
  890. -- ----------------------------
  891. -- ----------------------------
  892. -- Table structure for `ims_ewei_shop_cashier_pay_log`
  893. -- ----------------------------
  894. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_pay_log`;
  895. CREATE TABLE `ims_ewei_shop_cashier_pay_log` (
  896. `id` int(11) NOT NULL AUTO_INCREMENT,
  897. `uniacid` int(11) DEFAULT '0',
  898. `cashierid` int(11) DEFAULT '0',
  899. `operatorid` int(11) DEFAULT '0',
  900. `openid` varchar(50) DEFAULT '',
  901. `paytype` tinyint(3) DEFAULT NULL,
  902. `logno` varchar(255) DEFAULT '',
  903. `title` varchar(255) DEFAULT '',
  904. `createtime` int(11) DEFAULT '0',
  905. `status` int(11) DEFAULT '0',
  906. `money` decimal(10,2) DEFAULT '0.00',
  907. `paytime` int(11) DEFAULT '0',
  908. `is_applypay` tinyint(1) DEFAULT '0',
  909. `randommoney` decimal(10,2) DEFAULT '0.00',
  910. `enough` decimal(10,2) DEFAULT '0.00',
  911. `mobile` varchar(20) DEFAULT '',
  912. `deduction` decimal(10,2) DEFAULT '0.00',
  913. `discountmoney` decimal(10,2) DEFAULT '0.00',
  914. `discount` decimal(5,2) DEFAULT '0.00',
  915. `isgoods` tinyint(1) DEFAULT '0',
  916. `orderid` int(11) DEFAULT '0',
  917. `orderprice` decimal(10,2) DEFAULT '0.00',
  918. `goodsprice` decimal(10,2) DEFAULT '0.00',
  919. `couponpay` decimal(10,2) DEFAULT '0.00',
  920. `payopenid` varchar(50) DEFAULT '',
  921. `nosalemoney` decimal(10,2) DEFAULT '0.00',
  922. `coupon` int(11) DEFAULT '0',
  923. `usecoupon` int(11) DEFAULT '0',
  924. `usecouponprice` decimal(10,2) DEFAULT '0.00',
  925. `present_credit1` int(11) DEFAULT '0',
  926. `refundsn` varchar(50) DEFAULT '',
  927. `refunduser` int(11) DEFAULT '0',
  928. `client_ip` varchar(16) DEFAULT '',
  929. PRIMARY KEY (`id`),
  930. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  931. KEY `idx_type` (`paytype`) USING BTREE,
  932. KEY `idx_createtime` (`createtime`) USING BTREE,
  933. KEY `idx_status` (`status`) USING BTREE,
  934. KEY `idx_storeid` (`cashierid`) USING BTREE,
  935. KEY `idx_logno` (`logno`) USING BTREE,
  936. KEY `is_applypay` (`is_applypay`) USING BTREE,
  937. KEY `orderid` (`orderid`) USING BTREE
  938. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  939. -- ----------------------------
  940. -- Records of ims_ewei_shop_cashier_pay_log
  941. -- ----------------------------
  942. -- ----------------------------
  943. -- Table structure for `ims_ewei_shop_cashier_pay_log_goods`
  944. -- ----------------------------
  945. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_pay_log_goods`;
  946. CREATE TABLE `ims_ewei_shop_cashier_pay_log_goods` (
  947. `id` int(11) NOT NULL AUTO_INCREMENT,
  948. `cashierid` int(11) DEFAULT '0',
  949. `logid` int(11) DEFAULT '0',
  950. `goodsid` int(11) DEFAULT '0',
  951. `price` decimal(10,2) DEFAULT '0.00',
  952. `total` int(11) DEFAULT '0',
  953. PRIMARY KEY (`id`),
  954. KEY `logid` (`logid`) USING BTREE,
  955. KEY `goodsid` (`goodsid`) USING BTREE,
  956. KEY `cashierid` (`cashierid`) USING BTREE
  957. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  958. -- ----------------------------
  959. -- Records of ims_ewei_shop_cashier_pay_log_goods
  960. -- ----------------------------
  961. -- ----------------------------
  962. -- Table structure for `ims_ewei_shop_cashier_qrcode`
  963. -- ----------------------------
  964. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_qrcode`;
  965. CREATE TABLE `ims_ewei_shop_cashier_qrcode` (
  966. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  967. `uniacid` int(11) DEFAULT '0',
  968. `cashierid` int(11) DEFAULT '0',
  969. `title` varchar(255) DEFAULT '',
  970. `goodstitle` varchar(255) DEFAULT '',
  971. `money` decimal(10,2) DEFAULT '0.00',
  972. `createtime` int(10) unsigned DEFAULT NULL,
  973. PRIMARY KEY (`id`),
  974. KEY `uniacid` (`uniacid`) USING BTREE,
  975. KEY `cashierid` (`cashierid`) USING BTREE
  976. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  977. -- ----------------------------
  978. -- Records of ims_ewei_shop_cashier_qrcode
  979. -- ----------------------------
  980. -- ----------------------------
  981. -- Table structure for `ims_ewei_shop_cashier_randommoney_log`
  982. -- ----------------------------
  983. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_randommoney_log`;
  984. CREATE TABLE `ims_ewei_shop_cashier_randommoney_log` (
  985. `id` int(11) NOT NULL AUTO_INCREMENT,
  986. `uniacid` int(11) DEFAULT '0',
  987. `cashierid` int(11) DEFAULT '0',
  988. `clientip` int(11) unsigned DEFAULT '0',
  989. `ordermoney` decimal(10,2) DEFAULT '0.00',
  990. `randommoney` decimal(10,2) DEFAULT '0.00',
  991. `expires_time` int(11) DEFAULT '0',
  992. PRIMARY KEY (`id`),
  993. KEY `idx_uniacid` (`uniacid`),
  994. KEY `idx_storeid` (`cashierid`),
  995. KEY `idx_clientip` (`clientip`)
  996. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  997. -- ----------------------------
  998. -- Records of ims_ewei_shop_cashier_randommoney_log
  999. -- ----------------------------
  1000. -- ----------------------------
  1001. -- Table structure for `ims_ewei_shop_cashier_user`
  1002. -- ----------------------------
  1003. DROP TABLE IF EXISTS `ims_ewei_shop_cashier_user`;
  1004. CREATE TABLE `ims_ewei_shop_cashier_user` (
  1005. `id` int(11) NOT NULL AUTO_INCREMENT,
  1006. `uniacid` int(11) DEFAULT '0',
  1007. `storeid` int(11) DEFAULT '0',
  1008. `merchid` int(11) DEFAULT '0',
  1009. `setmeal` tinyint(3) DEFAULT '0',
  1010. `title` varchar(255) DEFAULT '',
  1011. `logo` varchar(255) DEFAULT '',
  1012. `manageopenid` varchar(50) DEFAULT '',
  1013. `isopen_commission` tinyint(1) DEFAULT '0',
  1014. `name` varchar(50) DEFAULT '',
  1015. `mobile` varchar(50) DEFAULT '',
  1016. `categoryid` int(11) DEFAULT '0',
  1017. `wechat_status` tinyint(1) DEFAULT '0',
  1018. `wechatpay` text,
  1019. `alipay_status` tinyint(1) DEFAULT '0',
  1020. `alipay` text,
  1021. `withdraw` decimal(10,2) DEFAULT '0.00',
  1022. `openid` varchar(50) DEFAULT '',
  1023. `diyformfields` text,
  1024. `diyformdata` text,
  1025. `createtime` int(11) DEFAULT '0',
  1026. `username` varchar(255) DEFAULT '',
  1027. `password` varchar(32) DEFAULT '',
  1028. `salt` char(8) DEFAULT '',
  1029. `lifetimestart` int(10) unsigned DEFAULT '0',
  1030. `lifetimeend` int(10) unsigned DEFAULT '0',
  1031. `status` tinyint(1) DEFAULT '0',
  1032. `set` longtext,
  1033. `deleted` tinyint(1) DEFAULT '0',
  1034. `can_withdraw` tinyint(1) DEFAULT '0',
  1035. `show_paytype` tinyint(1) DEFAULT '0',
  1036. `couponid` varchar(255) DEFAULT '',
  1037. `management` varchar(1000) DEFAULT '',
  1038. `notice_openids` varchar(500) DEFAULT NULL,
  1039. PRIMARY KEY (`id`),
  1040. KEY `uniacid` (`uniacid`) USING BTREE,
  1041. KEY `openid` (`manageopenid`) USING BTREE,
  1042. KEY `username` (`username`) USING BTREE,
  1043. KEY `status` (`status`) USING BTREE
  1044. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  1045. -- ----------------------------
  1046. -- Records of ims_ewei_shop_cashier_user
  1047. -- ----------------------------
  1048. -- ----------------------------
  1049. -- Table structure for `ims_ewei_shop_category`
  1050. -- ----------------------------
  1051. DROP TABLE IF EXISTS `ims_ewei_shop_category`;
  1052. CREATE TABLE `ims_ewei_shop_category` (
  1053. `id` int(11) NOT NULL AUTO_INCREMENT,
  1054. `uniacid` int(11) DEFAULT '0',
  1055. `name` varchar(50) DEFAULT NULL,
  1056. `thumb` varchar(255) DEFAULT NULL,
  1057. `parentid` int(11) DEFAULT '0',
  1058. `isrecommand` int(10) DEFAULT '0',
  1059. `description` varchar(500) DEFAULT NULL,
  1060. `displayorder` tinyint(3) unsigned DEFAULT '0',
  1061. `enabled` tinyint(1) DEFAULT '1',
  1062. `ishome` tinyint(3) DEFAULT '0',
  1063. `level` tinyint(3) DEFAULT NULL,
  1064. `advimg` varchar(255) DEFAULT '',
  1065. `advurl` varchar(500) DEFAULT '',
  1066. PRIMARY KEY (`id`),
  1067. KEY `idx_uniacid` (`uniacid`),
  1068. KEY `idx_displayorder` (`displayorder`),
  1069. KEY `idx_enabled` (`enabled`),
  1070. KEY `idx_parentid` (`parentid`),
  1071. KEY `idx_isrecommand` (`isrecommand`),
  1072. KEY `idx_ishome` (`ishome`)
  1073. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1074. -- ----------------------------
  1075. -- Records of ims_ewei_shop_category
  1076. -- ----------------------------
  1077. -- ----------------------------
  1078. -- Table structure for `ims_ewei_shop_city_express`
  1079. -- ----------------------------
  1080. DROP TABLE IF EXISTS `ims_ewei_shop_city_express`;
  1081. CREATE TABLE `ims_ewei_shop_city_express` (
  1082. `id` int(11) NOT NULL AUTO_INCREMENT,
  1083. `uniacid` int(11) DEFAULT '0',
  1084. `merchid` int(11) DEFAULT '0',
  1085. `start_fee` decimal(10,2) DEFAULT '0.00',
  1086. `start_km` int(11) DEFAULT '0',
  1087. `pre_km` int(11) DEFAULT '0',
  1088. `pre_km_fee` decimal(10,2) DEFAULT '0.00',
  1089. `fixed_km` int(11) DEFAULT '0',
  1090. `fixed_fee` decimal(10,2) DEFAULT '0.00',
  1091. `receive_goods` int(11) DEFAULT NULL,
  1092. `lng` varchar(255) DEFAULT '',
  1093. `lat` varchar(255) DEFAULT '',
  1094. `range` int(11) DEFAULT '0',
  1095. `zoom` int(11) NOT NULL DEFAULT '13',
  1096. `express_type` int(11) NOT NULL DEFAULT '0',
  1097. `config` varchar(255) NOT NULL DEFAULT '',
  1098. `tel1` varchar(255) DEFAULT '',
  1099. `tel2` varchar(255) DEFAULT '',
  1100. `is_sum` tinyint(1) DEFAULT '0',
  1101. `is_dispatch` tinyint(1) DEFAULT '1',
  1102. `enabled` tinyint(1) DEFAULT '0',
  1103. `geo_key` varchar(255) NOT NULL DEFAULT '',
  1104. PRIMARY KEY (`id`),
  1105. KEY `idx_uniacid` (`uniacid`) USING BTREE
  1106. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  1107. -- ----------------------------
  1108. -- Records of ims_ewei_shop_city_express
  1109. -- ----------------------------
  1110. -- ----------------------------
  1111. -- Table structure for `ims_ewei_shop_commission_apply`
  1112. -- ----------------------------
  1113. DROP TABLE IF EXISTS `ims_ewei_shop_commission_apply`;
  1114. CREATE TABLE `ims_ewei_shop_commission_apply` (
  1115. `id` int(11) NOT NULL AUTO_INCREMENT,
  1116. `uniacid` int(11) DEFAULT '0',
  1117. `applyno` varchar(255) DEFAULT '',
  1118. `mid` int(11) DEFAULT '0',
  1119. `type` tinyint(3) DEFAULT '0',
  1120. `orderids` longtext,
  1121. `commission` decimal(10,2) DEFAULT '0.00',
  1122. `commission_pay` decimal(10,2) DEFAULT '0.00',
  1123. `content` text,
  1124. `status` tinyint(3) DEFAULT '0',
  1125. `applytime` int(11) DEFAULT '0',
  1126. `checktime` int(11) DEFAULT '0',
  1127. `paytime` int(11) DEFAULT '0',
  1128. `invalidtime` int(11) DEFAULT '0',
  1129. `refusetime` int(11) DEFAULT '0',
  1130. `realmoney` decimal(10,2) DEFAULT '0.00',
  1131. `charge` decimal(10,2) DEFAULT '0.00',
  1132. `deductionmoney` decimal(10,2) DEFAULT '0.00',
  1133. `beginmoney` decimal(10,2) DEFAULT '0.00',
  1134. `endmoney` decimal(10,2) DEFAULT '0.00',
  1135. `alipay` varchar(50) NOT NULL DEFAULT '',
  1136. `bankname` varchar(50) NOT NULL DEFAULT '',
  1137. `bankcard` varchar(50) NOT NULL DEFAULT '',
  1138. `alipay1` varchar(50) NOT NULL DEFAULT '',
  1139. `bankname1` varchar(50) NOT NULL DEFAULT '',
  1140. `bankcard1` varchar(50) NOT NULL DEFAULT '',
  1141. `repurchase` decimal(10,2) DEFAULT '0.00',
  1142. `realname` varchar(50) NOT NULL DEFAULT '',
  1143. `sendmoney` decimal(10,2) DEFAULT '0.00',
  1144. `senddata` text,
  1145. PRIMARY KEY (`id`),
  1146. KEY `idx_uniacid` (`uniacid`),
  1147. KEY `idx_mid` (`mid`),
  1148. KEY `idx_checktime` (`checktime`),
  1149. KEY `idx_paytime` (`paytime`),
  1150. KEY `idx_applytime` (`applytime`),
  1151. KEY `idx_status` (`status`),
  1152. KEY `idx_invalidtime` (`invalidtime`)
  1153. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1154. -- ----------------------------
  1155. -- Records of ims_ewei_shop_commission_apply
  1156. -- ----------------------------
  1157. -- ----------------------------
  1158. -- Table structure for `ims_ewei_shop_commission_bank`
  1159. -- ----------------------------
  1160. DROP TABLE IF EXISTS `ims_ewei_shop_commission_bank`;
  1161. CREATE TABLE `ims_ewei_shop_commission_bank` (
  1162. `id` int(11) NOT NULL AUTO_INCREMENT,
  1163. `uniacid` int(11) NOT NULL DEFAULT '0',
  1164. `bankname` varchar(255) NOT NULL DEFAULT '',
  1165. `content` varchar(255) NOT NULL DEFAULT '',
  1166. `status` tinyint(1) NOT NULL DEFAULT '0',
  1167. `displayorder` int(11) NOT NULL DEFAULT '0',
  1168. PRIMARY KEY (`id`),
  1169. KEY `idx_uniacid` (`uniacid`) USING BTREE
  1170. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1171. -- ----------------------------
  1172. -- Records of ims_ewei_shop_commission_bank
  1173. -- ----------------------------
  1174. -- ----------------------------
  1175. -- Table structure for `ims_ewei_shop_commission_clickcount`
  1176. -- ----------------------------
  1177. DROP TABLE IF EXISTS `ims_ewei_shop_commission_clickcount`;
  1178. CREATE TABLE `ims_ewei_shop_commission_clickcount` (
  1179. `id` int(11) NOT NULL AUTO_INCREMENT,
  1180. `uniacid` int(11) DEFAULT '0',
  1181. `openid` varchar(255) DEFAULT '',
  1182. `from_openid` varchar(255) DEFAULT '',
  1183. `clicktime` int(11) DEFAULT '0',
  1184. PRIMARY KEY (`id`),
  1185. KEY `idx_uniacid` (`uniacid`),
  1186. KEY `idx_openid` (`openid`),
  1187. KEY `idx_from_openid` (`from_openid`)
  1188. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1189. -- ----------------------------
  1190. -- Records of ims_ewei_shop_commission_clickcount
  1191. -- ----------------------------
  1192. -- ----------------------------
  1193. -- Table structure for `ims_ewei_shop_commission_level`
  1194. -- ----------------------------
  1195. DROP TABLE IF EXISTS `ims_ewei_shop_commission_level`;
  1196. CREATE TABLE `ims_ewei_shop_commission_level` (
  1197. `id` int(11) NOT NULL AUTO_INCREMENT,
  1198. `uniacid` int(11) NOT NULL,
  1199. `levelname` varchar(50) DEFAULT '',
  1200. `commission1` decimal(10,2) DEFAULT '0.00',
  1201. `commission2` decimal(10,2) DEFAULT '0.00',
  1202. `commission3` decimal(10,2) DEFAULT '0.00',
  1203. `ordermoney` decimal(10,2) DEFAULT '0.00',
  1204. `ordercount` int(11) DEFAULT '0',
  1205. `withdraw` decimal(10,2) DEFAULT '0.00',
  1206. `repurchase` decimal(10,2) DEFAULT '0.00',
  1207. `downcount` int(11) DEFAULT '0',
  1208. `commissionmoney` decimal(10,2) DEFAULT '0.00',
  1209. `goodsids` varchar(1000) DEFAULT '',
  1210. PRIMARY KEY (`id`),
  1211. KEY `idx_uniacid` (`uniacid`)
  1212. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1213. -- ----------------------------
  1214. -- Records of ims_ewei_shop_commission_level
  1215. -- ----------------------------
  1216. -- ----------------------------
  1217. -- Table structure for `ims_ewei_shop_commission_log`
  1218. -- ----------------------------
  1219. DROP TABLE IF EXISTS `ims_ewei_shop_commission_log`;
  1220. CREATE TABLE `ims_ewei_shop_commission_log` (
  1221. `id` int(11) NOT NULL AUTO_INCREMENT,
  1222. `uniacid` int(11) DEFAULT '0',
  1223. `applyid` int(11) DEFAULT '0',
  1224. `mid` int(11) DEFAULT '0',
  1225. `commission` decimal(10,2) DEFAULT '0.00',
  1226. `createtime` int(11) DEFAULT '0',
  1227. `commission_pay` decimal(10,2) DEFAULT '0.00',
  1228. `type` tinyint(3) DEFAULT '0',
  1229. `realmoney` decimal(10,2) DEFAULT '0.00',
  1230. `charge` decimal(10,2) DEFAULT '0.00',
  1231. `deductionmoney` decimal(10,2) DEFAULT '0.00',
  1232. PRIMARY KEY (`id`),
  1233. KEY `idx_uniacid` (`uniacid`),
  1234. KEY `idx_applyid` (`applyid`),
  1235. KEY `idx_mid` (`mid`),
  1236. KEY `idx_createtime` (`createtime`)
  1237. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1238. -- ----------------------------
  1239. -- Records of ims_ewei_shop_commission_log
  1240. -- ----------------------------
  1241. -- ----------------------------
  1242. -- Table structure for `ims_ewei_shop_commission_rank`
  1243. -- ----------------------------
  1244. DROP TABLE IF EXISTS `ims_ewei_shop_commission_rank`;
  1245. CREATE TABLE `ims_ewei_shop_commission_rank` (
  1246. `id` int(11) NOT NULL AUTO_INCREMENT,
  1247. `uniacid` int(11) NOT NULL,
  1248. `type` tinyint(4) NOT NULL DEFAULT '0',
  1249. `num` int(11) NOT NULL,
  1250. `status` tinyint(4) NOT NULL DEFAULT '0',
  1251. `title` varchar(255) NOT NULL DEFAULT '',
  1252. `content` text,
  1253. PRIMARY KEY (`id`)
  1254. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1255. -- ----------------------------
  1256. -- Records of ims_ewei_shop_commission_rank
  1257. -- ----------------------------
  1258. -- ----------------------------
  1259. -- Table structure for `ims_ewei_shop_commission_relation`
  1260. -- ----------------------------
  1261. DROP TABLE IF EXISTS `ims_ewei_shop_commission_relation`;
  1262. CREATE TABLE `ims_ewei_shop_commission_relation` (
  1263. `id` int(10) unsigned NOT NULL,
  1264. `pid` int(10) unsigned NOT NULL,
  1265. `level` tinyint(1) unsigned NOT NULL,
  1266. UNIQUE KEY `id_pid` (`id`,`pid`),
  1267. KEY `id` (`id`),
  1268. KEY `pid` (`pid`),
  1269. KEY `level` (`level`)
  1270. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  1271. -- ----------------------------
  1272. -- Records of ims_ewei_shop_commission_relation
  1273. -- ----------------------------
  1274. -- ----------------------------
  1275. -- Table structure for `ims_ewei_shop_commission_repurchase`
  1276. -- ----------------------------
  1277. DROP TABLE IF EXISTS `ims_ewei_shop_commission_repurchase`;
  1278. CREATE TABLE `ims_ewei_shop_commission_repurchase` (
  1279. `id` int(11) NOT NULL AUTO_INCREMENT,
  1280. `uniacid` int(11) DEFAULT '0',
  1281. `openid` varchar(50) DEFAULT '',
  1282. `year` int(4) DEFAULT '0',
  1283. `month` tinyint(2) DEFAULT '0',
  1284. `repurchase` decimal(10,2) DEFAULT '0.00',
  1285. `applyid` int(11) DEFAULT '0',
  1286. PRIMARY KEY (`id`),
  1287. KEY `applyid` (`applyid`) USING BTREE,
  1288. KEY `openid` (`openid`) USING BTREE,
  1289. KEY `uniacid` (`uniacid`) USING BTREE
  1290. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1291. -- ----------------------------
  1292. -- Records of ims_ewei_shop_commission_repurchase
  1293. -- ----------------------------
  1294. -- ----------------------------
  1295. -- Table structure for `ims_ewei_shop_commission_shop`
  1296. -- ----------------------------
  1297. DROP TABLE IF EXISTS `ims_ewei_shop_commission_shop`;
  1298. CREATE TABLE `ims_ewei_shop_commission_shop` (
  1299. `id` int(11) NOT NULL AUTO_INCREMENT,
  1300. `uniacid` int(11) DEFAULT '0',
  1301. `mid` int(11) DEFAULT '0',
  1302. `name` varchar(255) DEFAULT '',
  1303. `logo` varchar(255) DEFAULT '',
  1304. `img` varchar(255) DEFAULT NULL,
  1305. `desc` varchar(255) DEFAULT '',
  1306. `selectgoods` tinyint(3) DEFAULT '0',
  1307. `selectcategory` tinyint(3) DEFAULT '0',
  1308. `goodsids` text,
  1309. PRIMARY KEY (`id`),
  1310. KEY `idx_uniacid` (`uniacid`),
  1311. KEY `idx_mid` (`mid`)
  1312. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1313. -- ----------------------------
  1314. -- Records of ims_ewei_shop_commission_shop
  1315. -- ----------------------------
  1316. -- ----------------------------
  1317. -- Table structure for `ims_ewei_shop_coupon`
  1318. -- ----------------------------
  1319. DROP TABLE IF EXISTS `ims_ewei_shop_coupon`;
  1320. CREATE TABLE `ims_ewei_shop_coupon` (
  1321. `id` int(11) NOT NULL AUTO_INCREMENT,
  1322. `uniacid` int(11) DEFAULT '0',
  1323. `catid` int(11) DEFAULT '0',
  1324. `couponname` varchar(255) DEFAULT '',
  1325. `gettype` tinyint(3) DEFAULT '0',
  1326. `getmax` int(11) DEFAULT '0',
  1327. `usetype` tinyint(3) DEFAULT '0',
  1328. `returntype` tinyint(3) DEFAULT '0',
  1329. `bgcolor` varchar(255) DEFAULT '',
  1330. `enough` decimal(10,2) DEFAULT '0.00',
  1331. `timelimit` tinyint(3) DEFAULT '0',
  1332. `coupontype` tinyint(3) DEFAULT '0',
  1333. `timedays` int(11) DEFAULT '0',
  1334. `timestart` int(11) DEFAULT '0',
  1335. `timeend` int(11) DEFAULT '0',
  1336. `discount` decimal(10,2) DEFAULT '0.00',
  1337. `deduct` decimal(10,2) DEFAULT '0.00',
  1338. `backtype` tinyint(3) DEFAULT '0',
  1339. `backmoney` varchar(50) DEFAULT '',
  1340. `backcredit` varchar(50) DEFAULT '',
  1341. `backredpack` varchar(50) DEFAULT '',
  1342. `backwhen` tinyint(3) DEFAULT '0',
  1343. `thumb` varchar(255) DEFAULT '',
  1344. `desc` text,
  1345. `createtime` int(11) DEFAULT '0',
  1346. `total` int(11) DEFAULT '0',
  1347. `status` tinyint(3) DEFAULT '0',
  1348. `money` decimal(10,2) DEFAULT '0.00',
  1349. `respdesc` text,
  1350. `respthumb` varchar(255) DEFAULT '',
  1351. `resptitle` varchar(255) DEFAULT '',
  1352. `respurl` varchar(255) DEFAULT '',
  1353. `credit` int(11) DEFAULT '0',
  1354. `usecredit2` tinyint(3) DEFAULT '0',
  1355. `remark` varchar(1000) DEFAULT '',
  1356. `descnoset` tinyint(3) DEFAULT '0',
  1357. `pwdkey` varchar(255) DEFAULT '',
  1358. `pwdkey2` varchar(255) DEFAULT '',
  1359. `pwdsuc` text,
  1360. `pwdfail` text,
  1361. `pwdurl` varchar(255) DEFAULT '',
  1362. `pwdask` text,
  1363. `pwdstatus` tinyint(3) DEFAULT '0',
  1364. `pwdtimes` int(11) DEFAULT '0',
  1365. `pwdfull` text,
  1366. `pwdwords` text,
  1367. `pwdopen` tinyint(3) DEFAULT '0',
  1368. `pwdown` text,
  1369. `pwdexit` varchar(255) DEFAULT '',
  1370. `pwdexitstr` text,
  1371. `displayorder` int(11) DEFAULT '0',
  1372. `merchid` int(11) DEFAULT '0',
  1373. `limitgoodtype` tinyint(1) DEFAULT '0',
  1374. `limitgoodcatetype` tinyint(1) DEFAULT '0',
  1375. `limitgoodcateids` varchar(500) DEFAULT '',
  1376. `limitgoodids` varchar(500) DEFAULT '',
  1377. `islimitlevel` tinyint(1) DEFAULT '0',
  1378. `limitmemberlevels` varchar(500) DEFAULT '',
  1379. `limitagentlevels` varchar(500) DEFAULT '',
  1380. `limitpartnerlevels` varchar(500) DEFAULT '',
  1381. `limitaagentlevels` varchar(500) DEFAULT '',
  1382. `tagtitle` varchar(20) DEFAULT '',
  1383. `settitlecolor` tinyint(1) DEFAULT '0',
  1384. `titlecolor` varchar(10) DEFAULT '',
  1385. `limitdiscounttype` tinyint(1) DEFAULT '1',
  1386. `quickget` tinyint(1) DEFAULT '0',
  1387. `templateid` varchar(60) DEFAULT '0',
  1388. PRIMARY KEY (`id`),
  1389. KEY `idx_uniacid` (`uniacid`),
  1390. KEY `idx_coupontype` (`coupontype`),
  1391. KEY `idx_timestart` (`timestart`),
  1392. KEY `idx_timeend` (`timeend`),
  1393. KEY `idx_timelimit` (`timelimit`),
  1394. KEY `idx_status` (`status`),
  1395. KEY `idx_givetype` (`backtype`),
  1396. KEY `idx_catid` (`catid`)
  1397. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1398. -- ----------------------------
  1399. -- Records of ims_ewei_shop_coupon
  1400. -- ----------------------------
  1401. -- ----------------------------
  1402. -- Table structure for `ims_ewei_shop_coupon_category`
  1403. -- ----------------------------
  1404. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_category`;
  1405. CREATE TABLE `ims_ewei_shop_coupon_category` (
  1406. `id` int(11) NOT NULL AUTO_INCREMENT,
  1407. `uniacid` int(11) DEFAULT '0',
  1408. `name` varchar(255) DEFAULT '',
  1409. `displayorder` int(11) DEFAULT '0',
  1410. `status` int(11) DEFAULT '0',
  1411. `merchid` int(11) DEFAULT '0',
  1412. PRIMARY KEY (`id`),
  1413. KEY `idx_uniacid` (`uniacid`),
  1414. KEY `idx_displayorder` (`displayorder`),
  1415. KEY `idx_status` (`status`)
  1416. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1417. -- ----------------------------
  1418. -- Records of ims_ewei_shop_coupon_category
  1419. -- ----------------------------
  1420. -- ----------------------------
  1421. -- Table structure for `ims_ewei_shop_coupon_data`
  1422. -- ----------------------------
  1423. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_data`;
  1424. CREATE TABLE `ims_ewei_shop_coupon_data` (
  1425. `id` int(11) NOT NULL AUTO_INCREMENT,
  1426. `uniacid` int(11) DEFAULT '0',
  1427. `openid` varchar(255) DEFAULT '',
  1428. `couponid` int(11) DEFAULT '0',
  1429. `gettype` tinyint(3) DEFAULT '0',
  1430. `used` int(11) DEFAULT '0',
  1431. `usetime` int(11) DEFAULT '0',
  1432. `gettime` int(11) DEFAULT '0',
  1433. `senduid` int(11) DEFAULT '0',
  1434. `ordersn` varchar(255) DEFAULT '',
  1435. `back` tinyint(3) DEFAULT '0',
  1436. `backtime` int(11) DEFAULT '0',
  1437. `merchid` int(11) DEFAULT '0',
  1438. `isnew` tinyint(1) DEFAULT '1',
  1439. `nocount` tinyint(1) DEFAULT '1',
  1440. `shareident` varchar(50) DEFAULT NULL,
  1441. `textkey` int(11) DEFAULT NULL,
  1442. PRIMARY KEY (`id`),
  1443. KEY `idx_couponid` (`couponid`),
  1444. KEY `idx_gettype` (`gettype`),
  1445. KEY `idx_used` (`used`) USING BTREE,
  1446. KEY `idx_gettime` (`gettime`) USING BTREE
  1447. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1448. -- ----------------------------
  1449. -- Records of ims_ewei_shop_coupon_data
  1450. -- ----------------------------
  1451. -- ----------------------------
  1452. -- Table structure for `ims_ewei_shop_coupon_goodsendtask`
  1453. -- ----------------------------
  1454. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_goodsendtask`;
  1455. CREATE TABLE `ims_ewei_shop_coupon_goodsendtask` (
  1456. `id` int(11) NOT NULL AUTO_INCREMENT,
  1457. `uniacid` int(11) DEFAULT NULL,
  1458. `goodsid` int(11) DEFAULT '0',
  1459. `couponid` int(11) DEFAULT '0',
  1460. `starttime` int(11) DEFAULT '0',
  1461. `endtime` int(11) DEFAULT '0',
  1462. `sendnum` int(11) DEFAULT '1',
  1463. `num` int(11) DEFAULT '0',
  1464. `sendpoint` tinyint(1) DEFAULT '0',
  1465. `status` tinyint(1) DEFAULT '0',
  1466. PRIMARY KEY (`id`)
  1467. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1468. -- ----------------------------
  1469. -- Records of ims_ewei_shop_coupon_goodsendtask
  1470. -- ----------------------------
  1471. -- ----------------------------
  1472. -- Table structure for `ims_ewei_shop_coupon_guess`
  1473. -- ----------------------------
  1474. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_guess`;
  1475. CREATE TABLE `ims_ewei_shop_coupon_guess` (
  1476. `id` int(11) NOT NULL AUTO_INCREMENT,
  1477. `uniacid` int(11) DEFAULT '0',
  1478. `couponid` int(11) DEFAULT '0',
  1479. `openid` varchar(255) DEFAULT '',
  1480. `times` int(11) DEFAULT '0',
  1481. `pwdkey` varchar(255) DEFAULT '',
  1482. `ok` tinyint(3) DEFAULT '0',
  1483. `merchid` int(11) DEFAULT '0',
  1484. PRIMARY KEY (`id`),
  1485. KEY `idx_uniacid` (`uniacid`),
  1486. KEY `idx_couponid` (`couponid`)
  1487. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1488. -- ----------------------------
  1489. -- Records of ims_ewei_shop_coupon_guess
  1490. -- ----------------------------
  1491. -- ----------------------------
  1492. -- Table structure for `ims_ewei_shop_coupon_log`
  1493. -- ----------------------------
  1494. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_log`;
  1495. CREATE TABLE `ims_ewei_shop_coupon_log` (
  1496. `id` int(11) NOT NULL AUTO_INCREMENT,
  1497. `uniacid` int(11) DEFAULT '0',
  1498. `logno` varchar(255) DEFAULT '',
  1499. `openid` varchar(255) DEFAULT '',
  1500. `couponid` int(11) DEFAULT '0',
  1501. `status` int(11) DEFAULT '0',
  1502. `paystatus` tinyint(3) DEFAULT '0',
  1503. `creditstatus` tinyint(3) DEFAULT '0',
  1504. `createtime` int(11) DEFAULT '0',
  1505. `paytype` tinyint(3) DEFAULT '0',
  1506. `getfrom` tinyint(3) DEFAULT '0',
  1507. `merchid` int(11) DEFAULT '0',
  1508. PRIMARY KEY (`id`),
  1509. KEY `idx_uniacid` (`uniacid`),
  1510. KEY `idx_couponid` (`couponid`),
  1511. KEY `idx_status` (`status`),
  1512. KEY `idx_paystatus` (`paystatus`),
  1513. KEY `idx_createtime` (`createtime`),
  1514. KEY `idx_getfrom` (`getfrom`),
  1515. KEY `idx_logno` (`logno`) USING BTREE
  1516. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1517. -- ----------------------------
  1518. -- Records of ims_ewei_shop_coupon_log
  1519. -- ----------------------------
  1520. -- ----------------------------
  1521. -- Table structure for `ims_ewei_shop_coupon_sendshow`
  1522. -- ----------------------------
  1523. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_sendshow`;
  1524. CREATE TABLE `ims_ewei_shop_coupon_sendshow` (
  1525. `id` int(11) NOT NULL AUTO_INCREMENT,
  1526. `showkey` varchar(20) NOT NULL,
  1527. `uniacid` int(11) NOT NULL,
  1528. `openid` varchar(255) NOT NULL,
  1529. `coupondataid` int(11) NOT NULL,
  1530. PRIMARY KEY (`id`)
  1531. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1532. -- ----------------------------
  1533. -- Records of ims_ewei_shop_coupon_sendshow
  1534. -- ----------------------------
  1535. -- ----------------------------
  1536. -- Table structure for `ims_ewei_shop_coupon_sendtasks`
  1537. -- ----------------------------
  1538. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_sendtasks`;
  1539. CREATE TABLE `ims_ewei_shop_coupon_sendtasks` (
  1540. `id` int(11) NOT NULL AUTO_INCREMENT,
  1541. `uniacid` int(11) DEFAULT NULL,
  1542. `enough` decimal(10,2) DEFAULT '0.00',
  1543. `couponid` int(11) DEFAULT '0',
  1544. `starttime` int(11) DEFAULT '0',
  1545. `endtime` int(11) DEFAULT '0',
  1546. `sendnum` int(11) DEFAULT '1',
  1547. `num` int(11) DEFAULT '0',
  1548. `sendpoint` tinyint(1) DEFAULT '0',
  1549. `status` tinyint(1) DEFAULT '0',
  1550. PRIMARY KEY (`id`)
  1551. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1552. -- ----------------------------
  1553. -- Records of ims_ewei_shop_coupon_sendtasks
  1554. -- ----------------------------
  1555. -- ----------------------------
  1556. -- Table structure for `ims_ewei_shop_coupon_taskdata`
  1557. -- ----------------------------
  1558. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_taskdata`;
  1559. CREATE TABLE `ims_ewei_shop_coupon_taskdata` (
  1560. `id` int(11) NOT NULL AUTO_INCREMENT,
  1561. `uniacid` int(11) DEFAULT NULL,
  1562. `openid` varchar(50) DEFAULT NULL,
  1563. `taskid` int(11) DEFAULT '0',
  1564. `couponid` int(11) DEFAULT '0',
  1565. `sendnum` int(11) DEFAULT '0',
  1566. `tasktype` tinyint(1) DEFAULT '0',
  1567. `orderid` int(11) DEFAULT '0',
  1568. `parentorderid` int(11) DEFAULT '0',
  1569. `createtime` int(11) DEFAULT '0',
  1570. `status` tinyint(1) DEFAULT '0',
  1571. `sendpoint` tinyint(1) DEFAULT '0',
  1572. PRIMARY KEY (`id`)
  1573. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1574. -- ----------------------------
  1575. -- Records of ims_ewei_shop_coupon_taskdata
  1576. -- ----------------------------
  1577. -- ----------------------------
  1578. -- Table structure for `ims_ewei_shop_coupon_usesendtasks`
  1579. -- ----------------------------
  1580. DROP TABLE IF EXISTS `ims_ewei_shop_coupon_usesendtasks`;
  1581. CREATE TABLE `ims_ewei_shop_coupon_usesendtasks` (
  1582. `id` int(11) NOT NULL AUTO_INCREMENT,
  1583. `uniacid` int(11) DEFAULT NULL,
  1584. `usecouponid` int(11) DEFAULT '0',
  1585. `couponid` int(11) DEFAULT '0',
  1586. `starttime` int(11) DEFAULT '0',
  1587. `endtime` int(11) DEFAULT '0',
  1588. `sendnum` int(11) DEFAULT '1',
  1589. `num` int(11) DEFAULT '0',
  1590. `status` tinyint(1) DEFAULT '0',
  1591. PRIMARY KEY (`id`)
  1592. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  1593. -- ----------------------------
  1594. -- Records of ims_ewei_shop_coupon_usesendtasks
  1595. -- ----------------------------
  1596. -- ----------------------------
  1597. -- Table structure for `ims_ewei_shop_creditshop_adv`
  1598. -- ----------------------------
  1599. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_adv`;
  1600. CREATE TABLE `ims_ewei_shop_creditshop_adv` (
  1601. `id` int(11) NOT NULL AUTO_INCREMENT,
  1602. `uniacid` int(11) DEFAULT '0',
  1603. `advname` varchar(50) DEFAULT '',
  1604. `link` varchar(255) DEFAULT '',
  1605. `thumb` varchar(255) DEFAULT '',
  1606. `displayorder` int(11) DEFAULT '0',
  1607. `enabled` int(11) DEFAULT '0',
  1608. `merchid` int(11) NOT NULL DEFAULT '0',
  1609. PRIMARY KEY (`id`),
  1610. KEY `idx_uniacid` (`uniacid`),
  1611. KEY `idx_enabled` (`enabled`),
  1612. KEY `idx_displayorder` (`displayorder`)
  1613. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1614. -- ----------------------------
  1615. -- Records of ims_ewei_shop_creditshop_adv
  1616. -- ----------------------------
  1617. -- ----------------------------
  1618. -- Table structure for `ims_ewei_shop_creditshop_category`
  1619. -- ----------------------------
  1620. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_category`;
  1621. CREATE TABLE `ims_ewei_shop_creditshop_category` (
  1622. `id` int(11) NOT NULL AUTO_INCREMENT,
  1623. `uniacid` int(11) DEFAULT '0',
  1624. `name` varchar(50) DEFAULT NULL,
  1625. `thumb` varchar(255) DEFAULT NULL,
  1626. `displayorder` tinyint(3) unsigned DEFAULT '0',
  1627. `enabled` tinyint(1) DEFAULT '1',
  1628. `advimg` varchar(255) DEFAULT '',
  1629. `advurl` varchar(500) DEFAULT '',
  1630. `isrecommand` tinyint(3) DEFAULT '0',
  1631. PRIMARY KEY (`id`),
  1632. KEY `idx_uniacid` (`uniacid`),
  1633. KEY `idx_displayorder` (`displayorder`),
  1634. KEY `idx_enabled` (`enabled`)
  1635. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1636. -- ----------------------------
  1637. -- Records of ims_ewei_shop_creditshop_category
  1638. -- ----------------------------
  1639. -- ----------------------------
  1640. -- Table structure for `ims_ewei_shop_creditshop_comment`
  1641. -- ----------------------------
  1642. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_comment`;
  1643. CREATE TABLE `ims_ewei_shop_creditshop_comment` (
  1644. `id` int(11) NOT NULL AUTO_INCREMENT,
  1645. `uniacid` int(11) NOT NULL DEFAULT '0',
  1646. `logid` int(11) NOT NULL DEFAULT '0',
  1647. `logno` varchar(50) NOT NULL DEFAULT '',
  1648. `goodsid` int(11) NOT NULL DEFAULT '0',
  1649. `openid` varchar(50) DEFAULT NULL,
  1650. `nickname` varchar(50) DEFAULT NULL,
  1651. `headimg` varchar(255) DEFAULT NULL,
  1652. `level` tinyint(3) NOT NULL DEFAULT '0',
  1653. `content` varchar(255) DEFAULT NULL,
  1654. `images` text,
  1655. `time` int(11) NOT NULL DEFAULT '0',
  1656. `reply_content` varchar(255) DEFAULT NULL,
  1657. `reply_images` text,
  1658. `reply_time` int(11) NOT NULL DEFAULT '0',
  1659. `append_content` varchar(255) DEFAULT NULL,
  1660. `append_images` text,
  1661. `append_time` int(11) NOT NULL DEFAULT '0',
  1662. `append_reply_content` varchar(255) DEFAULT NULL,
  1663. `append_reply_images` text,
  1664. `append_reply_time` int(11) NOT NULL DEFAULT '0',
  1665. `istop` tinyint(3) NOT NULL DEFAULT '0',
  1666. `checked` tinyint(3) NOT NULL DEFAULT '0',
  1667. `append_checked` tinyint(3) NOT NULL DEFAULT '0',
  1668. `virtual` tinyint(3) NOT NULL DEFAULT '0',
  1669. `deleted` tinyint(3) NOT NULL DEFAULT '0',
  1670. `merchid` int(11) NOT NULL DEFAULT '0',
  1671. PRIMARY KEY (`id`)
  1672. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1673. -- ----------------------------
  1674. -- Records of ims_ewei_shop_creditshop_comment
  1675. -- ----------------------------
  1676. -- ----------------------------
  1677. -- Table structure for `ims_ewei_shop_creditshop_goods`
  1678. -- ----------------------------
  1679. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_goods`;
  1680. CREATE TABLE `ims_ewei_shop_creditshop_goods` (
  1681. `id` int(11) NOT NULL AUTO_INCREMENT,
  1682. `uniacid` int(11) DEFAULT '0',
  1683. `displayorder` int(11) DEFAULT '0',
  1684. `title` varchar(255) DEFAULT '',
  1685. `cate` int(11) DEFAULT '0',
  1686. `thumb` varchar(255) DEFAULT '',
  1687. `price` decimal(10,2) DEFAULT '0.00',
  1688. `type` tinyint(3) DEFAULT '0',
  1689. `credit` int(11) DEFAULT '0',
  1690. `money` decimal(10,2) DEFAULT '0.00',
  1691. `total` int(11) DEFAULT '0',
  1692. `totalday` int(11) DEFAULT '0',
  1693. `chance` int(11) DEFAULT '0',
  1694. `chanceday` int(11) DEFAULT '0',
  1695. `detail` text,
  1696. `rate1` int(11) DEFAULT '0',
  1697. `rate2` int(11) DEFAULT '0',
  1698. `endtime` int(11) DEFAULT '0',
  1699. `joins` int(11) DEFAULT '0',
  1700. `views` int(11) DEFAULT '0',
  1701. `createtime` int(11) DEFAULT '0',
  1702. `status` tinyint(3) DEFAULT '0',
  1703. `deleted` tinyint(3) DEFAULT '0',
  1704. `showlevels` text,
  1705. `buylevels` text,
  1706. `showgroups` text,
  1707. `buygroups` text,
  1708. `vip` tinyint(3) DEFAULT '0',
  1709. `istop` tinyint(3) DEFAULT '0',
  1710. `isrecommand` tinyint(3) DEFAULT '0',
  1711. `istime` tinyint(3) DEFAULT '0',
  1712. `timestart` int(11) DEFAULT '0',
  1713. `timeend` int(11) DEFAULT '0',
  1714. `share_title` varchar(255) DEFAULT '',
  1715. `share_icon` varchar(255) DEFAULT '',
  1716. `share_desc` varchar(500) DEFAULT '',
  1717. `followneed` tinyint(3) DEFAULT '0',
  1718. `followtext` varchar(255) DEFAULT '',
  1719. `subtitle` varchar(255) DEFAULT '',
  1720. `subdetail` text,
  1721. `noticedetail` text,
  1722. `usedetail` varchar(255) DEFAULT '',
  1723. `goodsdetail` text,
  1724. `isendtime` tinyint(3) DEFAULT '0',
  1725. `usecredit2` tinyint(3) DEFAULT '0',
  1726. `area` varchar(255) DEFAULT '',
  1727. `dispatch` decimal(10,2) DEFAULT '0.00',
  1728. `storeids` text,
  1729. `noticeopenid` varchar(255) DEFAULT '',
  1730. `noticetype` tinyint(3) DEFAULT '0',
  1731. `isverify` tinyint(3) DEFAULT '0',
  1732. `goodstype` tinyint(3) DEFAULT '0',
  1733. `couponid` int(11) DEFAULT '0',
  1734. `goodsid` int(11) DEFAULT '0',
  1735. `merchid` int(11) NOT NULL DEFAULT '0',
  1736. `productprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  1737. `mincredit` decimal(10,2) NOT NULL DEFAULT '0.00',
  1738. `minmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  1739. `maxcredit` decimal(10,2) NOT NULL DEFAULT '0.00',
  1740. `maxmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  1741. `dispatchtype` tinyint(3) NOT NULL DEFAULT '0',
  1742. `dispatchid` int(11) NOT NULL DEFAULT '0',
  1743. `verifytype` tinyint(3) NOT NULL DEFAULT '0',
  1744. `verifynum` int(11) NOT NULL DEFAULT '0',
  1745. `grant1` decimal(10,2) NOT NULL DEFAULT '0.00',
  1746. `grant2` decimal(10,2) NOT NULL DEFAULT '0.00',
  1747. `goodssn` varchar(255) NOT NULL,
  1748. `productsn` varchar(255) NOT NULL,
  1749. `weight` int(11) NOT NULL,
  1750. `showtotal` tinyint(3) NOT NULL,
  1751. `totalcnf` tinyint(3) NOT NULL DEFAULT '0',
  1752. `usetime` int(11) NOT NULL DEFAULT '0',
  1753. `hasoption` tinyint(3) NOT NULL DEFAULT '0',
  1754. `noticedetailshow` tinyint(3) NOT NULL DEFAULT '0',
  1755. `detailshow` tinyint(3) NOT NULL DEFAULT '0',
  1756. `packetmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  1757. `surplusmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  1758. `packetlimit` decimal(10,2) NOT NULL DEFAULT '0.00',
  1759. `packettype` tinyint(3) NOT NULL DEFAULT '0',
  1760. `minpacketmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  1761. `packettotal` int(11) NOT NULL DEFAULT '0',
  1762. `packetsurplus` int(11) NOT NULL DEFAULT '0',
  1763. `maxpacketmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  1764. PRIMARY KEY (`id`),
  1765. KEY `idx_uniacid` (`uniacid`),
  1766. KEY `idx_type` (`type`),
  1767. KEY `idx_endtime` (`endtime`),
  1768. KEY `idx_createtime` (`createtime`),
  1769. KEY `idx_status` (`status`),
  1770. KEY `idx_displayorder` (`displayorder`),
  1771. KEY `idx_deleted` (`deleted`),
  1772. KEY `idx_istop` (`istop`),
  1773. KEY `idx_isrecommand` (`isrecommand`),
  1774. KEY `idx_istime` (`istime`),
  1775. KEY `idx_timestart` (`timestart`),
  1776. KEY `idx_timeend` (`timeend`),
  1777. KEY `idx_goodstype` (`goodstype`)
  1778. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1779. -- ----------------------------
  1780. -- Records of ims_ewei_shop_creditshop_goods
  1781. -- ----------------------------
  1782. -- ----------------------------
  1783. -- Table structure for `ims_ewei_shop_creditshop_log`
  1784. -- ----------------------------
  1785. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_log`;
  1786. CREATE TABLE `ims_ewei_shop_creditshop_log` (
  1787. `id` int(11) NOT NULL AUTO_INCREMENT,
  1788. `uniacid` int(11) DEFAULT '0',
  1789. `logno` varchar(255) DEFAULT '',
  1790. `eno` varchar(255) DEFAULT '',
  1791. `openid` varchar(255) DEFAULT '',
  1792. `goodsid` int(11) DEFAULT '0',
  1793. `createtime` int(11) DEFAULT '0',
  1794. `status` tinyint(3) DEFAULT '0',
  1795. `paystatus` tinyint(3) DEFAULT '0',
  1796. `paytype` tinyint(3) DEFAULT '-1',
  1797. `dispatchstatus` tinyint(3) DEFAULT '0',
  1798. `creditpay` tinyint(3) DEFAULT '0',
  1799. `addressid` int(11) DEFAULT '0',
  1800. `dispatchno` varchar(255) DEFAULT '',
  1801. `usetime` int(11) DEFAULT '0',
  1802. `express` varchar(255) DEFAULT '',
  1803. `expresssn` varchar(255) DEFAULT '',
  1804. `expresscom` varchar(255) DEFAULT '',
  1805. `verifyopenid` varchar(255) DEFAULT '',
  1806. `transid` varchar(255) DEFAULT '',
  1807. `dispatchtransid` varchar(255) DEFAULT '',
  1808. `storeid` int(11) DEFAULT '0',
  1809. `realname` varchar(255) DEFAULT '',
  1810. `mobile` varchar(255) DEFAULT '',
  1811. `couponid` int(11) DEFAULT '0',
  1812. `dupdate1` tinyint(3) DEFAULT '0',
  1813. `address` text,
  1814. `optionid` int(11) NOT NULL DEFAULT '0',
  1815. `time_send` int(11) NOT NULL DEFAULT '0',
  1816. `time_finish` int(11) NOT NULL DEFAULT '0',
  1817. `iscomment` tinyint(3) NOT NULL DEFAULT '0',
  1818. `dispatchtime` int(11) NOT NULL DEFAULT '0',
  1819. `verifynum` int(11) NOT NULL DEFAULT '1',
  1820. `verifytime` int(11) NOT NULL DEFAULT '0',
  1821. `merchid` int(11) NOT NULL DEFAULT '0',
  1822. `remarksaler` text,
  1823. `dispatch` decimal(10,2) DEFAULT '0.00',
  1824. `money` decimal(10,2) DEFAULT '0.00',
  1825. `credit` int(11) DEFAULT '0',
  1826. `goods_num` int(11) DEFAULT '0',
  1827. `merchapply` tinyint(4) NOT NULL DEFAULT '0',
  1828. PRIMARY KEY (`id`)
  1829. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1830. -- ----------------------------
  1831. -- Records of ims_ewei_shop_creditshop_log
  1832. -- ----------------------------
  1833. -- ----------------------------
  1834. -- Table structure for `ims_ewei_shop_creditshop_option`
  1835. -- ----------------------------
  1836. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_option`;
  1837. CREATE TABLE `ims_ewei_shop_creditshop_option` (
  1838. `id` int(11) NOT NULL AUTO_INCREMENT,
  1839. `uniacid` int(11) DEFAULT '0',
  1840. `goodsid` int(10) DEFAULT '0',
  1841. `title` varchar(50) DEFAULT '',
  1842. `thumb` varchar(60) DEFAULT '',
  1843. `credit` int(10) NOT NULL DEFAULT '0',
  1844. `money` decimal(10,2) DEFAULT '0.00',
  1845. `total` int(11) DEFAULT '0',
  1846. `weight` decimal(10,2) DEFAULT '0.00',
  1847. `displayorder` int(11) DEFAULT '0',
  1848. `specs` text,
  1849. `skuId` varchar(255) DEFAULT '',
  1850. `goodssn` varchar(255) DEFAULT '',
  1851. `productsn` varchar(255) DEFAULT '',
  1852. `virtual` int(11) DEFAULT '0',
  1853. `exchange_stock` int(11) NOT NULL DEFAULT '-1',
  1854. PRIMARY KEY (`id`)
  1855. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1856. -- ----------------------------
  1857. -- Records of ims_ewei_shop_creditshop_option
  1858. -- ----------------------------
  1859. -- ----------------------------
  1860. -- Table structure for `ims_ewei_shop_creditshop_spec`
  1861. -- ----------------------------
  1862. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_spec`;
  1863. CREATE TABLE `ims_ewei_shop_creditshop_spec` (
  1864. `id` int(11) NOT NULL AUTO_INCREMENT,
  1865. `uniacid` int(11) DEFAULT '0',
  1866. `goodsid` int(11) DEFAULT '0',
  1867. `title` varchar(50) DEFAULT '',
  1868. `description` varchar(1000) DEFAULT '',
  1869. `displaytype` tinyint(3) DEFAULT '0',
  1870. `content` text,
  1871. `displayorder` int(11) DEFAULT '0',
  1872. `propId` varchar(255) DEFAULT '',
  1873. PRIMARY KEY (`id`)
  1874. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1875. -- ----------------------------
  1876. -- Records of ims_ewei_shop_creditshop_spec
  1877. -- ----------------------------
  1878. -- ----------------------------
  1879. -- Table structure for `ims_ewei_shop_creditshop_spec_item`
  1880. -- ----------------------------
  1881. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_spec_item`;
  1882. CREATE TABLE `ims_ewei_shop_creditshop_spec_item` (
  1883. `id` int(11) NOT NULL AUTO_INCREMENT,
  1884. `uniacid` int(11) DEFAULT '0',
  1885. `specid` int(11) DEFAULT '0',
  1886. `title` varchar(255) DEFAULT '',
  1887. `thumb` varchar(255) DEFAULT '',
  1888. `show` int(11) DEFAULT '0',
  1889. `displayorder` int(11) DEFAULT '0',
  1890. `valueId` varchar(255) DEFAULT '',
  1891. `virtual` int(11) DEFAULT '0',
  1892. PRIMARY KEY (`id`)
  1893. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1894. -- ----------------------------
  1895. -- Records of ims_ewei_shop_creditshop_spec_item
  1896. -- ----------------------------
  1897. -- ----------------------------
  1898. -- Table structure for `ims_ewei_shop_creditshop_verify`
  1899. -- ----------------------------
  1900. DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_verify`;
  1901. CREATE TABLE `ims_ewei_shop_creditshop_verify` (
  1902. `id` int(11) NOT NULL AUTO_INCREMENT,
  1903. `uniacid` int(11) DEFAULT '0',
  1904. `openid` varchar(45) DEFAULT '0',
  1905. `logid` int(11) DEFAULT '0',
  1906. `verifycode` varchar(45) DEFAULT NULL,
  1907. `storeid` int(11) DEFAULT '0',
  1908. `verifier` varchar(45) DEFAULT '0',
  1909. `isverify` tinyint(3) DEFAULT '0',
  1910. `verifytime` int(11) DEFAULT '0',
  1911. `merchid` int(11) NOT NULL DEFAULT '0',
  1912. PRIMARY KEY (`id`)
  1913. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1914. -- ----------------------------
  1915. -- Records of ims_ewei_shop_creditshop_verify
  1916. -- ----------------------------
  1917. -- ----------------------------
  1918. -- Table structure for `ims_ewei_shop_customer`
  1919. -- ----------------------------
  1920. DROP TABLE IF EXISTS `ims_ewei_shop_customer`;
  1921. CREATE TABLE `ims_ewei_shop_customer` (
  1922. `id` int(11) NOT NULL AUTO_INCREMENT,
  1923. `uniacid` int(11) DEFAULT '0',
  1924. `kf_id` varchar(255) DEFAULT NULL,
  1925. `kf_account` varchar(255) DEFAULT '',
  1926. `kf_nick` varchar(255) DEFAULT '',
  1927. `kf_pwd` varchar(255) DEFAULT '',
  1928. `kf_headimgurl` varchar(255) DEFAULT '',
  1929. `createtime` int(11) DEFAULT '0',
  1930. PRIMARY KEY (`id`),
  1931. KEY `idx_uniacid` (`uniacid`),
  1932. KEY `idx_createtime` (`createtime`)
  1933. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1934. -- ----------------------------
  1935. -- Records of ims_ewei_shop_customer
  1936. -- ----------------------------
  1937. -- ----------------------------
  1938. -- Table structure for `ims_ewei_shop_customer_category`
  1939. -- ----------------------------
  1940. DROP TABLE IF EXISTS `ims_ewei_shop_customer_category`;
  1941. CREATE TABLE `ims_ewei_shop_customer_category` (
  1942. `id` int(11) NOT NULL AUTO_INCREMENT,
  1943. `uniacid` int(11) DEFAULT '0',
  1944. `name` varchar(50) DEFAULT NULL,
  1945. PRIMARY KEY (`id`),
  1946. KEY `idx_uniacid` (`uniacid`)
  1947. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1948. -- ----------------------------
  1949. -- Records of ims_ewei_shop_customer_category
  1950. -- ----------------------------
  1951. -- ----------------------------
  1952. -- Table structure for `ims_ewei_shop_customer_guestbook`
  1953. -- ----------------------------
  1954. DROP TABLE IF EXISTS `ims_ewei_shop_customer_guestbook`;
  1955. CREATE TABLE `ims_ewei_shop_customer_guestbook` (
  1956. `id` int(11) NOT NULL AUTO_INCREMENT,
  1957. `uniacid` int(11) DEFAULT '0',
  1958. `openid` varchar(255) DEFAULT '',
  1959. `realname` varchar(11) DEFAULT '',
  1960. `mobile` varchar(255) DEFAULT '',
  1961. `weixin` varchar(255) DEFAULT '',
  1962. `images` text,
  1963. `content` text,
  1964. `remark` text,
  1965. `status` tinyint(3) DEFAULT '0',
  1966. `createtime` int(11) DEFAULT '0',
  1967. `deleted` tinyint(3) DEFAULT '0',
  1968. PRIMARY KEY (`id`)
  1969. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1970. -- ----------------------------
  1971. -- Records of ims_ewei_shop_customer_guestbook
  1972. -- ----------------------------
  1973. -- ----------------------------
  1974. -- Table structure for `ims_ewei_shop_customer_robot`
  1975. -- ----------------------------
  1976. DROP TABLE IF EXISTS `ims_ewei_shop_customer_robot`;
  1977. CREATE TABLE `ims_ewei_shop_customer_robot` (
  1978. `id` int(11) NOT NULL AUTO_INCREMENT,
  1979. `uniacid` int(11) DEFAULT '0',
  1980. `cate` int(11) DEFAULT '0',
  1981. `keywords` varchar(500) DEFAULT '',
  1982. `title` varchar(255) DEFAULT '',
  1983. `content` longtext,
  1984. `url` varchar(255) DEFAULT '',
  1985. `createtime` int(11) DEFAULT '0',
  1986. PRIMARY KEY (`id`),
  1987. KEY `idx_uniacid` (`uniacid`),
  1988. KEY `idx_cate` (`cate`)
  1989. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  1990. -- ----------------------------
  1991. -- Records of ims_ewei_shop_customer_robot
  1992. -- ----------------------------
  1993. -- ----------------------------
  1994. -- Table structure for `ims_ewei_shop_cycelbuy_periods`
  1995. -- ----------------------------
  1996. DROP TABLE IF EXISTS `ims_ewei_shop_cycelbuy_periods`;
  1997. CREATE TABLE `ims_ewei_shop_cycelbuy_periods` (
  1998. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  1999. `uniacid` int(11) NOT NULL,
  2000. `orderid` int(11) NOT NULL,
  2001. `cycelsn` varchar(255) NOT NULL,
  2002. `sendtime` int(11) DEFAULT NULL,
  2003. `receipttime` int(11) DEFAULT NULL,
  2004. `status` tinyint(3) NOT NULL DEFAULT '0',
  2005. `remark` varchar(255) DEFAULT NULL,
  2006. `addressid` int(11) DEFAULT NULL,
  2007. `dispatchprice` decimal(10,2) DEFAULT NULL,
  2008. `dispatchid` int(11) DEFAULT NULL,
  2009. `createtime` int(11) DEFAULT NULL,
  2010. `dispatchtype` tinyint(3) DEFAULT NULL,
  2011. `finishtime` int(11) DEFAULT NULL,
  2012. `expresscom` varchar(255) DEFAULT NULL,
  2013. `expresssn` varchar(255) DEFAULT NULL,
  2014. `express` varchar(255) DEFAULT NULL,
  2015. `address` text,
  2016. `updatelog` text,
  2017. `ispostpone` tinyint(4) DEFAULT '0',
  2018. PRIMARY KEY (`id`)
  2019. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2020. -- ----------------------------
  2021. -- Records of ims_ewei_shop_cycelbuy_periods
  2022. -- ----------------------------
  2023. -- ----------------------------
  2024. -- Table structure for `ims_ewei_shop_datatransfer`
  2025. -- ----------------------------
  2026. DROP TABLE IF EXISTS `ims_ewei_shop_datatransfer`;
  2027. CREATE TABLE `ims_ewei_shop_datatransfer` (
  2028. `id` int(11) NOT NULL AUTO_INCREMENT,
  2029. `fromuniacid` int(11) DEFAULT NULL,
  2030. `touniacid` int(11) DEFAULT NULL,
  2031. `status` tinyint(1) DEFAULT NULL,
  2032. PRIMARY KEY (`id`)
  2033. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2034. -- ----------------------------
  2035. -- Records of ims_ewei_shop_datatransfer
  2036. -- ----------------------------
  2037. -- ----------------------------
  2038. -- Table structure for `ims_ewei_shop_designer`
  2039. -- ----------------------------
  2040. DROP TABLE IF EXISTS `ims_ewei_shop_designer`;
  2041. CREATE TABLE `ims_ewei_shop_designer` (
  2042. `id` int(11) NOT NULL AUTO_INCREMENT,
  2043. `uniacid` int(11) NOT NULL DEFAULT '0',
  2044. `pagename` varchar(255) NOT NULL DEFAULT '',
  2045. `pagetype` tinyint(3) NOT NULL DEFAULT '0',
  2046. `pageinfo` text NOT NULL,
  2047. `createtime` varchar(255) NOT NULL DEFAULT '',
  2048. `keyword` varchar(255) DEFAULT '',
  2049. `savetime` varchar(255) NOT NULL DEFAULT '',
  2050. `setdefault` tinyint(3) NOT NULL DEFAULT '0',
  2051. `datas` text NOT NULL,
  2052. PRIMARY KEY (`id`),
  2053. KEY `idx_uniacid` (`uniacid`),
  2054. KEY `idx_pagetype` (`pagetype`),
  2055. KEY `idx_keyword` (`keyword`)
  2056. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2057. -- ----------------------------
  2058. -- Records of ims_ewei_shop_designer
  2059. -- ----------------------------
  2060. -- ----------------------------
  2061. -- Table structure for `ims_ewei_shop_designer_menu`
  2062. -- ----------------------------
  2063. DROP TABLE IF EXISTS `ims_ewei_shop_designer_menu`;
  2064. CREATE TABLE `ims_ewei_shop_designer_menu` (
  2065. `id` int(11) NOT NULL AUTO_INCREMENT,
  2066. `uniacid` int(11) DEFAULT '0',
  2067. `menuname` varchar(255) DEFAULT '',
  2068. `isdefault` tinyint(3) DEFAULT '0',
  2069. `createtime` int(11) DEFAULT '0',
  2070. `menus` text,
  2071. `params` text,
  2072. PRIMARY KEY (`id`),
  2073. KEY `idx_uniacid` (`uniacid`),
  2074. KEY `idx_isdefault` (`isdefault`),
  2075. KEY `idx_createtime` (`createtime`)
  2076. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2077. -- ----------------------------
  2078. -- Records of ims_ewei_shop_designer_menu
  2079. -- ----------------------------
  2080. -- ----------------------------
  2081. -- Table structure for `ims_ewei_shop_dispatch`
  2082. -- ----------------------------
  2083. DROP TABLE IF EXISTS `ims_ewei_shop_dispatch`;
  2084. CREATE TABLE `ims_ewei_shop_dispatch` (
  2085. `id` int(11) NOT NULL AUTO_INCREMENT,
  2086. `uniacid` int(11) DEFAULT '0',
  2087. `dispatchname` varchar(50) DEFAULT '',
  2088. `dispatchtype` int(11) DEFAULT '0',
  2089. `displayorder` int(11) DEFAULT '0',
  2090. `firstprice` decimal(10,2) DEFAULT '0.00',
  2091. `secondprice` decimal(10,2) DEFAULT '0.00',
  2092. `firstweight` int(11) DEFAULT '0',
  2093. `secondweight` int(11) DEFAULT '0',
  2094. `express` varchar(250) DEFAULT '',
  2095. `areas` longtext,
  2096. `carriers` text,
  2097. `enabled` int(11) DEFAULT '0',
  2098. `calculatetype` tinyint(1) DEFAULT '0',
  2099. `firstnum` int(11) DEFAULT '0',
  2100. `secondnum` int(11) DEFAULT '0',
  2101. `firstnumprice` decimal(10,2) DEFAULT '0.00',
  2102. `secondnumprice` decimal(10,2) DEFAULT '0.00',
  2103. `isdefault` tinyint(1) DEFAULT '0',
  2104. `shopid` int(11) DEFAULT '0',
  2105. `merchid` int(11) DEFAULT '0',
  2106. `nodispatchareas` text,
  2107. `nodispatchareas_code` longtext,
  2108. `isdispatcharea` tinyint(3) NOT NULL DEFAULT '0',
  2109. `freeprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  2110. PRIMARY KEY (`id`),
  2111. KEY `idx_uniacid` (`uniacid`),
  2112. KEY `idx_displayorder` (`displayorder`)
  2113. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2114. -- ----------------------------
  2115. -- Records of ims_ewei_shop_dispatch
  2116. -- ----------------------------
  2117. -- ----------------------------
  2118. -- Table structure for `ims_ewei_shop_dividend_apply`
  2119. -- ----------------------------
  2120. DROP TABLE IF EXISTS `ims_ewei_shop_dividend_apply`;
  2121. CREATE TABLE `ims_ewei_shop_dividend_apply` (
  2122. `id` int(11) NOT NULL AUTO_INCREMENT,
  2123. `uniacid` int(11) DEFAULT '0',
  2124. `applyno` varchar(255) DEFAULT '',
  2125. `mid` int(11) DEFAULT '0',
  2126. `type` tinyint(3) DEFAULT '0',
  2127. `orderids` longtext,
  2128. `dividend` decimal(10,2) DEFAULT '0.00',
  2129. `dividend_pay` decimal(10,2) DEFAULT '0.00',
  2130. `content` text,
  2131. `status` tinyint(3) DEFAULT '0',
  2132. `applytime` int(11) DEFAULT '0',
  2133. `checktime` int(11) DEFAULT '0',
  2134. `paytime` int(11) DEFAULT '0',
  2135. `invalidtime` int(11) DEFAULT '0',
  2136. `realmoney` decimal(10,2) DEFAULT '0.00',
  2137. `charge` decimal(10,2) DEFAULT '0.00',
  2138. `deductionmoney` decimal(10,2) DEFAULT '0.00',
  2139. `beginmoney` decimal(10,2) DEFAULT '0.00',
  2140. `endmoney` decimal(10,2) DEFAULT '0.00',
  2141. `alipay` varchar(50) NOT NULL DEFAULT '',
  2142. `bankname` varchar(50) NOT NULL DEFAULT '',
  2143. `bankcard` varchar(50) NOT NULL DEFAULT '',
  2144. `alipay1` varchar(50) NOT NULL DEFAULT '',
  2145. `bankname1` varchar(50) NOT NULL DEFAULT '',
  2146. `bankcard1` varchar(50) NOT NULL DEFAULT '',
  2147. `realname` varchar(50) NOT NULL DEFAULT '',
  2148. `sendmoney` decimal(10,2) DEFAULT '0.00',
  2149. `senddata` text,
  2150. PRIMARY KEY (`id`),
  2151. KEY `idx_uniacid` (`uniacid`),
  2152. KEY `idx_mid` (`mid`),
  2153. KEY `idx_checktime` (`checktime`),
  2154. KEY `idx_paytime` (`paytime`),
  2155. KEY `idx_applytime` (`applytime`),
  2156. KEY `idx_status` (`status`),
  2157. KEY `idx_invalidtime` (`invalidtime`)
  2158. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2159. -- ----------------------------
  2160. -- Records of ims_ewei_shop_dividend_apply
  2161. -- ----------------------------
  2162. -- ----------------------------
  2163. -- Table structure for `ims_ewei_shop_dividend_bank`
  2164. -- ----------------------------
  2165. DROP TABLE IF EXISTS `ims_ewei_shop_dividend_bank`;
  2166. CREATE TABLE `ims_ewei_shop_dividend_bank` (
  2167. `id` int(11) NOT NULL AUTO_INCREMENT,
  2168. `uniacid` int(11) NOT NULL DEFAULT '0',
  2169. `bankname` varchar(255) NOT NULL DEFAULT '',
  2170. `content` varchar(255) NOT NULL DEFAULT '',
  2171. `status` tinyint(1) NOT NULL DEFAULT '0',
  2172. `displayorder` int(11) NOT NULL DEFAULT '0',
  2173. PRIMARY KEY (`id`),
  2174. KEY `idx_uniacid` (`uniacid`)
  2175. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2176. -- ----------------------------
  2177. -- Records of ims_ewei_shop_dividend_bank
  2178. -- ----------------------------
  2179. -- ----------------------------
  2180. -- Table structure for `ims_ewei_shop_dividend_init`
  2181. -- ----------------------------
  2182. DROP TABLE IF EXISTS `ims_ewei_shop_dividend_init`;
  2183. CREATE TABLE `ims_ewei_shop_dividend_init` (
  2184. `id` int(11) NOT NULL AUTO_INCREMENT,
  2185. `uniacid` int(11) NOT NULL DEFAULT '0',
  2186. `headsid` int(11) NOT NULL DEFAULT '0',
  2187. `status` tinyint(1) NOT NULL DEFAULT '0',
  2188. PRIMARY KEY (`id`),
  2189. KEY `idx_uniacid` (`uniacid`)
  2190. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2191. -- ----------------------------
  2192. -- Records of ims_ewei_shop_dividend_init
  2193. -- ----------------------------
  2194. -- ----------------------------
  2195. -- Table structure for `ims_ewei_shop_dividend_log`
  2196. -- ----------------------------
  2197. DROP TABLE IF EXISTS `ims_ewei_shop_dividend_log`;
  2198. CREATE TABLE `ims_ewei_shop_dividend_log` (
  2199. `id` int(11) NOT NULL AUTO_INCREMENT,
  2200. `uniacid` int(11) DEFAULT '0',
  2201. `applyid` int(11) DEFAULT '0',
  2202. `mid` int(11) DEFAULT '0',
  2203. `dividend` decimal(10,2) DEFAULT '0.00',
  2204. `createtime` int(11) DEFAULT '0',
  2205. `dividend_pay` decimal(10,2) DEFAULT '0.00',
  2206. `realmoney` decimal(10,2) DEFAULT '0.00',
  2207. `charge` decimal(10,2) DEFAULT '0.00',
  2208. `deductionmoney` decimal(10,2) DEFAULT '0.00',
  2209. `type` tinyint(3) DEFAULT '0',
  2210. `type1` tinyint(3) NOT NULL DEFAULT '0',
  2211. PRIMARY KEY (`id`),
  2212. KEY `idx_uniacid` (`uniacid`),
  2213. KEY `idx_applyid` (`applyid`),
  2214. KEY `idx_mid` (`mid`),
  2215. KEY `idx_createtime` (`createtime`)
  2216. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2217. -- ----------------------------
  2218. -- Records of ims_ewei_shop_dividend_log
  2219. -- ----------------------------
  2220. -- ----------------------------
  2221. -- Table structure for `ims_ewei_shop_diyform_category`
  2222. -- ----------------------------
  2223. DROP TABLE IF EXISTS `ims_ewei_shop_diyform_category`;
  2224. CREATE TABLE `ims_ewei_shop_diyform_category` (
  2225. `id` int(11) NOT NULL AUTO_INCREMENT,
  2226. `uniacid` int(11) DEFAULT '0',
  2227. `name` varchar(50) DEFAULT NULL,
  2228. PRIMARY KEY (`id`),
  2229. KEY `idx_uniacid` (`uniacid`)
  2230. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2231. -- ----------------------------
  2232. -- Records of ims_ewei_shop_diyform_category
  2233. -- ----------------------------
  2234. -- ----------------------------
  2235. -- Table structure for `ims_ewei_shop_diyform_data`
  2236. -- ----------------------------
  2237. DROP TABLE IF EXISTS `ims_ewei_shop_diyform_data`;
  2238. CREATE TABLE `ims_ewei_shop_diyform_data` (
  2239. `id` int(11) NOT NULL AUTO_INCREMENT,
  2240. `uniacid` int(11) NOT NULL DEFAULT '0',
  2241. `typeid` int(11) NOT NULL DEFAULT '0',
  2242. `cid` int(11) DEFAULT '0',
  2243. `diyformfields` text,
  2244. `fields` text NOT NULL,
  2245. `openid` varchar(255) NOT NULL DEFAULT '',
  2246. `type` tinyint(2) DEFAULT '0',
  2247. PRIMARY KEY (`id`),
  2248. KEY `idx_uniacid` (`uniacid`),
  2249. KEY `idx_typeid` (`typeid`),
  2250. KEY `idx_cid` (`cid`)
  2251. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2252. -- ----------------------------
  2253. -- Records of ims_ewei_shop_diyform_data
  2254. -- ----------------------------
  2255. -- ----------------------------
  2256. -- Table structure for `ims_ewei_shop_diyform_temp`
  2257. -- ----------------------------
  2258. DROP TABLE IF EXISTS `ims_ewei_shop_diyform_temp`;
  2259. CREATE TABLE `ims_ewei_shop_diyform_temp` (
  2260. `id` int(11) NOT NULL AUTO_INCREMENT,
  2261. `uniacid` int(11) NOT NULL DEFAULT '0',
  2262. `typeid` int(11) DEFAULT '0',
  2263. `cid` int(11) NOT NULL DEFAULT '0',
  2264. `diyformfields` text,
  2265. `fields` text NOT NULL,
  2266. `openid` varchar(255) NOT NULL DEFAULT '',
  2267. `type` tinyint(1) DEFAULT '0',
  2268. `diyformid` int(11) DEFAULT '0',
  2269. `diyformdata` text,
  2270. `carrier_realname` varchar(255) DEFAULT '',
  2271. `carrier_mobile` varchar(255) DEFAULT '',
  2272. PRIMARY KEY (`id`),
  2273. KEY `idx_uniacid` (`uniacid`),
  2274. KEY `idx_cid` (`cid`)
  2275. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2276. -- ----------------------------
  2277. -- Records of ims_ewei_shop_diyform_temp
  2278. -- ----------------------------
  2279. -- ----------------------------
  2280. -- Table structure for `ims_ewei_shop_diyform_type`
  2281. -- ----------------------------
  2282. DROP TABLE IF EXISTS `ims_ewei_shop_diyform_type`;
  2283. CREATE TABLE `ims_ewei_shop_diyform_type` (
  2284. `id` int(11) NOT NULL AUTO_INCREMENT,
  2285. `uniacid` int(11) NOT NULL DEFAULT '0',
  2286. `cate` int(11) DEFAULT '0',
  2287. `title` varchar(255) NOT NULL DEFAULT '',
  2288. `fields` text NOT NULL,
  2289. `usedata` int(11) NOT NULL DEFAULT '0',
  2290. `alldata` int(11) NOT NULL DEFAULT '0',
  2291. `status` tinyint(1) DEFAULT '1',
  2292. `savedata` tinyint(1) NOT NULL DEFAULT '0',
  2293. PRIMARY KEY (`id`),
  2294. KEY `idx_uniacid` (`uniacid`),
  2295. KEY `idx_cate` (`cate`)
  2296. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2297. -- ----------------------------
  2298. -- Records of ims_ewei_shop_diyform_type
  2299. -- ----------------------------
  2300. -- ----------------------------
  2301. -- Table structure for `ims_ewei_shop_diypage`
  2302. -- ----------------------------
  2303. DROP TABLE IF EXISTS `ims_ewei_shop_diypage`;
  2304. CREATE TABLE `ims_ewei_shop_diypage` (
  2305. `id` int(11) NOT NULL AUTO_INCREMENT,
  2306. `uniacid` int(11) NOT NULL DEFAULT '0',
  2307. `type` tinyint(1) NOT NULL DEFAULT '0',
  2308. `name` varchar(255) NOT NULL DEFAULT '',
  2309. `data` longtext NOT NULL,
  2310. `createtime` int(11) NOT NULL DEFAULT '0',
  2311. `lastedittime` int(11) NOT NULL DEFAULT '0',
  2312. `keyword` varchar(255) NOT NULL DEFAULT '',
  2313. `diymenu` int(11) NOT NULL DEFAULT '0',
  2314. `merch` int(11) NOT NULL DEFAULT '0',
  2315. `diyadv` int(11) NOT NULL DEFAULT '0',
  2316. PRIMARY KEY (`id`),
  2317. KEY `idx_uniacid` (`uniacid`),
  2318. KEY `idx_type` (`type`),
  2319. KEY `idx_keyword` (`keyword`),
  2320. KEY `idx_lastedittime` (`lastedittime`),
  2321. KEY `idx_createtime` (`createtime`)
  2322. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2323. -- ----------------------------
  2324. -- Records of ims_ewei_shop_diypage
  2325. -- ----------------------------
  2326. -- ----------------------------
  2327. -- Table structure for `ims_ewei_shop_diypage_menu`
  2328. -- ----------------------------
  2329. DROP TABLE IF EXISTS `ims_ewei_shop_diypage_menu`;
  2330. CREATE TABLE `ims_ewei_shop_diypage_menu` (
  2331. `id` int(11) NOT NULL AUTO_INCREMENT,
  2332. `uniacid` int(11) NOT NULL DEFAULT '0',
  2333. `name` varchar(255) NOT NULL DEFAULT '',
  2334. `data` text NOT NULL,
  2335. `createtime` int(11) NOT NULL DEFAULT '0',
  2336. `lastedittime` int(11) NOT NULL DEFAULT '0',
  2337. `merch` int(11) NOT NULL DEFAULT '0',
  2338. PRIMARY KEY (`id`),
  2339. KEY `idx_uniacid` (`uniacid`),
  2340. KEY `idx_createtime` (`createtime`),
  2341. KEY `idx_lastedittime` (`lastedittime`)
  2342. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2343. -- ----------------------------
  2344. -- Records of ims_ewei_shop_diypage_menu
  2345. -- ----------------------------
  2346. -- ----------------------------
  2347. -- Table structure for `ims_ewei_shop_diypage_plu`
  2348. -- ----------------------------
  2349. DROP TABLE IF EXISTS `ims_ewei_shop_diypage_plu`;
  2350. CREATE TABLE `ims_ewei_shop_diypage_plu` (
  2351. `id` int(11) NOT NULL AUTO_INCREMENT,
  2352. `uniacid` int(11) NOT NULL DEFAULT '0',
  2353. `type` int(11) NOT NULL DEFAULT '0',
  2354. `status` tinyint(3) NOT NULL DEFAULT '0',
  2355. `name` varchar(255) NOT NULL DEFAULT '',
  2356. `data` text NOT NULL,
  2357. `createtime` int(11) NOT NULL DEFAULT '0',
  2358. `lastedittime` int(11) NOT NULL DEFAULT '0',
  2359. `merch` int(11) NOT NULL DEFAULT '0',
  2360. PRIMARY KEY (`id`),
  2361. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  2362. KEY `idx_createtime` (`createtime`) USING BTREE,
  2363. KEY `idx_lastedittime` (`lastedittime`) USING BTREE
  2364. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2365. -- ----------------------------
  2366. -- Records of ims_ewei_shop_diypage_plu
  2367. -- ----------------------------
  2368. -- ----------------------------
  2369. -- Table structure for `ims_ewei_shop_diypage_template`
  2370. -- ----------------------------
  2371. DROP TABLE IF EXISTS `ims_ewei_shop_diypage_template`;
  2372. CREATE TABLE `ims_ewei_shop_diypage_template` (
  2373. `id` int(11) NOT NULL AUTO_INCREMENT,
  2374. `uniacid` int(11) NOT NULL DEFAULT '0',
  2375. `type` tinyint(3) NOT NULL DEFAULT '0',
  2376. `name` varchar(255) NOT NULL DEFAULT '',
  2377. `data` longtext NOT NULL,
  2378. `preview` varchar(255) NOT NULL DEFAULT '',
  2379. `tplid` int(11) DEFAULT '0',
  2380. `cate` int(11) DEFAULT '0',
  2381. `deleted` tinyint(3) DEFAULT '0',
  2382. `merch` int(11) NOT NULL DEFAULT '0',
  2383. PRIMARY KEY (`id`),
  2384. KEY `idx_uniacid` (`uniacid`),
  2385. KEY `idx_type` (`type`),
  2386. KEY `idx_cate` (`cate`)
  2387. ) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2388. -- ----------------------------
  2389. -- Records of ims_ewei_shop_diypage_template
  2390. -- ----------------------------
  2391. INSERT INTO `ims_ewei_shop_diypage_template` VALUES ('1', '0', '2', '系统模板01', 'eyJwYWdlIjp7InR5cGUiOiIyIiwidGl0bGUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwMSIsIm5hbWUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwMSIsImRlc2MiOiIiLCJpY29uIjoiIiwia2V5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vYWRkb25zXC9ld2VpX3Nob3B2MlwvcGx1Z2luXC9kaXlwYWdlXC9zdGF0aWNcL2ltYWdlc1wvZGVmYXVsdFwvZ29vZHMtMS5qcGciLCJwcmljZSI6IjIwLjAwIiwidGl0bGUiOiJcdThmZDlcdTkxY2NcdTY2MmZcdTU1NDZcdTU0YzFcdTY4MDdcdTk4OTgiLCJnaWQiOiIifSwiQzE0NjU4MTMzNzY4OTMiOnsidGh1bWIiOiIuLlwvYWRkb25zXC9ld2VpX3Nob3B2MlwvcGx1Z2luXC9kaXlwYWdlXC9zdGF0aWNcL2ltYWdlc1wvZGVmYXVsdFwvZ29vZHMtMi5qcGciLCJwcmljZSI6IjIwLjAwIiwidGl0bGUiOiJcdThmZDlcdTkxY2NcdTY2MmZcdTU1NDZcdTU0YzFcdTY4MDdcdTk4OTgiLCJnaWQiOiIifSwiQzE0NjU4MTMzNzY4OTQiOnsidGh1bWIiOiIuLlwvYWRkb25zXC9ld2VpX3Nob3B2MlwvcGx1Z2luXC9kaXlwYWdlXC9zdGF0aWNcL2ltYWdlc1wvZGVmYXVsdFwvZ29vZHMtMy5qcGciLCJwcmljZSI6IjIwLjAwIiwidGl0bGUiOiJcdThmZDlcdTkxY2NcdTY2MmZcdTU1NDZcdTU0YzFcdTY4MDdcdTk4OTgiLCJnaWQiOiIifSwiQzE0NjU4MTMzNzY4OTUiOnsidGh1bWIiOiIuLlwvYWRkb25zXC9ld2VpX3Nob3B2MlwvcGx1Z2luXC9kaXlwYWdlXC9zdGF0aWNcL2ltYWdlc1wvZGVmYXVsdFwvZ29vZHMtNC5qcGciLCJwcmljZSI6IjIwLjAwIiwidGl0bGUiOiJcdThmZDlcdTkxY2NcdTY2MmZcdTU1NDZcdTU0YzFcdTY4MDdcdTk4OTgiLCJnaWQiOiIifX0sImlkIjoiZ29vZHMifX19', '../addons/ewei_shopv2/plugin/diypage/static/template/default1/preview.jpg', '1', '0', '0', '0');
  2392. INSERT INTO `ims_ewei_shop_diypage_template` VALU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dGxlIjoiXHU4ZmQ5XHU5MWNjXHU2NjJmXHU1NTQ2XHU1NGMxXHU2ODA3XHU5ODk4IiwiZ2lkIjoiIn0sIkMxNDY1ODg5MzczNTY5Ijp7InRodW1iIjoiLi5cL2FkZG9uc1wvZXdlaV9zaG9wdjJcL3BsdWdpblwvZGl5cGFnZVwvc3RhdGljXC9pbWFnZXNcL2RlZmF1bHRcL2dvb2RzLTMuanBnIiwicHJpY2UiOiIyMC4wMCIsInRpdGxlIjoiXHU4ZmQ5XHU5MWNjXHU2NjJmXHU1NTQ2XHU1NGMxXHU2ODA3XHU5ODk4IiwiZ2lkIjoiIn0sIkMxNDY1ODg5MzczNTcwIjp7InRodW1iIjoiLi5cL2FkZG9uc1wvZXdlaV9zaG9wdjJcL3BsdWdpblwvZGl5cGFnZVwvc3RhdGljXC9pbWFnZXNcL2RlZmF1bHRcL2dvb2RzLTQuanBnIiwicHJpY2UiOiIyMC4wMCIsInRpdGxlIjoiXHU4ZmQ5XHU5MWNjXHU2NjJmXHU1NTQ2XHU1NGMxXHU2ODA3XHU5ODk4IiwiZ2lkIjoiIn19LCJpZCI6Imdvb2RzIn0sIk0xNDY1ODg5Mzc3NDIzIjp7InBhcmFtcyI6eyJjb250ZW50IjoiUEhBZ2MzUjViR1U5SW5SbGVIUXRZV3hwWjI0NklHTmxiblJsY2pzaVB1V2J2dWVKaCthZHBlYTZrT1M2anVlOWtlZTduTys4ak9lSmlPYWRnK1c5a3VXT24rUzluT2lBaGVhSmdPYWNpVHd2Y0Q0PSJ9LCJzdHlsZSI6eyJiYWNrZ3JvdW5kIjoiI2ZmZmZmZiIsInBhZGRpbmciOiIyMCJ9LCJpZCI6InJpY2h0ZXh0In19fQ==', '../addons/ewei_shopv2/plugin/diypage/static/template/default2/preview.jpg', '2', '0', '0', '0');
  2393. INSERT INTO `ims_ewei_shop_diypage_template` VALUES ('3', '0', '2', '系统模板03', 'eyJwYWdlIjp7InR5cGUiOiIyIiwidGl0bGUiOiJcdTMwM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luXC9kaXlwYWdlXC9zdGF0aWNcL2ltYWdlc1wvZGVmYXVsdFwvZ29vZHMtNC5qcGciLCJwcmljZSI6IjIwLjAwIiwidGl0bGUiOiJcdThmZDlcdTkxY2NcdTY2MmZcdTU1NDZcdTU0YzFcdTY4MDdcdTk4OTgiLCJnaWQiOiIifX0sImlkIjoiZ29vZHMifSwiTTE0NjU4MTAwNTk2OTQiOnsicGFyYW1zIjp7ImNvbnRlbnQiOiJQSEFnYzNSNWJHVTlJblJsZUhRdFlXeHBaMjQ2SUdObGJuUmxjanNpUGp4aWNpOCtQQzl3UGp4d0lITjBlV3hsUFNKMFpYaDBMV0ZzYVdkdU9pQmpaVzUwWlhJN0lqN25pWWptbllQbWlZRG1uSWtvWXlsWVdPV1ZodVdmamp3dmNENDhjRDRtYm1KemNEczhZbkl2UGp3dmNEND0ifSwic3R5bGUiOnsiYmFja2dyb3VuZCI6IiNmZmZmZmYifSwiaWQiOiJyaWNodGV4dCJ9fX0=', '../addons/ewei_shopv2/plugin/diypage/static/template/default3/preview.jpg', '3', '0', '0', '0');
  2394. INSERT INTO `ims_ewei_shop_diypage_template` VALUES ('4', '0', '1', '系统模板04', 'eyJwYWdlIjp7InR5cGUiOiIxIiwidGl0bGUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwNCIsIm5hbWUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwNCIsImRlc2MiOiIiLCJpY29uIjoiIiwia2V5d29yZCI6IiIsImJhY2tncm91bmQiOiIjZmFmYWZhIiwiZGl5bWVudSI6Ii0xIn0sIml0ZW1zIjp7Ik0xNDY1ODEwMzUyODk0Ijp7ImRhdGEiOnsiQzE0NjU4MTAzNTI4OTQiOnsiaW1ndXJsIjoiLi5cL2FkZG9uc1wvZXdlaV9zaG9wdjJcL3BsdWdpblwvZGl5cGFnZVwvc3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zdHlsZSI6eyJiYWNrZ3JvdW5kIjoiI2ZmZmZmZiIsInBhZGRpbmciOiIyMCJ9LCJpZCI6InJpY2h0ZXh0In19fQ==', '../addons/ewei_shopv2/plugin/diypage/static/template/default4/preview.jpg', '4', '0', '0', '0');
  2395. INSERT INTO `ims_ewei_shop_diypage_template` VALUES ('5', '0', '2', '系统模板05', 'eyJwYWdlIjp7InR5cGUiOiIyIiwidGl0bGUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwNSIsIm5hbWUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwNSIsImRlc2MiOiIiLCJpY29uIjoiIiwia2V5d29yZCI6InQ1IiwiYmFja2dyb3VuZCI6IiNmYWZhZmEiLCJkaXltZW51IjoiLTEifSwiaXRlbXMiOnsiTTE0NjU4MTA3NTE4MDciOnsic3R5bGUiOnsiZG90c3R5bGUiOiJyb3VuZCIsImRvdGFsaWduIjoibGVmdCIsImJhY2tncm91bmQiOiIjZmZmZmZmIiwibGVmdHJpZ2h0IjoiMTAiLCJib3R0b20iOiIxMCIsIm9wYWNpdHkiOiIwLjcifSwiZGF0YSI6eyJDMTQ2NTgxMDc1MTgwNyI6eyJpbWd1cmwiOiIuLlwvYWRkb25zXC9ld2VpX3Nob3B2MlwvcGx1Z2luXC9kaXlwYWdlXC9zdGF0aWNcL3RlbXBsYXRlXC9kZWZhdWx0NVwvYmFubmVyXzEuanBnIiwibGlua3VybCI6IiJ9LCJDMTQ2NTgxMDc1MTgwOCI6eyJpbWd1cmwiOiIuLlwvYWRkb25zXC9ld2VpX3Nob3B2MlwvcGx1Z2luXC9kaXlwYWdlXC9zdGF0aWNcL3RlbXBsYXRlXC9kZWZhdWx0NVwvYmFubmVyXzIuanBnIiwibGlua3VybCI6IiJ9LCJNMTQ2NTgxMDc2NjQ4NiI6eyJpbWd1cmwiO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IsInByaWNlIjoiMjAuMDAiLCJ0aXRsZSI6Ilx1OGZkOVx1OTFjY1x1NjYyZlx1NTU0Nlx1NTRjMVx1NjgwN1x1OTg5OCIsImdpZCI6IiJ9fSwiaWQiOiJnb29kcyJ9LCJNMTQ2NTgxMjQ2Njg5MyI6eyJwYXJhbXMiOnsiY29udGVudCI6IlBIQWdjM1I1YkdVOUluUmxlSFF0WVd4cFoyNDZJR05sYm5SbGNqc2lQanhpY2k4K1BDOXdQanh3SUhOMGVXeGxQU0owWlhoMExXRnNhV2R1T2lCalpXNTBaWEk3SWo3a3U2WGt1SXJsbTc3bmlZZmxuWWZtbmFYbXVwRGt1bzdudlpIbnU1enZ2SXpuaVlqbW5ZUGx2WkxsanBcL2t2WnpvZ0lYbWlZRG1uSW5qZ0lJOEwzQStQSEErUEdKeUx6NDhMM0ErIn0sInN0eWxlIjp7ImJhY2tncm91bmQiOiIjZmZmZmZmIn0sImlkIjoicmljaHRleHQifX19', '../addons/ewei_shopv2/plugin/diypage/static/template/default5/preview.jpg', '5', '0', '0', '0');
  2396. INSERT INTO `ims_ewei_shop_diypage_template` VALUES ('6', '0', '1', '系统模板06', 'eyJwYWdlIjp7InR5cGUiOiIxIiwidGl0bGUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwNiIsIm5hbWUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwNiIsImRlc2MiOiIiLCJpY29uIjoiIiwia2V5d29yZCI6IiIsImJhY2tncm91bmQiOiIjZmFmYWZhIiwiZGl5bWVudSI6Ii0xIn0sIml0ZW1zIjp7Ik0xNDY1ODEyNjAyOTMzIjp7ImRhdGEiOnsiQzE0NjU4MTI2MDI5MzMiOnsiaW1ndXJsIjoiLi5cL2FkZG9uc1wvZXdlaV9zaG9wdjJcL3BsdWdpblwvZGl5cGFnZVwvc3RhdGljXC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udCI6IlBIQWdjM1I1YkdVOUluUmxlSFF0WVd4cFoyNDZJR05sYm5SbGNqc2lQdVdidnVlSmgrYWRwZWE2a09TNmp1ZTlrZWU3bk8rOGpPZUppT2FkZytXOWt1V09uK1M5bk9pQWhlYUpnT2FjaVR3dmNEND0ifSwic3R5bGUiOnsiYmFja2dyb3VuZCI6IiNmZmZmZmYiLCJwYWRkaW5nIjoiMjAifSwiaWQiOiJyaWNodGV4dCJ9fX0=', '../addons/ewei_shopv2/plugin/diypage/static/template/default6/preview.jpg', '6', '0', '0', '0');
  2397. INSERT INTO `ims_ewei_shop_diypage_template` VALUES ('7', '0', '2', '系统模板07', 'eyJwYWdlIjp7InR5cGUiOiIyIiwidGl0bGUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwNyIsIm5hbWUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwNyIsImRlc2MiOiIiLCJpY29uIjoiIiwia2V5d29yZCI6IiIsImJhY2tncm91bmQiOiIjZmFmYWZhIiwiZGl5bWVudSI6Ii0xIn0sIml0ZW1zIjp7Ik0xNDY1ODEyNjkxMzg5Ijp7ImRhdGEiOnsiQzE0NjU4MTI2OTEzODkiOnsiaW1ndXJsIjoiLi5cL2FkZG9uc1wvZXdlaV9zaG9wdjJcL3BsdWdpblwvZGl5cGFnZVwvc3RhdGljXC90ZW1wbGF0ZVwvZGVmYXVsdDdcL3BpY3R1cmVfMS5qcGciLCJsaW5rdXJsIjoiIn19LCJpZCI6InBpY3R1cmUiLCJzdHlsZSI6eyJiYWNrZ3JvdW5kIjoiI2ZmZmZmZiIsInBhZGRpbmd0b3AiOiIwIiwicGFkZGluZ2xlZnQiOiIwIn19LCJNMTQ2NTgxMjcyODgyMSI6eyJwYXJhbXMiOnsicGxhY2Vob2xkZXIiOiJcdThiZjdcdThmOTNcdTUxNjVcdTU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VzXC9kZWZhdWx0XC9nb29kcy00LmpwZyIsInByaWNlIjoiMjAuMDAiLCJ0aXRsZSI6Ilx1OGZkOVx1OTFjY1x1NjYyZlx1NTU0Nlx1NTRjMVx1NjgwN1x1OTg5OCIsImdpZCI6IiJ9fSwiaWQiOiJnb29kcyJ9LCJNMTQ2NTg4ODU1MjYwNiI6eyJwYXJhbXMiOnsiY29udGVudCI6IlBIQWdjM1I1YkdVOUluUmxlSFF0WVd4cFoyNDZJR05sYm5SbGNqc2lQdVdidnVlSmgrYWRwZWE2a09TNmp1ZTlrZWU3bk8rOGpPZUppT2FkZytXOWt1V09uK1M5bk9pQWhlYUpnT2FjaVR3dmNEND0ifSwic3R5bGUiOnsiYmFja2dyb3VuZCI6IiNmZmZmZmYiLCJwYWRkaW5nIjoiMjAifSwiaWQiOiJyaWNodGV4dCJ9fX0=', '../addons/ewei_shopv2/plugin/diypage/static/template/default7/preview.jpg', '7', '0', '0', '0');
  2398. INSERT INTO `ims_ewei_shop_diypage_template` VALUES ('8', '0', '2', '系统模板08', 'eyJwYWdlIjp7InR5cGUiOiIyIiwidGl0bGUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwOCIsIm5hbWUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwOCIsImRlc2MiOiIiLCJpY29uIjoiIiwia2V5d29yZCI6IiIsImJhY2tncm91bmQiOiIjZmFmYWZhIiwiZGl5bWVudSI6Ii0xIn0sIml0ZW1zIjp7Ik0xNDY1ODEyOTk3MDQ1Ijp7ImRhdGEiOnsiQzE0NjU4MTI5OTcwNDUiOnsiaW1ndXJsIjoiLi5cL2FkZG9uc1wvZXdlaV9zaG9wdjJcL3BsdWdpblwvZGl5cGFnZVwvc3RhdGljXC90ZW1wbGF0ZVwvZGVmYXVsdDhcL3BpY3R1cmVfMS5qcGciLCJsaW5r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joiIn0sIkMxNDY1ODEzMTMxMzgyIjp7InRodW1iIjoiLi5cL2FkZG9uc1wvZXdlaV9zaG9wdjJcL3BsdWdpblwvZGl5cGFnZVwvc3RhdGljXC9pbWFnZXNcL2RlZmF1bHRcL2dvb2RzLTMuanBnIiwicHJpY2UiOiIyMC4wMCIsInRpdGxlIjoiXHU4ZmQ5XHU5MWNjXHU2NjJmXHU1NTQ2XHU1NGMxXHU2ODA3XHU5ODk4IiwiZ2lkIjoiIn0sIkMxNDY1ODEzMTMxMzgzIjp7InRodW1iIjoiLi5cL2FkZG9uc1wvZXdlaV9zaG9wdjJcL3BsdWdpblwvZGl5cGFnZVwvc3RhdGljXC9pbWFnZXNcL2RlZmF1bHRcL2dvb2RzLTQuanBnIiwicHJpY2UiOiIyMC4wMCIsInRpdGxlIjoiXHU4ZmQ5XHU5MWNjXHU2NjJmXHU1NTQ2XHU1NGMxXHU2ODA3XHU5ODk4IiwiZ2lkIjoiIn19LCJpZCI6Imdvb2RzIn0sIk0xNDY1ODg4ODMxMjc4Ijp7InBhcmFtcyI6eyJjb250ZW50IjoiUEhBZ2MzUjViR1U5SW5SbGVIUXRZV3hwWjI0NklHTmxiblJsY2pzaVB1V2J2dWVKaCthZHBlYTZrT1M2anVlOWtlZTduTys4ak9lSmlPYWRnK1c5a3VXT24rUzluT2lBaGVhSmdPYWNpVHd2Y0Q0PSJ9LCJzdHlsZSI6eyJiYWNrZ3JvdW5kIjoiI2ZmZmZmZiIsInBhZGRpbmciOiIyMCJ9LCJpZCI6InJpY2h0ZXh0In19fQ==', '../addons/ewei_shopv2/plugin/diypage/static/template/default8/preview.jpg', '8', '0', '0', '0');
  2399. INSERT INTO `ims_ewei_shop_diypage_template` VALUES ('9', '0', '3', '会员中心01', 'eyJwYWdlIjp7InR5cGUiOiIzIiwidGl0bGUiOiJcdTRmMWFcdTU0NThcdTRlMmRcdTVmYzMiLCJuYW1lIjoiXHU0ZjFhXHU1NDU4XHU0ZTJkXHU1ZmMzIiw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In0sInN0eWxlIjp7ImJhY2tncm91bmQiOiIjZmZmZmZmIiwicGFkZGluZyI6IjIwIn0sImlkIjoicmljaHRleHQifX19', '../addons/ewei_shopv2/plugin/diypage/static/template/member1/preview.jpg', '9', '0', '0', '0');
  2400. INSERT INTO `ims_ewei_shop_diypage_template` VALUES ('10', '0', '4', '分销中心01', 'eyJwYWdlIjp7InR5cGUiOiI0IiwidGl0bGUiOiJcdThiZjdcdThmOTNcdTUxNjVcdTk4NzVcdTk3NjJcdTY4MDdcdTk4OTgiLCJuYW1lIjoiXHU2NzJhXHU1NDdkXHU1NDBkXHU5ODc1XHU5NzYyIiwiZGVzYyI6IiIsImljb24iOiIiLCJrZXl3b3JkIjoiIiwiYmFja2dyb3VuZCI6IiNmYWZhZmEiLCJkaXltZW51IjoiLTEiLCJmb2xsb3diYXIiOiIwIiwidmlzaXQiOiIwIiwidmlzaXRsZXZlbCI6eyJtZW1iZXIiOiIiLCJjb21taXNzaW9uIjoiIn0sIm5vdmlzaXQiOnsidGl0bGUiOiIiLCJsaW5rIjoiIn19LCJpdGVtcyI6eyJNMTQ3NTk3NjIxMDU0NiI6eyJwYXJhbXMiOnsic3R5bGUiOiJkZWZhdWx0MSIsInNldGljb24iOiJpY29uLXNldHRpbmdzIiwic2V0bGluayI6IiIsImxlZnRuYXYiOiJcdTYzZDBcdTczYjAxIiwibGVmdG5hdmxpbmsiOiIiLCJyaWdodG5hdiI6Ilx1NjNkMFx1NzNiMDIiLCJyaWdodG5hdmxpbmsiOiIiLCJjZW50ZXJuYXYiOiJcdTYzZDBcdTczYjAiLCJjZW50ZXJuYXZsaW5rIjoiIn0sInN0eWxlIjp7ImJhY2tncm91bmQiOiIjZmU1NDU1IiwidGV4dGNvbG9yIjoiI2ZmZmZmZiIsInRleHRsaWdodCI6IiNmZWYzMWYifSwiaWQiOiJtZW1iZXJjIn0sIk0xNDc1OTc2MjEyMzA1Ijp7InBhcmFtcyI6eyJyb3dudW0iOiIzIn0sInN0eWxlIjp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iwidGV4dCI6Ilx1NjNhOFx1NWU3Zlx1NGU4Y1x1N2VmNFx1NzgwMSIsInRleHRjb2xvciI6IiM2NjY2NjYiLCJsaW5rdXJsIjoiIiwidGlwbnVtIjoiIiwidGlwdGV4dCI6IiJ9LCJDMTQ3NTk3NjIxMjMxMSI6eyJpY29uY2xhc3MiOiJpY29uLXNob3BmaWxsIiwiaWNvbmNvbG9yIjoiIzUwYjZmZSIsInRleHQiOiJcdTVjMGZcdTVlOTdcdThiYmVcdTdmNmUiLCJ0ZXh0Y29sb3IiOiIjNjY2NjY2IiwibGlua3VybCI6IiIsInRpcG51bSI6IiIsInRpcHRleHQiOiIifSwiQzE0NzU5NzYyMTIzMTIiOnsiaWNvbmNsYXNzIjoiaWNvbi1yYW5rIiwiaWNvbmNvbG9yIjoiI2ZmNzQxZCIsInRleHQiOiJcdTRmNjNcdTkxZDFcdTYzOTJcdTU0MGQiLCJ0ZXh0Y29sb3IiOiIjNjY2NjY2IiwibGlua3VybCI6IiIsInRpcG51bSI6IiIsInRpcHRleHQiOiIifX0sImlkIjoiYmxvY2tncm91cCJ9fX0=', '../addons/ewei_shopv2/plugin/diypage/static/template/commission1/preview.jpg', '10', '0', '0', '0');
  2401. INSERT INTO `ims_ewei_shop_diypage_template` VALUES ('11', '0', '5', '商品详情', 'eyJwYWdlIjp7InR5cGUiOiI1IiwidGl0bGUiOiJcdTU1NDZcdTU0YzFcdThiZTZcdTYwYzUiLCJuYW1lIjoiXHU1NTQ2XHU1NGMxXHU4YmU2XHU2MGM1XHU5ODc1IiwiZGVzYyI6IiIsImljb24iOiIiLCJrZXl3b3JkIjoiIiwiYmFja2dyb3VuZCI6IiNmYWZhZmEiLCJkaXltZW51IjoiLTEiLCJmb2xsb3diYXIiOiIwIiwidmlzaXQiOiIwIiwidmlzaXRsZXZlbCI6eyJtZW1iZXIiOiIiLCJjb21taXNzaW9uIjoiIn0sIm5vdmlzaXQiOnsidGl0bGUiOiIiLCJsaW5rIjoiIn19LCJpd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NSIsIm1heCI6IjEiLCJzdHlsZSI6eyJtYXJnaW50b3AiOiIxMCIsIm1hcmdpbmJvdHRvbSI6IjEwIiwiYmFja2dyb3VuZCI6IiNmZmZmZmYiLCJtYWluY29sb3IiOiIjZmQ1NDU0Iiwic3ViY29sb3IiOiIjN2M3YzdjIiwidGV4dGNvbG9yIjoiIzMzMzMzMyJ9LCJpZCI6ImRldGFpbF9jb21tZW50In0sIk0xNDc3NTM5Nzc2NjE1Ijp7InR5cGUiOiI1IiwibWF4IjoiMSIsInN0eWxlIjp7Im1hcmdpbnRvcCI6IjEwIiwiYmFja2dyb3VuZCI6IiNmZmZmZmYiLCJ0ZXh0Y29sb3IiOiIjMzMzMzMzIn0sImlkIjoiZGV0YWlsX3B1bGx1cCJ9LCJNMTQ3NzUzOTc3NzM5OSI6eyJ0eXBlIjoiNSIsIm1heCI6IjEiLCJwYXJhbXMiOnsiaGlkZWxpa2UiOiIwIiwiaGlkZXNob3AiOiIwIiwiaGlkZWNhcnQiOiIwIiwiaGlkZWNhcnRidG4iOiIwIiwidGV4dGJ1eSI6Ilx1N2FjYlx1NTIzYlx1OGQyZFx1NGU3MCJ9LCJzdHlsZSI6eyJiYWNrZ3JvdW5kIjoiI2ZmZmZmZiIsInRleHRjb2xvciI6IiM5OTk5OTkiLCJpY29uY29sb3IiOiIjOTk5OTk5IiwiY2FydGNvbG9yIjoiI2ZlOTQwMiIsImJ1eWNvbG9yIjoiI2ZkNTU1NSIsImRvdGNvbG9yIjoiI2ZmMDAxMSJ9LCJpZCI6ImRldGFpbF9uYXZiYXIifX19', '../addons/ewei_shopv2/plugin/diypage/static/template/detail1/preview.jpg', '11', '0', '0', '0');
  2402. INSERT INTO `ims_ewei_shop_diypage_template` VALUES ('12', '0', '7', '整点秒杀', 'eyJwYWdlIjp7InR5cGUiOiI3IiwidGl0bGUiOiJcdTY1NzRcdTcwYjlcdTc5ZDJcdTY3NDAiLCJuYW1lIjoiXHU2NTc0XHU3MGI5XHU3OWQyXH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cmdhaW4iOiIwIn0sIkMxNDc5MjYxNjU1OTIxIjp7InRodW1iIjoiLi5cL2FkZG9uc1wvZXdlaV9zaG9wdjJcL3BsdWdpblwvZGl5cGFnZVwvc3RhdGljXC9pbWFnZXNcL2RlZmF1bHRcL2dvb2RzLTMuanBnIiwicHJpY2UiOiIyMC4wMCIsInRpdGxlIjoiXHU4ZmQ5XHU5MWNjXHU2NjJmXHU1NTQ2XHU1NGMxXHU2ODA3XHU5ODk4IiwiZ2lkIjoiIiwiYmFyZ2FpbiI6IjAifSwiQzE0NzkyNjE2NTU5MjIiOnsidGh1bWIiOiIuLlwvYWRkb25zXC9ld2VpX3Nob3B2MlwvcGx1Z2luXC9kaXlwYWdlXC9zdGF0aWNcL2ltYWdlc1wvZGVmYXVsdFwvZ29vZHMtNC5qcGciLCJwcmljZSI6IjIwLjAwIiwidGl0bGUiOiJcdThmZDlcdTkxY2NcdTY2MmZcdTU1NDZcdTU0YzFcdTY4MDdcdTk4OTgiLCJnaWQiOiIiLCJiYXJnYWluIjoiMCJ9fSwiaWQiOiJnb29kcyJ9fX0=', '../addons/ewei_shopv2/plugin/diypage/static/template/creditshop/preview.png', '13', '0', '0', '0');
  2404. INSERT INTO `ims_ewei_shop_diypage_template` VALUES ('14', '0', '8', '兑换中心', 'eyJwYWdlIjp7InR5cGUiOiI4IiwidGl0bGUiOiJcdTUxNTFcdTYzNjJcdTRlMmRcdTVmYzMiLCJuYW1lIjoiXHU1MTUxXHU2MzYyXHU0ZTJkXHU1ZmMzXHU2YTIxXHU2NzdmIiwiZGVzYyI6IiIsImljb24iOiIiLCJrZXl3b3JkIjoiIiwiYmFja2dyb3VuZCI6IiNmYWZhZmEiLCJkaXltZW51IjoiLTEiLCJkaXlsYXllciI6IjAiLCJkaXlnb3RvcCI6IjAiLCJmb2xsb3diYXIiOiIwIiwidmlzaXQiOiIwIiwidmlzaXRsZXZlbCI6eyJtZW1iZXIiOiIiLCJjb21taXNzaW9uIjoiIn0sIm5vdmlza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ZmYiLCJleGJ0bjJiYWNrZ3JvdW5kIjoiI2NjY2NjYyIsImJhY2tidG5jb2xvciI6IiM0NDQ0NDQiLCJiYWNrYnRuYm9yZGVyIjoiI2U3ZWFlYyIsImJhY2tidG5iYWNrZ3JvdW5kIjoiI2Y3ZjdmNyIsImdvb2RzdGl0bGUiOiIjNDQ0NDQ0IiwiZ29vZHNwcmljZSI6IiNhYWFhYWEifSwiaWQiOiJleGNoYW5nZV9pbnB1dCJ9LCJNMTQ4MjM3Mjk0MzE3MyI6eyJtYXgiOiIxIiwidHlwZSI6IjgiLCJwYXJhbXMiOnsicnVsZXRpdGxlIjoiXHU1MTUxXHU2MzYyXHU4OWM0XHU1MjE5In0sInN0eWxlIjp7InJ1bGV0aXRsZWNvbG9yIjoiIzU1NTU1NSJ9LCJpZCI6ImV4Y2hhbmdlX3J1bGUifX19', '../addons/ewei_shopv2/plugin/diypage/static/template/exchange/preview.png', '14', '0', '0', '0');
  2405. -- ----------------------------
  2406. -- Table structure for `ims_ewei_shop_diypage_template_category`
  2407. -- ----------------------------
  2408. DROP TABLE IF EXISTS `ims_ewei_shop_diypage_template_category`;
  2409. CREATE TABLE `ims_ewei_shop_diypage_template_category` (
  2410. `id` int(11) NOT NULL AUTO_INCREMENT,
  2411. `uniacid` int(11) NOT NULL DEFAULT '0',
  2412. `name` varchar(255) NOT NULL DEFAULT '',
  2413. `merch` int(11) NOT NULL DEFAULT '0',
  2414. PRIMARY KEY (`id`),
  2415. KEY `idx_uniacid` (`uniacid`)
  2416. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2417. -- ----------------------------
  2418. -- Records of ims_ewei_shop_diypage_template_category
  2419. -- ----------------------------
  2420. -- ----------------------------
  2421. -- Table structure for `ims_ewei_shop_exchange_cart`
  2422. -- ----------------------------
  2423. DROP TABLE IF EXISTS `ims_ewei_shop_exchange_cart`;
  2424. CREATE TABLE `ims_ewei_shop_exchange_cart` (
  2425. `id` int(11) NOT NULL AUTO_INCREMENT,
  2426. `uniacid` int(11) DEFAULT NULL,
  2427. `openid` varchar(100) DEFAULT NULL,
  2428. `goodsid` int(11) DEFAULT NULL,
  2429. `total` int(10) DEFAULT '1',
  2430. `marketprice` decimal(10,2) DEFAULT NULL,
  2431. `optionid` int(11) DEFAULT NULL,
  2432. `selected` tinyint(1) DEFAULT '1',
  2433. `deleted` tinyint(1) DEFAULT '0',
  2434. `merchid` int(11) DEFAULT '0',
  2435. `title` varchar(255) DEFAULT NULL,
  2436. `groupid` int(11) DEFAULT NULL,
  2437. `serial` varchar(255) DEFAULT '',
  2438. PRIMARY KEY (`id`)
  2439. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  2440. -- ----------------------------
  2441. -- Records of ims_ewei_shop_exchange_cart
  2442. -- ----------------------------
  2443. -- ----------------------------
  2444. -- Table structure for `ims_ewei_shop_exchange_code`
  2445. -- ----------------------------
  2446. DROP TABLE IF EXISTS `ims_ewei_shop_exchange_code`;
  2447. CREATE TABLE `ims_ewei_shop_exchange_code` (
  2448. `id` int(11) NOT NULL AUTO_INCREMENT,
  2449. `groupid` int(11) NOT NULL DEFAULT '0',
  2450. `uniacid` int(11) NOT NULL DEFAULT '0',
  2451. `endtime` datetime NOT NULL DEFAULT '2016-10-01 00:00:00',
  2452. `status` int(2) NOT NULL DEFAULT '1',
  2453. `openid` varchar(255) NOT NULL DEFAULT '',
  2454. `count` int(11) NOT NULL DEFAULT '0',
  2455. `key` varchar(255) NOT NULL DEFAULT '',
  2456. `type` int(11) NOT NULL DEFAULT '0',
  2457. `scene` int(11) NOT NULL DEFAULT '0',
  2458. `qrcode_url` varchar(255) NOT NULL DEFAULT '',
  2459. `serial` varchar(255) NOT NULL DEFAULT '',
  2460. `balancestatus` int(11) DEFAULT '1',
  2461. `redstatus` int(11) DEFAULT '1',
  2462. `scorestatus` int(11) DEFAULT '1',
  2463. `couponstatus` int(11) DEFAULT '1',
  2464. `goodsstatus` int(11) DEFAULT NULL,
  2465. `repeatcount` int(11) NOT NULL DEFAULT '1',
  2466. PRIMARY KEY (`id`,`key`)
  2467. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  2468. -- ----------------------------
  2469. -- Records of ims_ewei_shop_exchange_code
  2470. -- ----------------------------
  2471. -- ----------------------------
  2472. -- Table structure for `ims_ewei_shop_exchange_group`
  2473. -- ----------------------------
  2474. DROP TABLE IF EXISTS `ims_ewei_shop_exchange_group`;
  2475. CREATE TABLE `ims_ewei_shop_exchange_group` (
  2476. `id` int(11) NOT NULL AUTO_INCREMENT,
  2477. `title` varchar(255) NOT NULL DEFAULT '',
  2478. `type` int(2) NOT NULL DEFAULT '0',
  2479. `endtime` datetime NOT NULL DEFAULT '2016-10-01 00:00:00',
  2480. `mode` int(2) NOT NULL DEFAULT '0',
  2481. `status` int(2) NOT NULL DEFAULT '0',
  2482. `max` int(2) NOT NULL DEFAULT '0',
  2483. `value` decimal(10,2) NOT NULL DEFAULT '0.00',
  2484. `uniacid` int(11) NOT NULL DEFAULT '0',
  2485. `starttime` datetime NOT NULL DEFAULT '2016-10-01 00:00:00',
  2486. `goods` text,
  2487. `score` int(11) NOT NULL DEFAULT '0',
  2488. `coupon` text,
  2489. `use` int(11) NOT NULL DEFAULT '0',
  2490. `total` int(11) NOT NULL DEFAULT '0',
  2491. `red` decimal(10,2) NOT NULL DEFAULT '0.00',
  2492. `balance` decimal(10,2) NOT NULL DEFAULT '0.00',
  2493. `balance_left` decimal(10,2) NOT NULL DEFAULT '0.00',
  2494. `balance_right` decimal(10,2) NOT NULL DEFAULT '0.00',
  2495. `red_left` decimal(10,2) NOT NULL DEFAULT '0.00',
  2496. `red_right` decimal(10,2) NOT NULL DEFAULT '0.00',
  2497. `score_left` int(11) NOT NULL DEFAULT '0',
  2498. `score_right` int(11) NOT NULL DEFAULT '0',
  2499. `balance_type` int(11) NOT NULL,
  2500. `red_type` int(11) NOT NULL,
  2501. `score_type` int(11) NOT NULL,
  2502. `title_reply` varchar(255) NOT NULL DEFAULT '',
  2503. `img` varchar(255) NOT NULL DEFAULT '',
  2504. `content` varchar(255) NOT NULL DEFAULT '',
  2505. `rule` text NOT NULL,
  2506. `coupon_type` varchar(255) DEFAULT NULL,
  2507. `basic_content` varchar(500) NOT NULL DEFAULT '',
  2508. `reply_type` int(11) NOT NULL DEFAULT '0',
  2509. `code_type` int(11) NOT NULL DEFAULT '0',
  2510. `binding` int(11) NOT NULL DEFAULT '0',
  2511. `showcount` int(11) DEFAULT '0',
  2512. `postage` decimal(10,2) DEFAULT '0.00',
  2513. `postage_type` int(11) DEFAULT '0',
  2514. `banner` varchar(800) DEFAULT '',
  2515. `keyword_reply` int(11) DEFAULT '0',
  2516. `reply_status` int(11) DEFAULT '1',
  2517. `reply_keyword` varchar(255) DEFAULT '',
  2518. `input_banner` varchar(255) DEFAULT '',
  2519. `diypage` int(11) NOT NULL DEFAULT '0',
  2520. `sendname` varchar(255) DEFAULT '',
  2521. `wishing` varchar(255) DEFAULT '',
  2522. `actname` varchar(255) DEFAULT '',
  2523. `remark` varchar(255) DEFAULT '',
  2524. `repeat` tinyint(1) NOT NULL DEFAULT '0',
  2525. `koulingstart` varchar(255) NOT NULL DEFAULT '',
  2526. `koulingend` varchar(255) NOT NULL DEFAULT '',
  2527. `kouling` tinyint(1) NOT NULL DEFAULT '0',
  2528. `chufa` varchar(255) NOT NULL DEFAULT '',
  2529. `chufaend` varchar(255) NOT NULL DEFAULT '',
  2530. `goods_native` text,
  2531. PRIMARY KEY (`id`)
  2532. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  2533. -- ----------------------------
  2534. -- Records of ims_ewei_shop_exchange_group
  2535. -- ----------------------------
  2536. -- ----------------------------
  2537. -- Table structure for `ims_ewei_shop_exchange_query`
  2538. -- ----------------------------
  2539. DROP TABLE IF EXISTS `ims_ewei_shop_exchange_query`;
  2540. CREATE TABLE `ims_ewei_shop_exchange_query` (
  2541. `id` int(11) NOT NULL AUTO_INCREMENT,
  2542. `uniacid` int(11) NOT NULL DEFAULT '0',
  2543. `openid` varchar(255) NOT NULL DEFAULT '',
  2544. `querykey` varchar(255) NOT NULL DEFAULT '',
  2545. `querytime` int(11) NOT NULL DEFAULT '0',
  2546. `unfreeze` int(11) NOT NULL DEFAULT '0',
  2547. `errorcount` int(11) NOT NULL DEFAULT '0',
  2548. PRIMARY KEY (`id`,`openid`)
  2549. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2550. -- ----------------------------
  2551. -- Records of ims_ewei_shop_exchange_query
  2552. -- ----------------------------
  2553. -- ----------------------------
  2554. -- Table structure for `ims_ewei_shop_exchange_record`
  2555. -- ----------------------------
  2556. DROP TABLE IF EXISTS `ims_ewei_shop_exchange_record`;
  2557. CREATE TABLE `ims_ewei_shop_exchange_record` (
  2558. `id` int(11) NOT NULL AUTO_INCREMENT,
  2559. `key` varchar(255) NOT NULL DEFAULT '',
  2560. `uniacid` int(11) DEFAULT NULL,
  2561. `goods` text,
  2562. `orderid` varchar(255) NOT NULL DEFAULT '',
  2563. `time` int(11) NOT NULL,
  2564. `openid` varchar(255) NOT NULL DEFAULT '',
  2565. `mode` int(11) NOT NULL DEFAULT '0',
  2566. `balance` decimal(10,2) DEFAULT '0.00',
  2567. `red` decimal(10,2) NOT NULL DEFAULT '0.00',
  2568. `coupon` text,
  2569. `score` int(11) NOT NULL DEFAULT '0',
  2570. `nickname` varchar(255) NOT NULL DEFAULT '',
  2571. `groupid` int(11) NOT NULL DEFAULT '0',
  2572. `title` varchar(255) NOT NULL DEFAULT '',
  2573. `serial` varchar(255) NOT NULL DEFAULT '',
  2574. `ordersn` varchar(255) NOT NULL DEFAULT '',
  2575. `goods_title` varchar(255) DEFAULT NULL,
  2576. PRIMARY KEY (`id`,`key`)
  2577. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
  2578. -- ----------------------------
  2579. -- Records of ims_ewei_shop_exchange_record
  2580. -- ----------------------------
  2581. -- ----------------------------
  2582. -- Table structure for `ims_ewei_shop_exchange_setting`
  2583. -- ----------------------------
  2584. DROP TABLE IF EXISTS `ims_ewei_shop_exchange_setting`;
  2585. CREATE TABLE `ims_ewei_shop_exchange_setting` (
  2586. `id` int(11) NOT NULL AUTO_INCREMENT,
  2587. `uniacid` int(11) NOT NULL DEFAULT '0',
  2588. `freeze` int(11) NOT NULL DEFAULT '0',
  2589. `mistake` int(11) NOT NULL DEFAULT '0',
  2590. `grouplimit` int(11) NOT NULL DEFAULT '0',
  2591. `alllimit` int(11) NOT NULL DEFAULT '0',
  2592. `no_qrimg` tinyint(3) NOT NULL DEFAULT '1',
  2593. `rule` text,
  2594. `coupon_templateid` varchar(60) NOT NULL DEFAULT '',
  2595. PRIMARY KEY (`id`,`uniacid`)
  2596. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2597. -- ----------------------------
  2598. -- Records of ims_ewei_shop_exchange_setting
  2599. -- ----------------------------
  2600. -- ----------------------------
  2601. -- Table structure for `ims_ewei_shop_exhelper_esheet`
  2602. -- ----------------------------
  2603. DROP TABLE IF EXISTS `ims_ewei_shop_exhelper_esheet`;
  2604. CREATE TABLE `ims_ewei_shop_exhelper_esheet` (
  2605. `id` int(11) NOT NULL AUTO_INCREMENT,
  2606. `name` varchar(50) NOT NULL DEFAULT '',
  2607. `express` varchar(50) DEFAULT '',
  2608. `code` varchar(20) NOT NULL DEFAULT '',
  2609. `datas` varchar(255) NOT NULL DEFAULT '',
  2610. PRIMARY KEY (`id`)
  2611. ) ENGINE=MyISAM AUTO_INCREMENT=24 DEFAULT CHARSET=utf8;
  2612. -- ----------------------------
  2613. -- Records of ims_ewei_shop_exhelper_esheet
  2614. -- ----------------------------
  2615. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('1', '顺丰', 'shunfeng', '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;}}');
  2616. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('2', '百世快递', 'huitongkuaidi', '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;}}');
  2617. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('3', '韵达', 'yunda', '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;}}');
  2618. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('4', '申通', 'shentong', '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;}}');
  2619. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('5', '圆通', 'yuantong', '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;}}');
  2620. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('6', 'EMS', '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;}}');
  2621. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('7', '中通', 'zhongtong', '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;}}');
  2622. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('8', '德邦', 'debangwuliu', '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;}}');
  2623. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('9', '优速', 'youshuwuliu', '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;}}');
  2624. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('10', '宅急送', 'zhaijisong', '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;}}');
  2625. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('11', '京东', 'jd', '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;}}');
  2626. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('12', '信丰', 'xinfengwuliu', '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;}}');
  2627. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('13', '全峰', 'quanfengkuaidi', '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;}}');
  2628. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('14', '跨越速运', 'kuayue', '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;}}');
  2629. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('15', '安能', 'annengwuliu', '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;}}');
  2630. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('16', '快捷', 'kuaijiesudi', '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;}}');
  2631. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('17', '国通', 'guotongkuaidi', '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;}}');
  2632. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('18', '天天', 'tiantian', '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;}}');
  2633. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('19', '中铁快运', 'zhongtiekuaiyun', '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;}}');
  2634. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('20', '邮政快递包裹', 'youzhengguonei', '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;}}');
  2635. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('21', '邮政国内标快', 'youzhengguonei', 'YZBK', '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;}}');
  2636. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('22', '全一快递', 'quanyikuaidi', 'UAPEX', 'a:1:{i:0;a:4:{s:5:\"style\";s:9:\"二联150\";s:4:\"spec\";s:32:\"(宽90mm高150mm切点90/60)\";s:4:\"size\";s:3:\"150\";s:9:\"isdefault\";i:1;}}');
  2637. INSERT INTO `ims_ewei_shop_exhelper_esheet` VALUES ('23', '速尔快递', 'sue', 'SURE', '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;}}');
  2638. -- ----------------------------
  2639. -- Table structure for `ims_ewei_shop_exhelper_esheet_temp`
  2640. -- ----------------------------
  2641. DROP TABLE IF EXISTS `ims_ewei_shop_exhelper_esheet_temp`;
  2642. CREATE TABLE `ims_ewei_shop_exhelper_esheet_temp` (
  2643. `id` int(11) NOT NULL AUTO_INCREMENT,
  2644. `uniacid` int(11) DEFAULT '0',
  2645. `esheetid` int(11) NOT NULL DEFAULT '0',
  2646. `esheetname` varchar(255) NOT NULL DEFAULT '',
  2647. `customername` varchar(50) NOT NULL DEFAULT '',
  2648. `customerpwd` varchar(50) NOT NULL DEFAULT '',
  2649. `monthcode` varchar(50) NOT NULL DEFAULT '',
  2650. `sendsite` varchar(50) NOT NULL DEFAULT '',
  2651. `paytype` tinyint(3) NOT NULL DEFAULT '1',
  2652. `templatesize` varchar(10) NOT NULL DEFAULT '',
  2653. `isnotice` tinyint(3) NOT NULL DEFAULT '0',
  2654. `merchid` int(11) NOT NULL DEFAULT '0',
  2655. `issend` tinyint(3) NOT NULL DEFAULT '1',
  2656. `isdefault` tinyint(3) NOT NULL DEFAULT '0',
  2657. PRIMARY KEY (`id`),
  2658. KEY `idx_isdefault` (`isdefault`) USING BTREE,
  2659. KEY `idx_uniacid` (`uniacid`) USING BTREE
  2660. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2661. -- ----------------------------
  2662. -- Records of ims_ewei_shop_exhelper_esheet_temp
  2663. -- ----------------------------
  2664. -- ----------------------------
  2665. -- Table structure for `ims_ewei_shop_exhelper_express`
  2666. -- ----------------------------
  2667. DROP TABLE IF EXISTS `ims_ewei_shop_exhelper_express`;
  2668. CREATE TABLE `ims_ewei_shop_exhelper_express` (
  2669. `id` int(11) NOT NULL AUTO_INCREMENT,
  2670. `uniacid` int(11) DEFAULT '0',
  2671. `type` int(1) NOT NULL DEFAULT '1',
  2672. `expressname` varchar(255) DEFAULT '',
  2673. `expresscom` varchar(255) NOT NULL DEFAULT '',
  2674. `express` varchar(255) NOT NULL DEFAULT '',
  2675. `width` decimal(10,2) DEFAULT '0.00',
  2676. `datas` text,
  2677. `height` decimal(10,2) DEFAULT '0.00',
  2678. `bg` varchar(255) DEFAULT '',
  2679. `isdefault` tinyint(3) DEFAULT '0',
  2680. `merchid` int(11) DEFAULT '0',
  2681. PRIMARY KEY (`id`),
  2682. KEY `idx_uniacid` (`uniacid`),
  2683. KEY `idx_isdefault` (`isdefault`)
  2684. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2685. -- ----------------------------
  2686. -- Records of ims_ewei_shop_exhelper_express
  2687. -- ----------------------------
  2688. -- ----------------------------
  2689. -- Table structure for `ims_ewei_shop_exhelper_senduser`
  2690. -- ----------------------------
  2691. DROP TABLE IF EXISTS `ims_ewei_shop_exhelper_senduser`;
  2692. CREATE TABLE `ims_ewei_shop_exhelper_senduser` (
  2693. `id` int(11) NOT NULL AUTO_INCREMENT,
  2694. `uniacid` int(11) DEFAULT '0',
  2695. `sendername` varchar(255) DEFAULT '',
  2696. `sendertel` varchar(255) DEFAULT '',
  2697. `sendersign` varchar(255) DEFAULT '',
  2698. `sendercode` int(11) DEFAULT NULL,
  2699. `senderaddress` varchar(255) DEFAULT '',
  2700. `sendercity` varchar(255) DEFAULT NULL,
  2701. `isdefault` tinyint(3) DEFAULT '0',
  2702. `merchid` int(11) DEFAULT '0',
  2703. `province` varchar(30) NOT NULL DEFAULT '',
  2704. `city` varchar(30) NOT NULL DEFAULT '',
  2705. `area` varchar(30) NOT NULL DEFAULT '',
  2706. PRIMARY KEY (`id`),
  2707. KEY `idx_uniacid` (`uniacid`),
  2708. KEY `idx_isdefault` (`isdefault`)
  2709. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2710. -- ----------------------------
  2711. -- Records of ims_ewei_shop_exhelper_senduser
  2712. -- ----------------------------
  2713. -- ----------------------------
  2714. -- Table structure for `ims_ewei_shop_exhelper_sys`
  2715. -- ----------------------------
  2716. DROP TABLE IF EXISTS `ims_ewei_shop_exhelper_sys`;
  2717. CREATE TABLE `ims_ewei_shop_exhelper_sys` (
  2718. `id` int(11) NOT NULL AUTO_INCREMENT,
  2719. `uniacid` int(11) NOT NULL DEFAULT '0',
  2720. `ip` varchar(20) NOT NULL DEFAULT 'localhost',
  2721. `ip_cloud` varchar(255) NOT NULL DEFAULT '',
  2722. `port` int(11) NOT NULL DEFAULT '8000',
  2723. `port_cloud` int(11) NOT NULL DEFAULT '8000',
  2724. `is_cloud` int(1) NOT NULL DEFAULT '0',
  2725. `merchid` int(11) DEFAULT '0',
  2726. `ebusiness` varchar(20) NOT NULL DEFAULT '',
  2727. `apikey` varchar(50) NOT NULL DEFAULT '',
  2728. PRIMARY KEY (`id`)
  2729. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2730. -- ----------------------------
  2731. -- Records of ims_ewei_shop_exhelper_sys
  2732. -- ----------------------------
  2733. -- ----------------------------
  2734. -- Table structure for `ims_ewei_shop_express`
  2735. -- ----------------------------
  2736. DROP TABLE IF EXISTS `ims_ewei_shop_express`;
  2737. CREATE TABLE `ims_ewei_shop_express` (
  2738. `id` int(11) NOT NULL AUTO_INCREMENT,
  2739. `name` varchar(50) DEFAULT '',
  2740. `express` varchar(50) DEFAULT '',
  2741. `status` tinyint(1) DEFAULT '1',
  2742. `displayorder` tinyint(3) unsigned DEFAULT '0',
  2743. `code` varchar(30) NOT NULL DEFAULT '',
  2744. PRIMARY KEY (`id`)
  2745. ) ENGINE=MyISAM AUTO_INCREMENT=95 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2746. -- ----------------------------
  2747. -- Records of ims_ewei_shop_express
  2748. -- ----------------------------
  2749. INSERT INTO `ims_ewei_shop_express` VALUES ('1', '顺丰', 'shunfeng', '1', '0', 'JH_014');
  2750. INSERT INTO `ims_ewei_shop_express` VALUES ('2', '申通', 'shentong', '1', '0', 'JH_005');
  2751. INSERT INTO `ims_ewei_shop_express` VALUES ('3', '韵达快运', 'yunda', '1', '0', 'JH_003');
  2752. INSERT INTO `ims_ewei_shop_express` VALUES ('4', '天天快递', 'tiantian', '1', '0', 'JH_004');
  2753. INSERT INTO `ims_ewei_shop_express` VALUES ('5', '圆通速递', 'yuantong', '1', '0', 'JH_002');
  2754. INSERT INTO `ims_ewei_shop_express` VALUES ('6', '中通速递', 'zhongtong', '1', '0', 'JH_006');
  2755. INSERT INTO `ims_ewei_shop_express` VALUES ('7', 'ems快递', 'ems', '1', '0', 'JH_001');
  2756. INSERT INTO `ims_ewei_shop_express` VALUES ('8', '百世汇通', 'huitongkuaidi', '1', '0', 'JH_012');
  2757. INSERT INTO `ims_ewei_shop_express` VALUES ('9', '全峰快递', 'quanfengkuaidi', '1', '0', 'JH_009');
  2758. INSERT INTO `ims_ewei_shop_express` VALUES ('10', '宅急送', 'zhaijisong', '1', '0', 'JH_007');
  2759. INSERT INTO `ims_ewei_shop_express` VALUES ('11', 'aae全球专递', 'aae', '1', '0', 'JHI_049');
  2760. INSERT INTO `ims_ewei_shop_express` VALUES ('12', '安捷快递', 'anjie', '1', '0', '');
  2761. INSERT INTO `ims_ewei_shop_express` VALUES ('13', '安信达快递', 'anxindakuaixi', '1', '0', 'JH_131');
  2762. INSERT INTO `ims_ewei_shop_express` VALUES ('14', '彪记快递', 'biaojikuaidi', '1', '0', '');
  2763. INSERT INTO `ims_ewei_shop_express` VALUES ('15', 'bht', 'bht', '1', '0', 'JHI_008');
  2764. INSERT INTO `ims_ewei_shop_express` VALUES ('16', '百福东方国际物流', 'baifudongfang', '1', '0', 'JH_062');
  2765. INSERT INTO `ims_ewei_shop_express` VALUES ('17', '中国东方(COE)', 'coe', '1', '0', 'JHI_038');
  2766. INSERT INTO `ims_ewei_shop_express` VALUES ('18', '长宇物流', 'changyuwuliu', '1', '0', '');
  2767. INSERT INTO `ims_ewei_shop_express` VALUES ('19', '大田物流', 'datianwuliu', '1', '0', 'JH_050');
  2768. INSERT INTO `ims_ewei_shop_express` VALUES ('20', '德邦物流', 'debangwuliu', '1', '0', 'JH_011');
  2769. INSERT INTO `ims_ewei_shop_express` VALUES ('21', 'dhl', 'dhl', '1', '0', 'JHI_002');
  2770. INSERT INTO `ims_ewei_shop_express` VALUES ('22', 'dpex', 'dpex', '1', '0', 'JHI_011');
  2771. INSERT INTO `ims_ewei_shop_express` VALUES ('23', 'd速快递', 'dsukuaidi', '1', '0', 'JH_049');
  2772. INSERT INTO `ims_ewei_shop_express` VALUES ('24', '递四方', 'disifang', '1', '0', 'JHI_080');
  2773. INSERT INTO `ims_ewei_shop_express` VALUES ('25', 'fedex(国外)', 'fedex', '1', '0', 'JHI_014');
  2774. INSERT INTO `ims_ewei_shop_express` VALUES ('26', '飞康达物流', 'feikangda', '1', '0', 'JH_088');
  2775. INSERT INTO `ims_ewei_shop_express` VALUES ('27', '凤凰快递', 'fenghuangkuaidi', '1', '0', '');
  2776. INSERT INTO `ims_ewei_shop_express` VALUES ('28', '飞快达', 'feikuaida', '1', '0', 'JH_151');
  2777. INSERT INTO `ims_ewei_shop_express` VALUES ('29', '国通快递', 'guotongkuaidi', '1', '0', 'JH_010');
  2778. INSERT INTO `ims_ewei_shop_express` VALUES ('30', '港中能达物流', 'ganzhongnengda', '1', '0', 'JH_033');
  2779. INSERT INTO `ims_ewei_shop_express` VALUES ('31', '广东邮政物流', 'guangdongyouzhengwuliu', '1', '0', 'JH_135');
  2780. INSERT INTO `ims_ewei_shop_express` VALUES ('32', '共速达', 'gongsuda', '1', '0', 'JH_039');
  2781. INSERT INTO `ims_ewei_shop_express` VALUES ('33', '恒路物流', 'hengluwuliu', '1', '0', 'JH_048');
  2782. INSERT INTO `ims_ewei_shop_express` VALUES ('34', '华夏龙物流', 'huaxialongwuliu', '1', '0', 'JH_129');
  2783. INSERT INTO `ims_ewei_shop_express` VALUES ('35', '海红', 'haihongwangsong', '1', '0', 'JH_132');
  2784. INSERT INTO `ims_ewei_shop_express` VALUES ('36', '海外环球', 'haiwaihuanqiu', '1', '0', 'JHI_013');
  2785. INSERT INTO `ims_ewei_shop_express` VALUES ('37', '佳怡物流', 'jiayiwuliu', '1', '0', 'JH_035');
  2786. INSERT INTO `ims_ewei_shop_express` VALUES ('38', '京广速递', 'jinguangsudikuaijian', '1', '0', 'JH_041');
  2787. INSERT INTO `ims_ewei_shop_express` VALUES ('39', '急先达', 'jixianda', '1', '0', 'JH_040');
  2788. INSERT INTO `ims_ewei_shop_express` VALUES ('40', '佳吉物流', 'jiajiwuliu', '1', '0', 'JH_030');
  2789. INSERT INTO `ims_ewei_shop_express` VALUES ('41', '加运美物流', 'jymwl', '1', '0', 'JH_054');
  2790. INSERT INTO `ims_ewei_shop_express` VALUES ('42', '金大物流', 'jindawuliu', '1', '0', 'JH_079');
  2791. INSERT INTO `ims_ewei_shop_express` VALUES ('43', '嘉里大通', 'jialidatong', '1', '0', 'JH_060');
  2792. INSERT INTO `ims_ewei_shop_express` VALUES ('44', '晋越快递', 'jykd', '1', '0', 'JHI_046');
  2793. INSERT INTO `ims_ewei_shop_express` VALUES ('45', '快捷速递', 'kuaijiesudi', '1', '0', 'JH_008');
  2794. INSERT INTO `ims_ewei_shop_express` VALUES ('46', '联邦快递(国内)', 'lianb', '1', '0', 'JH_122');
  2795. INSERT INTO `ims_ewei_shop_express` VALUES ('47', '联昊通物流', 'lianhaowuliu', '1', '0', 'JH_021');
  2796. INSERT INTO `ims_ewei_shop_express` VALUES ('48', '龙邦物流', 'longbanwuliu', '1', '0', 'JH_019');
  2797. INSERT INTO `ims_ewei_shop_express` VALUES ('49', '立即送', 'lijisong', '1', '0', 'JH_044');
  2798. INSERT INTO `ims_ewei_shop_express` VALUES ('50', '乐捷递', 'lejiedi', '1', '0', 'JH_043');
  2799. INSERT INTO `ims_ewei_shop_express` VALUES ('51', '民航快递', 'minghangkuaidi', '1', '0', 'JH_100');
  2800. INSERT INTO `ims_ewei_shop_express` VALUES ('52', '美国快递', 'meiguokuaidi', '1', '0', 'JHI_044');
  2801. INSERT INTO `ims_ewei_shop_express` VALUES ('53', '门对门', 'menduimen', '1', '0', 'JH_036');
  2802. INSERT INTO `ims_ewei_shop_express` VALUES ('54', 'OCS', 'ocs', '1', '0', 'JHI_012');
  2803. INSERT INTO `ims_ewei_shop_express` VALUES ('55', '配思货运', 'peisihuoyunkuaidi', '1', '0', '');
  2804. INSERT INTO `ims_ewei_shop_express` VALUES ('56', '全晨快递', 'quanchenkuaidi', '1', '0', 'JH_055');
  2805. INSERT INTO `ims_ewei_shop_express` VALUES ('57', '全际通物流', 'quanjitong', '1', '0', 'JH_127');
  2806. INSERT INTO `ims_ewei_shop_express` VALUES ('58', '全日通快递', 'quanritongkuaidi', '1', '0', 'JH_029');
  2807. INSERT INTO `ims_ewei_shop_express` VALUES ('59', '全一快递', 'quanyikuaidi', '1', '0', 'JH_020');
  2808. INSERT INTO `ims_ewei_shop_express` VALUES ('60', '如风达', 'rufengda', '1', '0', 'JH_017');
  2809. INSERT INTO `ims_ewei_shop_express` VALUES ('61', '三态速递', 'santaisudi', '1', '0', 'JH_065');
  2810. INSERT INTO `ims_ewei_shop_express` VALUES ('62', '盛辉物流', 'shenghuiwuliu', '1', '0', 'JH_066');
  2811. INSERT INTO `ims_ewei_shop_express` VALUES ('63', '速尔物流', 'sue', '1', '0', 'JH_016');
  2812. INSERT INTO `ims_ewei_shop_express` VALUES ('64', '盛丰物流', 'shengfeng', '1', '0', 'JH_082');
  2813. INSERT INTO `ims_ewei_shop_express` VALUES ('65', '赛澳递', 'saiaodi', '1', '0', 'JH_042');
  2814. INSERT INTO `ims_ewei_shop_express` VALUES ('66', '天地华宇', 'tiandihuayu', '1', '0', 'JH_018');
  2815. INSERT INTO `ims_ewei_shop_express` VALUES ('67', 'tnt', 'tnt', '1', '0', 'JHI_003');
  2816. INSERT INTO `ims_ewei_shop_express` VALUES ('68', 'ups', 'ups', '1', '0', 'JHI_004');
  2817. INSERT INTO `ims_ewei_shop_express` VALUES ('69', '万家物流', 'wanjiawuliu', '1', '0', '');
  2818. INSERT INTO `ims_ewei_shop_express` VALUES ('70', '文捷航空速递', 'wenjiesudi', '1', '0', '');
  2819. INSERT INTO `ims_ewei_shop_express` VALUES ('71', '伍圆', 'wuyuan', '1', '0', '');
  2820. INSERT INTO `ims_ewei_shop_express` VALUES ('72', '万象物流', 'wxwl', '1', '0', 'JH_115');
  2821. INSERT INTO `ims_ewei_shop_express` VALUES ('73', '新邦物流', 'xinbangwuliu', '1', '0', 'JH_022');
  2822. INSERT INTO `ims_ewei_shop_express` VALUES ('74', '信丰物流', 'xinfengwuliu', '1', '0', 'JH_023');
  2823. INSERT INTO `ims_ewei_shop_express` VALUES ('75', '亚风速递', 'yafengsudi', '1', '0', 'JH_075');
  2824. INSERT INTO `ims_ewei_shop_express` VALUES ('76', '一邦速递', 'yibangwuliu', '1', '0', 'JH_064');
  2825. INSERT INTO `ims_ewei_shop_express` VALUES ('77', '优速物流', 'youshuwuliu', '1', '0', 'JH_013');
  2826. INSERT INTO `ims_ewei_shop_express` VALUES ('78', '邮政快递包裹', 'youzhengguonei', '1', '0', 'JH_077');
  2827. INSERT INTO `ims_ewei_shop_express` VALUES ('79', '邮政国际包裹挂号信', 'youzhengguoji', '1', '0', '');
  2828. INSERT INTO `ims_ewei_shop_express` VALUES ('80', '远成物流', 'yuanchengwuliu', '1', '0', 'JH_024');
  2829. INSERT INTO `ims_ewei_shop_express` VALUES ('81', '源伟丰快递', 'yuanweifeng', '1', '0', 'JH_141');
  2830. INSERT INTO `ims_ewei_shop_express` VALUES ('82', '元智捷诚快递', 'yuanzhijiecheng', '1', '0', 'JH_126');
  2831. INSERT INTO `ims_ewei_shop_express` VALUES ('83', '运通快递', 'yuntongkuaidi', '1', '0', 'JH_145');
  2832. INSERT INTO `ims_ewei_shop_express` VALUES ('84', '越丰物流', 'yuefengwuliu', '1', '0', 'JH_068');
  2833. INSERT INTO `ims_ewei_shop_express` VALUES ('85', '源安达', 'yad', '1', '0', 'JH_067');
  2834. INSERT INTO `ims_ewei_shop_express` VALUES ('86', '银捷速递', 'yinjiesudi', '1', '0', 'JH_148');
  2835. INSERT INTO `ims_ewei_shop_express` VALUES ('87', '中铁快运', 'zhongtiekuaiyun', '1', '0', 'JH_015');
  2836. INSERT INTO `ims_ewei_shop_express` VALUES ('88', '中邮物流', 'zhongyouwuliu', '1', '0', 'JH_027');
  2837. INSERT INTO `ims_ewei_shop_express` VALUES ('89', '忠信达', 'zhongxinda', '1', '0', 'JH_086');
  2838. INSERT INTO `ims_ewei_shop_express` VALUES ('90', '芝麻开门', 'zhimakaimen', '1', '0', 'JH_026');
  2839. INSERT INTO `ims_ewei_shop_express` VALUES ('91', '安能物流', 'annengwuliu', '1', '0', 'JH_059');
  2840. INSERT INTO `ims_ewei_shop_express` VALUES ('92', '京东快递', 'jd', '1', '0', 'JH_046');
  2841. INSERT INTO `ims_ewei_shop_express` VALUES ('93', '微特派', 'weitepai', '1', '0', '');
  2842. INSERT INTO `ims_ewei_shop_express` VALUES ('94', '九曳供应链', 'jiuyescm', '1', '0', '');
  2843. -- ----------------------------
  2844. -- Table structure for `ims_ewei_shop_express_cache`
  2845. -- ----------------------------
  2846. DROP TABLE IF EXISTS `ims_ewei_shop_express_cache`;
  2847. CREATE TABLE `ims_ewei_shop_express_cache` (
  2848. `id` int(11) NOT NULL AUTO_INCREMENT,
  2849. `expresssn` varchar(50) DEFAULT NULL,
  2850. `express` varchar(50) DEFAULT NULL,
  2851. `lasttime` int(11) NOT NULL,
  2852. `datas` text,
  2853. PRIMARY KEY (`id`),
  2854. KEY `idx_expresssn` (`expresssn`) USING BTREE,
  2855. KEY `idx_express` (`express`) USING BTREE
  2856. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2857. -- ----------------------------
  2858. -- Records of ims_ewei_shop_express_cache
  2859. -- ----------------------------
  2860. -- ----------------------------
  2861. -- Table structure for `ims_ewei_shop_feedback`
  2862. -- ----------------------------
  2863. DROP TABLE IF EXISTS `ims_ewei_shop_feedback`;
  2864. CREATE TABLE `ims_ewei_shop_feedback` (
  2865. `id` int(11) NOT NULL AUTO_INCREMENT,
  2866. `uniacid` int(11) DEFAULT '0',
  2867. `openid` varchar(50) DEFAULT '0',
  2868. `type` tinyint(1) DEFAULT '1',
  2869. `status` tinyint(1) DEFAULT '0',
  2870. `feedbackid` varchar(100) DEFAULT '',
  2871. `transid` varchar(100) DEFAULT '',
  2872. `reason` varchar(1000) DEFAULT '',
  2873. `solution` varchar(1000) DEFAULT '',
  2874. `remark` varchar(1000) DEFAULT '',
  2875. `createtime` int(11) DEFAULT '0',
  2876. PRIMARY KEY (`id`),
  2877. KEY `idx_uniacid` (`uniacid`),
  2878. KEY `idx_feedbackid` (`feedbackid`),
  2879. KEY `idx_createtime` (`createtime`),
  2880. KEY `idx_transid` (`transid`)
  2881. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2882. -- ----------------------------
  2883. -- Records of ims_ewei_shop_feedback
  2884. -- ----------------------------
  2885. -- ----------------------------
  2886. -- Table structure for `ims_ewei_shop_form`
  2887. -- ----------------------------
  2888. DROP TABLE IF EXISTS `ims_ewei_shop_form`;
  2889. CREATE TABLE `ims_ewei_shop_form` (
  2890. `id` int(11) NOT NULL AUTO_INCREMENT,
  2891. `uniacid` int(11) DEFAULT '0',
  2892. `displayorder` int(11) DEFAULT '0',
  2893. `isrequire` tinyint(3) DEFAULT '0',
  2894. `key` varchar(255) DEFAULT '',
  2895. `title` varchar(255) DEFAULT '',
  2896. `type` varchar(255) DEFAULT '',
  2897. `values` text,
  2898. `cate` int(11) DEFAULT '0',
  2899. PRIMARY KEY (`id`)
  2900. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2901. -- ----------------------------
  2902. -- Records of ims_ewei_shop_form
  2903. -- ----------------------------
  2904. -- ----------------------------
  2905. -- Table structure for `ims_ewei_shop_form_category`
  2906. -- ----------------------------
  2907. DROP TABLE IF EXISTS `ims_ewei_shop_form_category`;
  2908. CREATE TABLE `ims_ewei_shop_form_category` (
  2909. `id` int(11) NOT NULL AUTO_INCREMENT,
  2910. `uniacid` int(11) DEFAULT '0',
  2911. `name` varchar(255) DEFAULT '',
  2912. PRIMARY KEY (`id`)
  2913. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2914. -- ----------------------------
  2915. -- Records of ims_ewei_shop_form_category
  2916. -- ----------------------------
  2917. -- ----------------------------
  2918. -- Table structure for `ims_ewei_shop_fullback_goods`
  2919. -- ----------------------------
  2920. DROP TABLE IF EXISTS `ims_ewei_shop_fullback_goods`;
  2921. CREATE TABLE `ims_ewei_shop_fullback_goods` (
  2922. `id` int(11) NOT NULL AUTO_INCREMENT,
  2923. `uniacid` int(11) NOT NULL DEFAULT '0',
  2924. `type` tinyint(3) NOT NULL DEFAULT '0',
  2925. `goodsid` int(11) NOT NULL DEFAULT '0',
  2926. `titles` varchar(255) NOT NULL,
  2927. `thumb` varchar(255) NOT NULL,
  2928. `marketprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  2929. `minallfullbackallprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  2930. `maxallfullbackallprice` decimal(10,2) NOT NULL,
  2931. `minallfullbackallratio` decimal(10,2) DEFAULT NULL,
  2932. `maxallfullbackallratio` decimal(10,2) DEFAULT NULL,
  2933. `day` int(11) NOT NULL DEFAULT '0',
  2934. `fullbackprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  2935. `fullbackratio` decimal(10,2) DEFAULT NULL,
  2936. `status` tinyint(3) NOT NULL DEFAULT '0',
  2937. `displayorder` int(11) NOT NULL DEFAULT '0',
  2938. `hasoption` tinyint(3) NOT NULL DEFAULT '0',
  2939. `optionid` text NOT NULL,
  2940. `startday` int(11) NOT NULL DEFAULT '0',
  2941. `refund` tinyint(3) NOT NULL DEFAULT '0',
  2942. PRIMARY KEY (`id`)
  2943. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2944. -- ----------------------------
  2945. -- Records of ims_ewei_shop_fullback_goods
  2946. -- ----------------------------
  2947. -- ----------------------------
  2948. -- Table structure for `ims_ewei_shop_fullback_log`
  2949. -- ----------------------------
  2950. DROP TABLE IF EXISTS `ims_ewei_shop_fullback_log`;
  2951. CREATE TABLE `ims_ewei_shop_fullback_log` (
  2952. `id` int(11) NOT NULL AUTO_INCREMENT,
  2953. `uniacid` int(11) NOT NULL,
  2954. `openid` varchar(50) NOT NULL,
  2955. `orderid` int(11) NOT NULL,
  2956. `price` decimal(10,2) NOT NULL,
  2957. `priceevery` decimal(10,2) NOT NULL,
  2958. `day` int(10) NOT NULL,
  2959. `fullbackday` int(10) NOT NULL,
  2960. `createtime` int(10) NOT NULL,
  2961. `fullbacktime` int(10) NOT NULL,
  2962. `isfullback` tinyint(3) NOT NULL DEFAULT '0',
  2963. `goodsid` int(11) NOT NULL DEFAULT '0',
  2964. PRIMARY KEY (`id`)
  2965. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2966. -- ----------------------------
  2967. -- Records of ims_ewei_shop_fullback_log
  2968. -- ----------------------------
  2969. -- ----------------------------
  2970. -- Table structure for `ims_ewei_shop_funbar`
  2971. -- ----------------------------
  2972. DROP TABLE IF EXISTS `ims_ewei_shop_funbar`;
  2973. CREATE TABLE `ims_ewei_shop_funbar` (
  2974. `id` int(11) NOT NULL AUTO_INCREMENT,
  2975. `uid` int(11) NOT NULL DEFAULT '0',
  2976. `datas` text,
  2977. `uniacid` int(11) NOT NULL DEFAULT '0',
  2978. PRIMARY KEY (`id`)
  2979. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  2980. -- ----------------------------
  2981. -- Records of ims_ewei_shop_funbar
  2982. -- ----------------------------
  2983. -- ----------------------------
  2984. -- Table structure for `ims_ewei_shop_gift`
  2985. -- ----------------------------
  2986. DROP TABLE IF EXISTS `ims_ewei_shop_gift`;
  2987. CREATE TABLE `ims_ewei_shop_gift` (
  2988. `id` int(11) NOT NULL AUTO_INCREMENT,
  2989. `uniacid` int(11) NOT NULL DEFAULT '0',
  2990. `title` varchar(255) NOT NULL,
  2991. `thumb` varchar(255) NOT NULL,
  2992. `activity` tinyint(3) NOT NULL DEFAULT '1',
  2993. `orderprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  2994. `goodsid` varchar(255) NOT NULL,
  2995. `giftgoodsid` varchar(255) NOT NULL,
  2996. `starttime` int(11) NOT NULL DEFAULT '0',
  2997. `endtime` int(11) NOT NULL DEFAULT '0',
  2998. `status` tinyint(3) NOT NULL DEFAULT '0',
  2999. `displayorder` int(11) NOT NULL DEFAULT '0',
  3000. `share_title` varchar(255) NOT NULL,
  3001. `share_icon` varchar(255) NOT NULL,
  3002. `share_desc` text NOT NULL,
  3003. PRIMARY KEY (`id`)
  3004. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3005. -- ----------------------------
  3006. -- Records of ims_ewei_shop_gift
  3007. -- ----------------------------
  3008. -- ----------------------------
  3009. -- Table structure for `ims_ewei_shop_globonus_bill`
  3010. -- ----------------------------
  3011. DROP TABLE IF EXISTS `ims_ewei_shop_globonus_bill`;
  3012. CREATE TABLE `ims_ewei_shop_globonus_bill` (
  3013. `id` int(11) NOT NULL AUTO_INCREMENT,
  3014. `uniacid` int(11) DEFAULT '0',
  3015. `billno` varchar(100) DEFAULT '',
  3016. `paytype` int(11) DEFAULT '0',
  3017. `year` int(11) DEFAULT '0',
  3018. `month` int(11) DEFAULT '0',
  3019. `week` int(11) DEFAULT '0',
  3020. `ordercount` int(11) DEFAULT '0',
  3021. `ordermoney` decimal(10,2) DEFAULT '0.00',
  3022. `bonusmoney` decimal(10,2) DEFAULT '0.00',
  3023. `bonusmoney_send` decimal(10,2) DEFAULT '0.00',
  3024. `bonusmoney_pay` decimal(10,2) DEFAULT '0.00',
  3025. `paytime` int(11) DEFAULT '0',
  3026. `partnercount` int(11) DEFAULT '0',
  3027. `createtime` int(11) DEFAULT '0',
  3028. `status` tinyint(3) DEFAULT '0',
  3029. `starttime` int(11) DEFAULT '0',
  3030. `endtime` int(11) DEFAULT '0',
  3031. `confirmtime` int(11) DEFAULT '0',
  3032. `bonusordermoney` decimal(10,2) DEFAULT '0.00',
  3033. `bonusrate` decimal(10,2) DEFAULT '0.00',
  3034. PRIMARY KEY (`id`),
  3035. KEY `idx_uniacid` (`uniacid`),
  3036. KEY `idx_paytype` (`paytype`),
  3037. KEY `idx_createtime` (`createtime`),
  3038. KEY `idx_paytime` (`paytime`),
  3039. KEY `idx_status` (`status`),
  3040. KEY `idx_month` (`month`),
  3041. KEY `idx_week` (`week`),
  3042. KEY `idx_year` (`year`)
  3043. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3044. -- ----------------------------
  3045. -- Records of ims_ewei_shop_globonus_bill
  3046. -- ----------------------------
  3047. -- ----------------------------
  3048. -- Table structure for `ims_ewei_shop_globonus_billo`
  3049. -- ----------------------------
  3050. DROP TABLE IF EXISTS `ims_ewei_shop_globonus_billo`;
  3051. CREATE TABLE `ims_ewei_shop_globonus_billo` (
  3052. `id` int(11) NOT NULL AUTO_INCREMENT,
  3053. `uniacid` int(11) DEFAULT '0',
  3054. `billid` int(11) DEFAULT '0',
  3055. `orderid` int(11) DEFAULT '0',
  3056. `ordermoney` decimal(10,2) DEFAULT '0.00',
  3057. PRIMARY KEY (`id`),
  3058. KEY `idx_billid` (`billid`),
  3059. KEY `idx_uniacid` (`uniacid`)
  3060. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3061. -- ----------------------------
  3062. -- Records of ims_ewei_shop_globonus_billo
  3063. -- ----------------------------
  3064. -- ----------------------------
  3065. -- Table structure for `ims_ewei_shop_globonus_billp`
  3066. -- ----------------------------
  3067. DROP TABLE IF EXISTS `ims_ewei_shop_globonus_billp`;
  3068. CREATE TABLE `ims_ewei_shop_globonus_billp` (
  3069. `id` int(11) NOT NULL AUTO_INCREMENT,
  3070. `uniacid` int(11) DEFAULT '0',
  3071. `billid` int(11) DEFAULT '0',
  3072. `openid` varchar(255) DEFAULT '',
  3073. `payno` varchar(255) DEFAULT '',
  3074. `paytype` tinyint(3) DEFAULT '0',
  3075. `bonus` decimal(10,2) DEFAULT '0.00',
  3076. `money` decimal(10,2) DEFAULT '0.00',
  3077. `realmoney` decimal(10,2) DEFAULT '0.00',
  3078. `paymoney` decimal(10,2) DEFAULT '0.00',
  3079. `charge` decimal(10,2) DEFAULT '0.00',
  3080. `chargemoney` decimal(10,2) DEFAULT '0.00',
  3081. `status` tinyint(3) DEFAULT '0',
  3082. `reason` varchar(255) DEFAULT '',
  3083. `paytime` int(11) DEFAULT '0',
  3084. PRIMARY KEY (`id`),
  3085. KEY `idx_billid` (`billid`),
  3086. KEY `idx_uniacid` (`uniacid`)
  3087. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3088. -- ----------------------------
  3089. -- Records of ims_ewei_shop_globonus_billp
  3090. -- ----------------------------
  3091. -- ----------------------------
  3092. -- Table structure for `ims_ewei_shop_globonus_level`
  3093. -- ----------------------------
  3094. DROP TABLE IF EXISTS `ims_ewei_shop_globonus_level`;
  3095. CREATE TABLE `ims_ewei_shop_globonus_level` (
  3096. `id` int(11) NOT NULL AUTO_INCREMENT,
  3097. `uniacid` int(11) NOT NULL,
  3098. `levelname` varchar(50) DEFAULT '',
  3099. `bonus` decimal(10,4) DEFAULT '0.0000',
  3100. `ordermoney` decimal(10,2) DEFAULT '0.00',
  3101. `ordercount` int(11) DEFAULT '0',
  3102. `commissionmoney` decimal(10,2) DEFAULT '0.00',
  3103. `bonusmoney` decimal(10,2) DEFAULT '0.00',
  3104. `downcount` int(11) DEFAULT '0',
  3105. PRIMARY KEY (`id`),
  3106. KEY `idx_uniacid` (`uniacid`)
  3107. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3108. -- ----------------------------
  3109. -- Records of ims_ewei_shop_globonus_level
  3110. -- ----------------------------
  3111. -- ----------------------------
  3112. -- Table structure for `ims_ewei_shop_goods`
  3113. -- ----------------------------
  3114. DROP TABLE IF EXISTS `ims_ewei_shop_goods`;
  3115. CREATE TABLE `ims_ewei_shop_goods` (
  3116. `id` int(11) NOT NULL AUTO_INCREMENT,
  3117. `uniacid` int(11) DEFAULT '0',
  3118. `pcate` int(11) DEFAULT '0',
  3119. `ccate` int(11) DEFAULT '0',
  3120. `tcate` int(11) DEFAULT '0',
  3121. `type` tinyint(1) DEFAULT '1',
  3122. `status` tinyint(1) DEFAULT '1',
  3123. `displayorder` int(11) DEFAULT '0',
  3124. `title` varchar(100) DEFAULT '',
  3125. `thumb` varchar(255) DEFAULT '',
  3126. `unit` varchar(5) DEFAULT '',
  3127. `description` varchar(1000) DEFAULT NULL,
  3128. `content` text,
  3129. `goodssn` varchar(50) DEFAULT '',
  3130. `productsn` varchar(50) DEFAULT '',
  3131. `productprice` decimal(10,2) DEFAULT '0.00',
  3132. `marketprice` decimal(10,2) DEFAULT '0.00',
  3133. `costprice` decimal(10,2) DEFAULT '0.00',
  3134. `originalprice` decimal(10,2) DEFAULT '0.00',
  3135. `total` int(10) DEFAULT '0',
  3136. `totalcnf` int(11) DEFAULT '0',
  3137. `sales` int(11) DEFAULT '0',
  3138. `salesreal` int(11) DEFAULT '0',
  3139. `spec` varchar(5000) DEFAULT '',
  3140. `createtime` int(11) DEFAULT '0',
  3141. `weight` decimal(10,2) DEFAULT '0.00',
  3142. `credit` varchar(255) DEFAULT '',
  3143. `maxbuy` int(11) DEFAULT '0',
  3144. `usermaxbuy` int(11) DEFAULT '0',
  3145. `hasoption` int(11) DEFAULT '0',
  3146. `dispatch` int(11) DEFAULT '0',
  3147. `thumb_url` text,
  3148. `isnew` tinyint(1) DEFAULT '0',
  3149. `ishot` tinyint(1) DEFAULT '0',
  3150. `isdiscount` tinyint(1) DEFAULT '0',
  3151. `isdiscount_title` varchar(255) DEFAULT '',
  3152. `isdiscount_time` int(11) DEFAULT '0',
  3153. `isdiscount_discounts` text,
  3154. `isrecommand` tinyint(1) DEFAULT '0',
  3155. `issendfree` tinyint(1) DEFAULT '0',
  3156. `istime` tinyint(1) DEFAULT '0',
  3157. `iscomment` tinyint(1) DEFAULT '0',
  3158. `timestart` int(11) DEFAULT '0',
  3159. `timeend` int(11) DEFAULT '0',
  3160. `viewcount` int(11) DEFAULT '0',
  3161. `deleted` tinyint(3) DEFAULT '0',
  3162. `hascommission` tinyint(3) DEFAULT '0',
  3163. `commission1_rate` decimal(10,2) DEFAULT '0.00',
  3164. `commission1_pay` decimal(10,2) DEFAULT '0.00',
  3165. `commission2_rate` decimal(10,2) DEFAULT '0.00',
  3166. `commission2_pay` decimal(10,2) DEFAULT '0.00',
  3167. `commission3_rate` decimal(10,2) DEFAULT '0.00',
  3168. `commission3_pay` decimal(10,2) DEFAULT '0.00',
  3169. `commission` text,
  3170. `score` decimal(10,2) DEFAULT '0.00',
  3171. `catch_id` varchar(255) DEFAULT '',
  3172. `catch_url` varchar(255) DEFAULT '',
  3173. `catch_source` varchar(255) DEFAULT '',
  3174. `updatetime` int(11) DEFAULT '0',
  3175. `share_title` varchar(255) DEFAULT '',
  3176. `share_icon` varchar(255) DEFAULT '',
  3177. `cash` tinyint(3) DEFAULT '0',
  3178. `commission_thumb` varchar(255) DEFAULT '',
  3179. `isnodiscount` tinyint(3) DEFAULT '0',
  3180. `showlevels` text,
  3181. `buylevels` text,
  3182. `showgroups` text,
  3183. `buygroups` text,
  3184. `isverify` tinyint(3) DEFAULT '0',
  3185. `storeids` text,
  3186. `noticeopenid` varchar(255) DEFAULT '',
  3187. `noticetype` text,
  3188. `needfollow` tinyint(3) DEFAULT '0',
  3189. `followurl` varchar(255) DEFAULT '',
  3190. `followtip` varchar(255) DEFAULT '',
  3191. `deduct` decimal(10,2) DEFAULT '0.00',
  3192. `shorttitle` varchar(255) DEFAULT '',
  3193. `virtual` int(11) DEFAULT '0',
  3194. `ccates` text,
  3195. `discounts` text,
  3196. `nocommission` tinyint(3) DEFAULT '0',
  3197. `hidecommission` tinyint(3) DEFAULT '0',
  3198. `pcates` text,
  3199. `tcates` text,
  3200. `detail_logo` varchar(255) DEFAULT '',
  3201. `detail_shopname` varchar(255) DEFAULT '',
  3202. `detail_totaltitle` varchar(255) DEFAULT '',
  3203. `detail_btntext1` varchar(255) DEFAULT '',
  3204. `detail_btnurl1` varchar(255) DEFAULT '',
  3205. `detail_btntext2` varchar(255) DEFAULT '',
  3206. `detail_btnurl2` varchar(255) DEFAULT '',
  3207. `cates` text,
  3208. `artid` int(11) DEFAULT '0',
  3209. `deduct2` decimal(10,2) DEFAULT '0.00',
  3210. `ednum` int(11) DEFAULT '0',
  3211. `edareas` text,
  3212. `edmoney` decimal(10,2) DEFAULT '0.00',
  3213. `diyformtype` tinyint(1) DEFAULT '0',
  3214. `diyformid` int(11) DEFAULT '0',
  3215. `diymode` tinyint(1) DEFAULT '0',
  3216. `dispatchtype` tinyint(1) DEFAULT '0',
  3217. `dispatchid` int(11) DEFAULT '0',
  3218. `dispatchprice` decimal(10,2) DEFAULT '0.00',
  3219. `manydeduct` tinyint(1) DEFAULT '0',
  3220. `saleupdate37975` tinyint(3) DEFAULT '0',
  3221. `shopid` int(11) DEFAULT '0',
  3222. `allcates` text,
  3223. `minbuy` int(11) DEFAULT '0',
  3224. `invoice` tinyint(3) DEFAULT '0',
  3225. `repair` tinyint(3) DEFAULT '0',
  3226. `seven` tinyint(3) DEFAULT '0',
  3227. `money` varchar(255) DEFAULT '',
  3228. `minprice` decimal(10,2) DEFAULT '0.00',
  3229. `maxprice` decimal(10,2) DEFAULT '0.00',
  3230. `province` varchar(255) DEFAULT '',
  3231. `city` varchar(255) DEFAULT '',
  3232. `buyshow` tinyint(1) DEFAULT '0',
  3233. `buycontent` text,
  3234. `saleupdate51117` tinyint(3) DEFAULT '0',
  3235. `virtualsend` tinyint(1) DEFAULT '0',
  3236. `virtualsendcontent` text,
  3237. `verifytype` tinyint(1) DEFAULT '0',
  3238. `diyfields` text,
  3239. `diysaveid` int(11) DEFAULT '0',
  3240. `diysave` tinyint(1) DEFAULT '0',
  3241. `quality` tinyint(3) DEFAULT '0',
  3242. `groupstype` tinyint(1) unsigned NOT NULL DEFAULT '0',
  3243. `showtotal` tinyint(1) unsigned NOT NULL DEFAULT '0',
  3244. `subtitle` varchar(255) DEFAULT '',
  3245. `sharebtn` tinyint(1) NOT NULL DEFAULT '0',
  3246. `merchid` int(11) DEFAULT '0',
  3247. `checked` tinyint(3) DEFAULT '0',
  3248. `thumb_first` tinyint(3) DEFAULT '0',
  3249. `merchsale` tinyint(1) DEFAULT '0',
  3250. `keywords` varchar(255) DEFAULT '',
  3251. `labelname` text,
  3252. `autoreceive` int(11) DEFAULT '0',
  3253. `cannotrefund` tinyint(3) DEFAULT '0',
  3254. `bargain` int(11) DEFAULT '0',
  3255. `buyagain` decimal(10,2) DEFAULT '0.00',
  3256. `buyagain_islong` tinyint(1) DEFAULT '0',
  3257. `buyagain_condition` tinyint(1) DEFAULT '0',
  3258. `buyagain_sale` tinyint(1) DEFAULT '0',
  3259. `buyagain_commission` text,
  3260. `buyagain_price` decimal(10,2) DEFAULT '0.00',
  3261. `diypage` int(11) DEFAULT NULL,
  3262. `cashier` tinyint(1) DEFAULT '0',
  3263. `isendtime` tinyint(3) NOT NULL DEFAULT '0',
  3264. `usetime` int(11) NOT NULL DEFAULT '0',
  3265. `endtime` int(11) NOT NULL DEFAULT '0',
  3266. `merchdisplayorder` int(11) NOT NULL DEFAULT '0',
  3267. `exchange_stock` int(11) DEFAULT '0',
  3268. `exchange_postage` decimal(10,2) NOT NULL DEFAULT '0.00',
  3269. `ispresell` tinyint(3) NOT NULL DEFAULT '0',
  3270. `presellprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  3271. `presellover` tinyint(3) NOT NULL DEFAULT '0',
  3272. `presellovertime` int(11) NOT NULL,
  3273. `presellstart` tinyint(3) NOT NULL DEFAULT '0',
  3274. `preselltimestart` int(11) NOT NULL DEFAULT '0',
  3275. `presellend` tinyint(3) NOT NULL DEFAULT '0',
  3276. `preselltimeend` int(11) NOT NULL DEFAULT '0',
  3277. `presellsendtype` tinyint(3) NOT NULL DEFAULT '0',
  3278. `presellsendstatrttime` int(11) NOT NULL DEFAULT '0',
  3279. `presellsendtime` int(11) NOT NULL DEFAULT '0',
  3280. `edareas_code` text NOT NULL,
  3281. `unite_total` tinyint(3) NOT NULL DEFAULT '0',
  3282. `threen` varchar(255) DEFAULT '',
  3283. `catesinit3` text,
  3284. `showtotaladd` tinyint(1) DEFAULT '0',
  3285. `intervalfloor` tinyint(1) DEFAULT '0',
  3286. `intervalprice` varchar(512) DEFAULT '',
  3287. `isfullback` tinyint(3) NOT NULL DEFAULT '0',
  3288. `isstatustime` tinyint(3) NOT NULL DEFAULT '0',
  3289. `statustimestart` int(10) NOT NULL DEFAULT '0',
  3290. `statustimeend` int(10) NOT NULL DEFAULT '0',
  3291. `nosearch` tinyint(1) NOT NULL DEFAULT '0',
  3292. `showsales` tinyint(3) NOT NULL DEFAULT '1',
  3293. `islive` int(11) NOT NULL DEFAULT '0',
  3294. `liveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  3295. `opencard` tinyint(1) DEFAULT '0',
  3296. `cardid` varchar(255) DEFAULT '',
  3297. `verifygoodsnum` int(11) DEFAULT '1',
  3298. `verifygoodsdays` int(11) DEFAULT '1',
  3299. `verifygoodslimittype` tinyint(1) DEFAULT '0',
  3300. `verifygoodslimitdate` int(11) DEFAULT '0',
  3301. `minliveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  3302. `maxliveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  3303. `dowpayment` decimal(10,2) NOT NULL DEFAULT '0.00',
  3304. `tempid` int(11) NOT NULL DEFAULT '0',
  3305. `isstoreprice` tinyint(11) NOT NULL DEFAULT '0',
  3306. `beforehours` int(11) NOT NULL DEFAULT '0',
  3307. `newgoods` tinyint(3) NOT NULL DEFAULT '0',
  3308. `video` varchar(512) DEFAULT '',
  3309. `officthumb` varchar(512) DEFAULT '',
  3310. `verifygoodstype` tinyint(1) NOT NULL DEFAULT '0',
  3311. `isforceverifystore` tinyint(1) NOT NULL DEFAULT '0',
  3312. `taobaoid` varchar(255) DEFAULT '',
  3313. `taotaoid` varchar(255) DEFAULT '',
  3314. `taobaourl` varchar(255) DEFAULT '',
  3315. `saleupdate40170` tinyint(3) DEFAULT '0',
  3316. `saleupdate35843` tinyint(3) DEFAULT '0',
  3317. `saleupdate42392` tinyint(3) DEFAULT '0',
  3318. `minpriceupdated` tinyint(1) DEFAULT '0',
  3319. `saleupdate33219` tinyint(3) DEFAULT '0',
  3320. `saleupdate32484` tinyint(3) DEFAULT '0',
  3321. `saleupdate36586` tinyint(3) DEFAULT '0',
  3322. `saleupdate53481` tinyint(3) DEFAULT '0',
  3323. `saleupdate30424` tinyint(3) DEFAULT '0',
  3324. `saleupdate` tinyint(3) DEFAULT '0',
  3325. PRIMARY KEY (`id`),
  3326. KEY `idx_uniacid` (`uniacid`),
  3327. KEY `idx_pcate` (`pcate`),
  3328. KEY `idx_ccate` (`ccate`),
  3329. KEY `idx_isnew` (`isnew`),
  3330. KEY `idx_ishot` (`ishot`),
  3331. KEY `idx_isdiscount` (`isdiscount`),
  3332. KEY `idx_isrecommand` (`isrecommand`),
  3333. KEY `idx_iscomment` (`iscomment`),
  3334. KEY `idx_issendfree` (`issendfree`),
  3335. KEY `idx_istime` (`istime`),
  3336. KEY `idx_deleted` (`deleted`),
  3337. KEY `idx_scate` (`tcate`),
  3338. KEY `idx_merchid` (`merchid`),
  3339. KEY `idx_checked` (`checked`),
  3340. KEY `idx_productsn` (`productsn`) USING BTREE,
  3341. KEY `idx_tcate` (`tcate`)
  3342. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3343. -- ----------------------------
  3344. -- Records of ims_ewei_shop_goods
  3345. -- ----------------------------
  3346. -- ----------------------------
  3347. -- Table structure for `ims_ewei_shop_goodscode_good`
  3348. -- ----------------------------
  3349. DROP TABLE IF EXISTS `ims_ewei_shop_goodscode_good`;
  3350. CREATE TABLE `ims_ewei_shop_goodscode_good` (
  3351. `id` int(11) NOT NULL AUTO_INCREMENT,
  3352. `uniacid` int(11) NOT NULL,
  3353. `goodsid` int(11) NOT NULL,
  3354. `title` varchar(255) NOT NULL,
  3355. `thumb` varchar(255) NOT NULL,
  3356. `qrcode` varchar(255) NOT NULL,
  3357. `status` tinyint(3) NOT NULL,
  3358. `displayorder` int(11) NOT NULL,
  3359. PRIMARY KEY (`id`)
  3360. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3361. -- ----------------------------
  3362. -- Records of ims_ewei_shop_goodscode_good
  3363. -- ----------------------------
  3364. -- ----------------------------
  3365. -- Table structure for `ims_ewei_shop_goods_cards`
  3366. -- ----------------------------
  3367. DROP TABLE IF EXISTS `ims_ewei_shop_goods_cards`;
  3368. CREATE TABLE `ims_ewei_shop_goods_cards` (
  3369. `id` int(11) NOT NULL AUTO_INCREMENT,
  3370. `uniacid` int(11) DEFAULT NULL,
  3371. `card_id` varchar(255) DEFAULT NULL,
  3372. `card_title` varchar(255) DEFAULT NULL,
  3373. `card_brand_name` varchar(255) DEFAULT NULL,
  3374. `card_totalquantity` int(11) DEFAULT NULL,
  3375. `card_quantity` int(11) DEFAULT NULL,
  3376. `card_logoimg` varchar(255) DEFAULT NULL,
  3377. `card_logowxurl` varchar(255) DEFAULT NULL,
  3378. `card_backgroundtype` tinyint(1) DEFAULT NULL,
  3379. `color` varchar(255) DEFAULT NULL,
  3380. `card_backgroundimg` varchar(255) DEFAULT NULL,
  3381. `card_backgroundwxurl` varchar(255) DEFAULT NULL,
  3382. `prerogative` varchar(255) DEFAULT NULL,
  3383. `card_description` varchar(255) DEFAULT NULL,
  3384. `freewifi` tinyint(1) DEFAULT NULL,
  3385. `withpet` tinyint(1) DEFAULT NULL,
  3386. `freepark` tinyint(1) DEFAULT NULL,
  3387. `deliver` tinyint(1) DEFAULT NULL,
  3388. `custom_cell1` tinyint(1) DEFAULT NULL,
  3389. `custom_cell1_name` varchar(255) DEFAULT NULL,
  3390. `custom_cell1_tips` varchar(255) DEFAULT NULL,
  3391. `custom_cell1_url` varchar(255) DEFAULT NULL,
  3392. `color2` varchar(20) DEFAULT '',
  3393. PRIMARY KEY (`id`)
  3394. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3395. -- ----------------------------
  3396. -- Records of ims_ewei_shop_goods_cards
  3397. -- ----------------------------
  3398. -- ----------------------------
  3399. -- Table structure for `ims_ewei_shop_goods_comment`
  3400. -- ----------------------------
  3401. DROP TABLE IF EXISTS `ims_ewei_shop_goods_comment`;
  3402. CREATE TABLE `ims_ewei_shop_goods_comment` (
  3403. `id` int(11) NOT NULL AUTO_INCREMENT,
  3404. `uniacid` int(11) DEFAULT '0',
  3405. `goodsid` int(10) DEFAULT '0',
  3406. `openid` varchar(50) DEFAULT '',
  3407. `nickname` varchar(50) DEFAULT '',
  3408. `headimgurl` varchar(255) DEFAULT '',
  3409. `content` varchar(255) DEFAULT '',
  3410. `createtime` int(11) DEFAULT '0',
  3411. PRIMARY KEY (`id`),
  3412. KEY `idx_uniacid` (`uniacid`),
  3413. KEY `idx_goodsid` (`goodsid`),
  3414. KEY `idx_openid` (`openid`),
  3415. KEY `idx_createtime` (`createtime`)
  3416. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3417. -- ----------------------------
  3418. -- Records of ims_ewei_shop_goods_comment
  3419. -- ----------------------------
  3420. -- ----------------------------
  3421. -- Table structure for `ims_ewei_shop_goods_group`
  3422. -- ----------------------------
  3423. DROP TABLE IF EXISTS `ims_ewei_shop_goods_group`;
  3424. CREATE TABLE `ims_ewei_shop_goods_group` (
  3425. `id` int(11) NOT NULL AUTO_INCREMENT,
  3426. `uniacid` int(11) NOT NULL DEFAULT '0',
  3427. `name` varchar(255) NOT NULL DEFAULT '',
  3428. `goodsids` text NOT NULL,
  3429. `enabled` tinyint(1) NOT NULL DEFAULT '0',
  3430. `merchid` int(11) NOT NULL DEFAULT '0',
  3431. PRIMARY KEY (`id`),
  3432. KEY `idx_uniacid` (`uniacid`),
  3433. KEY `idx_enabled` (`enabled`)
  3434. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3435. -- ----------------------------
  3436. -- Records of ims_ewei_shop_goods_group
  3437. -- ----------------------------
  3438. -- ----------------------------
  3439. -- Table structure for `ims_ewei_shop_goods_label`
  3440. -- ----------------------------
  3441. DROP TABLE IF EXISTS `ims_ewei_shop_goods_label`;
  3442. CREATE TABLE `ims_ewei_shop_goods_label` (
  3443. `id` int(11) NOT NULL AUTO_INCREMENT,
  3444. `uniacid` int(11) NOT NULL DEFAULT '0',
  3445. `label` varchar(255) NOT NULL DEFAULT '',
  3446. `labelname` text NOT NULL,
  3447. `status` tinyint(3) NOT NULL DEFAULT '0',
  3448. `displayorder` int(11) NOT NULL DEFAULT '0',
  3449. PRIMARY KEY (`id`)
  3450. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3451. -- ----------------------------
  3452. -- Records of ims_ewei_shop_goods_label
  3453. -- ----------------------------
  3454. -- ----------------------------
  3455. -- Table structure for `ims_ewei_shop_goods_labelstyle`
  3456. -- ----------------------------
  3457. DROP TABLE IF EXISTS `ims_ewei_shop_goods_labelstyle`;
  3458. CREATE TABLE `ims_ewei_shop_goods_labelstyle` (
  3459. `id` int(11) NOT NULL AUTO_INCREMENT,
  3460. `uniacid` int(11) NOT NULL,
  3461. `style` int(3) NOT NULL,
  3462. PRIMARY KEY (`id`)
  3463. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3464. -- ----------------------------
  3465. -- Records of ims_ewei_shop_goods_labelstyle
  3466. -- ----------------------------
  3467. -- ----------------------------
  3468. -- Table structure for `ims_ewei_shop_goods_option`
  3469. -- ----------------------------
  3470. DROP TABLE IF EXISTS `ims_ewei_shop_goods_option`;
  3471. CREATE TABLE `ims_ewei_shop_goods_option` (
  3472. `id` int(11) NOT NULL AUTO_INCREMENT,
  3473. `uniacid` int(11) DEFAULT '0',
  3474. `goodsid` int(10) DEFAULT '0',
  3475. `title` varchar(50) DEFAULT '',
  3476. `thumb` varchar(60) DEFAULT '',
  3477. `productprice` decimal(10,2) DEFAULT '0.00',
  3478. `marketprice` decimal(10,2) DEFAULT '0.00',
  3479. `costprice` decimal(10,2) DEFAULT '0.00',
  3480. `stock` int(11) DEFAULT '0',
  3481. `weight` decimal(10,2) DEFAULT '0.00',
  3482. `displayorder` int(11) DEFAULT '0',
  3483. `specs` text,
  3484. `skuId` varchar(255) DEFAULT '',
  3485. `goodssn` varchar(255) DEFAULT '',
  3486. `productsn` varchar(255) DEFAULT '',
  3487. `virtual` int(11) DEFAULT '0',
  3488. `exchange_stock` int(11) DEFAULT '0',
  3489. `exchange_postage` decimal(10,2) NOT NULL DEFAULT '0.00',
  3490. `presellprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  3491. `day` int(3) NOT NULL,
  3492. `allfullbackprice` decimal(10,2) NOT NULL,
  3493. `fullbackprice` decimal(10,2) NOT NULL,
  3494. `allfullbackratio` decimal(10,2) DEFAULT NULL,
  3495. `fullbackratio` decimal(10,2) DEFAULT NULL,
  3496. `isfullback` tinyint(3) NOT NULL,
  3497. `islive` int(11) NOT NULL,
  3498. `liveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  3499. `cycelbuy_periodic` varchar(20) NOT NULL DEFAULT '',
  3500. PRIMARY KEY (`id`),
  3501. KEY `idx_uniacid` (`uniacid`),
  3502. KEY `idx_goodsid` (`goodsid`),
  3503. KEY `idx_displayorder` (`displayorder`),
  3504. KEY `idx_productsn` (`productsn`) USING BTREE
  3505. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3506. -- ----------------------------
  3507. -- Records of ims_ewei_shop_goods_option
  3508. -- ----------------------------
  3509. -- ----------------------------
  3510. -- Table structure for `ims_ewei_shop_goods_param`
  3511. -- ----------------------------
  3512. DROP TABLE IF EXISTS `ims_ewei_shop_goods_param`;
  3513. CREATE TABLE `ims_ewei_shop_goods_param` (
  3514. `id` int(11) NOT NULL AUTO_INCREMENT,
  3515. `uniacid` int(11) DEFAULT '0',
  3516. `goodsid` int(10) DEFAULT '0',
  3517. `title` varchar(50) DEFAULT '',
  3518. `value` text,
  3519. `displayorder` int(11) DEFAULT '0',
  3520. PRIMARY KEY (`id`),
  3521. KEY `idx_uniacid` (`uniacid`),
  3522. KEY `idx_goodsid` (`goodsid`),
  3523. KEY `idx_displayorder` (`displayorder`)
  3524. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3525. -- ----------------------------
  3526. -- Records of ims_ewei_shop_goods_param
  3527. -- ----------------------------
  3528. -- ----------------------------
  3529. -- Table structure for `ims_ewei_shop_goods_spec`
  3530. -- ----------------------------
  3531. DROP TABLE IF EXISTS `ims_ewei_shop_goods_spec`;
  3532. CREATE TABLE `ims_ewei_shop_goods_spec` (
  3533. `id` int(11) NOT NULL AUTO_INCREMENT,
  3534. `uniacid` int(11) DEFAULT '0',
  3535. `goodsid` int(11) DEFAULT '0',
  3536. `title` varchar(50) DEFAULT '',
  3537. `description` varchar(1000) DEFAULT '',
  3538. `displaytype` tinyint(3) DEFAULT '0',
  3539. `content` text,
  3540. `displayorder` int(11) DEFAULT '0',
  3541. `propId` varchar(255) DEFAULT '',
  3542. `iscycelbuy` tinyint(1) NOT NULL DEFAULT '0',
  3543. PRIMARY KEY (`id`),
  3544. KEY `idx_uniacid` (`uniacid`),
  3545. KEY `idx_goodsid` (`goodsid`),
  3546. KEY `idx_displayorder` (`displayorder`)
  3547. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3548. -- ----------------------------
  3549. -- Records of ims_ewei_shop_goods_spec
  3550. -- ----------------------------
  3551. -- ----------------------------
  3552. -- Table structure for `ims_ewei_shop_goods_spec_item`
  3553. -- ----------------------------
  3554. DROP TABLE IF EXISTS `ims_ewei_shop_goods_spec_item`;
  3555. CREATE TABLE `ims_ewei_shop_goods_spec_item` (
  3556. `id` int(11) NOT NULL AUTO_INCREMENT,
  3557. `uniacid` int(11) DEFAULT '0',
  3558. `specid` int(11) DEFAULT '0',
  3559. `title` varchar(255) DEFAULT '',
  3560. `thumb` varchar(255) DEFAULT '',
  3561. `show` int(11) DEFAULT '0',
  3562. `displayorder` int(11) DEFAULT '0',
  3563. `valueId` varchar(255) DEFAULT '',
  3564. `virtual` int(11) DEFAULT '0',
  3565. `cycelbuy_periodic` varchar(20) NOT NULL DEFAULT '',
  3566. PRIMARY KEY (`id`),
  3567. KEY `idx_uniacid` (`uniacid`),
  3568. KEY `idx_specid` (`specid`),
  3569. KEY `idx_show` (`show`),
  3570. KEY `idx_displayorder` (`displayorder`)
  3571. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3572. -- ----------------------------
  3573. -- Records of ims_ewei_shop_goods_spec_item
  3574. -- ----------------------------
  3575. -- ----------------------------
  3576. -- Table structure for `ims_ewei_shop_groups_adv`
  3577. -- ----------------------------
  3578. DROP TABLE IF EXISTS `ims_ewei_shop_groups_adv`;
  3579. CREATE TABLE `ims_ewei_shop_groups_adv` (
  3580. `id` int(11) NOT NULL AUTO_INCREMENT,
  3581. `uniacid` int(11) DEFAULT '0',
  3582. `advname` varchar(50) DEFAULT '',
  3583. `link` varchar(255) DEFAULT '',
  3584. `thumb` varchar(255) DEFAULT '',
  3585. `displayorder` int(11) DEFAULT '0',
  3586. `enabled` int(11) DEFAULT '0',
  3587. PRIMARY KEY (`id`),
  3588. KEY `idx_uniacid` (`uniacid`),
  3589. KEY `idx_enabled` (`enabled`),
  3590. KEY `idx_displayorder` (`displayorder`)
  3591. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3592. -- ----------------------------
  3593. -- Records of ims_ewei_shop_groups_adv
  3594. -- ----------------------------
  3595. -- ----------------------------
  3596. -- Table structure for `ims_ewei_shop_groups_category`
  3597. -- ----------------------------
  3598. DROP TABLE IF EXISTS `ims_ewei_shop_groups_category`;
  3599. CREATE TABLE `ims_ewei_shop_groups_category` (
  3600. `id` int(11) NOT NULL AUTO_INCREMENT,
  3601. `uniacid` int(11) DEFAULT '0',
  3602. `name` varchar(50) DEFAULT NULL,
  3603. `thumb` varchar(255) DEFAULT NULL,
  3604. `displayorder` tinyint(3) unsigned DEFAULT '0',
  3605. `enabled` tinyint(1) DEFAULT '1',
  3606. `advimg` varchar(255) DEFAULT '',
  3607. `advurl` varchar(500) DEFAULT '',
  3608. `isrecommand` tinyint(3) DEFAULT '0',
  3609. PRIMARY KEY (`id`),
  3610. KEY `idx_uniacid` (`uniacid`),
  3611. KEY `idx_displayorder` (`displayorder`),
  3612. KEY `idx_enabled` (`enabled`),
  3613. KEY `idx_name` (`name`) USING BTREE
  3614. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3615. -- ----------------------------
  3616. -- Records of ims_ewei_shop_groups_category
  3617. -- ----------------------------
  3618. -- ----------------------------
  3619. -- Table structure for `ims_ewei_shop_groups_goods`
  3620. -- ----------------------------
  3621. DROP TABLE IF EXISTS `ims_ewei_shop_groups_goods`;
  3622. CREATE TABLE `ims_ewei_shop_groups_goods` (
  3623. `id` int(11) NOT NULL AUTO_INCREMENT,
  3624. `displayorder` int(11) unsigned DEFAULT '0',
  3625. `uniacid` int(11) DEFAULT '0',
  3626. `goodssn` varchar(50) DEFAULT NULL,
  3627. `productsn` varchar(50) DEFAULT NULL,
  3628. `title` varchar(255) NOT NULL DEFAULT '',
  3629. `category` int(11) DEFAULT NULL,
  3630. `showstock` tinyint(2) NOT NULL,
  3631. `stock` int(11) NOT NULL DEFAULT '0',
  3632. `price` decimal(10,2) DEFAULT '0.00',
  3633. `groupsprice` decimal(10,2) DEFAULT '0.00',
  3634. `goodsnum` int(11) NOT NULL DEFAULT '1',
  3635. `purchaselimit` int(11) NOT NULL DEFAULT '0',
  3636. `single` tinyint(2) NOT NULL DEFAULT '0',
  3637. `singleprice` decimal(10,2) DEFAULT '0.00',
  3638. `units` varchar(255) NOT NULL DEFAULT '件',
  3639. `dispatchtype` tinyint(2) NOT NULL,
  3640. `dispatchid` int(11) NOT NULL,
  3641. `freight` decimal(10,2) DEFAULT '0.00',
  3642. `endtime` int(11) unsigned NOT NULL DEFAULT '0',
  3643. `groupnum` int(10) NOT NULL DEFAULT '0',
  3644. `sales` int(10) NOT NULL DEFAULT '0',
  3645. `thumb` varchar(255) DEFAULT '',
  3646. `description` varchar(1000) DEFAULT NULL,
  3647. `content` text,
  3648. `createtime` int(11) unsigned NOT NULL DEFAULT '0',
  3649. `status` tinyint(3) NOT NULL DEFAULT '0',
  3650. `isindex` tinyint(3) NOT NULL DEFAULT '0',
  3651. `deleted` tinyint(3) NOT NULL DEFAULT '0',
  3652. `goodsid` int(11) NOT NULL DEFAULT '0',
  3653. `followneed` tinyint(2) NOT NULL DEFAULT '0',
  3654. `followtext` varchar(255) DEFAULT NULL,
  3655. `followurl` varchar(255) DEFAULT NULL,
  3656. `share_title` varchar(255) DEFAULT NULL,
  3657. `share_icon` varchar(255) DEFAULT NULL,
  3658. `share_desc` varchar(500) DEFAULT NULL,
  3659. `deduct` decimal(10,2) NOT NULL DEFAULT '0.00',
  3660. `thumb_url` text,
  3661. `rights` tinyint(2) NOT NULL DEFAULT '1',
  3662. `gid` int(11) DEFAULT '0',
  3663. `discount` tinyint(3) DEFAULT '0',
  3664. `headstype` tinyint(3) DEFAULT NULL,
  3665. `headsmoney` decimal(10,2) DEFAULT '0.00',
  3666. `headsdiscount` int(11) DEFAULT '0',
  3667. `isdiscount` tinyint(3) DEFAULT '0',
  3668. `isverify` tinyint(3) DEFAULT '0',
  3669. `verifytype` tinyint(3) DEFAULT '0',
  3670. `verifynum` int(11) DEFAULT '0',
  3671. `storeids` text,
  3672. `merchid` int(11) DEFAULT '0',
  3673. `shorttitle` varchar(255) DEFAULT '',
  3674. `teamnum` int(11) DEFAULT '0',
  3675. `more_spec` tinyint(1) DEFAULT '0',
  3676. `is_ladder` tinyint(1) DEFAULT '0',
  3677. `ishot` tinyint(3) NOT NULL DEFAULT '0',
  3678. PRIMARY KEY (`id`),
  3679. KEY `idx_uniacid` (`uniacid`),
  3680. KEY `idx_type` (`category`),
  3681. KEY `idx_createtime` (`createtime`),
  3682. KEY `idx_status` (`status`),
  3683. KEY `idx_category` (`category`) USING BTREE,
  3684. KEY `idx_dispatchid` (`dispatchid`) USING BTREE,
  3685. KEY `idx_istop` (`isindex`)
  3686. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3687. -- ----------------------------
  3688. -- Records of ims_ewei_shop_groups_goods
  3689. -- ----------------------------
  3690. -- ----------------------------
  3691. -- Table structure for `ims_ewei_shop_groups_goods_atlas`
  3692. -- ----------------------------
  3693. DROP TABLE IF EXISTS `ims_ewei_shop_groups_goods_atlas`;
  3694. CREATE TABLE `ims_ewei_shop_groups_goods_atlas` (
  3695. `id` int(11) NOT NULL AUTO_INCREMENT,
  3696. `g_id` int(11) NOT NULL,
  3697. `thumb` varchar(145) NOT NULL,
  3698. PRIMARY KEY (`id`)
  3699. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3700. -- ----------------------------
  3701. -- Records of ims_ewei_shop_groups_goods_atlas
  3702. -- ----------------------------
  3703. -- ----------------------------
  3704. -- Table structure for `ims_ewei_shop_groups_goods_option`
  3705. -- ----------------------------
  3706. DROP TABLE IF EXISTS `ims_ewei_shop_groups_goods_option`;
  3707. CREATE TABLE `ims_ewei_shop_groups_goods_option` (
  3708. `id` int(11) NOT NULL AUTO_INCREMENT,
  3709. `uniacid` int(11) DEFAULT NULL,
  3710. `goodsid` int(11) DEFAULT '0',
  3711. `groups_goods_id` int(255) DEFAULT '0',
  3712. `goods_option_id` int(11) DEFAULT '0',
  3713. `title` varchar(255) DEFAULT NULL,
  3714. `marketprice` decimal(10,2) DEFAULT NULL,
  3715. `price` decimal(10,2) DEFAULT NULL,
  3716. `single_price` decimal(10,2) DEFAULT NULL,
  3717. `specs` varchar(255) DEFAULT NULL,
  3718. `stock` int(255) DEFAULT NULL,
  3719. PRIMARY KEY (`id`)
  3720. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3721. -- ----------------------------
  3722. -- Records of ims_ewei_shop_groups_goods_option
  3723. -- ----------------------------
  3724. -- ----------------------------
  3725. -- Table structure for `ims_ewei_shop_groups_ladder`
  3726. -- ----------------------------
  3727. DROP TABLE IF EXISTS `ims_ewei_shop_groups_ladder`;
  3728. CREATE TABLE `ims_ewei_shop_groups_ladder` (
  3729. `id` int(11) NOT NULL AUTO_INCREMENT,
  3730. `uniacid` int(11) DEFAULT NULL,
  3731. `goods_id` int(11) DEFAULT '0',
  3732. `ladder_num` int(11) DEFAULT NULL,
  3733. `ladder_price` decimal(10,2) DEFAULT NULL,
  3734. PRIMARY KEY (`id`)
  3735. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3736. -- ----------------------------
  3737. -- Records of ims_ewei_shop_groups_ladder
  3738. -- ----------------------------
  3739. -- ----------------------------
  3740. -- Table structure for `ims_ewei_shop_groups_order`
  3741. -- ----------------------------
  3742. DROP TABLE IF EXISTS `ims_ewei_shop_groups_order`;
  3743. CREATE TABLE `ims_ewei_shop_groups_order` (
  3744. `id` int(11) NOT NULL AUTO_INCREMENT,
  3745. `uniacid` int(11) NOT NULL DEFAULT '0',
  3746. `openid` varchar(45) NOT NULL,
  3747. `orderno` varchar(45) NOT NULL,
  3748. `groupnum` int(11) NOT NULL,
  3749. `paytime` int(11) NOT NULL,
  3750. `credit` int(11) DEFAULT '0',
  3751. `creditmoney` decimal(11,2) DEFAULT '0.00',
  3752. `price` decimal(11,2) DEFAULT '0.00',
  3753. `freight` decimal(11,2) DEFAULT '0.00',
  3754. `status` int(9) NOT NULL,
  3755. `pay_type` varchar(45) DEFAULT NULL,
  3756. `dispatchid` int(11) DEFAULT NULL,
  3757. `addressid` int(11) NOT NULL DEFAULT '0',
  3758. `address` varchar(1000) DEFAULT NULL,
  3759. `goodid` int(11) NOT NULL,
  3760. `teamid` int(11) NOT NULL,
  3761. `is_team` int(2) NOT NULL,
  3762. `heads` int(11) DEFAULT '0',
  3763. `discount` decimal(10,2) DEFAULT '0.00',
  3764. `starttime` int(11) NOT NULL,
  3765. `canceltime` int(11) NOT NULL DEFAULT '0',
  3766. `endtime` int(45) NOT NULL,
  3767. `createtime` int(11) NOT NULL,
  3768. `finishtime` int(11) NOT NULL DEFAULT '0',
  3769. `refundid` int(11) NOT NULL DEFAULT '0',
  3770. `refundstate` tinyint(2) NOT NULL DEFAULT '0',
  3771. `refundtime` int(11) NOT NULL DEFAULT '0',
  3772. `express` varchar(45) DEFAULT NULL,
  3773. `expresscom` varchar(100) DEFAULT NULL,
  3774. `expresssn` varchar(45) DEFAULT NULL,
  3775. `sendtime` int(45) DEFAULT '0',
  3776. `remark` varchar(255) DEFAULT NULL,
  3777. `remarkclose` text,
  3778. `remarksend` text,
  3779. `message` varchar(255) DEFAULT NULL,
  3780. `success` int(2) NOT NULL DEFAULT '0',
  3781. `deleted` int(2) NOT NULL DEFAULT '0',
  3782. `realname` varchar(20) DEFAULT NULL,
  3783. `mobile` varchar(11) DEFAULT NULL,
  3784. `isverify` tinyint(3) DEFAULT '0',
  3785. `verifytype` tinyint(3) DEFAULT '0',
  3786. `verifycode` varchar(45) DEFAULT '0',
  3787. `verifynum` int(11) DEFAULT '0',
  3788. `printstate` int(11) NOT NULL DEFAULT '0',
  3789. `printstate2` int(11) NOT NULL DEFAULT '0',
  3790. `apppay` tinyint(3) NOT NULL DEFAULT '0',
  3791. `isborrow` tinyint(1) DEFAULT '0',
  3792. `borrowopenid` varchar(50) DEFAULT '',
  3793. `source` tinyint(1) DEFAULT '0',
  3794. `ladder_id` tinyint(1) DEFAULT '0',
  3795. `is_ladder` tinyint(1) DEFAULT '0',
  3796. `more_spec` tinyint(1) DEFAULT '0',
  3797. `wxapp_prepay_id` varchar(255) DEFAULT '',
  3798. `cancel_reason` varchar(255) DEFAULT '',
  3799. `goods_price` decimal(10,2) DEFAULT '0.00',
  3800. `goods_option_id` int(11) DEFAULT '0',
  3801. `specs` varchar(255) DEFAULT '',
  3802. `diyformid` int(11) DEFAULT '0',
  3803. `diyformdata` text,
  3804. `diyformfields` text,
  3805. `delete` int(2) NOT NULL DEFAULT '0',
  3806. PRIMARY KEY (`id`),
  3807. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  3808. KEY `idx_openid` (`openid`) USING BTREE,
  3809. KEY `idx_orderno` (`orderno`) USING BTREE,
  3810. KEY `idx_paytime` (`paytime`) USING BTREE,
  3811. KEY `idx_pay_type` (`pay_type`) USING BTREE,
  3812. KEY `idx_teamid` (`teamid`) USING BTREE,
  3813. KEY `idx_verifycode` (`verifycode`) USING BTREE,
  3814. KEY `idx_createtime` (`createtime`) USING BTREE
  3815. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3816. -- ----------------------------
  3817. -- Records of ims_ewei_shop_groups_order
  3818. -- ----------------------------
  3819. -- ----------------------------
  3820. -- Table structure for `ims_ewei_shop_groups_order_goods`
  3821. -- ----------------------------
  3822. DROP TABLE IF EXISTS `ims_ewei_shop_groups_order_goods`;
  3823. CREATE TABLE `ims_ewei_shop_groups_order_goods` (
  3824. `id` int(11) NOT NULL AUTO_INCREMENT,
  3825. `uniacid` int(11) DEFAULT NULL,
  3826. `goods_id` int(11) DEFAULT '0',
  3827. `groups_goods_id` int(11) DEFAULT '0',
  3828. `groups_goods_option_id` int(11) DEFAULT '0',
  3829. `groups_order_id` int(11) DEFAULT '0',
  3830. `price` decimal(10,2) DEFAULT NULL,
  3831. `option_name` varchar(255) DEFAULT NULL,
  3832. `create_time` int(11) DEFAULT NULL,
  3833. PRIMARY KEY (`id`)
  3834. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3835. -- ----------------------------
  3836. -- Records of ims_ewei_shop_groups_order_goods
  3837. -- ----------------------------
  3838. -- ----------------------------
  3839. -- Table structure for `ims_ewei_shop_groups_order_refund`
  3840. -- ----------------------------
  3841. DROP TABLE IF EXISTS `ims_ewei_shop_groups_order_refund`;
  3842. CREATE TABLE `ims_ewei_shop_groups_order_refund` (
  3843. `id` int(11) NOT NULL AUTO_INCREMENT,
  3844. `uniacid` int(11) NOT NULL DEFAULT '0',
  3845. `openid` varchar(45) NOT NULL DEFAULT '',
  3846. `orderid` int(11) NOT NULL DEFAULT '0',
  3847. `refundno` varchar(45) NOT NULL DEFAULT '',
  3848. `refundstatus` tinyint(3) NOT NULL DEFAULT '0',
  3849. `refundaddressid` int(11) NOT NULL DEFAULT '0',
  3850. `refundaddress` varchar(1000) NOT NULL DEFAULT '',
  3851. `content` varchar(255) NOT NULL DEFAULT '',
  3852. `reason` varchar(255) NOT NULL DEFAULT '',
  3853. `images` varchar(255) NOT NULL DEFAULT '',
  3854. `applytime` varchar(45) NOT NULL DEFAULT '',
  3855. `applycredit` int(11) NOT NULL DEFAULT '0',
  3856. `applyprice` decimal(11,2) NOT NULL DEFAULT '0.00',
  3857. `reply` text NOT NULL,
  3858. `refundtype` varchar(45) NOT NULL DEFAULT '',
  3859. `rtype` int(3) NOT NULL DEFAULT '0',
  3860. `refundtime` varchar(45) NOT NULL,
  3861. `endtime` varchar(45) NOT NULL DEFAULT '',
  3862. `message` varchar(255) NOT NULL DEFAULT '',
  3863. `operatetime` varchar(45) NOT NULL DEFAULT '',
  3864. `realcredit` int(11) NOT NULL DEFAULT '0',
  3865. `realmoney` decimal(11,2) NOT NULL DEFAULT '0.00',
  3866. `express` varchar(45) NOT NULL DEFAULT '',
  3867. `expresscom` varchar(100) NOT NULL DEFAULT '',
  3868. `expresssn` varchar(45) NOT NULL DEFAULT '',
  3869. `sendtime` varchar(45) NOT NULL DEFAULT '',
  3870. `returntime` int(11) NOT NULL DEFAULT '0',
  3871. `rexpress` varchar(45) NOT NULL DEFAULT '',
  3872. `rexpresscom` varchar(100) NOT NULL DEFAULT '',
  3873. `rexpresssn` varchar(45) NOT NULL DEFAULT '',
  3874. PRIMARY KEY (`id`),
  3875. KEY `uniacid` (`uniacid`) USING BTREE,
  3876. KEY `openid` (`openid`) USING BTREE,
  3877. KEY `orderid` (`orderid`) USING BTREE,
  3878. KEY `refundno` (`refundno`) USING BTREE
  3879. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3880. -- ----------------------------
  3881. -- Records of ims_ewei_shop_groups_order_refund
  3882. -- ----------------------------
  3883. -- ----------------------------
  3884. -- Table structure for `ims_ewei_shop_groups_paylog`
  3885. -- ----------------------------
  3886. DROP TABLE IF EXISTS `ims_ewei_shop_groups_paylog`;
  3887. CREATE TABLE `ims_ewei_shop_groups_paylog` (
  3888. `plid` bigint(11) unsigned NOT NULL AUTO_INCREMENT,
  3889. `type` varchar(20) NOT NULL,
  3890. `uniacid` int(11) NOT NULL,
  3891. `acid` int(10) unsigned NOT NULL,
  3892. `openid` varchar(40) NOT NULL,
  3893. `tid` varchar(64) NOT NULL,
  3894. `credit` int(10) NOT NULL DEFAULT '0',
  3895. `creditmoney` decimal(10,2) NOT NULL,
  3896. `fee` decimal(10,2) DEFAULT '0.00',
  3897. `status` tinyint(4) NOT NULL,
  3898. `module` varchar(50) NOT NULL,
  3899. `tag` varchar(2000) NOT NULL,
  3900. `is_usecard` tinyint(3) unsigned NOT NULL,
  3901. `card_type` tinyint(3) unsigned NOT NULL,
  3902. `card_id` varchar(50) DEFAULT '',
  3903. `card_fee` decimal(10,2) DEFAULT '0.00',
  3904. `encrypt_code` varchar(100) DEFAULT '',
  3905. `uniontid` varchar(50) DEFAULT '',
  3906. PRIMARY KEY (`plid`),
  3907. KEY `idx_openid` (`openid`),
  3908. KEY `idx_tid` (`tid`),
  3909. KEY `idx_uniacid` (`uniacid`),
  3910. KEY `uniontid` (`uniontid`)
  3911. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3912. -- ----------------------------
  3913. -- Records of ims_ewei_shop_groups_paylog
  3914. -- ----------------------------
  3915. -- ----------------------------
  3916. -- Table structure for `ims_ewei_shop_groups_set`
  3917. -- ----------------------------
  3918. DROP TABLE IF EXISTS `ims_ewei_shop_groups_set`;
  3919. CREATE TABLE `ims_ewei_shop_groups_set` (
  3920. `id` int(11) NOT NULL AUTO_INCREMENT,
  3921. `uniacid` varchar(45) DEFAULT NULL,
  3922. `groups` int(2) NOT NULL DEFAULT '0',
  3923. `followurl` varchar(255) DEFAULT NULL,
  3924. `followqrcode` varchar(255) DEFAULT NULL,
  3925. `groupsurl` varchar(255) DEFAULT NULL,
  3926. `share_title` varchar(255) DEFAULT NULL,
  3927. `share_icon` varchar(255) DEFAULT NULL,
  3928. `share_desc` varchar(255) DEFAULT NULL,
  3929. `share_url` varchar(255) DEFAULT NULL,
  3930. `groups_description` text,
  3931. `description` int(2) NOT NULL DEFAULT '0',
  3932. `creditdeduct` tinyint(2) NOT NULL DEFAULT '0',
  3933. `groupsdeduct` tinyint(2) NOT NULL DEFAULT '0',
  3934. `credit` int(11) NOT NULL DEFAULT '1',
  3935. `groupsmoney` decimal(11,2) NOT NULL DEFAULT '0.00',
  3936. `refund` int(11) NOT NULL DEFAULT '0',
  3937. `refundday` int(11) NOT NULL DEFAULT '0',
  3938. `goodsid` text NOT NULL,
  3939. `rules` text,
  3940. `receive` int(11) DEFAULT '0',
  3941. `discount` tinyint(3) DEFAULT '0',
  3942. `headstype` tinyint(3) DEFAULT '0',
  3943. `headsmoney` decimal(10,2) DEFAULT '0.00',
  3944. `headsdiscount` int(11) DEFAULT '0',
  3945. `followbar` tinyint(2) NOT NULL DEFAULT '0',
  3946. PRIMARY KEY (`id`)
  3947. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3948. -- ----------------------------
  3949. -- Records of ims_ewei_shop_groups_set
  3950. -- ----------------------------
  3951. -- ----------------------------
  3952. -- Table structure for `ims_ewei_shop_groups_verify`
  3953. -- ----------------------------
  3954. DROP TABLE IF EXISTS `ims_ewei_shop_groups_verify`;
  3955. CREATE TABLE `ims_ewei_shop_groups_verify` (
  3956. `id` int(11) NOT NULL AUTO_INCREMENT,
  3957. `uniacid` int(11) DEFAULT '0',
  3958. `openid` varchar(45) DEFAULT '0',
  3959. `orderid` int(11) DEFAULT '0',
  3960. `verifycode` varchar(45) DEFAULT '',
  3961. `storeid` int(11) DEFAULT '0',
  3962. `verifier` varchar(45) DEFAULT '0',
  3963. `isverify` tinyint(3) DEFAULT '0',
  3964. `verifytime` int(11) DEFAULT '0',
  3965. PRIMARY KEY (`id`)
  3966. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  3967. -- ----------------------------
  3968. -- Records of ims_ewei_shop_groups_verify
  3969. -- ----------------------------
  3970. -- ----------------------------
  3971. -- Table structure for `ims_ewei_shop_invitation`
  3972. -- ----------------------------
  3973. DROP TABLE IF EXISTS `ims_ewei_shop_invitation`;
  3974. CREATE TABLE `ims_ewei_shop_invitation` (
  3975. `id` int(11) NOT NULL AUTO_INCREMENT,
  3976. `uniacid` int(11) NOT NULL DEFAULT '0',
  3977. `type` tinyint(3) NOT NULL DEFAULT '0',
  3978. `title` varchar(255) NOT NULL DEFAULT '',
  3979. `data` text NOT NULL,
  3980. `scan` int(11) NOT NULL DEFAULT '0',
  3981. `follow` int(11) NOT NULL DEFAULT '0',
  3982. `qrcode` tinyint(3) NOT NULL DEFAULT '0',
  3983. `status` tinyint(3) NOT NULL,
  3984. `createtime` int(11) NOT NULL DEFAULT '0',
  3985. PRIMARY KEY (`id`),
  3986. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  3987. KEY `idx_type` (`type`) USING BTREE
  3988. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3989. -- ----------------------------
  3990. -- Records of ims_ewei_shop_invitation
  3991. -- ----------------------------
  3992. -- ----------------------------
  3993. -- Table structure for `ims_ewei_shop_invitation_log`
  3994. -- ----------------------------
  3995. DROP TABLE IF EXISTS `ims_ewei_shop_invitation_log`;
  3996. CREATE TABLE `ims_ewei_shop_invitation_log` (
  3997. `id` int(11) NOT NULL AUTO_INCREMENT,
  3998. `uniacid` int(11) NOT NULL DEFAULT '0',
  3999. `invitation_id` int(11) NOT NULL DEFAULT '0',
  4000. `openid` varchar(50) NOT NULL DEFAULT '',
  4001. `invitation_openid` varchar(50) NOT NULL DEFAULT '',
  4002. `scan_time` int(10) NOT NULL DEFAULT '0',
  4003. `follow` tinyint(3) NOT NULL DEFAULT '0',
  4004. PRIMARY KEY (`id`),
  4005. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  4006. KEY `idx_posterid` (`invitation_id`) USING BTREE,
  4007. KEY `idx_scantime` (`scan_time`) USING BTREE,
  4008. KEY `idx_openid` (`openid`) USING BTREE
  4009. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4010. -- ----------------------------
  4011. -- Records of ims_ewei_shop_invitation_log
  4012. -- ----------------------------
  4013. -- ----------------------------
  4014. -- Table structure for `ims_ewei_shop_invitation_qr`
  4015. -- ----------------------------
  4016. DROP TABLE IF EXISTS `ims_ewei_shop_invitation_qr`;
  4017. CREATE TABLE `ims_ewei_shop_invitation_qr` (
  4018. `id` int(11) NOT NULL AUTO_INCREMENT,
  4019. `acid` int(11) NOT NULL DEFAULT '0',
  4020. `openid` varchar(60) NOT NULL,
  4021. `invitationid` int(11) NOT NULL,
  4022. `roomid` int(11) NOT NULL DEFAULT '0',
  4023. `sceneid` int(11) NOT NULL,
  4024. `ticket` varchar(255) NOT NULL,
  4025. `createtime` int(11) NOT NULL,
  4026. `expire` int(11) NOT NULL DEFAULT '0',
  4027. `qrimg` varchar(255) NOT NULL,
  4028. PRIMARY KEY (`id`)
  4029. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4030. -- ----------------------------
  4031. -- Records of ims_ewei_shop_invitation_qr
  4032. -- ----------------------------
  4033. -- ----------------------------
  4034. -- Table structure for `ims_ewei_shop_live`
  4035. -- ----------------------------
  4036. DROP TABLE IF EXISTS `ims_ewei_shop_live`;
  4037. CREATE TABLE `ims_ewei_shop_live` (
  4038. `id` int(11) NOT NULL AUTO_INCREMENT,
  4039. `uniacid` int(11) NOT NULL DEFAULT '0',
  4040. `merchid` int(11) NOT NULL DEFAULT '0',
  4041. `title` varchar(255) NOT NULL,
  4042. `livetype` tinyint(3) NOT NULL DEFAULT '0',
  4043. `liveidentity` varchar(50) NOT NULL,
  4044. `screen` tinyint(3) NOT NULL DEFAULT '0',
  4045. `goodsid` text NOT NULL,
  4046. `category` int(11) NOT NULL DEFAULT '0',
  4047. `url` varchar(1000) NOT NULL,
  4048. `thumb` varchar(1000) NOT NULL,
  4049. `hot` tinyint(3) NOT NULL DEFAULT '0',
  4050. `recommend` tinyint(3) NOT NULL DEFAULT '0',
  4051. `living` tinyint(3) NOT NULL DEFAULT '0',
  4052. `status` tinyint(3) NOT NULL DEFAULT '0',
  4053. `displayorder` int(11) NOT NULL DEFAULT '0',
  4054. `livetime` int(10) NOT NULL DEFAULT '0',
  4055. `lastlivetime` int(11) NOT NULL DEFAULT '0',
  4056. `createtime` int(10) NOT NULL DEFAULT '0',
  4057. `introduce` text NOT NULL,
  4058. `packetmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  4059. `packettotal` int(11) NOT NULL DEFAULT '0',
  4060. `packetprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4061. `packetdes` varchar(255) NOT NULL,
  4062. `couponid` varchar(255) NOT NULL,
  4063. `share_title` varchar(255) NOT NULL,
  4064. `share_icon` varchar(1000) NOT NULL,
  4065. `share_desc` text NOT NULL,
  4066. `share_url` varchar(1000) NOT NULL DEFAULT '',
  4067. `subscribe` int(11) NOT NULL DEFAULT '0',
  4068. `subscribenotice` tinyint(3) NOT NULL DEFAULT '0',
  4069. `visit` int(11) NOT NULL DEFAULT '0',
  4070. `video` varchar(1000) NOT NULL DEFAULT '',
  4071. `covertype` tinyint(3) NOT NULL DEFAULT '0',
  4072. `cover` varchar(1000) NOT NULL DEFAULT '',
  4073. `iscoupon` tinyint(3) NOT NULL DEFAULT '0',
  4074. `nestable` text NOT NULL,
  4075. `tabs` text NOT NULL,
  4076. `invitation_id` int(11) NOT NULL DEFAULT '0',
  4077. `showlevels` varchar(255) NOT NULL,
  4078. `showgroups` varchar(255) NOT NULL,
  4079. `showcommission` varchar(255) NOT NULL,
  4080. `jurisdiction_url` varchar(1000) NOT NULL,
  4081. `jurisdictionurl_show` tinyint(3) NOT NULL DEFAULT '0',
  4082. `notice` varchar(255) NOT NULL,
  4083. `notice_url` varchar(1000) NOT NULL,
  4084. `followqrcode` varchar(1000) NOT NULL,
  4085. `coupon_num` int(11) NOT NULL,
  4086. PRIMARY KEY (`id`),
  4087. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  4088. KEY `idx_merchid` (`merchid`) USING BTREE,
  4089. KEY `idx_category` (`category`) USING BTREE,
  4090. KEY `idx_hot` (`hot`) USING BTREE,
  4091. KEY `idx_recommend` (`recommend`) USING BTREE,
  4092. KEY `idx_living` (`living`) USING BTREE,
  4093. KEY `idx_status` (`status`) USING BTREE,
  4094. KEY `idx_livetime` (`livetime`) USING BTREE
  4095. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4096. -- ----------------------------
  4097. -- Records of ims_ewei_shop_live
  4098. -- ----------------------------
  4099. -- ----------------------------
  4100. -- Table structure for `ims_ewei_shop_live_adv`
  4101. -- ----------------------------
  4102. DROP TABLE IF EXISTS `ims_ewei_shop_live_adv`;
  4103. CREATE TABLE `ims_ewei_shop_live_adv` (
  4104. `id` int(11) NOT NULL AUTO_INCREMENT,
  4105. `uniacid` int(11) DEFAULT '0',
  4106. `merchid` int(11) NOT NULL DEFAULT '0',
  4107. `advname` varchar(50) DEFAULT '',
  4108. `link` varchar(255) DEFAULT '',
  4109. `thumb` varchar(255) DEFAULT '',
  4110. `displayorder` int(11) DEFAULT '0',
  4111. `enabled` int(11) DEFAULT '0',
  4112. PRIMARY KEY (`id`),
  4113. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  4114. KEY `idx_enabled` (`enabled`) USING BTREE,
  4115. KEY `idx_displayorder` (`displayorder`) USING BTREE
  4116. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4117. -- ----------------------------
  4118. -- Records of ims_ewei_shop_live_adv
  4119. -- ----------------------------
  4120. -- ----------------------------
  4121. -- Table structure for `ims_ewei_shop_live_category`
  4122. -- ----------------------------
  4123. DROP TABLE IF EXISTS `ims_ewei_shop_live_category`;
  4124. CREATE TABLE `ims_ewei_shop_live_category` (
  4125. `id` int(11) NOT NULL AUTO_INCREMENT,
  4126. `uniacid` int(11) DEFAULT '0',
  4127. `name` varchar(50) DEFAULT NULL,
  4128. `thumb` varchar(255) DEFAULT NULL,
  4129. `displayorder` tinyint(3) unsigned DEFAULT '0',
  4130. `enabled` tinyint(1) DEFAULT '1',
  4131. `advimg` varchar(255) DEFAULT '',
  4132. `advurl` varchar(500) DEFAULT '',
  4133. `isrecommand` tinyint(3) DEFAULT '0',
  4134. PRIMARY KEY (`id`),
  4135. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  4136. KEY `idx_displayorder` (`displayorder`) USING BTREE,
  4137. KEY `idx_enabled` (`enabled`) USING BTREE
  4138. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4139. -- ----------------------------
  4140. -- Records of ims_ewei_shop_live_category
  4141. -- ----------------------------
  4142. -- ----------------------------
  4143. -- Table structure for `ims_ewei_shop_live_coupon`
  4144. -- ----------------------------
  4145. DROP TABLE IF EXISTS `ims_ewei_shop_live_coupon`;
  4146. CREATE TABLE `ims_ewei_shop_live_coupon` (
  4147. `id` int(11) NOT NULL AUTO_INCREMENT,
  4148. `uniacid` int(11) NOT NULL DEFAULT '0',
  4149. `roomid` int(11) NOT NULL DEFAULT '0',
  4150. `couponid` int(11) NOT NULL DEFAULT '0',
  4151. `coupontotal` int(11) NOT NULL DEFAULT '0',
  4152. `couponlimit` int(11) NOT NULL DEFAULT '0',
  4153. PRIMARY KEY (`id`),
  4154. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  4155. KEY `idx_roomid` (`roomid`) USING BTREE,
  4156. KEY `idx_couponid` (`couponid`) USING BTREE
  4157. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4158. -- ----------------------------
  4159. -- Records of ims_ewei_shop_live_coupon
  4160. -- ----------------------------
  4161. -- ----------------------------
  4162. -- Table structure for `ims_ewei_shop_live_favorite`
  4163. -- ----------------------------
  4164. DROP TABLE IF EXISTS `ims_ewei_shop_live_favorite`;
  4165. CREATE TABLE `ims_ewei_shop_live_favorite` (
  4166. `id` int(11) NOT NULL AUTO_INCREMENT,
  4167. `uniacid` int(11) NOT NULL DEFAULT '0',
  4168. `roomid` int(11) NOT NULL DEFAULT '0',
  4169. `openid` tinytext NOT NULL,
  4170. `deleted` tinyint(3) NOT NULL DEFAULT '0',
  4171. `createtime` int(11) NOT NULL DEFAULT '0',
  4172. PRIMARY KEY (`id`),
  4173. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  4174. KEY `idx_roomid` (`roomid`) USING BTREE,
  4175. KEY `idx_deleted` (`deleted`) USING BTREE
  4176. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4177. -- ----------------------------
  4178. -- Records of ims_ewei_shop_live_favorite
  4179. -- ----------------------------
  4180. -- ----------------------------
  4181. -- Table structure for `ims_ewei_shop_live_goods`
  4182. -- ----------------------------
  4183. DROP TABLE IF EXISTS `ims_ewei_shop_live_goods`;
  4184. CREATE TABLE `ims_ewei_shop_live_goods` (
  4185. `id` int(11) NOT NULL AUTO_INCREMENT,
  4186. `uniacid` int(11) NOT NULL DEFAULT '0',
  4187. `goodsid` int(11) NOT NULL DEFAULT '0',
  4188. `liveid` int(11) NOT NULL DEFAULT '0',
  4189. `liveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4190. `minliveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4191. `maxliveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4192. PRIMARY KEY (`id`)
  4193. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4194. -- ----------------------------
  4195. -- Records of ims_ewei_shop_live_goods
  4196. -- ----------------------------
  4197. -- ----------------------------
  4198. -- Table structure for `ims_ewei_shop_live_goods_option`
  4199. -- ----------------------------
  4200. DROP TABLE IF EXISTS `ims_ewei_shop_live_goods_option`;
  4201. CREATE TABLE `ims_ewei_shop_live_goods_option` (
  4202. `id` int(11) NOT NULL AUTO_INCREMENT,
  4203. `uniacid` int(11) NOT NULL DEFAULT '0',
  4204. `goodsid` int(11) NOT NULL,
  4205. `optionid` int(11) NOT NULL DEFAULT '0',
  4206. `liveid` int(11) NOT NULL DEFAULT '0',
  4207. `liveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  4208. PRIMARY KEY (`id`)
  4209. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4210. -- ----------------------------
  4211. -- Records of ims_ewei_shop_live_goods_option
  4212. -- ----------------------------
  4213. -- ----------------------------
  4214. -- Table structure for `ims_ewei_shop_live_setting`
  4215. -- ----------------------------
  4216. DROP TABLE IF EXISTS `ims_ewei_shop_live_setting`;
  4217. CREATE TABLE `ims_ewei_shop_live_setting` (
  4218. `id` int(11) NOT NULL AUTO_INCREMENT,
  4219. `uniacid` int(11) NOT NULL DEFAULT '0',
  4220. `ismember` tinyint(3) NOT NULL DEFAULT '0',
  4221. `share_title` varchar(255) NOT NULL,
  4222. `share_icon` varchar(1000) NOT NULL,
  4223. `share_desc` varchar(255) NOT NULL,
  4224. `share_url` varchar(255) NOT NULL,
  4225. `livenoticetime` int(11) NOT NULL DEFAULT '0',
  4226. PRIMARY KEY (`id`),
  4227. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  4228. KEY `idx_ismember` (`ismember`) USING BTREE
  4229. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4230. -- ----------------------------
  4231. -- Records of ims_ewei_shop_live_setting
  4232. -- ----------------------------
  4233. -- ----------------------------
  4234. -- Table structure for `ims_ewei_shop_live_status`
  4235. -- ----------------------------
  4236. DROP TABLE IF EXISTS `ims_ewei_shop_live_status`;
  4237. CREATE TABLE `ims_ewei_shop_live_status` (
  4238. `id` int(11) NOT NULL AUTO_INCREMENT,
  4239. `uniacid` int(11) NOT NULL DEFAULT '0',
  4240. `roomid` int(11) NOT NULL DEFAULT '0',
  4241. `starttime` int(11) NOT NULL DEFAULT '0',
  4242. `endtime` int(11) NOT NULL DEFAULT '0',
  4243. PRIMARY KEY (`id`)
  4244. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4245. -- ----------------------------
  4246. -- Records of ims_ewei_shop_live_status
  4247. -- ----------------------------
  4248. -- ----------------------------
  4249. -- Table structure for `ims_ewei_shop_live_view`
  4250. -- ----------------------------
  4251. DROP TABLE IF EXISTS `ims_ewei_shop_live_view`;
  4252. CREATE TABLE `ims_ewei_shop_live_view` (
  4253. `id` int(11) NOT NULL AUTO_INCREMENT,
  4254. `uniacid` int(11) NOT NULL DEFAULT '0',
  4255. `openid` varchar(50) NOT NULL,
  4256. `roomid` int(11) NOT NULL DEFAULT '0',
  4257. `viewing` int(11) NOT NULL DEFAULT '0',
  4258. PRIMARY KEY (`id`),
  4259. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  4260. KEY `idx_roomid` (`roomid`) USING BTREE
  4261. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4262. -- ----------------------------
  4263. -- Records of ims_ewei_shop_live_view
  4264. -- ----------------------------
  4265. -- ----------------------------
  4266. -- Table structure for `ims_ewei_shop_lottery`
  4267. -- ----------------------------
  4268. DROP TABLE IF EXISTS `ims_ewei_shop_lottery`;
  4269. CREATE TABLE `ims_ewei_shop_lottery` (
  4270. `lottery_id` int(11) NOT NULL AUTO_INCREMENT,
  4271. `uniacid` int(11) DEFAULT '0',
  4272. `lottery_title` varchar(150) DEFAULT NULL,
  4273. `lottery_icon` varchar(255) DEFAULT NULL,
  4274. `lottery_banner` varchar(255) DEFAULT NULL,
  4275. `lottery_cannot` varchar(255) DEFAULT NULL,
  4276. `lottery_type` tinyint(1) DEFAULT NULL,
  4277. `is_delete` tinyint(1) DEFAULT '0',
  4278. `addtime` int(11) DEFAULT NULL,
  4279. `lottery_data` text,
  4280. `is_goods` tinyint(1) DEFAULT '0',
  4281. `lottery_days` int(11) DEFAULT '0',
  4282. `task_type` tinyint(1) DEFAULT '0',
  4283. `task_data` text,
  4284. `start_time` int(11) DEFAULT NULL,
  4285. `end_time` int(11) DEFAULT NULL,
  4286. `award_start` int(11) DEFAULT '0',
  4287. `award_end` int(11) DEFAULT '0',
  4288. PRIMARY KEY (`lottery_id`)
  4289. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4290. -- ----------------------------
  4291. -- Records of ims_ewei_shop_lottery
  4292. -- ----------------------------
  4293. -- ----------------------------
  4294. -- Table structure for `ims_ewei_shop_lottery_default`
  4295. -- ----------------------------
  4296. DROP TABLE IF EXISTS `ims_ewei_shop_lottery_default`;
  4297. CREATE TABLE `ims_ewei_shop_lottery_default` (
  4298. `id` int(11) NOT NULL AUTO_INCREMENT,
  4299. `uniacid` int(11) NOT NULL DEFAULT '0',
  4300. `data` text,
  4301. `addtime` int(11) NOT NULL DEFAULT '0',
  4302. PRIMARY KEY (`id`)
  4303. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4304. -- ----------------------------
  4305. -- Records of ims_ewei_shop_lottery_default
  4306. -- ----------------------------
  4307. -- ----------------------------
  4308. -- Table structure for `ims_ewei_shop_lottery_join`
  4309. -- ----------------------------
  4310. DROP TABLE IF EXISTS `ims_ewei_shop_lottery_join`;
  4311. CREATE TABLE `ims_ewei_shop_lottery_join` (
  4312. `id` int(11) NOT NULL AUTO_INCREMENT,
  4313. `uniacid` int(11) DEFAULT '0',
  4314. `join_user` varchar(255) DEFAULT NULL,
  4315. `lottery_id` int(11) DEFAULT NULL,
  4316. `lottery_num` int(10) DEFAULT '0',
  4317. `lottery_tag` varchar(255) DEFAULT NULL,
  4318. `addtime` int(11) DEFAULT NULL,
  4319. PRIMARY KEY (`id`)
  4320. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4321. -- ----------------------------
  4322. -- Records of ims_ewei_shop_lottery_join
  4323. -- ----------------------------
  4324. -- ----------------------------
  4325. -- Table structure for `ims_ewei_shop_lottery_log`
  4326. -- ----------------------------
  4327. DROP TABLE IF EXISTS `ims_ewei_shop_lottery_log`;
  4328. CREATE TABLE `ims_ewei_shop_lottery_log` (
  4329. `log_id` int(11) NOT NULL AUTO_INCREMENT,
  4330. `uniacid` int(11) DEFAULT NULL,
  4331. `lottery_id` int(11) DEFAULT '0',
  4332. `join_user` varchar(255) DEFAULT NULL,
  4333. `lottery_data` text,
  4334. `is_reward` tinyint(1) DEFAULT '0',
  4335. `addtime` int(11) DEFAULT NULL,
  4336. PRIMARY KEY (`log_id`)
  4337. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4338. -- ----------------------------
  4339. -- Records of ims_ewei_shop_lottery_log
  4340. -- ----------------------------
  4341. -- ----------------------------
  4342. -- Table structure for `ims_ewei_shop_mc_merchant`
  4343. -- ----------------------------
  4344. DROP TABLE IF EXISTS `ims_ewei_shop_mc_merchant`;
  4345. CREATE TABLE `ims_ewei_shop_mc_merchant` (
  4346. `id` int(11) NOT NULL,
  4347. `uniacid` int(11) NOT NULL,
  4348. `merchant_no` varchar(255) NOT NULL DEFAULT '',
  4349. `username` varchar(255) NOT NULL DEFAULT '',
  4350. `password` varchar(32) NOT NULL DEFAULT '',
  4351. `salt` varchar(8) NOT NULL DEFAULT '',
  4352. `contact_name` varchar(255) NOT NULL DEFAULT '',
  4353. `contact_mobile` varchar(16) NOT NULL DEFAULT '',
  4354. `contact_address` varchar(255) NOT NULL DEFAULT '',
  4355. `type` tinyint(4) NOT NULL,
  4356. `status` tinyint(4) NOT NULL,
  4357. `createtime` int(11) NOT NULL,
  4358. `validitytime` int(11) NOT NULL,
  4359. `industry` varchar(255) NOT NULL DEFAULT '',
  4360. `remark` varchar(1000) NOT NULL DEFAULT '',
  4361. PRIMARY KEY (`id`)
  4362. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4363. -- ----------------------------
  4364. -- Records of ims_ewei_shop_mc_merchant
  4365. -- ----------------------------
  4366. -- ----------------------------
  4367. -- Table structure for `ims_ewei_shop_member`
  4368. -- ----------------------------
  4369. DROP TABLE IF EXISTS `ims_ewei_shop_member`;
  4370. CREATE TABLE `ims_ewei_shop_member` (
  4371. `id` int(11) NOT NULL AUTO_INCREMENT,
  4372. `uniacid` int(11) DEFAULT '0',
  4373. `uid` int(11) DEFAULT '0',
  4374. `groupid` varchar(1000) DEFAULT '',
  4375. `level` int(11) DEFAULT '0',
  4376. `agentid` int(11) DEFAULT '0',
  4377. `openid` varchar(50) DEFAULT '',
  4378. `realname` varchar(20) DEFAULT '',
  4379. `mobile` varchar(11) DEFAULT '',
  4380. `pwd` varchar(32) DEFAULT '',
  4381. `weixin` varchar(100) DEFAULT '',
  4382. `content` text,
  4383. `createtime` int(10) DEFAULT '0',
  4384. `agenttime` int(10) DEFAULT '0',
  4385. `status` tinyint(1) DEFAULT '0',
  4386. `isagent` tinyint(1) DEFAULT '0',
  4387. `clickcount` int(11) DEFAULT '0',
  4388. `agentlevel` int(11) DEFAULT '0',
  4389. `noticeset` text,
  4390. `nickname` varchar(255) DEFAULT '',
  4391. `credit1` decimal(10,2) DEFAULT '0.00',
  4392. `credit2` decimal(10,2) DEFAULT '0.00',
  4393. `diymaxcredit` tinyint(3) DEFAULT '0',
  4394. `maxcredit` int(11) DEFAULT '0',
  4395. `birthyear` varchar(255) DEFAULT '',
  4396. `birthmonth` varchar(255) DEFAULT '',
  4397. `birthday` varchar(255) DEFAULT '',
  4398. `gender` tinyint(3) DEFAULT '0',
  4399. `avatar` varchar(255) DEFAULT '',
  4400. `province` varchar(255) DEFAULT '',
  4401. `city` varchar(255) DEFAULT '',
  4402. `area` varchar(255) DEFAULT '',
  4403. `childtime` int(11) DEFAULT '0',
  4404. `agentnotupgrade` int(11) DEFAULT '0',
  4405. `inviter` int(11) DEFAULT '0',
  4406. `agentselectgoods` tinyint(3) DEFAULT '0',
  4407. `agentblack` int(11) DEFAULT '0',
  4408. `username` varchar(255) DEFAULT '',
  4409. `fixagentid` tinyint(3) DEFAULT '0',
  4410. `diymemberid` int(11) DEFAULT '0',
  4411. `diymemberdataid` int(11) DEFAULT '0',
  4412. `diymemberdata` text,
  4413. `diycommissionid` int(11) DEFAULT '0',
  4414. `diycommissiondataid` int(11) DEFAULT '0',
  4415. `diycommissiondata` text,
  4416. `isblack` int(11) DEFAULT '0',
  4417. `diymemberfields` text,
  4418. `diycommissionfields` text,
  4419. `commission_total` decimal(10,2) DEFAULT '0.00',
  4420. `endtime2` int(11) DEFAULT '0',
  4421. `ispartner` tinyint(3) DEFAULT '0',
  4422. `partnertime` int(11) DEFAULT '0',
  4423. `partnerstatus` tinyint(3) DEFAULT '0',
  4424. `partnerblack` tinyint(3) DEFAULT '0',
  4425. `partnerlevel` int(11) DEFAULT '0',
  4426. `partnernotupgrade` tinyint(3) DEFAULT '0',
  4427. `diyglobonusid` int(11) DEFAULT '0',
  4428. `diyglobonusdata` text,
  4429. `diyglobonusfields` text,
  4430. `isaagent` tinyint(3) DEFAULT '0',
  4431. `aagentlevel` int(11) DEFAULT '0',
  4432. `aagenttime` int(11) DEFAULT '0',
  4433. `aagentstatus` tinyint(3) DEFAULT '0',
  4434. `aagentblack` tinyint(3) DEFAULT '0',
  4435. `aagentnotupgrade` tinyint(3) DEFAULT '0',
  4436. `diyaagentid` int(11) DEFAULT '0',
  4437. `diyaagentdata` text,
  4438. `diyaagentfields` text,
  4439. `aagenttype` tinyint(3) DEFAULT '0',
  4440. `aagentprovinces` text,
  4441. `aagentcitys` text,
  4442. `aagentareas` text,
  4443. `salt` varchar(32) DEFAULT NULL,
  4444. `mobileverify` tinyint(3) DEFAULT '0',
  4445. `mobileuser` tinyint(3) DEFAULT '0',
  4446. `carrier_mobile` varchar(11) DEFAULT '0',
  4447. `isauthor` tinyint(1) DEFAULT '0',
  4448. `authortime` int(11) DEFAULT '0',
  4449. `authorstatus` tinyint(1) DEFAULT '0',
  4450. `authorblack` tinyint(1) DEFAULT '0',
  4451. `authorlevel` int(11) DEFAULT '0',
  4452. `authornotupgrade` tinyint(1) DEFAULT '0',
  4453. `diyauthorid` int(11) DEFAULT '0',
  4454. `diyauthordata` text,
  4455. `diyauthorfields` text,
  4456. `authorid` int(11) DEFAULT '0',
  4457. `comefrom` varchar(20) DEFAULT NULL,
  4458. `openid_qq` varchar(50) DEFAULT NULL,
  4459. `openid_wx` varchar(50) DEFAULT NULL,
  4460. `datavalue` varchar(50) NOT NULL DEFAULT '',
  4461. `openid_wa` varchar(50) DEFAULT NULL,
  4462. `nickname_wechat` varchar(255) DEFAULT '',
  4463. `avatar_wechat` varchar(255) DEFAULT '',
  4464. `updateaddress` tinyint(1) NOT NULL DEFAULT '0',
  4465. `membercardid` varchar(255) DEFAULT '',
  4466. `membercardcode` varchar(255) DEFAULT '',
  4467. `membershipnumber` varchar(255) DEFAULT '',
  4468. `membercardactive` tinyint(1) DEFAULT '0',
  4469. `commission` decimal(10,2) DEFAULT '0.00',
  4470. `commission_pay` decimal(10,2) DEFAULT '0.00',
  4471. `idnumber` varchar(255) DEFAULT NULL,
  4472. `wxcardupdatetime` int(11) DEFAULT '0',
  4473. `hasnewcoupon` tinyint(1) DEFAULT '0',
  4474. `isheads` tinyint(1) NOT NULL DEFAULT '0',
  4475. `headsstatus` tinyint(1) NOT NULL DEFAULT '0',
  4476. `headstime` int(11) NOT NULL DEFAULT '0',
  4477. `headsid` int(11) NOT NULL DEFAULT '0',
  4478. `diyheadsid` int(11) NOT NULL DEFAULT '0',
  4479. `diyheadsdata` text,
  4480. `diyheadsfields` text,
  4481. `applyagenttime` int(11) DEFAULT '0',
  4482. PRIMARY KEY (`id`),
  4483. KEY `idx_uniacid` (`uniacid`),
  4484. KEY `idx_shareid` (`agentid`),
  4485. KEY `idx_openid` (`openid`),
  4486. KEY `idx_status` (`status`),
  4487. KEY `idx_agenttime` (`agenttime`),
  4488. KEY `idx_isagent` (`isagent`),
  4489. KEY `idx_uid` (`uid`),
  4490. KEY `idx_level` (`level`),
  4491. KEY `idx_mobile` (`mobile`) USING BTREE,
  4492. KEY `idx_groupid` (`groupid`(255)) USING BTREE,
  4493. KEY `idx_openid_wx` (`openid_wx`) USING BTREE,
  4494. KEY `idx_openid_wa` (`openid_wa`) USING BTREE
  4495. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4496. -- ----------------------------
  4497. -- Records of ims_ewei_shop_member
  4498. -- ----------------------------
  4499. -- ----------------------------
  4500. -- Table structure for `ims_ewei_shop_member_address`
  4501. -- ----------------------------
  4502. DROP TABLE IF EXISTS `ims_ewei_shop_member_address`;
  4503. CREATE TABLE `ims_ewei_shop_member_address` (
  4504. `id` int(11) NOT NULL AUTO_INCREMENT,
  4505. `uniacid` int(11) DEFAULT '0',
  4506. `openid` varchar(50) DEFAULT '0',
  4507. `realname` varchar(20) DEFAULT '',
  4508. `mobile` varchar(11) DEFAULT '',
  4509. `province` varchar(30) DEFAULT '',
  4510. `city` varchar(30) DEFAULT '',
  4511. `area` varchar(30) DEFAULT '',
  4512. `address` varchar(300) DEFAULT '',
  4513. `isdefault` tinyint(1) DEFAULT '0',
  4514. `zipcode` varchar(255) DEFAULT '',
  4515. `deleted` tinyint(1) DEFAULT '0',
  4516. `street` varchar(50) NOT NULL DEFAULT '',
  4517. `datavalue` varchar(50) NOT NULL DEFAULT '',
  4518. `streetdatavalue` varchar(30) NOT NULL DEFAULT '',
  4519. `lng` varchar(255) NOT NULL DEFAULT '',
  4520. `lat` varchar(255) NOT NULL DEFAULT '',
  4521. PRIMARY KEY (`id`),
  4522. KEY `idx_uniacid` (`uniacid`),
  4523. KEY `idx_openid` (`openid`),
  4524. KEY `idx_isdefault` (`isdefault`),
  4525. KEY `idx_deleted` (`deleted`)
  4526. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4527. -- ----------------------------
  4528. -- Records of ims_ewei_shop_member_address
  4529. -- ----------------------------
  4530. -- ----------------------------
  4531. -- Table structure for `ims_ewei_shop_member_card`
  4532. -- ----------------------------
  4533. DROP TABLE IF EXISTS `ims_ewei_shop_member_card`;
  4534. CREATE TABLE `ims_ewei_shop_member_card` (
  4535. `id` int(11) NOT NULL AUTO_INCREMENT,
  4536. `uniacid` int(11) DEFAULT '0',
  4537. `name` varchar(255) DEFAULT NULL,
  4538. `card_style` varchar(255) DEFAULT NULL,
  4539. `sort_order` int(10) DEFAULT '0',
  4540. `shipping` tinyint(11) DEFAULT NULL,
  4541. `member_discount` tinyint(1) DEFAULT NULL,
  4542. `discount_rate` decimal(10,1) DEFAULT NULL,
  4543. `discount` tinyint(1) NOT NULL DEFAULT '1',
  4544. `is_card_points` tinyint(1) DEFAULT NULL,
  4545. `card_points` varchar(50) DEFAULT NULL,
  4546. `is_card_coupon` tinyint(1) DEFAULT NULL,
  4547. `card_coupon` varchar(500) DEFAULT NULL,
  4548. `is_month_points` tinyint(1) DEFAULT NULL,
  4549. `month_points` varchar(50) DEFAULT NULL,
  4550. `is_month_coupon` tinyint(1) DEFAULT NULL,
  4551. `month_coupon` varchar(500) DEFAULT NULL,
  4552. `validate` int(11) NOT NULL DEFAULT '1',
  4553. `price` decimal(11,2) NOT NULL DEFAULT '0.00',
  4554. `stock` int(10) DEFAULT NULL,
  4555. `status` tinyint(1) NOT NULL DEFAULT '1',
  4556. `description` text,
  4557. `kefu_tel` varchar(100) DEFAULT NULL,
  4558. `create_time` int(11) NOT NULL DEFAULT '0',
  4559. `sale_count` int(11) NOT NULL DEFAULT '0',
  4560. `del_time` int(11) NOT NULL DEFAULT '0',
  4561. `isdelete` tinyint(11) NOT NULL DEFAULT '0',
  4562. `update_time` int(11) NOT NULL DEFAULT '0',
  4563. PRIMARY KEY (`id`)
  4564. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4565. -- ----------------------------
  4566. -- Records of ims_ewei_shop_member_card
  4567. -- ----------------------------
  4568. -- ----------------------------
  4569. -- Table structure for `ims_ewei_shop_member_card_buysend`
  4570. -- ----------------------------
  4571. DROP TABLE IF EXISTS `ims_ewei_shop_member_card_buysend`;
  4572. CREATE TABLE `ims_ewei_shop_member_card_buysend` (
  4573. `id` int(11) NOT NULL AUTO_INCREMENT,
  4574. `uniacid` int(11) DEFAULT '0',
  4575. `openid` varchar(50) DEFAULT NULL,
  4576. `member_card_id` int(11) NOT NULL,
  4577. `name` varchar(255) NOT NULL,
  4578. `receive_time` int(11) NOT NULL DEFAULT '0',
  4579. `create_time` int(11) NOT NULL DEFAULT '0',
  4580. `price` decimal(11,2) NOT NULL DEFAULT '0.00',
  4581. `sendtype` tinyint(1) NOT NULL DEFAULT '1',
  4582. `card_points` varchar(50) DEFAULT NULL,
  4583. `card_couponid` int(11) NOT NULL DEFAULT '0',
  4584. `card_couponcount` int(11) NOT NULL DEFAULT '0',
  4585. PRIMARY KEY (`id`),
  4586. KEY `idx_openid` (`openid`)
  4587. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4588. -- ----------------------------
  4589. -- Records of ims_ewei_shop_member_card_buysend
  4590. -- ----------------------------
  4591. -- ----------------------------
  4592. -- Table structure for `ims_ewei_shop_member_card_history`
  4593. -- ----------------------------
  4594. DROP TABLE IF EXISTS `ims_ewei_shop_member_card_history`;
  4595. CREATE TABLE `ims_ewei_shop_member_card_history` (
  4596. `id` int(11) NOT NULL AUTO_INCREMENT,
  4597. `uniacid` int(11) DEFAULT '0',
  4598. `order_id` int(11) NOT NULL,
  4599. `openid` varchar(50) DEFAULT NULL,
  4600. `member_card_id` int(11) NOT NULL,
  4601. `name` varchar(255) NOT NULL,
  4602. `expire_time` int(11) NOT NULL DEFAULT '0',
  4603. `receive_time` int(11) NOT NULL DEFAULT '0',
  4604. `price` decimal(11,2) NOT NULL DEFAULT '0.00',
  4605. `user_name` varchar(255) DEFAULT NULL,
  4606. `telephone` varchar(32) DEFAULT NULL,
  4607. `isdelete` int(11) NOT NULL DEFAULT '0',
  4608. `del_time` int(11) NOT NULL DEFAULT '0',
  4609. `pay_type` int(1) DEFAULT NULL,
  4610. PRIMARY KEY (`id`)
  4611. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4612. -- ----------------------------
  4613. -- Records of ims_ewei_shop_member_card_history
  4614. -- ----------------------------
  4615. -- ----------------------------
  4616. -- Table structure for `ims_ewei_shop_member_card_monthsend`
  4617. -- ----------------------------
  4618. DROP TABLE IF EXISTS `ims_ewei_shop_member_card_monthsend`;
  4619. CREATE TABLE `ims_ewei_shop_member_card_monthsend` (
  4620. `id` int(11) NOT NULL AUTO_INCREMENT,
  4621. `uniacid` int(11) DEFAULT '0',
  4622. `openid` varchar(50) DEFAULT NULL,
  4623. `member_card_id` int(11) NOT NULL,
  4624. `name` varchar(255) NOT NULL,
  4625. `receive_time` int(11) NOT NULL DEFAULT '0',
  4626. `create_time` int(11) NOT NULL DEFAULT '0',
  4627. `price` decimal(11,2) NOT NULL DEFAULT '0.00',
  4628. `validate` int(11) NOT NULL DEFAULT '1',
  4629. `sendtype` tinyint(1) NOT NULL DEFAULT '1',
  4630. `card_points` varchar(50) DEFAULT NULL,
  4631. `card_couponid` int(11) NOT NULL DEFAULT '0',
  4632. `card_couponcount` int(11) NOT NULL DEFAULT '0',
  4633. PRIMARY KEY (`id`),
  4634. KEY `idx_openid` (`openid`)
  4635. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4636. -- ----------------------------
  4637. -- Records of ims_ewei_shop_member_card_monthsend
  4638. -- ----------------------------
  4639. -- ----------------------------
  4640. -- Table structure for `ims_ewei_shop_member_card_order`
  4641. -- ----------------------------
  4642. DROP TABLE IF EXISTS `ims_ewei_shop_member_card_order`;
  4643. CREATE TABLE `ims_ewei_shop_member_card_order` (
  4644. `id` int(11) NOT NULL AUTO_INCREMENT,
  4645. `uniacid` int(11) DEFAULT '0',
  4646. `openid` varchar(50) DEFAULT NULL,
  4647. `member_id` int(11) DEFAULT '0',
  4648. `payment_name` varchar(32) DEFAULT NULL,
  4649. `telephone` varchar(32) DEFAULT NULL,
  4650. `orderno` varchar(30) DEFAULT NULL,
  4651. `total` decimal(15,2) NOT NULL DEFAULT '0.00',
  4652. `status` int(11) NOT NULL DEFAULT '0',
  4653. `createtime` int(11) DEFAULT '0',
  4654. `finishtime` int(11) DEFAULT '0',
  4655. `paytime` int(11) DEFAULT '0',
  4656. `member_card_id` int(11) DEFAULT '0',
  4657. `wxapp_prepay_id` varchar(255) DEFAULT NULL,
  4658. `transid` varchar(32) DEFAULT NULL,
  4659. `paytype` varchar(32) DEFAULT NULL,
  4660. `apppay` tinyint(3) NOT NULL DEFAULT '0',
  4661. `borrowopenid` varchar(50) DEFAULT NULL,
  4662. `isborrow` tinyint(1) NOT NULL DEFAULT '0',
  4663. PRIMARY KEY (`id`)
  4664. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4665. -- ----------------------------
  4666. -- Records of ims_ewei_shop_member_card_order
  4667. -- ----------------------------
  4668. -- ----------------------------
  4669. -- Table structure for `ims_ewei_shop_member_card_uselog`
  4670. -- ----------------------------
  4671. DROP TABLE IF EXISTS `ims_ewei_shop_member_card_uselog`;
  4672. CREATE TABLE `ims_ewei_shop_member_card_uselog` (
  4673. `id` int(11) NOT NULL AUTO_INCREMENT,
  4674. `uniacid` int(11) DEFAULT '0',
  4675. `openid` varchar(50) DEFAULT NULL,
  4676. `order_id` int(11) NOT NULL,
  4677. `member_card_id` int(11) NOT NULL,
  4678. `name` varchar(255) NOT NULL,
  4679. `shipping` tinyint(1) DEFAULT '0',
  4680. `discount_rate` varchar(50) DEFAULT NULL,
  4681. `order_price` decimal(11,2) NOT NULL DEFAULT '0.00',
  4682. `dec_price` decimal(11,2) NOT NULL DEFAULT '0.00',
  4683. `create_time` int(11) NOT NULL DEFAULT '0',
  4684. PRIMARY KEY (`id`),
  4685. KEY `idx_openid` (`openid`)
  4686. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4687. -- ----------------------------
  4688. -- Records of ims_ewei_shop_member_card_uselog
  4689. -- ----------------------------
  4690. -- ----------------------------
  4691. -- Table structure for `ims_ewei_shop_member_cart`
  4692. -- ----------------------------
  4693. DROP TABLE IF EXISTS `ims_ewei_shop_member_cart`;
  4694. CREATE TABLE `ims_ewei_shop_member_cart` (
  4695. `id` int(11) NOT NULL AUTO_INCREMENT,
  4696. `uniacid` int(11) DEFAULT '0',
  4697. `openid` varchar(100) DEFAULT '',
  4698. `goodsid` int(11) DEFAULT '0',
  4699. `total` int(11) DEFAULT '0',
  4700. `marketprice` decimal(10,2) DEFAULT '0.00',
  4701. `deleted` tinyint(1) DEFAULT '0',
  4702. `optionid` int(11) DEFAULT '0',
  4703. `createtime` int(11) DEFAULT '0',
  4704. `diyformdataid` int(11) DEFAULT '0',
  4705. `diyformdata` text,
  4706. `diyformfields` text,
  4707. `diyformid` int(11) DEFAULT '0',
  4708. `selected` tinyint(1) DEFAULT '1',
  4709. `merchid` int(11) DEFAULT '0',
  4710. `selectedadd` tinyint(1) DEFAULT '1',
  4711. `isnewstore` tinyint(3) NOT NULL DEFAULT '0',
  4712. PRIMARY KEY (`id`),
  4713. KEY `idx_uniacid` (`uniacid`),
  4714. KEY `idx_goodsid` (`goodsid`),
  4715. KEY `idx_openid` (`openid`),
  4716. KEY `idx_deleted` (`deleted`)
  4717. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4718. -- ----------------------------
  4719. -- Records of ims_ewei_shop_member_cart
  4720. -- ----------------------------
  4721. -- ----------------------------
  4722. -- Table structure for `ims_ewei_shop_member_credit_record`
  4723. -- ----------------------------
  4724. DROP TABLE IF EXISTS `ims_ewei_shop_member_credit_record`;
  4725. CREATE TABLE `ims_ewei_shop_member_credit_record` (
  4726. `id` int(11) NOT NULL AUTO_INCREMENT,
  4727. `uid` int(11) unsigned NOT NULL,
  4728. `openid` varchar(255) DEFAULT '',
  4729. `uniacid` int(11) NOT NULL,
  4730. `credittype` varchar(10) NOT NULL,
  4731. `num` decimal(10,2) NOT NULL,
  4732. `operator` int(10) unsigned NOT NULL,
  4733. `createtime` int(10) unsigned NOT NULL,
  4734. `remark` varchar(200) NOT NULL,
  4735. `module` varchar(30) NOT NULL,
  4736. PRIMARY KEY (`id`),
  4737. KEY `uniacid` (`uniacid`),
  4738. KEY `openid` (`openid`)
  4739. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4740. -- ----------------------------
  4741. -- Records of ims_ewei_shop_member_credit_record
  4742. -- ----------------------------
  4743. -- ----------------------------
  4744. -- Table structure for `ims_ewei_shop_member_favorite`
  4745. -- ----------------------------
  4746. DROP TABLE IF EXISTS `ims_ewei_shop_member_favorite`;
  4747. CREATE TABLE `ims_ewei_shop_member_favorite` (
  4748. `id` int(11) NOT NULL AUTO_INCREMENT,
  4749. `uniacid` int(11) DEFAULT '0',
  4750. `goodsid` int(10) DEFAULT '0',
  4751. `openid` varchar(50) DEFAULT '',
  4752. `deleted` tinyint(1) DEFAULT '0',
  4753. `createtime` int(11) DEFAULT '0',
  4754. `merchid` int(11) DEFAULT '0',
  4755. `type` int(11) DEFAULT '0',
  4756. PRIMARY KEY (`id`),
  4757. KEY `idx_uniacid` (`uniacid`),
  4758. KEY `idx_goodsid` (`goodsid`),
  4759. KEY `idx_openid` (`openid`),
  4760. KEY `idx_deleted` (`deleted`),
  4761. KEY `idx_createtime` (`createtime`)
  4762. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4763. -- ----------------------------
  4764. -- Records of ims_ewei_shop_member_favorite
  4765. -- ----------------------------
  4766. -- ----------------------------
  4767. -- Table structure for `ims_ewei_shop_member_group`
  4768. -- ----------------------------
  4769. DROP TABLE IF EXISTS `ims_ewei_shop_member_group`;
  4770. CREATE TABLE `ims_ewei_shop_member_group` (
  4771. `id` int(11) NOT NULL AUTO_INCREMENT,
  4772. `uniacid` int(11) DEFAULT '0',
  4773. `groupname` varchar(255) DEFAULT '',
  4774. `description` varchar(255) NOT NULL DEFAULT '',
  4775. PRIMARY KEY (`id`)
  4776. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4777. -- ----------------------------
  4778. -- Records of ims_ewei_shop_member_group
  4779. -- ----------------------------
  4780. -- ----------------------------
  4781. -- Table structure for `ims_ewei_shop_member_group_log`
  4782. -- ----------------------------
  4783. DROP TABLE IF EXISTS `ims_ewei_shop_member_group_log`;
  4784. CREATE TABLE `ims_ewei_shop_member_group_log` (
  4785. `log_id` int(11) NOT NULL AUTO_INCREMENT,
  4786. `mid` int(11) NOT NULL DEFAULT '0',
  4787. `openid` varchar(50) NOT NULL DEFAULT '0',
  4788. `group_id` int(11) NOT NULL DEFAULT '0',
  4789. `add_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  4790. `content` varchar(255) NOT NULL DEFAULT '',
  4791. PRIMARY KEY (`log_id`),
  4792. KEY `group_id` (`group_id`) USING BTREE,
  4793. KEY `openid` (`openid`) USING BTREE
  4794. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4795. -- ----------------------------
  4796. -- Records of ims_ewei_shop_member_group_log
  4797. -- ----------------------------
  4798. -- ----------------------------
  4799. -- Table structure for `ims_ewei_shop_member_history`
  4800. -- ----------------------------
  4801. DROP TABLE IF EXISTS `ims_ewei_shop_member_history`;
  4802. CREATE TABLE `ims_ewei_shop_member_history` (
  4803. `id` int(11) NOT NULL AUTO_INCREMENT,
  4804. `uniacid` int(11) DEFAULT '0',
  4805. `goodsid` int(10) DEFAULT '0',
  4806. `openid` varchar(50) DEFAULT '',
  4807. `deleted` tinyint(1) DEFAULT '0',
  4808. `createtime` int(11) DEFAULT '0',
  4809. `times` int(11) DEFAULT '0',
  4810. `merchid` int(11) DEFAULT '0',
  4811. PRIMARY KEY (`id`),
  4812. KEY `idx_uniacid` (`uniacid`),
  4813. KEY `idx_goodsid` (`goodsid`),
  4814. KEY `idx_openid` (`openid`),
  4815. KEY `idx_deleted` (`deleted`),
  4816. KEY `idx_createtime` (`createtime`)
  4817. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4818. -- ----------------------------
  4819. -- Records of ims_ewei_shop_member_history
  4820. -- ----------------------------
  4821. -- ----------------------------
  4822. -- Table structure for `ims_ewei_shop_member_level`
  4823. -- ----------------------------
  4824. DROP TABLE IF EXISTS `ims_ewei_shop_member_level`;
  4825. CREATE TABLE `ims_ewei_shop_member_level` (
  4826. `id` int(11) NOT NULL AUTO_INCREMENT,
  4827. `uniacid` int(11) NOT NULL,
  4828. `level` int(11) DEFAULT '0',
  4829. `levelname` varchar(50) DEFAULT '',
  4830. `ordermoney` decimal(10,2) DEFAULT '0.00',
  4831. `ordercount` int(10) DEFAULT '0',
  4832. `discount` decimal(10,2) DEFAULT '0.00',
  4833. `enabled` tinyint(3) DEFAULT '0',
  4834. `enabledadd` tinyint(1) DEFAULT '0',
  4835. `buygoods` tinyint(1) NOT NULL DEFAULT '0',
  4836. `goodsids` text NOT NULL,
  4837. PRIMARY KEY (`id`),
  4838. KEY `idx_uniacid` (`uniacid`)
  4839. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4840. -- ----------------------------
  4841. -- Records of ims_ewei_shop_member_level
  4842. -- ----------------------------
  4843. -- ----------------------------
  4844. -- Table structure for `ims_ewei_shop_member_log`
  4845. -- ----------------------------
  4846. DROP TABLE IF EXISTS `ims_ewei_shop_member_log`;
  4847. CREATE TABLE `ims_ewei_shop_member_log` (
  4848. `id` int(11) NOT NULL AUTO_INCREMENT,
  4849. `uniacid` int(11) DEFAULT '0',
  4850. `openid` varchar(255) DEFAULT '',
  4851. `type` tinyint(3) DEFAULT NULL,
  4852. `logno` varchar(255) DEFAULT '',
  4853. `title` varchar(255) DEFAULT '',
  4854. `createtime` int(11) DEFAULT '0',
  4855. `status` int(11) DEFAULT '0',
  4856. `money` decimal(10,2) DEFAULT '0.00',
  4857. `rechargetype` varchar(255) DEFAULT '',
  4858. `transid` varchar(255) DEFAULT '',
  4859. `gives` decimal(10,2) DEFAULT NULL,
  4860. `couponid` int(11) DEFAULT '0',
  4861. `isborrow` tinyint(3) DEFAULT '0',
  4862. `borrowopenid` varchar(100) DEFAULT '',
  4863. `apppay` tinyint(3) NOT NULL DEFAULT '0',
  4864. `alipay` varchar(50) NOT NULL DEFAULT '',
  4865. `bankname` varchar(50) NOT NULL DEFAULT '',
  4866. `bankcard` varchar(50) NOT NULL DEFAULT '',
  4867. `realname` varchar(50) NOT NULL DEFAULT '',
  4868. `applytype` tinyint(3) NOT NULL DEFAULT '0',
  4869. `sendmoney` decimal(10,2) DEFAULT '0.00',
  4870. `senddata` text,
  4871. `realmoney` decimal(10,2) DEFAULT '0.00',
  4872. `charge` decimal(10,2) DEFAULT '0.00',
  4873. `deductionmoney` decimal(10,2) DEFAULT '0.00',
  4874. `remark` varchar(255) NOT NULL DEFAULT '',
  4875. PRIMARY KEY (`id`),
  4876. KEY `idx_uniacid` (`uniacid`),
  4877. KEY `idx_openid` (`openid`),
  4878. KEY `idx_type` (`type`),
  4879. KEY `idx_createtime` (`createtime`),
  4880. KEY `idx_status` (`status`)
  4881. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4882. -- ----------------------------
  4883. -- Records of ims_ewei_shop_member_log
  4884. -- ----------------------------
  4885. -- ----------------------------
  4886. -- Table structure for `ims_ewei_shop_member_mergelog`
  4887. -- ----------------------------
  4888. DROP TABLE IF EXISTS `ims_ewei_shop_member_mergelog`;
  4889. CREATE TABLE `ims_ewei_shop_member_mergelog` (
  4890. `id` int(11) NOT NULL AUTO_INCREMENT,
  4891. `uniacid` int(11) NOT NULL DEFAULT '0',
  4892. `mergetime` int(11) NOT NULL DEFAULT '0',
  4893. `openid_a` varchar(30) NOT NULL,
  4894. `openid_b` varchar(30) NOT NULL,
  4895. `mid_a` int(11) NOT NULL,
  4896. `mid_b` int(11) NOT NULL,
  4897. `detail_a` text,
  4898. `detail_b` text,
  4899. `detail_c` text,
  4900. `fromuniacid` int(11) DEFAULT '0',
  4901. PRIMARY KEY (`id`),
  4902. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  4903. KEY `idx_mid_a` (`mid_a`) USING BTREE,
  4904. KEY `idx_mid_b` (`mid_b`) USING BTREE
  4905. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  4906. -- ----------------------------
  4907. -- Records of ims_ewei_shop_member_mergelog
  4908. -- ----------------------------
  4909. -- ----------------------------
  4910. -- Table structure for `ims_ewei_shop_member_message_template`
  4911. -- ----------------------------
  4912. DROP TABLE IF EXISTS `ims_ewei_shop_member_message_template`;
  4913. CREATE TABLE `ims_ewei_shop_member_message_template` (
  4914. `id` int(11) NOT NULL AUTO_INCREMENT,
  4915. `uniacid` int(11) DEFAULT '0',
  4916. `title` varchar(255) DEFAULT '',
  4917. `template_id` varchar(255) DEFAULT '',
  4918. `first` text NOT NULL,
  4919. `firstcolor` varchar(255) DEFAULT '',
  4920. `data` text NOT NULL,
  4921. `remark` text NOT NULL,
  4922. `remarkcolor` varchar(255) DEFAULT '',
  4923. `url` varchar(255) NOT NULL,
  4924. `createtime` int(11) DEFAULT '0',
  4925. `sendtimes` int(11) DEFAULT '0',
  4926. `sendcount` int(11) DEFAULT '0',
  4927. `typecode` varchar(30) DEFAULT '',
  4928. `messagetype` tinyint(1) DEFAULT '0',
  4929. `send_desc` varchar(255) DEFAULT '',
  4930. PRIMARY KEY (`id`),
  4931. KEY `idx_uniacid` (`uniacid`),
  4932. KEY `idx_createtime` (`createtime`)
  4933. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4934. -- ----------------------------
  4935. -- Records of ims_ewei_shop_member_message_template
  4936. -- ----------------------------
  4937. -- ----------------------------
  4938. -- Table structure for `ims_ewei_shop_member_message_template_default`
  4939. -- ----------------------------
  4940. DROP TABLE IF EXISTS `ims_ewei_shop_member_message_template_default`;
  4941. CREATE TABLE `ims_ewei_shop_member_message_template_default` (
  4942. `id` int(11) NOT NULL AUTO_INCREMENT,
  4943. `typecode` varchar(255) DEFAULT NULL,
  4944. `uniacid` int(11) DEFAULT NULL,
  4945. `templateid` varchar(255) DEFAULT NULL,
  4946. PRIMARY KEY (`id`)
  4947. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4948. -- ----------------------------
  4949. -- Records of ims_ewei_shop_member_message_template_default
  4950. -- ----------------------------
  4951. -- ----------------------------
  4952. -- Table structure for `ims_ewei_shop_member_message_template_type`
  4953. -- ----------------------------
  4954. DROP TABLE IF EXISTS `ims_ewei_shop_member_message_template_type`;
  4955. CREATE TABLE `ims_ewei_shop_member_message_template_type` (
  4956. `id` int(11) NOT NULL,
  4957. `name` varchar(255) DEFAULT NULL,
  4958. `typecode` varchar(255) DEFAULT NULL,
  4959. `templatecode` varchar(255) DEFAULT NULL,
  4960. `templateid` varchar(255) DEFAULT NULL,
  4961. `templatename` varchar(255) DEFAULT NULL,
  4962. `content` varchar(1000) DEFAULT NULL,
  4963. `typegroup` varchar(255) DEFAULT '',
  4964. `groupname` varchar(255) DEFAULT '',
  4965. `showtotaladd` tinyint(1) DEFAULT '0',
  4966. PRIMARY KEY (`id`),
  4967. KEY `id` (`id`) USING BTREE
  4968. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  4969. -- ----------------------------
  4970. -- Records of ims_ewei_shop_member_message_template_type
  4971. -- ----------------------------
  4972. 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}}', 'sys', '系统消息通知', '0');
  4973. 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}}', 'sys', '系统消息通知', '0');
  4974. 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}}', 'sys', '系统消息通知', '0');
  4975. 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}}', 'sys', '系统消息通知', '0');
  4976. 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}}', 'sys', '系统消息通知', '0');
  4977. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('6', '订单发货通知', 'send', 'OPENTM401874827', '', '订单发货通知', '{{first.DATA}}订单编号:{{keyword1.DATA}}快递公司:{{keyword2.DATA}}快递单号:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0');
  4978. 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}}', 'sys', '系统消息通知', '0');
  4979. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('8', '订单状态更新(修改收货地址)(修改价格)', 'orderstatus', 'TM00017', '', '订单付款通知', '{{first.DATA}}订单编号:{{OrderSn.DATA}}订单状态:{{OrderStatus.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0');
  4980. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('9', '退款成功通知', 'refund1', 'TM00430', '', '退款成功通知', '{{first.DATA}}退款金额:{{orderProductPrice.DATA}}商品详情:{{orderProductName.DATA}}订单编号:{{orderName.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0');
  4981. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('10', '换货成功通知', 'refund3', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0');
  4982. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('11', '退款申请驳回通知', 'refund2', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0');
  4983. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('12', '充值成功通知', 'recharge_ok', 'OPENTM207727673', '', '充值成功提醒', '{{first.DATA}}充值金额:{{keyword1.DATA}}充值时间:{{keyword2.DATA}}账户余额:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0');
  4984. 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}}', 'sys', '系统消息通知', '0');
  4985. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('14', '会员升级通知(任务处理通知)', 'upgrade', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0');
  4986. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('15', '充值成功通知(后台管理员手动)', 'backrecharge_ok', 'OPENTM207727673', '', '充值成功提醒', '{{first.DATA}}充值金额:{{keyword1.DATA}}充值时间:{{keyword2.DATA}}账户余额:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0');
  4987. 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}}', 'sys', '系统消息通知', '0');
  4988. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('17', '换货发货通知', 'refund4', 'OPENTM401874827', '', '订单发货通知', '{{first.DATA}}订单编号:{{keyword1.DATA}}快递公司:{{keyword2.DATA}}快递单号:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0');
  4989. 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}}', 'bargain', '砍价消息通知', '0');
  4990. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('19', '拼团活动通知', 'groups', null, null, null, null, 'groups', '拼团消息通知', '0');
  4991. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('20', '人人分销通知', 'commission', null, null, null, null, 'commission', '分销消息通知', '0');
  4992. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('21', '商品付款通知', 'saler_goodpay', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0');
  4993. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('22', '砍到底价通知', 'bargain_fprice', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'bargain', '砍价消息通知', '0');
  4994. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('23', '订单收货通知(卖家)', 'saler_finish', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0');
  4995. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('24', '余额兑换成功通知', 'exchange_balance', 'OPENTM207727673', '', '充值成功提醒', '{{first.DATA}}充值金额:{{keyword1.DATA}}充值时间:{{keyword2.DATA}}账户余额:{{keyword3.DATA}}{{remark.DATA}}', 'exchange', '兑换中心消息通知', '0');
  4996. 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}}', 'exchange', '兑换中心消息通知', '0');
  4997. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('26', '兑换中心余额充值通知', 'exchange_recharge', 'OPENTM207727673', '', '充值成功提醒', '{{first.DATA}}充值金额:{{keyword1.DATA}}充值时间:{{keyword2.DATA}}账户余额:{{keyword3.DATA}}{{remark.DATA}}', 'exchange', '兑换中心消息通知', '0');
  4998. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('27', '游戏中心通知', 'lottery_get', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'lottery', '抽奖消息通知', '0');
  4999. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('35', '库存预警通知', 'saler_stockwarn', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0');
  5000. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('36', '卖家核销商品核销通知', 'o2o_sverify', 'OPENTM409521536', '', '核销成功提醒', '{{first.DATA}}核销项目:{{keyword1.DATA}}核销时间:{{keyword2.DATA}}核销门店:{{keyword3.DATA}}{{remark.DATA}}', 'o2o', 'O2O消息通知', '0');
  5001. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('37', '核销商品核销通知', 'o2o_bverify', 'OPENTM409521536', '', '核销成功提醒', '{{first.DATA}}核销项目:{{keyword1.DATA}}核销时间:{{keyword2.DATA}}核销门店:{{keyword3.DATA}}{{remark.DATA}}', 'o2o', 'O2O消息通知', '0');
  5002. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('38', '卖家商品预约通知', 'o2o_snorder', 'OPENTM202447657', '', '预约成功提醒', '{{first.DATA}}预约项目:{{keyword1.DATA}}预约时间:{{keyword2.DATA}}{{remark.DATA}}', 'o2o', 'O2O消息通知', '0');
  5003. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('39', '商品预约成功通知', 'o2o_bnorder', 'OPENTM202447657', '', '预约成功提醒', '{{first.DATA}}预约项目:{{keyword1.DATA}}预约时间:{{keyword2.DATA}}{{remark.DATA}}', 'o2o', 'O2O消息通知', '0');
  5004. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('42', '商品下单通知', 'saler_goodsubmit', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0');
  5005. 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}}', 'task', '任务中心消息通知', '0');
  5006. 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}}', 'task', '任务中心消息通知', '0');
  5007. 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}}', 'task', '任务中心消息通知', '0');
  5008. 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}}', 'task', '任务中心消息通知', '0');
  5009. 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}}', 'task', '任务中心消息通知', '0');
  5010. 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}}', 'task', '任务中心消息通知', '0');
  5011. 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}}', 'task', '任务中心消息通知', '0');
  5012. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('50', '维权订单通知', 'saler_refund', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0');
  5013. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('51', '社区会员升级通知', 'sns', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'sns', '人人社区消息通知', '0');
  5014. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('52', '成为分销商通知', 'commission_become', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'commission', '分销消息通知', '0');
  5015. 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}}', 'commission', '分销消息通知', '0');
  5016. 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}}', 'commission', '分销消息通知', '0');
  5017. 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}}', 'commission', '分销消息通知', '0');
  5018. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('56', '提现申请提交通知', 'commission_apply', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'commission', '分销消息通知', '0');
  5019. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('57', '提现申请完成审核通知', 'commission_check', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'commission', '分销消息通知', '0');
  5020. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('58', '佣金打款通知', 'commission_pay', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'commission', '分销消息通知', '0');
  5021. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('59', '分销商等级升级通知', 'commission_upgrade', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'commission', '分销消息通知', '0');
  5022. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('60', '成为股东通知', 'globonus_become', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'globonus', '股东消息通知', '0');
  5023. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('61', '股东等级升级通知', 'globonus_upgrade', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'globonus', '股东消息通知', '0');
  5024. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('62', '分红发放通知', 'globonus_pay', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'globonus', '股东消息通知', '0');
  5025. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('63', '奖励发放通知', 'article', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'article', '文章营销消息通知', '0');
  5026. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('64', '成为区域代理通知', 'abonus_become', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'abonus', '区域代理消息通知', '0');
  5027. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('65', '省级代理等级升级通知', 'abonus_upgrade1', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'abonus', '区域代理消息通知', '0');
  5028. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('66', '市级代理等级升级通知', 'abonus_upgrade2', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'abonus', '区域代理消息通知', '0');
  5029. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('67', '区级代理等级升级通知', 'abonus_upgrade3', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'abonus', '区域代理消息通知', '0');
  5030. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('68', '区域代理分红发放通知', 'abonus_pay', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'abonus', '区域代理消息通知', '0');
  5031. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('69', '入驻申请通知', 'merch_apply', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'merch', '商家通知', '0');
  5032. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('70', '提现申请提交通知', 'merch_applymoney', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'merch', '商家通知', '0');
  5033. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('71', '社区会员评论通知', 'reply', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'sns', '人人社区消息通知', '0');
  5034. 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}}', 'cycelbuy', '周期购消息通知', '0');
  5035. 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}}', 'cycelbuy', '周期购消息通知', '0');
  5036. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('74', '周期购定时发货通知', 'cycelbuy_timing', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'cycelbuy', '周期购消息通知', '0');
  5037. 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}}', 'cycelbuy', '周期购消息通知', '0');
  5038. 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}}', 'cycelbuy', '周期购消息通知', '0');
  5039. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('77', '分销提现申请提醒', 'commission_applymoney', 'OPENTM207574677', null, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'commission', '分销消息通知', '0');
  5040. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('80', '成为团长通知', 'dividend_become', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'dividend', '团队分红通知', '0');
  5041. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('81', '成为团长通知(卖家)', 'dividend_become_saler', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'dividend', '团队分红通知', '0');
  5042. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('82', '团员成为团长通知', 'dividend_downline_become', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'dividend', '团队分红通知', '0');
  5043. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('83', '团长提现通知', 'dividend_apply', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'dividend', '团队分红通知', '0');
  5044. INSERT INTO `ims_ewei_shop_member_message_template_type` VALUES ('84', '提现审核完成通知', 'dividend_check', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'dividend', '团队分红通知', '0');
  5045. -- ----------------------------
  5046. -- Table structure for `ims_ewei_shop_member_printer`
  5047. -- ----------------------------
  5048. DROP TABLE IF EXISTS `ims_ewei_shop_member_printer`;
  5049. CREATE TABLE `ims_ewei_shop_member_printer` (
  5050. `id` int(11) NOT NULL AUTO_INCREMENT,
  5051. `uniacid` int(11) DEFAULT '0',
  5052. `title` varchar(255) DEFAULT '',
  5053. `type` tinyint(3) DEFAULT '0',
  5054. `print_data` text,
  5055. `createtime` int(11) DEFAULT '0',
  5056. `merchid` int(11) DEFAULT '0',
  5057. PRIMARY KEY (`id`),
  5058. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  5059. KEY `idx_createtime` (`createtime`) USING BTREE,
  5060. KEY `idx_merchid` (`merchid`) USING BTREE
  5061. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  5062. -- ----------------------------
  5063. -- Records of ims_ewei_shop_member_printer
  5064. -- ----------------------------
  5065. -- ----------------------------
  5066. -- Table structure for `ims_ewei_shop_member_printer_template`
  5067. -- ----------------------------
  5068. DROP TABLE IF EXISTS `ims_ewei_shop_member_printer_template`;
  5069. CREATE TABLE `ims_ewei_shop_member_printer_template` (
  5070. `id` int(11) NOT NULL AUTO_INCREMENT,
  5071. `uniacid` int(11) DEFAULT '0',
  5072. `title` varchar(255) DEFAULT '',
  5073. `type` tinyint(3) DEFAULT '0',
  5074. `print_title` varchar(255) DEFAULT '',
  5075. `print_style` varchar(255) DEFAULT '',
  5076. `print_data` text,
  5077. `code` varchar(500) DEFAULT '',
  5078. `qrcode` varchar(500) DEFAULT '',
  5079. `createtime` int(11) DEFAULT '0',
  5080. `merchid` int(11) DEFAULT '0',
  5081. `goodssn` tinyint(1) NOT NULL DEFAULT '0',
  5082. `productsn` tinyint(1) NOT NULL DEFAULT '0',
  5083. PRIMARY KEY (`id`),
  5084. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  5085. KEY `idx_createtime` (`createtime`) USING BTREE,
  5086. KEY `idx_merchid` (`merchid`) USING BTREE
  5087. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  5088. -- ----------------------------
  5089. -- Records of ims_ewei_shop_member_printer_template
  5090. -- ----------------------------
  5091. -- ----------------------------
  5092. -- Table structure for `ims_ewei_shop_member_rank`
  5093. -- ----------------------------
  5094. DROP TABLE IF EXISTS `ims_ewei_shop_member_rank`;
  5095. CREATE TABLE `ims_ewei_shop_member_rank` (
  5096. `id` int(11) NOT NULL AUTO_INCREMENT,
  5097. `uniacid` int(10) unsigned NOT NULL,
  5098. `status` tinyint(4) NOT NULL,
  5099. `num` int(11) NOT NULL,
  5100. PRIMARY KEY (`id`)
  5101. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  5102. -- ----------------------------
  5103. -- Records of ims_ewei_shop_member_rank
  5104. -- ----------------------------
  5105. -- ----------------------------
  5106. -- Table structure for `ims_ewei_shop_member_tmp`
  5107. -- ----------------------------
  5108. DROP TABLE IF EXISTS `ims_ewei_shop_member_tmp`;
  5109. CREATE TABLE `ims_ewei_shop_member_tmp` (
  5110. `uniacid` int(11) DEFAULT '0',
  5111. `openid` varchar(50) DEFAULT ''
  5112. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5113. -- ----------------------------
  5114. -- Records of ims_ewei_shop_member_tmp
  5115. -- ----------------------------
  5116. -- ----------------------------
  5117. -- Table structure for `ims_ewei_shop_merch_account`
  5118. -- ----------------------------
  5119. DROP TABLE IF EXISTS `ims_ewei_shop_merch_account`;
  5120. CREATE TABLE `ims_ewei_shop_merch_account` (
  5121. `id` int(11) NOT NULL AUTO_INCREMENT,
  5122. `uniacid` int(11) DEFAULT '0',
  5123. `openid` varchar(255) DEFAULT '',
  5124. `merchid` int(11) DEFAULT '0',
  5125. `username` varchar(255) DEFAULT '',
  5126. `pwd` varchar(255) DEFAULT '',
  5127. `salt` varchar(255) DEFAULT '',
  5128. `status` tinyint(3) DEFAULT '0',
  5129. `perms` text,
  5130. `isfounder` tinyint(3) DEFAULT '0',
  5131. `lastip` varchar(255) DEFAULT '',
  5132. `lastvisit` varchar(255) DEFAULT '',
  5133. `roleid` int(11) DEFAULT '0',
  5134. PRIMARY KEY (`id`),
  5135. KEY `idx_uniacid` (`uniacid`),
  5136. KEY `idx_merchid` (`merchid`),
  5137. KEY `idx_status` (`status`)
  5138. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5139. -- ----------------------------
  5140. -- Records of ims_ewei_shop_merch_account
  5141. -- ----------------------------
  5142. -- ----------------------------
  5143. -- Table structure for `ims_ewei_shop_merch_adv`
  5144. -- ----------------------------
  5145. DROP TABLE IF EXISTS `ims_ewei_shop_merch_adv`;
  5146. CREATE TABLE `ims_ewei_shop_merch_adv` (
  5147. `id` int(11) NOT NULL AUTO_INCREMENT,
  5148. `uniacid` int(11) DEFAULT '0',
  5149. `advname` varchar(50) DEFAULT NULL,
  5150. `link` varchar(255) DEFAULT NULL,
  5151. `thumb` varchar(255) DEFAULT NULL,
  5152. `displayorder` int(11) DEFAULT NULL,
  5153. `enabled` int(11) DEFAULT NULL,
  5154. `merchid` int(11) DEFAULT '0',
  5155. PRIMARY KEY (`id`),
  5156. KEY `idx_uniacid` (`uniacid`),
  5157. KEY `idx_merchid` (`merchid`)
  5158. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5159. -- ----------------------------
  5160. -- Records of ims_ewei_shop_merch_adv
  5161. -- ----------------------------
  5162. -- ----------------------------
  5163. -- Table structure for `ims_ewei_shop_merch_banner`
  5164. -- ----------------------------
  5165. DROP TABLE IF EXISTS `ims_ewei_shop_merch_banner`;
  5166. CREATE TABLE `ims_ewei_shop_merch_banner` (
  5167. `id` int(11) NOT NULL AUTO_INCREMENT,
  5168. `uniacid` int(11) DEFAULT '0',
  5169. `bannername` varchar(50) DEFAULT '',
  5170. `link` varchar(255) DEFAULT '',
  5171. `thumb` varchar(255) DEFAULT '',
  5172. `displayorder` int(11) DEFAULT '0',
  5173. `enabled` int(11) DEFAULT '0',
  5174. `merchid` int(11) DEFAULT '0',
  5175. PRIMARY KEY (`id`),
  5176. KEY `idx_uniacid` (`uniacid`),
  5177. KEY `idx_enabled` (`enabled`),
  5178. KEY `idx_displayorder` (`displayorder`),
  5179. KEY `idx_merchid` (`merchid`)
  5180. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5181. -- ----------------------------
  5182. -- Records of ims_ewei_shop_merch_banner
  5183. -- ----------------------------
  5184. -- ----------------------------
  5185. -- Table structure for `ims_ewei_shop_merch_bill`
  5186. -- ----------------------------
  5187. DROP TABLE IF EXISTS `ims_ewei_shop_merch_bill`;
  5188. CREATE TABLE `ims_ewei_shop_merch_bill` (
  5189. `id` int(11) NOT NULL AUTO_INCREMENT,
  5190. `uniacid` int(11) NOT NULL DEFAULT '0',
  5191. `applyno` varchar(255) NOT NULL DEFAULT '',
  5192. `merchid` int(11) NOT NULL DEFAULT '0',
  5193. `orderids` text NOT NULL,
  5194. `realprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5195. `realpricerate` decimal(10,2) NOT NULL DEFAULT '0.00',
  5196. `finalprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5197. `payrateprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5198. `payrate` decimal(10,2) NOT NULL DEFAULT '0.00',
  5199. `money` decimal(10,2) NOT NULL DEFAULT '0.00',
  5200. `applytime` int(11) NOT NULL DEFAULT '0',
  5201. `checktime` int(11) NOT NULL DEFAULT '0',
  5202. `paytime` int(11) NOT NULL DEFAULT '0',
  5203. `invalidtime` int(11) NOT NULL DEFAULT '0',
  5204. `refusetime` int(11) NOT NULL DEFAULT '0',
  5205. `remark` text NOT NULL,
  5206. `status` tinyint(3) NOT NULL DEFAULT '0',
  5207. `ordernum` int(11) NOT NULL DEFAULT '0',
  5208. `orderprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5209. `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  5210. `passrealprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5211. `passrealpricerate` decimal(10,2) NOT NULL DEFAULT '0.00',
  5212. `passorderids` text NOT NULL,
  5213. `passordernum` int(11) NOT NULL DEFAULT '0',
  5214. `passorderprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5215. `alipay` varchar(50) NOT NULL DEFAULT '',
  5216. `bankname` varchar(50) NOT NULL DEFAULT '',
  5217. `bankcard` varchar(50) NOT NULL DEFAULT '',
  5218. `applyrealname` varchar(50) NOT NULL DEFAULT '',
  5219. `applytype` tinyint(3) NOT NULL DEFAULT '0',
  5220. `handpay` tinyint(3) NOT NULL DEFAULT '0',
  5221. `creditstatus` tinyint(3) NOT NULL DEFAULT '0',
  5222. `creditrate` int(10) NOT NULL DEFAULT '1',
  5223. `creditnum` int(10) NOT NULL DEFAULT '0',
  5224. `creditmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  5225. `passcreditnum` int(10) NOT NULL DEFAULT '0',
  5226. `passcreditmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  5227. `isbillcredit` int(10) NOT NULL DEFAULT '0',
  5228. PRIMARY KEY (`id`),
  5229. KEY `idx_uniacid` (`uniacid`),
  5230. KEY `idx_merchid` (`merchid`),
  5231. KEY `idx_status` (`status`)
  5232. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5233. -- ----------------------------
  5234. -- Records of ims_ewei_shop_merch_bill
  5235. -- ----------------------------
  5236. -- ----------------------------
  5237. -- Table structure for `ims_ewei_shop_merch_billo`
  5238. -- ----------------------------
  5239. DROP TABLE IF EXISTS `ims_ewei_shop_merch_billo`;
  5240. CREATE TABLE `ims_ewei_shop_merch_billo` (
  5241. `id` int(11) NOT NULL AUTO_INCREMENT,
  5242. `uniacid` int(11) NOT NULL DEFAULT '0',
  5243. `billid` int(11) NOT NULL DEFAULT '0',
  5244. `orderid` int(11) NOT NULL DEFAULT '0',
  5245. `ordermoney` decimal(10,2) NOT NULL DEFAULT '0.00',
  5246. PRIMARY KEY (`id`),
  5247. KEY `idx_uniacid` (`uniacid`)
  5248. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5249. -- ----------------------------
  5250. -- Records of ims_ewei_shop_merch_billo
  5251. -- ----------------------------
  5252. -- ----------------------------
  5253. -- Table structure for `ims_ewei_shop_merch_bill_select`
  5254. -- ----------------------------
  5255. DROP TABLE IF EXISTS `ims_ewei_shop_merch_bill_select`;
  5256. CREATE TABLE `ims_ewei_shop_merch_bill_select` (
  5257. `bill_id` int(11) NOT NULL DEFAULT '0',
  5258. `order_id` int(11) NOT NULL DEFAULT '0',
  5259. UNIQUE KEY `bid_oid` (`bill_id`,`order_id`),
  5260. KEY `bid` (`bill_id`),
  5261. KEY `oid` (`order_id`)
  5262. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5263. -- ----------------------------
  5264. -- Records of ims_ewei_shop_merch_bill_select
  5265. -- ----------------------------
  5266. -- ----------------------------
  5267. -- Table structure for `ims_ewei_shop_merch_category`
  5268. -- ----------------------------
  5269. DROP TABLE IF EXISTS `ims_ewei_shop_merch_category`;
  5270. CREATE TABLE `ims_ewei_shop_merch_category` (
  5271. `id` int(11) NOT NULL AUTO_INCREMENT,
  5272. `uniacid` int(11) DEFAULT '0',
  5273. `catename` varchar(255) DEFAULT '',
  5274. `createtime` int(11) DEFAULT '0',
  5275. `status` tinyint(1) DEFAULT '0',
  5276. `displayorder` int(11) DEFAULT '0',
  5277. `thumb` varchar(500) DEFAULT '',
  5278. `isrecommand` tinyint(1) DEFAULT '0',
  5279. PRIMARY KEY (`id`),
  5280. KEY `idx_uniacid` (`uniacid`)
  5281. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5282. -- ----------------------------
  5283. -- Records of ims_ewei_shop_merch_category
  5284. -- ----------------------------
  5285. -- ----------------------------
  5286. -- Table structure for `ims_ewei_shop_merch_category_swipe`
  5287. -- ----------------------------
  5288. DROP TABLE IF EXISTS `ims_ewei_shop_merch_category_swipe`;
  5289. CREATE TABLE `ims_ewei_shop_merch_category_swipe` (
  5290. `id` int(11) NOT NULL AUTO_INCREMENT,
  5291. `uniacid` int(11) DEFAULT '0',
  5292. `title` varchar(255) DEFAULT '',
  5293. `createtime` int(11) DEFAULT '0',
  5294. `status` tinyint(1) DEFAULT '0',
  5295. `displayorder` int(11) DEFAULT '0',
  5296. `thumb` varchar(500) DEFAULT '',
  5297. PRIMARY KEY (`id`),
  5298. KEY `idx_uniacid` (`uniacid`)
  5299. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5300. -- ----------------------------
  5301. -- Records of ims_ewei_shop_merch_category_swipe
  5302. -- ----------------------------
  5303. -- ----------------------------
  5304. -- Table structure for `ims_ewei_shop_merch_clearing`
  5305. -- ----------------------------
  5306. DROP TABLE IF EXISTS `ims_ewei_shop_merch_clearing`;
  5307. CREATE TABLE `ims_ewei_shop_merch_clearing` (
  5308. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  5309. `uniacid` int(11) NOT NULL DEFAULT '0',
  5310. `merchid` int(11) NOT NULL DEFAULT '0',
  5311. `clearno` varchar(64) NOT NULL DEFAULT '',
  5312. `goodsprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5313. `dispatchprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5314. `deductprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5315. `deductcredit2` decimal(10,2) NOT NULL DEFAULT '0.00',
  5316. `discountprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5317. `deductenough` decimal(10,2) NOT NULL DEFAULT '0.00',
  5318. `merchdeductenough` decimal(10,2) NOT NULL DEFAULT '0.00',
  5319. `isdiscountprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5320. `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  5321. `createtime` int(10) unsigned NOT NULL DEFAULT '0',
  5322. `starttime` int(10) unsigned NOT NULL DEFAULT '0',
  5323. `endtime` int(10) unsigned NOT NULL DEFAULT '0',
  5324. `status` tinyint(1) NOT NULL DEFAULT '0',
  5325. `realprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5326. `realpricerate` decimal(10,2) NOT NULL DEFAULT '0.00',
  5327. `finalprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5328. `remark` varchar(2000) NOT NULL DEFAULT '',
  5329. `paytime` int(11) NOT NULL DEFAULT '0',
  5330. `payrate` decimal(10,2) NOT NULL DEFAULT '0.00',
  5331. PRIMARY KEY (`id`),
  5332. KEY `uniacid` (`uniacid`),
  5333. KEY `merchid` (`merchid`),
  5334. KEY `starttime` (`starttime`),
  5335. KEY `endtime` (`endtime`),
  5336. KEY `status` (`status`)
  5337. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5338. -- ----------------------------
  5339. -- Records of ims_ewei_shop_merch_clearing
  5340. -- ----------------------------
  5341. -- ----------------------------
  5342. -- Table structure for `ims_ewei_shop_merch_commission_orderprice`
  5343. -- ----------------------------
  5344. DROP TABLE IF EXISTS `ims_ewei_shop_merch_commission_orderprice`;
  5345. CREATE TABLE `ims_ewei_shop_merch_commission_orderprice` (
  5346. `order_id` int(11) unsigned NOT NULL,
  5347. `commission_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  5348. PRIMARY KEY (`order_id`)
  5349. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5350. -- ----------------------------
  5351. -- Records of ims_ewei_shop_merch_commission_orderprice
  5352. -- ----------------------------
  5353. -- ----------------------------
  5354. -- Table structure for `ims_ewei_shop_merch_group`
  5355. -- ----------------------------
  5356. DROP TABLE IF EXISTS `ims_ewei_shop_merch_group`;
  5357. CREATE TABLE `ims_ewei_shop_merch_group` (
  5358. `id` int(11) NOT NULL AUTO_INCREMENT,
  5359. `uniacid` int(11) DEFAULT '0',
  5360. `groupname` varchar(255) DEFAULT '',
  5361. `createtime` int(11) DEFAULT '0',
  5362. `status` tinyint(3) DEFAULT '0',
  5363. `isdefault` tinyint(1) DEFAULT '0',
  5364. `goodschecked` tinyint(1) DEFAULT '0',
  5365. `commissionchecked` tinyint(1) DEFAULT '0',
  5366. `changepricechecked` tinyint(1) DEFAULT '0',
  5367. `finishchecked` tinyint(1) DEFAULT '0',
  5368. PRIMARY KEY (`id`),
  5369. KEY `idx_uniacid` (`uniacid`)
  5370. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5371. -- ----------------------------
  5372. -- Records of ims_ewei_shop_merch_group
  5373. -- ----------------------------
  5374. -- ----------------------------
  5375. -- Table structure for `ims_ewei_shop_merch_nav`
  5376. -- ----------------------------
  5377. DROP TABLE IF EXISTS `ims_ewei_shop_merch_nav`;
  5378. CREATE TABLE `ims_ewei_shop_merch_nav` (
  5379. `id` int(11) NOT NULL AUTO_INCREMENT,
  5380. `uniacid` int(11) DEFAULT '0',
  5381. `navname` varchar(255) DEFAULT '',
  5382. `icon` varchar(255) DEFAULT '',
  5383. `url` varchar(255) DEFAULT '',
  5384. `displayorder` int(11) DEFAULT '0',
  5385. `status` tinyint(3) DEFAULT '0',
  5386. `merchid` int(11) DEFAULT '0',
  5387. PRIMARY KEY (`id`),
  5388. KEY `idx_status` (`status`),
  5389. KEY `idx_uniacid` (`uniacid`),
  5390. KEY `idx_merchid` (`merchid`)
  5391. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5392. -- ----------------------------
  5393. -- Records of ims_ewei_shop_merch_nav
  5394. -- ----------------------------
  5395. -- ----------------------------
  5396. -- Table structure for `ims_ewei_shop_merch_notice`
  5397. -- ----------------------------
  5398. DROP TABLE IF EXISTS `ims_ewei_shop_merch_notice`;
  5399. CREATE TABLE `ims_ewei_shop_merch_notice` (
  5400. `id` int(11) NOT NULL AUTO_INCREMENT,
  5401. `uniacid` int(11) DEFAULT '0',
  5402. `displayorder` int(11) DEFAULT '0',
  5403. `title` varchar(255) DEFAULT '',
  5404. `thumb` varchar(255) DEFAULT '',
  5405. `link` varchar(255) DEFAULT '',
  5406. `detail` text,
  5407. `status` tinyint(3) DEFAULT '0',
  5408. `createtime` int(11) DEFAULT NULL,
  5409. `merchid` int(11) DEFAULT '0',
  5410. PRIMARY KEY (`id`),
  5411. KEY `idx_uniacid` (`uniacid`),
  5412. KEY `idx_merchid` (`merchid`)
  5413. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5414. -- ----------------------------
  5415. -- Records of ims_ewei_shop_merch_notice
  5416. -- ----------------------------
  5417. -- ----------------------------
  5418. -- Table structure for `ims_ewei_shop_merch_perm_log`
  5419. -- ----------------------------
  5420. DROP TABLE IF EXISTS `ims_ewei_shop_merch_perm_log`;
  5421. CREATE TABLE `ims_ewei_shop_merch_perm_log` (
  5422. `id` int(11) NOT NULL AUTO_INCREMENT,
  5423. `uid` int(11) DEFAULT '0',
  5424. `uniacid` int(11) DEFAULT '0',
  5425. `name` varchar(255) DEFAULT '',
  5426. `type` varchar(255) DEFAULT '',
  5427. `op` text,
  5428. `ip` varchar(255) DEFAULT '',
  5429. `createtime` int(11) DEFAULT '0',
  5430. `merchid` int(11) DEFAULT '0',
  5431. PRIMARY KEY (`id`),
  5432. KEY `idx_createtime` (`createtime`),
  5433. KEY `idx_uniacid` (`uniacid`),
  5434. KEY `idx_merchid` (`merchid`),
  5435. KEY `uid` (`uid`)
  5436. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5437. -- ----------------------------
  5438. -- Records of ims_ewei_shop_merch_perm_log
  5439. -- ----------------------------
  5440. -- ----------------------------
  5441. -- Table structure for `ims_ewei_shop_merch_perm_role`
  5442. -- ----------------------------
  5443. DROP TABLE IF EXISTS `ims_ewei_shop_merch_perm_role`;
  5444. CREATE TABLE `ims_ewei_shop_merch_perm_role` (
  5445. `id` int(11) NOT NULL AUTO_INCREMENT,
  5446. `uniacid` int(11) DEFAULT '0',
  5447. `merchid` int(11) DEFAULT '0',
  5448. `rolename` varchar(255) DEFAULT '',
  5449. `status` tinyint(3) DEFAULT '0',
  5450. `perms` text,
  5451. `deleted` tinyint(3) DEFAULT '0',
  5452. PRIMARY KEY (`id`),
  5453. KEY `idx_uniacid` (`uniacid`),
  5454. KEY `idx_status` (`status`),
  5455. KEY `idx_deleted` (`deleted`),
  5456. KEY `merchid` (`merchid`)
  5457. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5458. -- ----------------------------
  5459. -- Records of ims_ewei_shop_merch_perm_role
  5460. -- ----------------------------
  5461. -- ----------------------------
  5462. -- Table structure for `ims_ewei_shop_merch_reg`
  5463. -- ----------------------------
  5464. DROP TABLE IF EXISTS `ims_ewei_shop_merch_reg`;
  5465. CREATE TABLE `ims_ewei_shop_merch_reg` (
  5466. `id` int(11) NOT NULL AUTO_INCREMENT,
  5467. `uniacid` int(11) DEFAULT '0',
  5468. `openid` varchar(255) DEFAULT '',
  5469. `merchname` varchar(255) DEFAULT '',
  5470. `salecate` varchar(255) DEFAULT '',
  5471. `desc` varchar(500) DEFAULT '',
  5472. `realname` varchar(255) DEFAULT '',
  5473. `mobile` varchar(255) DEFAULT '',
  5474. `status` tinyint(3) DEFAULT '0',
  5475. `diyformdata` text,
  5476. `diyformfields` text,
  5477. `applytime` int(11) DEFAULT '0',
  5478. `reason` text,
  5479. `uname` varchar(50) NOT NULL DEFAULT '',
  5480. `upass` varchar(255) NOT NULL DEFAULT '',
  5481. PRIMARY KEY (`id`)
  5482. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5483. -- ----------------------------
  5484. -- Records of ims_ewei_shop_merch_reg
  5485. -- ----------------------------
  5486. -- ----------------------------
  5487. -- Table structure for `ims_ewei_shop_merch_saler`
  5488. -- ----------------------------
  5489. DROP TABLE IF EXISTS `ims_ewei_shop_merch_saler`;
  5490. CREATE TABLE `ims_ewei_shop_merch_saler` (
  5491. `id` int(11) NOT NULL AUTO_INCREMENT,
  5492. `storeid` int(11) DEFAULT '0',
  5493. `uniacid` int(11) DEFAULT '0',
  5494. `openid` varchar(255) DEFAULT '',
  5495. `status` tinyint(3) DEFAULT '0',
  5496. `salername` varchar(255) DEFAULT '',
  5497. `merchid` int(11) DEFAULT '0',
  5498. PRIMARY KEY (`id`),
  5499. KEY `idx_storeid` (`storeid`),
  5500. KEY `idx_uniacid` (`uniacid`),
  5501. KEY `idx_merchid` (`merchid`)
  5502. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5503. -- ----------------------------
  5504. -- Records of ims_ewei_shop_merch_saler
  5505. -- ----------------------------
  5506. -- ----------------------------
  5507. -- Table structure for `ims_ewei_shop_merch_store`
  5508. -- ----------------------------
  5509. DROP TABLE IF EXISTS `ims_ewei_shop_merch_store`;
  5510. CREATE TABLE `ims_ewei_shop_merch_store` (
  5511. `id` int(11) NOT NULL AUTO_INCREMENT,
  5512. `uniacid` int(11) DEFAULT '0',
  5513. `storename` varchar(255) DEFAULT '',
  5514. `address` varchar(255) DEFAULT '',
  5515. `tel` varchar(255) DEFAULT '',
  5516. `lat` varchar(255) DEFAULT '',
  5517. `lng` varchar(255) DEFAULT '',
  5518. `status` tinyint(3) DEFAULT '0',
  5519. `type` tinyint(1) DEFAULT '0',
  5520. `realname` varchar(255) DEFAULT '',
  5521. `mobile` varchar(255) DEFAULT '',
  5522. `fetchtime` varchar(255) DEFAULT '',
  5523. `logo` varchar(255) DEFAULT '',
  5524. `saletime` varchar(255) DEFAULT '',
  5525. `desc` text,
  5526. `displayorder` int(11) DEFAULT '0',
  5527. `commission_total` decimal(10,2) DEFAULT NULL,
  5528. `merchid` int(11) DEFAULT '0',
  5529. PRIMARY KEY (`id`),
  5530. KEY `idx_uniacid` (`uniacid`),
  5531. KEY `idx_status` (`status`),
  5532. KEY `idx_merchid` (`merchid`)
  5533. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5534. -- ----------------------------
  5535. -- Records of ims_ewei_shop_merch_store
  5536. -- ----------------------------
  5537. -- ----------------------------
  5538. -- Table structure for `ims_ewei_shop_merch_user`
  5539. -- ----------------------------
  5540. DROP TABLE IF EXISTS `ims_ewei_shop_merch_user`;
  5541. CREATE TABLE `ims_ewei_shop_merch_user` (
  5542. `id` int(11) NOT NULL AUTO_INCREMENT,
  5543. `uniacid` int(11) DEFAULT '0',
  5544. `regid` int(11) DEFAULT '0',
  5545. `openid` varchar(255) NOT NULL DEFAULT '',
  5546. `groupid` int(11) DEFAULT '0',
  5547. `merchno` varchar(255) NOT NULL DEFAULT '',
  5548. `merchname` varchar(255) NOT NULL DEFAULT '',
  5549. `salecate` varchar(255) NOT NULL DEFAULT '',
  5550. `desc` varchar(500) NOT NULL DEFAULT '',
  5551. `realname` varchar(255) NOT NULL DEFAULT '',
  5552. `mobile` varchar(255) NOT NULL DEFAULT '',
  5553. `status` tinyint(3) DEFAULT '0',
  5554. `accounttime` int(11) DEFAULT '0',
  5555. `diyformdata` text,
  5556. `diyformfields` text,
  5557. `applytime` int(11) DEFAULT '0',
  5558. `accounttotal` int(11) DEFAULT '0',
  5559. `remark` text,
  5560. `jointime` int(11) DEFAULT '0',
  5561. `accountid` int(11) DEFAULT '0',
  5562. `sets` text,
  5563. `logo` varchar(255) NOT NULL DEFAULT '',
  5564. `payopenid` varchar(32) NOT NULL DEFAULT '',
  5565. `payrate` decimal(10,2) NOT NULL DEFAULT '0.00',
  5566. `isrecommand` tinyint(1) DEFAULT '0',
  5567. `cateid` int(11) DEFAULT '0',
  5568. `address` varchar(255) DEFAULT '',
  5569. `tel` varchar(255) DEFAULT '',
  5570. `lat` varchar(255) DEFAULT '',
  5571. `lng` varchar(255) DEFAULT '',
  5572. `pluginset` text NOT NULL,
  5573. `uname` varchar(50) NOT NULL DEFAULT '',
  5574. `upass` varchar(255) NOT NULL DEFAULT '',
  5575. `maxgoods` int(11) NOT NULL DEFAULT '0',
  5576. `iscredit` tinyint(3) NOT NULL DEFAULT '1',
  5577. `creditrate` int(10) NOT NULL DEFAULT '1',
  5578. `iscreditmoney` int(3) NOT NULL DEFAULT '1',
  5579. PRIMARY KEY (`id`),
  5580. KEY `idx_uniacid` (`uniacid`),
  5581. KEY `idx_status` (`status`),
  5582. KEY `idx_groupid` (`groupid`),
  5583. KEY `idx_regid` (`regid`),
  5584. KEY `idx_cateid` (`cateid`)
  5585. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5586. -- ----------------------------
  5587. -- Records of ims_ewei_shop_merch_user
  5588. -- ----------------------------
  5589. -- ----------------------------
  5590. -- Table structure for `ims_ewei_shop_multi_shop`
  5591. -- ----------------------------
  5592. DROP TABLE IF EXISTS `ims_ewei_shop_multi_shop`;
  5593. CREATE TABLE `ims_ewei_shop_multi_shop` (
  5594. `id` int(11) NOT NULL AUTO_INCREMENT,
  5595. `uniacid` int(11) DEFAULT '0',
  5596. `uid` int(11) DEFAULT '0',
  5597. `name` varchar(255) DEFAULT '',
  5598. `company` varchar(255) DEFAULT '',
  5599. `sales` varchar(255) DEFAULT '',
  5600. `starttime` int(11) DEFAULT '0',
  5601. `endtime` int(11) DEFAULT '0',
  5602. `applytime` int(11) DEFAULT '0',
  5603. `jointime` int(11) DEFAULT '0',
  5604. `status` tinyint(3) DEFAULT '0',
  5605. `refusecontent` text,
  5606. PRIMARY KEY (`id`)
  5607. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5608. -- ----------------------------
  5609. -- Records of ims_ewei_shop_multi_shop
  5610. -- ----------------------------
  5611. -- ----------------------------
  5612. -- Table structure for `ims_ewei_shop_nav`
  5613. -- ----------------------------
  5614. DROP TABLE IF EXISTS `ims_ewei_shop_nav`;
  5615. CREATE TABLE `ims_ewei_shop_nav` (
  5616. `id` int(11) NOT NULL AUTO_INCREMENT,
  5617. `uniacid` int(11) DEFAULT '0',
  5618. `navname` varchar(255) DEFAULT '',
  5619. `icon` varchar(255) DEFAULT '',
  5620. `url` varchar(255) DEFAULT '',
  5621. `displayorder` int(11) DEFAULT '0',
  5622. `status` tinyint(3) DEFAULT '0',
  5623. `iswxapp` tinyint(1) NOT NULL DEFAULT '0',
  5624. PRIMARY KEY (`id`),
  5625. KEY `idx_status` (`status`),
  5626. KEY `idx_uniacid` (`uniacid`)
  5627. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  5628. -- ----------------------------
  5629. -- Records of ims_ewei_shop_nav
  5630. -- ----------------------------
  5631. -- ----------------------------
  5632. -- Table structure for `ims_ewei_shop_newstore_category`
  5633. -- ----------------------------
  5634. DROP TABLE IF EXISTS `ims_ewei_shop_newstore_category`;
  5635. CREATE TABLE `ims_ewei_shop_newstore_category` (
  5636. `id` int(11) NOT NULL AUTO_INCREMENT,
  5637. `name` varchar(255) DEFAULT NULL,
  5638. `uniacid` int(11) DEFAULT NULL,
  5639. PRIMARY KEY (`id`)
  5640. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5641. -- ----------------------------
  5642. -- Records of ims_ewei_shop_newstore_category
  5643. -- ----------------------------
  5644. -- ----------------------------
  5645. -- Table structure for `ims_ewei_shop_notice`
  5646. -- ----------------------------
  5647. DROP TABLE IF EXISTS `ims_ewei_shop_notice`;
  5648. CREATE TABLE `ims_ewei_shop_notice` (
  5649. `id` int(11) NOT NULL AUTO_INCREMENT,
  5650. `uniacid` int(11) DEFAULT '0',
  5651. `displayorder` int(11) DEFAULT '0',
  5652. `title` varchar(255) DEFAULT '',
  5653. `thumb` varchar(255) DEFAULT '',
  5654. `link` varchar(255) DEFAULT '',
  5655. `detail` text,
  5656. `status` tinyint(3) DEFAULT '0',
  5657. `createtime` int(11) DEFAULT NULL,
  5658. `shopid` int(11) DEFAULT '0',
  5659. `iswxapp` tinyint(3) NOT NULL DEFAULT '0',
  5660. PRIMARY KEY (`id`),
  5661. KEY `idx_uniacid` (`uniacid`)
  5662. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  5663. -- ----------------------------
  5664. -- Records of ims_ewei_shop_notice
  5665. -- ----------------------------
  5666. -- ----------------------------
  5667. -- Table structure for `ims_ewei_shop_order`
  5668. -- ----------------------------
  5669. DROP TABLE IF EXISTS `ims_ewei_shop_order`;
  5670. CREATE TABLE `ims_ewei_shop_order` (
  5671. `id` int(11) NOT NULL AUTO_INCREMENT,
  5672. `uniacid` int(11) DEFAULT '0',
  5673. `openid` varchar(50) DEFAULT '',
  5674. `agentid` int(11) DEFAULT '0',
  5675. `ordersn` varchar(30) DEFAULT '',
  5676. `price` decimal(10,2) DEFAULT '0.00',
  5677. `goodsprice` decimal(10,2) DEFAULT '0.00',
  5678. `discountprice` decimal(10,2) DEFAULT '0.00',
  5679. `status` tinyint(3) DEFAULT '0',
  5680. `paytype` tinyint(1) DEFAULT '0',
  5681. `transid` varchar(30) DEFAULT '0',
  5682. `remark` varchar(1000) DEFAULT '',
  5683. `addressid` int(11) DEFAULT '0',
  5684. `dispatchprice` decimal(10,2) DEFAULT '0.00',
  5685. `dispatchid` int(10) DEFAULT '0',
  5686. `createtime` int(10) DEFAULT NULL,
  5687. `dispatchtype` tinyint(3) DEFAULT '0',
  5688. `carrier` text,
  5689. `refundid` int(11) DEFAULT '0',
  5690. `iscomment` tinyint(3) DEFAULT '0',
  5691. `creditadd` tinyint(3) DEFAULT '0',
  5692. `deleted` tinyint(3) DEFAULT '0',
  5693. `userdeleted` tinyint(3) DEFAULT '0',
  5694. `finishtime` int(11) DEFAULT '0',
  5695. `paytime` int(11) DEFAULT '0',
  5696. `expresscom` varchar(30) NOT NULL DEFAULT '',
  5697. `expresssn` varchar(50) NOT NULL DEFAULT '',
  5698. `express` varchar(255) DEFAULT '',
  5699. `sendtime` int(11) DEFAULT '0',
  5700. `fetchtime` int(11) DEFAULT '0',
  5701. `cash` tinyint(3) DEFAULT '0',
  5702. `canceltime` int(11) DEFAULT NULL,
  5703. `cancelpaytime` int(11) DEFAULT '0',
  5704. `refundtime` int(11) DEFAULT '0',
  5705. `isverify` tinyint(3) DEFAULT '0',
  5706. `verified` tinyint(3) DEFAULT '0',
  5707. `verifyopenid` varchar(255) DEFAULT '',
  5708. `verifytime` int(11) DEFAULT '0',
  5709. `verifycode` varchar(255) DEFAULT '',
  5710. `verifystoreid` int(11) DEFAULT '0',
  5711. `deductprice` decimal(10,2) DEFAULT '0.00',
  5712. `deductcredit` int(10) DEFAULT '0',
  5713. `deductcredit2` decimal(10,2) DEFAULT '0.00',
  5714. `deductenough` decimal(10,2) DEFAULT '0.00',
  5715. `virtual` int(11) DEFAULT '0',
  5716. `virtual_info` text,
  5717. `virtual_str` text,
  5718. `address` text,
  5719. `sysdeleted` tinyint(3) DEFAULT '0',
  5720. `ordersn2` int(11) DEFAULT '0',
  5721. `changeprice` decimal(10,2) DEFAULT '0.00',
  5722. `changedispatchprice` decimal(10,2) DEFAULT '0.00',
  5723. `oldprice` decimal(10,2) DEFAULT '0.00',
  5724. `olddispatchprice` decimal(10,2) DEFAULT '0.00',
  5725. `isvirtual` tinyint(3) DEFAULT '0',
  5726. `couponid` int(11) DEFAULT '0',
  5727. `couponprice` decimal(10,2) DEFAULT '0.00',
  5728. `diyformdata` text,
  5729. `diyformfields` text,
  5730. `diyformid` int(11) DEFAULT '0',
  5731. `storeid` int(11) DEFAULT '0',
  5732. `closereason` text,
  5733. `remarksaler` text,
  5734. `printstate` tinyint(1) DEFAULT '0',
  5735. `printstate2` tinyint(1) DEFAULT '0',
  5736. `address_send` text,
  5737. `refundstate` tinyint(3) DEFAULT '0',
  5738. `remarkclose` text,
  5739. `remarksend` text,
  5740. `ismr` int(1) NOT NULL DEFAULT '0',
  5741. `isdiscountprice` decimal(10,2) DEFAULT '0.00',
  5742. `isvirtualsend` tinyint(1) DEFAULT '0',
  5743. `virtualsend_info` text,
  5744. `verifyinfo` text,
  5745. `verifytype` tinyint(1) DEFAULT '0',
  5746. `verifycodes` text,
  5747. `merchid` int(11) DEFAULT '0',
  5748. `invoicename` varchar(255) DEFAULT '',
  5749. `ismerch` tinyint(1) DEFAULT '0',
  5750. `parentid` int(11) DEFAULT '0',
  5751. `isparent` tinyint(1) DEFAULT '0',
  5752. `grprice` decimal(10,2) DEFAULT '0.00',
  5753. `merchshow` tinyint(1) DEFAULT '0',
  5754. `merchdeductenough` decimal(10,2) DEFAULT '0.00',
  5755. `couponmerchid` int(11) DEFAULT '0',
  5756. `isglobonus` tinyint(3) DEFAULT '0',
  5757. `merchapply` tinyint(1) DEFAULT '0',
  5758. `isabonus` tinyint(3) DEFAULT '0',
  5759. `isborrow` tinyint(3) DEFAULT '0',
  5760. `borrowopenid` varchar(100) DEFAULT '',
  5761. `apppay` tinyint(3) NOT NULL DEFAULT '0',
  5762. `coupongoodprice` decimal(10,2) DEFAULT '1.00',
  5763. `buyagainprice` decimal(10,2) DEFAULT '0.00',
  5764. `authorid` int(11) DEFAULT '0',
  5765. `isauthor` tinyint(1) DEFAULT '0',
  5766. `ispackage` tinyint(3) DEFAULT '0',
  5767. `packageid` int(11) DEFAULT '0',
  5768. `taskdiscountprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5769. `merchisdiscountprice` decimal(10,2) DEFAULT '0.00',
  5770. `seckilldiscountprice` decimal(10,2) DEFAULT '0.00',
  5771. `verifyendtime` int(11) NOT NULL DEFAULT '0',
  5772. `willcancelmessage` tinyint(1) DEFAULT '0',
  5773. `sendtype` tinyint(3) NOT NULL DEFAULT '0',
  5774. `lotterydiscountprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5775. `contype` tinyint(1) DEFAULT '0',
  5776. `wxid` int(11) DEFAULT '0',
  5777. `wxcardid` varchar(50) DEFAULT '',
  5778. `wxcode` varchar(50) DEFAULT '',
  5779. `dispatchkey` varchar(30) NOT NULL DEFAULT '',
  5780. `quickid` int(11) NOT NULL DEFAULT '0',
  5781. `istrade` tinyint(3) NOT NULL DEFAULT '0',
  5782. `isnewstore` tinyint(3) NOT NULL DEFAULT '0',
  5783. `liveid` int(11) NOT NULL,
  5784. `ordersn_trade` varchar(32) NOT NULL,
  5785. `tradestatus` tinyint(1) DEFAULT '0',
  5786. `tradepaytype` tinyint(1) NOT NULL,
  5787. `tradepaytime` int(11) DEFAULT '0',
  5788. `dowpayment` decimal(10,2) NOT NULL DEFAULT '0.00',
  5789. `betweenprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5790. `isshare` int(11) NOT NULL DEFAULT '0',
  5791. `officcode` varchar(50) NOT NULL DEFAULT '',
  5792. `wxapp_prepay_id` varchar(100) DEFAULT NULL,
  5793. `iswxappcreate` tinyint(1) DEFAULT '0',
  5794. `cashtime` int(11) DEFAULT '0',
  5795. `random_code` varchar(4) DEFAULT NULL,
  5796. `print_template` text,
  5797. `city_express_state` tinyint(1) NOT NULL DEFAULT '0',
  5798. `is_cashier` tinyint(3) NOT NULL DEFAULT '0',
  5799. `commissionmoney` decimal(10,2) DEFAULT '0.00',
  5800. `iscycelbuy` tinyint(3) DEFAULT '0',
  5801. `cycelbuy_predict_time` int(11) DEFAULT NULL,
  5802. `cycelbuy_periodic` varchar(255) DEFAULT NULL,
  5803. `invoice_img` varchar(255) DEFAULT '',
  5804. `headsid` int(11) NOT NULL DEFAULT '0',
  5805. `dividend` text,
  5806. `dividend_applytime` int(11) NOT NULL DEFAULT '0',
  5807. `dividend_checktime` int(11) NOT NULL DEFAULT '0',
  5808. `dividend_paytime` int(11) NOT NULL DEFAULT '0',
  5809. `dividend_invalidtime` int(11) NOT NULL DEFAULT '0',
  5810. `dividend_deletetime` int(11) NOT NULL DEFAULT '0',
  5811. `dividend_status` tinyint(3) NOT NULL DEFAULT '0',
  5812. `dividend_content` text,
  5813. `ces` int(1) DEFAULT NULL,
  5814. PRIMARY KEY (`id`),
  5815. KEY `idx_uniacid` (`uniacid`),
  5816. KEY `idx_openid` (`openid`),
  5817. KEY `idx_shareid` (`agentid`),
  5818. KEY `idx_status` (`status`),
  5819. KEY `idx_createtime` (`createtime`),
  5820. KEY `idx_refundid` (`refundid`),
  5821. KEY `idx_paytime` (`paytime`),
  5822. KEY `idx_finishtime` (`finishtime`),
  5823. KEY `idx_merchid` (`merchid`),
  5824. KEY `idx_ordersn` (`ordersn`) USING BTREE,
  5825. KEY `parentid` (`parentid`)
  5826. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  5827. -- ----------------------------
  5828. -- Records of ims_ewei_shop_order
  5829. -- ----------------------------
  5830. -- ----------------------------
  5831. -- Table structure for `ims_ewei_shop_order_buysend`
  5832. -- ----------------------------
  5833. DROP TABLE IF EXISTS `ims_ewei_shop_order_buysend`;
  5834. CREATE TABLE `ims_ewei_shop_order_buysend` (
  5835. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  5836. `uniacid` int(11) DEFAULT '0',
  5837. `orderid` int(11) DEFAULT '0',
  5838. `openid` varchar(255) DEFAULT '',
  5839. `credit` float(10,2) DEFAULT '0.00',
  5840. `money` decimal(10,2) DEFAULT '0.00',
  5841. `createtime` int(11) DEFAULT '0',
  5842. PRIMARY KEY (`id`),
  5843. KEY `idx_uniacid` (`uniacid`),
  5844. KEY `idx_orderid` (`orderid`),
  5845. KEY `idx_openid` (`openid`)
  5846. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  5847. -- ----------------------------
  5848. -- Records of ims_ewei_shop_order_buysend
  5849. -- ----------------------------
  5850. -- ----------------------------
  5851. -- Table structure for `ims_ewei_shop_order_comment`
  5852. -- ----------------------------
  5853. DROP TABLE IF EXISTS `ims_ewei_shop_order_comment`;
  5854. CREATE TABLE `ims_ewei_shop_order_comment` (
  5855. `id` int(11) NOT NULL AUTO_INCREMENT,
  5856. `uniacid` int(11) DEFAULT '0',
  5857. `orderid` int(11) DEFAULT '0',
  5858. `goodsid` int(11) DEFAULT '0',
  5859. `openid` varchar(50) DEFAULT '',
  5860. `nickname` varchar(50) DEFAULT '',
  5861. `headimgurl` varchar(255) DEFAULT '',
  5862. `level` tinyint(3) DEFAULT '0',
  5863. `content` varchar(255) DEFAULT '',
  5864. `images` text,
  5865. `createtime` int(11) DEFAULT '0',
  5866. `deleted` tinyint(3) DEFAULT '0',
  5867. `append_content` varchar(255) DEFAULT '',
  5868. `append_images` text,
  5869. `reply_content` varchar(255) DEFAULT '',
  5870. `reply_images` text,
  5871. `append_reply_content` varchar(255) DEFAULT '',
  5872. `append_reply_images` text,
  5873. `istop` tinyint(3) DEFAULT '0',
  5874. `checked` tinyint(3) NOT NULL DEFAULT '0',
  5875. `replychecked` tinyint(3) NOT NULL DEFAULT '0',
  5876. PRIMARY KEY (`id`),
  5877. KEY `idx_uniacid` (`uniacid`),
  5878. KEY `idx_goodsid` (`goodsid`),
  5879. KEY `idx_openid` (`openid`),
  5880. KEY `idx_createtime` (`createtime`),
  5881. KEY `idx_orderid` (`orderid`)
  5882. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  5883. -- ----------------------------
  5884. -- Records of ims_ewei_shop_order_comment
  5885. -- ----------------------------
  5886. -- ----------------------------
  5887. -- Table structure for `ims_ewei_shop_order_goods`
  5888. -- ----------------------------
  5889. DROP TABLE IF EXISTS `ims_ewei_shop_order_goods`;
  5890. CREATE TABLE `ims_ewei_shop_order_goods` (
  5891. `id` int(11) NOT NULL AUTO_INCREMENT,
  5892. `uniacid` int(11) DEFAULT '0',
  5893. `orderid` int(11) DEFAULT '0',
  5894. `goodsid` int(11) DEFAULT '0',
  5895. `price` decimal(10,2) DEFAULT '0.00',
  5896. `total` int(11) DEFAULT '1',
  5897. `optionid` int(10) DEFAULT '0',
  5898. `createtime` int(11) DEFAULT '0',
  5899. `optionname` text,
  5900. `commission1` text,
  5901. `applytime1` int(11) DEFAULT '0',
  5902. `checktime1` int(10) DEFAULT '0',
  5903. `paytime1` int(11) DEFAULT '0',
  5904. `invalidtime1` int(11) DEFAULT '0',
  5905. `deletetime1` int(11) DEFAULT '0',
  5906. `status1` tinyint(3) DEFAULT '0',
  5907. `content1` text,
  5908. `commission2` text,
  5909. `applytime2` int(11) DEFAULT '0',
  5910. `checktime2` int(10) DEFAULT '0',
  5911. `paytime2` int(11) DEFAULT '0',
  5912. `invalidtime2` int(11) DEFAULT '0',
  5913. `deletetime2` int(11) DEFAULT '0',
  5914. `status2` tinyint(3) DEFAULT '0',
  5915. `content2` text,
  5916. `commission3` text,
  5917. `applytime3` int(11) DEFAULT '0',
  5918. `checktime3` int(10) DEFAULT '0',
  5919. `paytime3` int(11) DEFAULT '0',
  5920. `invalidtime3` int(11) DEFAULT '0',
  5921. `deletetime3` int(11) DEFAULT '0',
  5922. `status3` tinyint(3) DEFAULT '0',
  5923. `content3` text,
  5924. `realprice` decimal(10,2) DEFAULT '0.00',
  5925. `goodssn` varchar(255) DEFAULT '',
  5926. `productsn` varchar(255) DEFAULT '',
  5927. `nocommission` tinyint(3) DEFAULT '0',
  5928. `changeprice` decimal(10,2) DEFAULT '0.00',
  5929. `oldprice` decimal(10,2) DEFAULT '0.00',
  5930. `commissions` text,
  5931. `diyformdata` text,
  5932. `diyformfields` text,
  5933. `diyformdataid` int(11) DEFAULT '0',
  5934. `openid` varchar(255) DEFAULT '',
  5935. `diyformid` int(11) DEFAULT '0',
  5936. `rstate` tinyint(3) DEFAULT '0',
  5937. `refundtime` int(11) DEFAULT '0',
  5938. `printstate` int(11) NOT NULL DEFAULT '0',
  5939. `printstate2` int(11) NOT NULL DEFAULT '0',
  5940. `merchid` int(11) DEFAULT '0',
  5941. `parentorderid` int(11) DEFAULT '0',
  5942. `canbuyagain` tinyint(1) DEFAULT '0',
  5943. `seckill` tinyint(3) DEFAULT '0',
  5944. `seckill_taskid` int(11) DEFAULT '0',
  5945. `seckill_roomid` int(11) DEFAULT '0',
  5946. `seckill_timeid` int(11) DEFAULT '0',
  5947. `is_make` tinyint(1) DEFAULT '0',
  5948. `sendtype` tinyint(3) NOT NULL DEFAULT '0',
  5949. `expresscom` varchar(30) NOT NULL,
  5950. `expresssn` varchar(50) NOT NULL,
  5951. `express` varchar(255) NOT NULL,
  5952. `sendtime` int(11) NOT NULL,
  5953. `finishtime` int(11) NOT NULL,
  5954. `remarksend` text NOT NULL,
  5955. `merchsale` tinyint(3) NOT NULL DEFAULT '0',
  5956. `isdiscountprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  5957. `prohibitrefund` tinyint(3) NOT NULL DEFAULT '0',
  5958. `storeid` varchar(255) NOT NULL,
  5959. `trade_time` int(11) NOT NULL DEFAULT '0',
  5960. `optime` varchar(30) NOT NULL,
  5961. `tdate_time` int(11) NOT NULL DEFAULT '0',
  5962. `dowpayment` decimal(10,2) NOT NULL DEFAULT '0.00',
  5963. `peopleid` int(11) NOT NULL DEFAULT '0',
  5964. `esheetprintnum` int(11) NOT NULL DEFAULT '0',
  5965. `ordercode` varchar(30) NOT NULL DEFAULT '',
  5966. `title` varchar(255) DEFAULT NULL,
  5967. `consume` text,
  5968. `single_refundid` int(11) NOT NULL DEFAULT '0',
  5969. `single_refundstate` tinyint(3) NOT NULL DEFAULT '0',
  5970. `single_refundtime` int(11) NOT NULL DEFAULT '0',
  5971. PRIMARY KEY (`id`),
  5972. KEY `idx_uniacid` (`uniacid`),
  5973. KEY `idx_orderid` (`orderid`),
  5974. KEY `idx_goodsid` (`goodsid`),
  5975. KEY `idx_createtime` (`createtime`),
  5976. KEY `idx_applytime1` (`applytime1`),
  5977. KEY `idx_checktime1` (`checktime1`),
  5978. KEY `idx_status1` (`status1`),
  5979. KEY `idx_applytime2` (`applytime2`),
  5980. KEY `idx_checktime2` (`checktime2`),
  5981. KEY `idx_status2` (`status2`),
  5982. KEY `idx_applytime3` (`applytime3`),
  5983. KEY `idx_invalidtime1` (`invalidtime1`),
  5984. KEY `idx_checktime3` (`checktime3`),
  5985. KEY `idx_invalidtime2` (`invalidtime2`),
  5986. KEY `idx_invalidtime3` (`invalidtime3`),
  5987. KEY `idx_status3` (`status3`),
  5988. KEY `idx_paytime1` (`paytime1`),
  5989. KEY `idx_paytime2` (`paytime2`),
  5990. KEY `idx_paytime3` (`paytime3`)
  5991. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  5992. -- ----------------------------
  5993. -- Records of ims_ewei_shop_order_goods
  5994. -- ----------------------------
  5995. -- ----------------------------
  5996. -- Table structure for `ims_ewei_shop_order_peerpay`
  5997. -- ----------------------------
  5998. DROP TABLE IF EXISTS `ims_ewei_shop_order_peerpay`;
  5999. CREATE TABLE `ims_ewei_shop_order_peerpay` (
  6000. `id` int(11) NOT NULL AUTO_INCREMENT,
  6001. `uniacid` int(11) NOT NULL DEFAULT '0',
  6002. `orderid` int(11) NOT NULL DEFAULT '0',
  6003. `peerpay_type` tinyint(1) NOT NULL DEFAULT '0',
  6004. `peerpay_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  6005. `peerpay_maxprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  6006. `peerpay_realprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  6007. `peerpay_selfpay` decimal(10,2) NOT NULL DEFAULT '0.00',
  6008. `peerpay_message` varchar(500) NOT NULL DEFAULT '',
  6009. `status` tinyint(1) NOT NULL DEFAULT '0',
  6010. `createtime` int(10) unsigned NOT NULL DEFAULT '0',
  6011. PRIMARY KEY (`id`),
  6012. KEY `uniacid` (`uniacid`) USING BTREE,
  6013. KEY `orderid` (`orderid`) USING BTREE
  6014. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6015. -- ----------------------------
  6016. -- Records of ims_ewei_shop_order_peerpay
  6017. -- ----------------------------
  6018. -- ----------------------------
  6019. -- Table structure for `ims_ewei_shop_order_peerpay_payinfo`
  6020. -- ----------------------------
  6021. DROP TABLE IF EXISTS `ims_ewei_shop_order_peerpay_payinfo`;
  6022. CREATE TABLE `ims_ewei_shop_order_peerpay_payinfo` (
  6023. `id` int(11) NOT NULL AUTO_INCREMENT,
  6024. `pid` int(11) NOT NULL DEFAULT '0',
  6025. `uid` int(11) NOT NULL DEFAULT '0',
  6026. `uname` varchar(255) NOT NULL DEFAULT '',
  6027. `usay` varchar(500) NOT NULL DEFAULT '',
  6028. `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  6029. `createtime` int(11) NOT NULL DEFAULT '0',
  6030. `headimg` varchar(255) DEFAULT NULL,
  6031. `refundstatus` tinyint(1) NOT NULL DEFAULT '0',
  6032. `refundprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  6033. `tid` varchar(255) NOT NULL DEFAULT '',
  6034. `openid` varchar(255) NOT NULL DEFAULT '',
  6035. PRIMARY KEY (`id`)
  6036. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6037. -- ----------------------------
  6038. -- Records of ims_ewei_shop_order_peerpay_payinfo
  6039. -- ----------------------------
  6040. -- ----------------------------
  6041. -- Table structure for `ims_ewei_shop_order_print`
  6042. -- ----------------------------
  6043. DROP TABLE IF EXISTS `ims_ewei_shop_order_print`;
  6044. CREATE TABLE `ims_ewei_shop_order_print` (
  6045. `id` int(11) NOT NULL AUTO_INCREMENT,
  6046. `status` tinyint(3) DEFAULT '0',
  6047. `sid` tinyint(3) DEFAULT '0',
  6048. `foid` tinyint(3) DEFAULT '0',
  6049. `oid` int(11) DEFAULT '0',
  6050. `pid` int(11) DEFAULT '0',
  6051. `uniacid` int(11) DEFAULT '0',
  6052. `addtime` int(11) DEFAULT '0',
  6053. PRIMARY KEY (`id`)
  6054. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  6055. -- ----------------------------
  6056. -- Records of ims_ewei_shop_order_print
  6057. -- ----------------------------
  6058. -- ----------------------------
  6059. -- Table structure for `ims_ewei_shop_order_refund`
  6060. -- ----------------------------
  6061. DROP TABLE IF EXISTS `ims_ewei_shop_order_refund`;
  6062. CREATE TABLE `ims_ewei_shop_order_refund` (
  6063. `id` int(11) NOT NULL AUTO_INCREMENT,
  6064. `uniacid` int(11) DEFAULT '0',
  6065. `orderid` int(11) DEFAULT '0',
  6066. `refundno` varchar(255) DEFAULT '',
  6067. `price` varchar(255) DEFAULT '',
  6068. `reason` varchar(255) DEFAULT '',
  6069. `images` text,
  6070. `content` text,
  6071. `createtime` int(11) DEFAULT '0',
  6072. `status` tinyint(3) DEFAULT '0',
  6073. `reply` text,
  6074. `refundtype` tinyint(3) DEFAULT '0',
  6075. `realprice` decimal(10,2) DEFAULT '0.00',
  6076. `refundtime` int(11) DEFAULT '0',
  6077. `orderprice` decimal(10,2) DEFAULT '0.00',
  6078. `applyprice` decimal(10,2) DEFAULT '0.00',
  6079. `imgs` text,
  6080. `rtype` tinyint(3) DEFAULT '0',
  6081. `refundaddress` text,
  6082. `message` text,
  6083. `express` varchar(100) DEFAULT '',
  6084. `expresscom` varchar(100) DEFAULT '',
  6085. `expresssn` varchar(100) DEFAULT '',
  6086. `operatetime` int(11) DEFAULT '0',
  6087. `sendtime` int(11) DEFAULT '0',
  6088. `returntime` int(11) DEFAULT '0',
  6089. `rexpress` varchar(100) DEFAULT '',
  6090. `rexpresscom` varchar(100) DEFAULT '',
  6091. `rexpresssn` varchar(100) DEFAULT '',
  6092. `refundaddressid` int(11) DEFAULT '0',
  6093. `endtime` int(11) DEFAULT '0',
  6094. `merchid` int(11) DEFAULT '0',
  6095. PRIMARY KEY (`id`),
  6096. KEY `idx_createtime` (`createtime`),
  6097. KEY `idx_uniacid` (`uniacid`)
  6098. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6099. -- ----------------------------
  6100. -- Records of ims_ewei_shop_order_refund
  6101. -- ----------------------------
  6102. -- ----------------------------
  6103. -- Table structure for `ims_ewei_shop_order_single_refund`
  6104. -- ----------------------------
  6105. DROP TABLE IF EXISTS `ims_ewei_shop_order_single_refund`;
  6106. CREATE TABLE `ims_ewei_shop_order_single_refund` (
  6107. `id` int(11) NOT NULL AUTO_INCREMENT,
  6108. `uniacid` int(11) DEFAULT '0',
  6109. `orderid` int(11) DEFAULT '0',
  6110. `ordergoodsid` int(11) DEFAULT '0',
  6111. `refundno` varchar(255) DEFAULT '',
  6112. `price` varchar(255) DEFAULT '',
  6113. `reason` varchar(255) DEFAULT '',
  6114. `images` text,
  6115. `content` text,
  6116. `createtime` int(11) DEFAULT '0',
  6117. `status` tinyint(3) DEFAULT '0',
  6118. `reply` text,
  6119. `refundtype` tinyint(3) DEFAULT '0',
  6120. `realprice` decimal(10,2) DEFAULT '0.00',
  6121. `refundtime` int(11) DEFAULT '0',
  6122. `ordergoodsrealprice` decimal(10,2) DEFAULT '0.00',
  6123. `applyprice` decimal(10,2) DEFAULT '0.00',
  6124. `imgs` text,
  6125. `rtype` tinyint(3) DEFAULT '0',
  6126. `refundaddress` text,
  6127. `message` text,
  6128. `express` varchar(100) DEFAULT '',
  6129. `expresscom` varchar(100) DEFAULT '',
  6130. `expresssn` varchar(100) DEFAULT '',
  6131. `operatetime` int(11) DEFAULT '0',
  6132. `sendtime` int(11) DEFAULT '0',
  6133. `returntime` int(11) DEFAULT '0',
  6134. `rexpress` varchar(100) DEFAULT '',
  6135. `rexpresscom` varchar(100) DEFAULT '',
  6136. `rexpresssn` varchar(100) DEFAULT '',
  6137. `refundaddressid` int(11) DEFAULT '0',
  6138. `endtime` int(11) DEFAULT '0',
  6139. `merchid` int(11) DEFAULT '0',
  6140. `tradetype` tinyint(3) NOT NULL DEFAULT '0',
  6141. `issuporder` tinyint(3) DEFAULT '0',
  6142. `suptype` tinyint(3) DEFAULT '0',
  6143. PRIMARY KEY (`id`),
  6144. KEY `idx_createtime` (`createtime`),
  6145. KEY `idx_uniacid` (`uniacid`)
  6146. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  6147. -- ----------------------------
  6148. -- Records of ims_ewei_shop_order_single_refund
  6149. -- ----------------------------
  6150. -- ----------------------------
  6151. -- Table structure for `ims_ewei_shop_package`
  6152. -- ----------------------------
  6153. DROP TABLE IF EXISTS `ims_ewei_shop_package`;
  6154. CREATE TABLE `ims_ewei_shop_package` (
  6155. `id` int(11) NOT NULL AUTO_INCREMENT,
  6156. `uniacid` int(11) NOT NULL DEFAULT '0',
  6157. `title` varchar(255) NOT NULL,
  6158. `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  6159. `freight` decimal(10,2) NOT NULL DEFAULT '0.00',
  6160. `thumb` varchar(255) NOT NULL,
  6161. `starttime` int(11) NOT NULL DEFAULT '0',
  6162. `endtime` int(11) NOT NULL DEFAULT '0',
  6163. `goodsid` varchar(255) NOT NULL,
  6164. `cash` tinyint(3) NOT NULL DEFAULT '0',
  6165. `share_title` varchar(255) NOT NULL,
  6166. `share_icon` varchar(255) NOT NULL,
  6167. `share_desc` varchar(500) NOT NULL,
  6168. `status` tinyint(3) NOT NULL DEFAULT '0',
  6169. `deleted` tinyint(3) NOT NULL DEFAULT '0',
  6170. `displayorder` int(11) NOT NULL DEFAULT '0',
  6171. `dispatchtype` tinyint(3) NOT NULL DEFAULT '0',
  6172. PRIMARY KEY (`id`)
  6173. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6174. -- ----------------------------
  6175. -- Records of ims_ewei_shop_package
  6176. -- ----------------------------
  6177. -- ----------------------------
  6178. -- Table structure for `ims_ewei_shop_package_goods`
  6179. -- ----------------------------
  6180. DROP TABLE IF EXISTS `ims_ewei_shop_package_goods`;
  6181. CREATE TABLE `ims_ewei_shop_package_goods` (
  6182. `id` int(11) NOT NULL AUTO_INCREMENT,
  6183. `uniacid` int(11) NOT NULL,
  6184. `pid` int(11) NOT NULL,
  6185. `goodsid` int(11) NOT NULL,
  6186. `title` varchar(255) NOT NULL,
  6187. `thumb` varchar(255) NOT NULL,
  6188. `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  6189. `option` varchar(255) NOT NULL,
  6190. `goodssn` varchar(255) NOT NULL,
  6191. `productsn` varchar(255) NOT NULL,
  6192. `hasoption` tinyint(3) NOT NULL DEFAULT '0',
  6193. `marketprice` decimal(10,2) DEFAULT '0.00',
  6194. `packageprice` decimal(10,2) DEFAULT '0.00',
  6195. `commission1` decimal(10,2) DEFAULT '0.00',
  6196. `commission2` decimal(10,2) DEFAULT '0.00',
  6197. `commission3` decimal(10,2) DEFAULT '0.00',
  6198. PRIMARY KEY (`id`)
  6199. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6200. -- ----------------------------
  6201. -- Records of ims_ewei_shop_package_goods
  6202. -- ----------------------------
  6203. -- ----------------------------
  6204. -- Table structure for `ims_ewei_shop_package_goods_option`
  6205. -- ----------------------------
  6206. DROP TABLE IF EXISTS `ims_ewei_shop_package_goods_option`;
  6207. CREATE TABLE `ims_ewei_shop_package_goods_option` (
  6208. `id` int(11) NOT NULL AUTO_INCREMENT,
  6209. `uniacid` int(11) NOT NULL DEFAULT '0',
  6210. `goodsid` int(11) NOT NULL DEFAULT '0',
  6211. `optionid` int(11) NOT NULL DEFAULT '0',
  6212. `pid` int(11) NOT NULL DEFAULT '0',
  6213. `title` varchar(255) NOT NULL,
  6214. `packageprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  6215. `marketprice` decimal(10,2) NOT NULL DEFAULT '0.00',
  6216. `commission1` decimal(10,2) NOT NULL DEFAULT '0.00',
  6217. `commission2` decimal(10,2) NOT NULL DEFAULT '0.00',
  6218. `commission3` decimal(10,2) NOT NULL DEFAULT '0.00',
  6219. PRIMARY KEY (`id`)
  6220. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6221. -- ----------------------------
  6222. -- Records of ims_ewei_shop_package_goods_option
  6223. -- ----------------------------
  6224. -- ----------------------------
  6225. -- Table structure for `ims_ewei_shop_payment`
  6226. -- ----------------------------
  6227. DROP TABLE IF EXISTS `ims_ewei_shop_payment`;
  6228. CREATE TABLE `ims_ewei_shop_payment` (
  6229. `id` int(11) NOT NULL AUTO_INCREMENT,
  6230. `uniacid` int(11) NOT NULL DEFAULT '0',
  6231. `title` varchar(255) NOT NULL DEFAULT '',
  6232. `type` tinyint(2) NOT NULL DEFAULT '0',
  6233. `appid` varchar(255) DEFAULT '',
  6234. `mch_id` varchar(50) NOT NULL DEFAULT '',
  6235. `apikey` varchar(50) NOT NULL DEFAULT '',
  6236. `sub_appid` varchar(50) DEFAULT '',
  6237. `sub_appsecret` varchar(50) DEFAULT '',
  6238. `sub_mch_id` varchar(50) DEFAULT '',
  6239. `cert_file` text,
  6240. `key_file` text,
  6241. `root_file` text,
  6242. `is_raw` tinyint(1) DEFAULT '0',
  6243. `createtime` int(10) unsigned DEFAULT '0',
  6244. `paytype` tinyint(3) NOT NULL DEFAULT '0',
  6245. `alitype` tinyint(3) NOT NULL DEFAULT '0',
  6246. `alipay_sec` text NOT NULL,
  6247. `qpay_signtype` tinyint(1) NOT NULL DEFAULT '0',
  6248. `app_qpay_public_key` text NOT NULL,
  6249. `app_qpay_private_key` text NOT NULL,
  6250. PRIMARY KEY (`id`),
  6251. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  6252. KEY `idx_type` (`type`) USING BTREE
  6253. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  6254. -- ----------------------------
  6255. -- Records of ims_ewei_shop_payment
  6256. -- ----------------------------
  6257. -- ----------------------------
  6258. -- Table structure for `ims_ewei_shop_pc_adv`
  6259. -- ----------------------------
  6260. DROP TABLE IF EXISTS `ims_ewei_shop_pc_adv`;
  6261. CREATE TABLE `ims_ewei_shop_pc_adv` (
  6262. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  6263. `uniacid` int(11) unsigned NOT NULL,
  6264. `advname` varchar(255) NOT NULL,
  6265. `title` varchar(255) DEFAULT NULL,
  6266. `src` varchar(255) NOT NULL,
  6267. `alt` varchar(255) DEFAULT NULL,
  6268. `enabled` tinyint(3) unsigned NOT NULL,
  6269. `link` varchar(255) DEFAULT NULL,
  6270. `width` int(11) unsigned NOT NULL,
  6271. `height` int(11) unsigned NOT NULL,
  6272. PRIMARY KEY (`id`)
  6273. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  6274. -- ----------------------------
  6275. -- Records of ims_ewei_shop_pc_adv
  6276. -- ----------------------------
  6277. -- ----------------------------
  6278. -- Table structure for `ims_ewei_shop_pc_link`
  6279. -- ----------------------------
  6280. DROP TABLE IF EXISTS `ims_ewei_shop_pc_link`;
  6281. CREATE TABLE `ims_ewei_shop_pc_link` (
  6282. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  6283. `uniacid` int(11) unsigned NOT NULL,
  6284. `linkname` varchar(255) NOT NULL,
  6285. `url` varchar(255) NOT NULL,
  6286. `status` tinyint(3) unsigned NOT NULL DEFAULT '1',
  6287. `displayorder` int(11) unsigned NOT NULL DEFAULT '0',
  6288. PRIMARY KEY (`id`)
  6289. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  6290. -- ----------------------------
  6291. -- Records of ims_ewei_shop_pc_link
  6292. -- ----------------------------
  6293. -- ----------------------------
  6294. -- Table structure for `ims_ewei_shop_pc_menu`
  6295. -- ----------------------------
  6296. DROP TABLE IF EXISTS `ims_ewei_shop_pc_menu`;
  6297. CREATE TABLE `ims_ewei_shop_pc_menu` (
  6298. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  6299. `uniacid` int(11) unsigned NOT NULL,
  6300. `type` int(11) unsigned DEFAULT '0',
  6301. `displayorder` int(11) unsigned DEFAULT '0',
  6302. `title` varchar(255) DEFAULT '',
  6303. `link` varchar(255) DEFAULT '',
  6304. `enabled` tinyint(3) unsigned DEFAULT '1',
  6305. `createtime` int(11) unsigned DEFAULT NULL,
  6306. PRIMARY KEY (`id`)
  6307. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  6308. -- ----------------------------
  6309. -- Records of ims_ewei_shop_pc_menu
  6310. -- ----------------------------
  6311. -- ----------------------------
  6312. -- Table structure for `ims_ewei_shop_pc_slide`
  6313. -- ----------------------------
  6314. DROP TABLE IF EXISTS `ims_ewei_shop_pc_slide`;
  6315. CREATE TABLE `ims_ewei_shop_pc_slide` (
  6316. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  6317. `uniacid` int(11) unsigned DEFAULT '0',
  6318. `type` int(11) unsigned DEFAULT '0',
  6319. `advname` varchar(50) DEFAULT '',
  6320. `link` varchar(255) DEFAULT '',
  6321. `thumb` varchar(255) DEFAULT '',
  6322. `backcolor` varchar(255) DEFAULT NULL,
  6323. `displayorder` int(11) DEFAULT '0',
  6324. `enabled` int(11) DEFAULT '0',
  6325. `shopid` int(11) DEFAULT '0',
  6326. PRIMARY KEY (`id`),
  6327. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  6328. KEY `idx_enabled` (`enabled`) USING BTREE,
  6329. KEY `idx_displayorder` (`displayorder`) USING BTREE
  6330. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  6331. -- ----------------------------
  6332. -- Records of ims_ewei_shop_pc_slide
  6333. -- ----------------------------
  6334. -- ----------------------------
  6335. -- Table structure for `ims_ewei_shop_perm_log`
  6336. -- ----------------------------
  6337. DROP TABLE IF EXISTS `ims_ewei_shop_perm_log`;
  6338. CREATE TABLE `ims_ewei_shop_perm_log` (
  6339. `id` int(11) NOT NULL AUTO_INCREMENT,
  6340. `uid` int(11) DEFAULT '0',
  6341. `uniacid` int(11) DEFAULT '0',
  6342. `name` varchar(255) DEFAULT '',
  6343. `type` varchar(255) DEFAULT '',
  6344. `op` text,
  6345. `ip` varchar(255) DEFAULT '',
  6346. `createtime` int(11) DEFAULT '0',
  6347. PRIMARY KEY (`id`),
  6348. KEY `idx_uid` (`uid`),
  6349. KEY `idx_createtime` (`createtime`),
  6350. KEY `idx_uniacid` (`uniacid`)
  6351. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6352. -- ----------------------------
  6353. -- Records of ims_ewei_shop_perm_log
  6354. -- ----------------------------
  6355. -- ----------------------------
  6356. -- Table structure for `ims_ewei_shop_perm_plugin`
  6357. -- ----------------------------
  6358. DROP TABLE IF EXISTS `ims_ewei_shop_perm_plugin`;
  6359. CREATE TABLE `ims_ewei_shop_perm_plugin` (
  6360. `id` int(11) NOT NULL AUTO_INCREMENT,
  6361. `acid` int(11) DEFAULT '0',
  6362. `uid` int(11) DEFAULT '0',
  6363. `type` tinyint(3) DEFAULT '0',
  6364. `plugins` text,
  6365. `coms` text,
  6366. `datas` text,
  6367. PRIMARY KEY (`id`),
  6368. KEY `idx_uid` (`uid`),
  6369. KEY `idx_type` (`type`),
  6370. KEY `idx_uniacid` (`acid`),
  6371. KEY `idx_acid` (`acid`)
  6372. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6373. -- ----------------------------
  6374. -- Records of ims_ewei_shop_perm_plugin
  6375. -- ----------------------------
  6376. -- ----------------------------
  6377. -- Table structure for `ims_ewei_shop_perm_role`
  6378. -- ----------------------------
  6379. DROP TABLE IF EXISTS `ims_ewei_shop_perm_role`;
  6380. CREATE TABLE `ims_ewei_shop_perm_role` (
  6381. `id` int(11) NOT NULL AUTO_INCREMENT,
  6382. `uniacid` int(11) DEFAULT '0',
  6383. `rolename` varchar(255) DEFAULT '',
  6384. `status` tinyint(3) DEFAULT '0',
  6385. `perms` text,
  6386. `perms2` text,
  6387. `deleted` tinyint(3) DEFAULT '0',
  6388. PRIMARY KEY (`id`),
  6389. KEY `idx_uniacid` (`uniacid`),
  6390. KEY `idx_status` (`status`),
  6391. KEY `idx_deleted` (`deleted`)
  6392. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6393. -- ----------------------------
  6394. -- Records of ims_ewei_shop_perm_role
  6395. -- ----------------------------
  6396. -- ----------------------------
  6397. -- Table structure for `ims_ewei_shop_perm_user`
  6398. -- ----------------------------
  6399. DROP TABLE IF EXISTS `ims_ewei_shop_perm_user`;
  6400. CREATE TABLE `ims_ewei_shop_perm_user` (
  6401. `id` int(11) NOT NULL AUTO_INCREMENT,
  6402. `uniacid` int(11) DEFAULT '0',
  6403. `uid` int(11) DEFAULT '0',
  6404. `username` varchar(255) DEFAULT '',
  6405. `password` varchar(255) DEFAULT '',
  6406. `roleid` int(11) DEFAULT '0',
  6407. `status` int(11) DEFAULT '0',
  6408. `perms` text,
  6409. `perms2` text,
  6410. `deleted` tinyint(3) DEFAULT '0',
  6411. `realname` varchar(255) DEFAULT '',
  6412. `mobile` varchar(255) DEFAULT '',
  6413. `openid` varchar(50) DEFAULT NULL,
  6414. `openid_wa` varchar(50) DEFAULT NULL,
  6415. `member_nick` varchar(50) DEFAULT NULL,
  6416. PRIMARY KEY (`id`),
  6417. KEY `idx_uniacid` (`uniacid`),
  6418. KEY `idx_uid` (`uid`),
  6419. KEY `idx_roleid` (`roleid`),
  6420. KEY `idx_status` (`status`),
  6421. KEY `idx_deleted` (`deleted`)
  6422. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6423. -- ----------------------------
  6424. -- Records of ims_ewei_shop_perm_user
  6425. -- ----------------------------
  6426. -- ----------------------------
  6427. -- Table structure for `ims_ewei_shop_plugin`
  6428. -- ----------------------------
  6429. DROP TABLE IF EXISTS `ims_ewei_shop_plugin`;
  6430. CREATE TABLE `ims_ewei_shop_plugin` (
  6431. `id` int(11) NOT NULL AUTO_INCREMENT,
  6432. `displayorder` int(11) DEFAULT '0',
  6433. `identity` varchar(50) DEFAULT '',
  6434. `category` varchar(255) DEFAULT '',
  6435. `name` varchar(50) DEFAULT '',
  6436. `version` varchar(10) DEFAULT '',
  6437. `author` varchar(20) DEFAULT '',
  6438. `status` int(11) DEFAULT '0',
  6439. `thumb` varchar(255) DEFAULT '',
  6440. `desc` text,
  6441. `iscom` tinyint(3) DEFAULT '0',
  6442. `deprecated` tinyint(3) DEFAULT '0',
  6443. `isv2` tinyint(3) DEFAULT '0',
  6444. PRIMARY KEY (`id`),
  6445. KEY `idx_displayorder` (`displayorder`),
  6446. KEY `idx_identity` (`identity`) USING BTREE
  6447. ) ENGINE=MyISAM AUTO_INCREMENT=50 DEFAULT CHARSET=utf8;
  6448. -- ----------------------------
  6449. -- Records of ims_ewei_shop_plugin
  6450. -- ----------------------------
  6451. 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');
  6452. INSERT INTO `ims_ewei_shop_plugin` VALUES ('2', '2', 'taobao', 'tool', '商品助手', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/taobao.jpg', '', '0', '0', '0');
  6453. INSERT INTO `ims_ewei_shop_plugin` VALUES ('3', '3', 'commission', 'biz', '人人分销', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/commission.jpg', '', '0', '0', '0');
  6454. INSERT INTO `ims_ewei_shop_plugin` VALUES ('4', '4', 'poster', 'sale', '超级海报', '1.2', '官方', '1', '../addons/ewei_shopv2/static/images/poster.jpg', '', '0', '0', '0');
  6455. 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');
  6456. 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');
  6457. 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');
  6458. 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');
  6459. 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');
  6460. INSERT INTO `ims_ewei_shop_plugin` VALUES ('10', '10', 'creditshop', 'biz', '积分商城', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/creditshop.jpg', '', '0', '0', '0');
  6461. 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');
  6462. INSERT INTO `ims_ewei_shop_plugin` VALUES ('12', '11', 'article', 'help', '文章营销', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/article.jpg', '', '0', '0', '0');
  6463. 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');
  6464. INSERT INTO `ims_ewei_shop_plugin` VALUES ('14', '14', 'postera', 'sale', '活动海报', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/postera.jpg', '', '0', '0', '0');
  6465. 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');
  6466. INSERT INTO `ims_ewei_shop_plugin` VALUES ('16', '15', 'diyform', 'help', '自定表单', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/diyform.jpg', '', '0', '0', '0');
  6467. INSERT INTO `ims_ewei_shop_plugin` VALUES ('17', '16', 'exhelper', 'help', '快递助手', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/exhelper.jpg', '', '0', '0', '0');
  6468. INSERT INTO `ims_ewei_shop_plugin` VALUES ('18', '19', 'groups', 'biz', '人人拼团', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/groups.jpg', '', '0', '0', '0');
  6469. INSERT INTO `ims_ewei_shop_plugin` VALUES ('19', '20', 'diypage', 'help', '店铺装修', '2.0', '官方', '1', '../addons/ewei_shopv2/static/images/designer.jpg', '', '0', '0', '0');
  6470. INSERT INTO `ims_ewei_shop_plugin` VALUES ('20', '22', 'globonus', 'biz', '全民股东', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/globonus.jpg', '', '0', '0', '0');
  6471. INSERT INTO `ims_ewei_shop_plugin` VALUES ('21', '23', 'merch', 'biz', '多商户', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/merch.jpg', '', '0', '0', '1');
  6472. INSERT INTO `ims_ewei_shop_plugin` VALUES ('22', '26', 'qa', 'help', '帮助中心', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/qa.jpg', '', '0', '0', '1');
  6473. INSERT INTO `ims_ewei_shop_plugin` VALUES ('24', '27', 'sms', 'tool', '短信提醒', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/sms.jpg', '', '1', '0', '1');
  6474. INSERT INTO `ims_ewei_shop_plugin` VALUES ('25', '29', 'sign', 'tool', '积分签到', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/sign.jpg', '', '0', '0', '1');
  6475. INSERT INTO `ims_ewei_shop_plugin` VALUES ('26', '30', 'sns', 'sale', '全民社区', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/sns.jpg', '', '0', '0', '1');
  6476. INSERT INTO `ims_ewei_shop_plugin` VALUES ('27', '33', 'wap', 'tool', '全网通', '1.0', '官方', '1', '', '', '1', '0', '1');
  6477. INSERT INTO `ims_ewei_shop_plugin` VALUES ('28', '34', 'h5app', 'tool', 'H5APP', '1.0', '官方', '1', '', '', '1', '0', '1');
  6478. INSERT INTO `ims_ewei_shop_plugin` VALUES ('29', '26', 'abonus', 'biz', '区域代理', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/abonus.jpg', '', '0', '0', '1');
  6479. INSERT INTO `ims_ewei_shop_plugin` VALUES ('30', '33', 'printer', 'tool', '小票打印机', '1.0', '官方', '1', '', '', '1', '0', '1');
  6480. INSERT INTO `ims_ewei_shop_plugin` VALUES ('31', '34', 'bargain', 'tool', '砍价活动', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/bargain.jpg', '', '0', '0', '1');
  6481. INSERT INTO `ims_ewei_shop_plugin` VALUES ('32', '35', 'task', 'sale', '任务中心', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/task.jpg', '', '0', '0', '1');
  6482. INSERT INTO `ims_ewei_shop_plugin` VALUES ('33', '36', 'cashier', 'biz', '收银台', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/cashier.jpg', '', '0', '0', '1');
  6483. INSERT INTO `ims_ewei_shop_plugin` VALUES ('34', '37', 'messages', 'tool', '消息群发', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/messages.jpg', '', '0', '0', '1');
  6484. INSERT INTO `ims_ewei_shop_plugin` VALUES ('35', '38', 'seckill', 'sale', '整点秒杀', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/seckill.jpg', '', '0', '0', '1');
  6485. INSERT INTO `ims_ewei_shop_plugin` VALUES ('36', '39', 'exchange', 'biz', '兑换中心', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/exchange.jpg', '', '0', '0', '1');
  6486. INSERT INTO `ims_ewei_shop_plugin` VALUES ('37', '65', 'wxcard', 'sale', '微信卡券', '1.0', '官方', '1', '', null, '1', '0', '1');
  6487. INSERT INTO `ims_ewei_shop_plugin` VALUES ('38', '42', 'quick', 'biz', '快速购买', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/quick.jpg', '', '0', '0', '1');
  6488. INSERT INTO `ims_ewei_shop_plugin` VALUES ('39', '43', 'mmanage', 'tool', '手机端商家管理中心', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/mmanage.jpg', '', '0', '0', '1');
  6489. INSERT INTO `ims_ewei_shop_plugin` VALUES ('40', '44', 'polyapi', 'tool', '进销存-网店管家', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/polyapi.jpg', '', '0', '0', '1');
  6490. INSERT INTO `ims_ewei_shop_plugin` VALUES ('41', '45', 'lottery', 'biz', '游戏营销', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/lottery.jpg', '', '0', '0', '1');
  6491. INSERT INTO `ims_ewei_shop_plugin` VALUES ('43', '47', 'live', 'sale', '互动直播', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/live.jpg', '', '0', '0', '1');
  6492. INSERT INTO `ims_ewei_shop_plugin` VALUES ('44', '48', 'invitation', 'sale', '邀请卡', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/invitation.png', '', '0', '0', '1');
  6493. INSERT INTO `ims_ewei_shop_plugin` VALUES ('45', '49', 'app', 'help', '小程序', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/app.jpg', '', '0', '0', '1');
  6494. INSERT INTO `ims_ewei_shop_plugin` VALUES ('46', '50', 'cycelbuy', 'biz', '周期购', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/cycelbuy.jpg', '', '0', '0', '1');
  6495. INSERT INTO `ims_ewei_shop_plugin` VALUES ('47', '49', 'dividend', 'biz', '团队分红', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/dividend.jpg', '', '0', '0', '1');
  6496. INSERT INTO `ims_ewei_shop_plugin` VALUES ('48', '50', 'merchmanage', 'tool', '多商户手机端管理', '1.0', '二开', '1', '../addons/ewei_shopv2/static/images/merchmanage.jpg', '', '0', '0', '1');
  6497. INSERT INTO `ims_ewei_shop_plugin` VALUES ('49', '51', 'membercard', 'sale', '付费会员卡', '1.0', '官方', '1', '../addons/ewei_shopv2/static/images/membercard.png', '', '0', '0', '1');
  6498. -- ----------------------------
  6499. -- Table structure for `ims_ewei_shop_polyapi_key`
  6500. -- ----------------------------
  6501. DROP TABLE IF EXISTS `ims_ewei_shop_polyapi_key`;
  6502. CREATE TABLE `ims_ewei_shop_polyapi_key` (
  6503. `id` int(11) NOT NULL AUTO_INCREMENT,
  6504. `uniacid` int(11) NOT NULL DEFAULT '0',
  6505. `merchid` int(11) NOT NULL DEFAULT '0',
  6506. `appkey` varchar(200) NOT NULL DEFAULT '',
  6507. `token` varchar(200) NOT NULL DEFAULT '',
  6508. `appsecret` varchar(200) NOT NULL DEFAULT '',
  6509. `createtime` int(11) NOT NULL DEFAULT '0',
  6510. `updatetime` int(11) NOT NULL DEFAULT '0',
  6511. `status` tinyint(1) NOT NULL DEFAULT '0',
  6512. PRIMARY KEY (`id`),
  6513. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  6514. KEY `idx_appkey` (`appkey`) USING BTREE,
  6515. KEY `idx_token` (`token`) USING BTREE,
  6516. KEY `idx_appsecret` (`appsecret`) USING BTREE
  6517. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  6518. -- ----------------------------
  6519. -- Records of ims_ewei_shop_polyapi_key
  6520. -- ----------------------------
  6521. -- ----------------------------
  6522. -- Table structure for `ims_ewei_shop_poster`
  6523. -- ----------------------------
  6524. DROP TABLE IF EXISTS `ims_ewei_shop_poster`;
  6525. CREATE TABLE `ims_ewei_shop_poster` (
  6526. `id` int(11) NOT NULL AUTO_INCREMENT,
  6527. `uniacid` int(11) DEFAULT '0',
  6528. `type` tinyint(3) DEFAULT '0',
  6529. `title` varchar(255) DEFAULT '',
  6530. `bg` varchar(255) DEFAULT '',
  6531. `data` text,
  6532. `keyword` varchar(255) DEFAULT '',
  6533. `keyword2` varchar(255) DEFAULT '',
  6534. `times` int(11) DEFAULT '0',
  6535. `follows` int(11) DEFAULT '0',
  6536. `isdefault` tinyint(3) DEFAULT '0',
  6537. `resptype` tinyint(3) DEFAULT '0',
  6538. `resptext` text,
  6539. `resptitle` varchar(255) DEFAULT '',
  6540. `respthumb` varchar(255) DEFAULT '',
  6541. `createtime` int(11) DEFAULT '0',
  6542. `respdesc` varchar(255) DEFAULT '',
  6543. `respurl` varchar(255) DEFAULT '',
  6544. `waittext` varchar(255) DEFAULT '',
  6545. `oktext` varchar(255) DEFAULT '',
  6546. `subcredit` int(11) DEFAULT '0',
  6547. `submoney` decimal(10,2) DEFAULT '0.00',
  6548. `reccredit` int(11) DEFAULT '0',
  6549. `recmoney` decimal(10,2) DEFAULT '0.00',
  6550. `scantext` varchar(255) DEFAULT '',
  6551. `subtext` varchar(255) DEFAULT '',
  6552. `beagent` tinyint(3) DEFAULT '0',
  6553. `bedown` tinyint(3) DEFAULT '0',
  6554. `isopen` tinyint(3) DEFAULT '0',
  6555. `opentext` varchar(255) DEFAULT '',
  6556. `openurl` varchar(255) DEFAULT '',
  6557. `paytype` tinyint(1) NOT NULL DEFAULT '0',
  6558. `subpaycontent` text,
  6559. `recpaycontent` varchar(255) DEFAULT '',
  6560. `templateid` varchar(255) DEFAULT '',
  6561. `entrytext` varchar(255) DEFAULT '',
  6562. `reccouponid` int(11) DEFAULT '0',
  6563. `reccouponnum` int(11) DEFAULT '0',
  6564. `subcouponid` int(11) DEFAULT '0',
  6565. `subcouponnum` int(11) DEFAULT '0',
  6566. `resptext11` text,
  6567. `reward_totle` varchar(500) DEFAULT '',
  6568. `ismembergroup` tinyint(3) DEFAULT '0',
  6569. `membergroupid` int(11) DEFAULT '0',
  6570. PRIMARY KEY (`id`),
  6571. KEY `idx_uniacid` (`uniacid`),
  6572. KEY `idx_type` (`type`),
  6573. KEY `idx_times` (`times`),
  6574. KEY `idx_isdefault` (`isdefault`),
  6575. KEY `idx_createtime` (`createtime`)
  6576. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6577. -- ----------------------------
  6578. -- Records of ims_ewei_shop_poster
  6579. -- ----------------------------
  6580. -- ----------------------------
  6581. -- Table structure for `ims_ewei_shop_postera`
  6582. -- ----------------------------
  6583. DROP TABLE IF EXISTS `ims_ewei_shop_postera`;
  6584. CREATE TABLE `ims_ewei_shop_postera` (
  6585. `id` int(11) NOT NULL AUTO_INCREMENT,
  6586. `uniacid` int(11) DEFAULT '0',
  6587. `type` tinyint(3) DEFAULT '0',
  6588. `days` int(11) DEFAULT '0',
  6589. `title` varchar(255) DEFAULT '',
  6590. `bg` varchar(255) DEFAULT '',
  6591. `data` text,
  6592. `keyword` varchar(255) DEFAULT '',
  6593. `keyword2` varchar(255) DEFAULT '',
  6594. `isdefault` tinyint(3) DEFAULT '0',
  6595. `resptype` tinyint(3) DEFAULT '0',
  6596. `resptext` text,
  6597. `resptitle` varchar(255) DEFAULT '',
  6598. `respthumb` varchar(255) DEFAULT '',
  6599. `createtime` int(11) DEFAULT '0',
  6600. `respdesc` varchar(255) DEFAULT '',
  6601. `respurl` varchar(255) DEFAULT '',
  6602. `waittext` varchar(255) DEFAULT '',
  6603. `oktext` varchar(255) DEFAULT '',
  6604. `subcredit` int(11) DEFAULT '0',
  6605. `submoney` decimal(10,2) DEFAULT '0.00',
  6606. `reccredit` int(11) DEFAULT '0',
  6607. `recmoney` decimal(10,2) DEFAULT '0.00',
  6608. `scantext` varchar(255) DEFAULT '',
  6609. `subtext` varchar(255) DEFAULT '',
  6610. `beagent` tinyint(3) DEFAULT '0',
  6611. `bedown` tinyint(3) DEFAULT '0',
  6612. `isopen` tinyint(3) DEFAULT '0',
  6613. `opentext` varchar(255) DEFAULT '',
  6614. `openurl` varchar(255) DEFAULT '',
  6615. `paytype` tinyint(1) NOT NULL DEFAULT '0',
  6616. `subpaycontent` text,
  6617. `recpaycontent` varchar(255) DEFAULT '',
  6618. `templateid` varchar(255) DEFAULT '',
  6619. `entrytext` varchar(255) DEFAULT '',
  6620. `reccouponid` int(11) DEFAULT '0',
  6621. `reccouponnum` int(11) DEFAULT '0',
  6622. `subcouponid` int(11) DEFAULT '0',
  6623. `subcouponnum` int(11) DEFAULT '0',
  6624. `timestart` int(11) DEFAULT '0',
  6625. `timeend` int(11) DEFAULT '0',
  6626. `status` tinyint(3) DEFAULT '0',
  6627. `goodsid` int(11) DEFAULT '0',
  6628. `starttext` varchar(255) DEFAULT '',
  6629. `endtext` varchar(255) DEFAULT NULL,
  6630. `testflag` tinyint(1) DEFAULT '0',
  6631. `reward_totle` varchar(500) DEFAULT '',
  6632. PRIMARY KEY (`id`),
  6633. KEY `idx_uniacid` (`uniacid`),
  6634. KEY `idx_type` (`type`),
  6635. KEY `idx_isdefault` (`isdefault`),
  6636. KEY `idx_createtime` (`createtime`)
  6637. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6638. -- ----------------------------
  6639. -- Records of ims_ewei_shop_postera
  6640. -- ----------------------------
  6641. -- ----------------------------
  6642. -- Table structure for `ims_ewei_shop_postera_log`
  6643. -- ----------------------------
  6644. DROP TABLE IF EXISTS `ims_ewei_shop_postera_log`;
  6645. CREATE TABLE `ims_ewei_shop_postera_log` (
  6646. `id` int(11) NOT NULL AUTO_INCREMENT,
  6647. `uniacid` int(11) DEFAULT '0',
  6648. `openid` varchar(255) DEFAULT '',
  6649. `posterid` int(11) DEFAULT '0',
  6650. `from_openid` varchar(255) DEFAULT '',
  6651. `subcredit` int(11) DEFAULT '0',
  6652. `submoney` decimal(10,2) DEFAULT '0.00',
  6653. `reccredit` int(11) DEFAULT '0',
  6654. `recmoney` decimal(10,2) DEFAULT '0.00',
  6655. `createtime` int(11) DEFAULT '0',
  6656. `reccouponid` int(11) DEFAULT '0',
  6657. `reccouponnum` int(11) DEFAULT '0',
  6658. `subcouponid` int(11) DEFAULT '0',
  6659. `subcouponnum` int(11) DEFAULT '0',
  6660. PRIMARY KEY (`id`),
  6661. KEY `idx_uniacid` (`uniacid`),
  6662. KEY `idx_openid` (`openid`),
  6663. KEY `idx_createtime` (`createtime`),
  6664. KEY `idx_posteraid` (`posterid`)
  6665. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6666. -- ----------------------------
  6667. -- Records of ims_ewei_shop_postera_log
  6668. -- ----------------------------
  6669. -- ----------------------------
  6670. -- Table structure for `ims_ewei_shop_postera_qr`
  6671. -- ----------------------------
  6672. DROP TABLE IF EXISTS `ims_ewei_shop_postera_qr`;
  6673. CREATE TABLE `ims_ewei_shop_postera_qr` (
  6674. `id` int(11) NOT NULL AUTO_INCREMENT,
  6675. `acid` int(10) unsigned NOT NULL,
  6676. `openid` varchar(100) NOT NULL DEFAULT '',
  6677. `posterid` int(11) DEFAULT '0',
  6678. `type` tinyint(3) DEFAULT '0',
  6679. `sceneid` int(11) DEFAULT '0',
  6680. `mediaid` varchar(255) DEFAULT '',
  6681. `ticket` varchar(250) NOT NULL,
  6682. `url` varchar(80) NOT NULL,
  6683. `createtime` int(10) unsigned NOT NULL,
  6684. `goodsid` int(11) DEFAULT '0',
  6685. `qrimg` varchar(1000) DEFAULT '',
  6686. `expire` int(11) DEFAULT '0',
  6687. `endtime` int(11) DEFAULT '0',
  6688. `qrtime` varchar(32) DEFAULT NULL,
  6689. PRIMARY KEY (`id`),
  6690. KEY `idx_acid` (`acid`),
  6691. KEY `idx_sceneid` (`sceneid`),
  6692. KEY `idx_type` (`type`),
  6693. KEY `idx_posterid` (`posterid`)
  6694. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6695. -- ----------------------------
  6696. -- Records of ims_ewei_shop_postera_qr
  6697. -- ----------------------------
  6698. -- ----------------------------
  6699. -- Table structure for `ims_ewei_shop_poster_log`
  6700. -- ----------------------------
  6701. DROP TABLE IF EXISTS `ims_ewei_shop_poster_log`;
  6702. CREATE TABLE `ims_ewei_shop_poster_log` (
  6703. `id` int(11) NOT NULL AUTO_INCREMENT,
  6704. `uniacid` int(11) DEFAULT '0',
  6705. `openid` varchar(255) DEFAULT '',
  6706. `posterid` int(11) DEFAULT '0',
  6707. `from_openid` varchar(255) DEFAULT '',
  6708. `subcredit` int(11) DEFAULT '0',
  6709. `submoney` decimal(10,2) DEFAULT '0.00',
  6710. `reccredit` int(11) DEFAULT '0',
  6711. `recmoney` decimal(10,2) DEFAULT '0.00',
  6712. `createtime` int(11) DEFAULT '0',
  6713. `reccouponid` int(11) DEFAULT '0',
  6714. `reccouponnum` int(11) DEFAULT '0',
  6715. `subcouponid` int(11) DEFAULT '0',
  6716. `subcouponnum` int(11) DEFAULT '0',
  6717. PRIMARY KEY (`id`),
  6718. KEY `idx_uniacid` (`uniacid`),
  6719. KEY `idx_openid` (`openid`),
  6720. KEY `idx_createtime` (`createtime`),
  6721. KEY `idx_posterid` (`posterid`),
  6722. KEY `idx_from_openid` (`from_openid`)
  6723. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6724. -- ----------------------------
  6725. -- Records of ims_ewei_shop_poster_log
  6726. -- ----------------------------
  6727. -- ----------------------------
  6728. -- Table structure for `ims_ewei_shop_poster_qr`
  6729. -- ----------------------------
  6730. DROP TABLE IF EXISTS `ims_ewei_shop_poster_qr`;
  6731. CREATE TABLE `ims_ewei_shop_poster_qr` (
  6732. `id` int(11) NOT NULL AUTO_INCREMENT,
  6733. `acid` int(10) unsigned NOT NULL,
  6734. `openid` varchar(100) NOT NULL DEFAULT '',
  6735. `type` tinyint(3) DEFAULT '0',
  6736. `sceneid` int(11) DEFAULT '0',
  6737. `mediaid` varchar(255) DEFAULT '',
  6738. `ticket` varchar(250) NOT NULL,
  6739. `url` varchar(80) NOT NULL,
  6740. `createtime` int(10) unsigned NOT NULL,
  6741. `goodsid` int(11) DEFAULT '0',
  6742. `qrimg` varchar(1000) DEFAULT '',
  6743. `posterid` int(11) DEFAULT '0',
  6744. `scenestr` varchar(255) DEFAULT '',
  6745. PRIMARY KEY (`id`),
  6746. KEY `idx_acid` (`acid`),
  6747. KEY `idx_sceneid` (`sceneid`),
  6748. KEY `idx_type` (`type`),
  6749. KEY `idx_openid` (`openid`)
  6750. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6751. -- ----------------------------
  6752. -- Records of ims_ewei_shop_poster_qr
  6753. -- ----------------------------
  6754. -- ----------------------------
  6755. -- Table structure for `ims_ewei_shop_poster_scan`
  6756. -- ----------------------------
  6757. DROP TABLE IF EXISTS `ims_ewei_shop_poster_scan`;
  6758. CREATE TABLE `ims_ewei_shop_poster_scan` (
  6759. `id` int(11) NOT NULL AUTO_INCREMENT,
  6760. `uniacid` int(11) DEFAULT '0',
  6761. `posterid` int(11) DEFAULT '0',
  6762. `openid` varchar(255) DEFAULT '',
  6763. `from_openid` varchar(255) DEFAULT '',
  6764. `scantime` int(11) DEFAULT '0',
  6765. PRIMARY KEY (`id`),
  6766. KEY `idx_uniacid` (`uniacid`),
  6767. KEY `idx_posterid` (`posterid`),
  6768. KEY `idx_scantime` (`scantime`)
  6769. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6770. -- ----------------------------
  6771. -- Records of ims_ewei_shop_poster_scan
  6772. -- ----------------------------
  6773. -- ----------------------------
  6774. -- Table structure for `ims_ewei_shop_print`
  6775. -- ----------------------------
  6776. DROP TABLE IF EXISTS `ims_ewei_shop_print`;
  6777. CREATE TABLE `ims_ewei_shop_print` (
  6778. `id` int(11) NOT NULL AUTO_INCREMENT,
  6779. `status` tinyint(3) DEFAULT '0',
  6780. `name` varchar(200) DEFAULT '',
  6781. `print_no` varchar(200) DEFAULT '',
  6782. `key` varchar(200) DEFAULT '',
  6783. `print_nums` tinyint(3) DEFAULT '0',
  6784. `uniacid` int(11) DEFAULT '0',
  6785. `sid` tinyint(3) DEFAULT '0',
  6786. `print_type` tinyint(3) DEFAULT '0',
  6787. `qrcode_link` varchar(200) NOT NULL DEFAULT '',
  6788. PRIMARY KEY (`id`)
  6789. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  6790. -- ----------------------------
  6791. -- Records of ims_ewei_shop_print
  6792. -- ----------------------------
  6793. -- ----------------------------
  6794. -- Table structure for `ims_ewei_shop_qa_adv`
  6795. -- ----------------------------
  6796. DROP TABLE IF EXISTS `ims_ewei_shop_qa_adv`;
  6797. CREATE TABLE `ims_ewei_shop_qa_adv` (
  6798. `id` int(11) NOT NULL AUTO_INCREMENT,
  6799. `uniacid` int(11) DEFAULT '0',
  6800. `advname` varchar(50) DEFAULT '',
  6801. `link` varchar(255) DEFAULT '',
  6802. `thumb` varchar(255) DEFAULT '',
  6803. `displayorder` int(11) DEFAULT '0',
  6804. `enabled` int(11) DEFAULT '0',
  6805. PRIMARY KEY (`id`),
  6806. KEY `idx_uniacid` (`uniacid`),
  6807. KEY `idx_enabled` (`enabled`),
  6808. KEY `idx_displayorder` (`displayorder`)
  6809. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6810. -- ----------------------------
  6811. -- Records of ims_ewei_shop_qa_adv
  6812. -- ----------------------------
  6813. -- ----------------------------
  6814. -- Table structure for `ims_ewei_shop_qa_category`
  6815. -- ----------------------------
  6816. DROP TABLE IF EXISTS `ims_ewei_shop_qa_category`;
  6817. CREATE TABLE `ims_ewei_shop_qa_category` (
  6818. `id` int(11) NOT NULL AUTO_INCREMENT,
  6819. `uniacid` int(11) DEFAULT '0',
  6820. `name` varchar(50) DEFAULT NULL,
  6821. `thumb` varchar(255) DEFAULT NULL,
  6822. `displayorder` tinyint(3) unsigned DEFAULT '0',
  6823. `enabled` tinyint(1) DEFAULT '1',
  6824. `isrecommand` tinyint(3) DEFAULT '0',
  6825. PRIMARY KEY (`id`),
  6826. KEY `idx_displayorder` (`displayorder`),
  6827. KEY `idx_enabled` (`enabled`),
  6828. KEY `idx_uniacid` (`uniacid`)
  6829. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6830. -- ----------------------------
  6831. -- Records of ims_ewei_shop_qa_category
  6832. -- ----------------------------
  6833. -- ----------------------------
  6834. -- Table structure for `ims_ewei_shop_qa_question`
  6835. -- ----------------------------
  6836. DROP TABLE IF EXISTS `ims_ewei_shop_qa_question`;
  6837. CREATE TABLE `ims_ewei_shop_qa_question` (
  6838. `id` int(11) NOT NULL AUTO_INCREMENT,
  6839. `uniacid` int(11) NOT NULL DEFAULT '0',
  6840. `cate` int(11) NOT NULL DEFAULT '0',
  6841. `title` varchar(255) NOT NULL DEFAULT '',
  6842. `keywords` varchar(255) NOT NULL DEFAULT '',
  6843. `content` mediumtext NOT NULL,
  6844. `status` tinyint(3) NOT NULL DEFAULT '0',
  6845. `isrecommand` tinyint(3) NOT NULL DEFAULT '0',
  6846. `displayorder` int(11) NOT NULL DEFAULT '0',
  6847. `createtime` int(11) NOT NULL DEFAULT '0',
  6848. `lastedittime` int(11) NOT NULL DEFAULT '0',
  6849. PRIMARY KEY (`id`),
  6850. KEY `idx_uniacid` (`uniacid`),
  6851. KEY `idx_status` (`status`)
  6852. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6853. -- ----------------------------
  6854. -- Records of ims_ewei_shop_qa_question
  6855. -- ----------------------------
  6856. -- ----------------------------
  6857. -- Table structure for `ims_ewei_shop_qa_set`
  6858. -- ----------------------------
  6859. DROP TABLE IF EXISTS `ims_ewei_shop_qa_set`;
  6860. CREATE TABLE `ims_ewei_shop_qa_set` (
  6861. `id` int(11) NOT NULL AUTO_INCREMENT,
  6862. `uniacid` int(11) NOT NULL DEFAULT '0',
  6863. `showmember` tinyint(3) NOT NULL DEFAULT '0',
  6864. `showtype` tinyint(3) NOT NULL DEFAULT '0',
  6865. `keyword` varchar(255) NOT NULL DEFAULT '',
  6866. `enter_title` varchar(255) NOT NULL DEFAULT '',
  6867. `enter_img` varchar(255) NOT NULL DEFAULT '',
  6868. `enter_desc` varchar(255) NOT NULL DEFAULT '',
  6869. `share` tinyint(3) NOT NULL DEFAULT '0',
  6870. PRIMARY KEY (`id`),
  6871. KEY `idx_unaicid` (`uniacid`)
  6872. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6873. -- ----------------------------
  6874. -- Records of ims_ewei_shop_qa_set
  6875. -- ----------------------------
  6876. -- ----------------------------
  6877. -- Table structure for `ims_ewei_shop_quick`
  6878. -- ----------------------------
  6879. DROP TABLE IF EXISTS `ims_ewei_shop_quick`;
  6880. CREATE TABLE `ims_ewei_shop_quick` (
  6881. `id` int(11) NOT NULL AUTO_INCREMENT,
  6882. `uniacid` int(11) NOT NULL,
  6883. `title` varchar(255) DEFAULT NULL,
  6884. `keyword` varchar(255) DEFAULT NULL,
  6885. `datas` mediumtext,
  6886. `cart` tinyint(3) NOT NULL DEFAULT '0',
  6887. `createtime` int(11) DEFAULT NULL,
  6888. `lasttime` int(11) DEFAULT NULL,
  6889. `share_title` varchar(255) DEFAULT NULL,
  6890. `share_desc` varchar(255) DEFAULT NULL,
  6891. `share_icon` varchar(255) DEFAULT NULL,
  6892. `enter_title` varchar(255) DEFAULT NULL,
  6893. `enter_desc` varchar(255) DEFAULT NULL,
  6894. `enter_icon` varchar(255) DEFAULT NULL,
  6895. `status` tinyint(3) NOT NULL DEFAULT '0',
  6896. `merchid` int(11) NOT NULL DEFAULT '0',
  6897. `type` tinyint(3) DEFAULT '0',
  6898. PRIMARY KEY (`id`)
  6899. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6900. -- ----------------------------
  6901. -- Records of ims_ewei_shop_quick
  6902. -- ----------------------------
  6903. -- ----------------------------
  6904. -- Table structure for `ims_ewei_shop_quick_adv`
  6905. -- ----------------------------
  6906. DROP TABLE IF EXISTS `ims_ewei_shop_quick_adv`;
  6907. CREATE TABLE `ims_ewei_shop_quick_adv` (
  6908. `id` int(11) NOT NULL AUTO_INCREMENT,
  6909. `uniacid` int(11) DEFAULT '0',
  6910. `merchid` int(11) NOT NULL DEFAULT '0',
  6911. `advname` varchar(50) DEFAULT '',
  6912. `link` varchar(255) DEFAULT '',
  6913. `thumb` varchar(255) DEFAULT '',
  6914. `displayorder` int(11) DEFAULT '0',
  6915. `enabled` int(11) DEFAULT '0',
  6916. PRIMARY KEY (`id`),
  6917. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  6918. KEY `idx_enabled` (`enabled`) USING BTREE,
  6919. KEY `idx_displayorder` (`displayorder`) USING BTREE
  6920. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6921. -- ----------------------------
  6922. -- Records of ims_ewei_shop_quick_adv
  6923. -- ----------------------------
  6924. -- ----------------------------
  6925. -- Table structure for `ims_ewei_shop_quick_cart`
  6926. -- ----------------------------
  6927. DROP TABLE IF EXISTS `ims_ewei_shop_quick_cart`;
  6928. CREATE TABLE `ims_ewei_shop_quick_cart` (
  6929. `id` int(11) NOT NULL AUTO_INCREMENT,
  6930. `uniacid` int(11) NOT NULL DEFAULT '0',
  6931. `quickid` int(11) NOT NULL DEFAULT '0',
  6932. `openid` varchar(100) DEFAULT '',
  6933. `goodsid` int(11) DEFAULT '0',
  6934. `total` int(11) DEFAULT '0',
  6935. `marketprice` decimal(10,2) DEFAULT '0.00',
  6936. `deleted` tinyint(1) DEFAULT '0',
  6937. `optionid` int(11) DEFAULT '0',
  6938. `createtime` int(11) DEFAULT '0',
  6939. `diyformdataid` int(11) DEFAULT NULL,
  6940. `diyformdata` text,
  6941. `diyformfields` text,
  6942. `diyformid` int(11) DEFAULT '0',
  6943. `selected` tinyint(1) DEFAULT '1',
  6944. `merchid` int(11) DEFAULT '0',
  6945. `selectedadd` tinyint(1) DEFAULT '1',
  6946. PRIMARY KEY (`id`),
  6947. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  6948. KEY `idx_goodsid` (`goodsid`) USING BTREE,
  6949. KEY `idx_openid` (`openid`) USING BTREE,
  6950. KEY `idx_deleted` (`deleted`) USING BTREE,
  6951. KEY `idx_merchid` (`merchid`) USING BTREE
  6952. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6953. -- ----------------------------
  6954. -- Records of ims_ewei_shop_quick_cart
  6955. -- ----------------------------
  6956. -- ----------------------------
  6957. -- Table structure for `ims_ewei_shop_refund_address`
  6958. -- ----------------------------
  6959. DROP TABLE IF EXISTS `ims_ewei_shop_refund_address`;
  6960. CREATE TABLE `ims_ewei_shop_refund_address` (
  6961. `id` int(11) NOT NULL AUTO_INCREMENT,
  6962. `uniacid` int(11) DEFAULT '0',
  6963. `openid` varchar(50) DEFAULT '0',
  6964. `title` varchar(20) DEFAULT '',
  6965. `name` varchar(20) DEFAULT '',
  6966. `tel` varchar(20) DEFAULT '',
  6967. `mobile` varchar(11) DEFAULT '',
  6968. `province` varchar(30) DEFAULT '',
  6969. `city` varchar(30) DEFAULT '',
  6970. `area` varchar(30) DEFAULT '',
  6971. `address` varchar(300) DEFAULT '',
  6972. `isdefault` tinyint(1) DEFAULT '0',
  6973. `zipcode` varchar(255) DEFAULT '',
  6974. `content` text,
  6975. `deleted` tinyint(1) DEFAULT '0',
  6976. `merchid` int(11) DEFAULT '0',
  6977. PRIMARY KEY (`id`),
  6978. KEY `idx_uniacid` (`uniacid`),
  6979. KEY `idx_openid` (`openid`),
  6980. KEY `idx_isdefault` (`isdefault`),
  6981. KEY `idx_deleted` (`deleted`)
  6982. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  6983. -- ----------------------------
  6984. -- Records of ims_ewei_shop_refund_address
  6985. -- ----------------------------
  6986. -- ----------------------------
  6987. -- Table structure for `ims_ewei_shop_saler`
  6988. -- ----------------------------
  6989. DROP TABLE IF EXISTS `ims_ewei_shop_saler`;
  6990. CREATE TABLE `ims_ewei_shop_saler` (
  6991. `id` int(11) NOT NULL AUTO_INCREMENT,
  6992. `storeid` int(11) DEFAULT '0',
  6993. `uniacid` int(11) DEFAULT '0',
  6994. `openid` varchar(255) DEFAULT '',
  6995. `status` tinyint(3) DEFAULT '0',
  6996. `salername` varchar(255) DEFAULT '',
  6997. `username` varchar(50) DEFAULT '',
  6998. `pwd` varchar(255) DEFAULT '',
  6999. `salt` varchar(255) DEFAULT '',
  7000. `lastvisit` varchar(255) DEFAULT '',
  7001. `lastip` varchar(255) DEFAULT '',
  7002. `isfounder` tinyint(3) DEFAULT '0',
  7003. `mobile` varchar(255) DEFAULT '',
  7004. `getmessage` tinyint(1) DEFAULT '0',
  7005. `getnotice` tinyint(1) DEFAULT '0',
  7006. `roleid` int(11) DEFAULT '0',
  7007. PRIMARY KEY (`id`),
  7008. KEY `idx_storeid` (`storeid`),
  7009. KEY `idx_uniacid` (`uniacid`)
  7010. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7011. -- ----------------------------
  7012. -- Records of ims_ewei_shop_saler
  7013. -- ----------------------------
  7014. -- ----------------------------
  7015. -- Table structure for `ims_ewei_shop_sale_coupon`
  7016. -- ----------------------------
  7017. DROP TABLE IF EXISTS `ims_ewei_shop_sale_coupon`;
  7018. CREATE TABLE `ims_ewei_shop_sale_coupon` (
  7019. `id` int(11) NOT NULL AUTO_INCREMENT,
  7020. `uniacid` int(11) DEFAULT '0',
  7021. `name` varchar(255) DEFAULT '',
  7022. `type` tinyint(3) DEFAULT '0',
  7023. `ckey` decimal(10,2) DEFAULT '0.00',
  7024. `cvalue` decimal(10,2) DEFAULT '0.00',
  7025. `nums` int(11) DEFAULT '0',
  7026. `createtime` int(11) DEFAULT '0',
  7027. PRIMARY KEY (`id`),
  7028. KEY `idx_uniacid` (`uniacid`),
  7029. KEY `idx_createtime` (`createtime`)
  7030. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7031. -- ----------------------------
  7032. -- Records of ims_ewei_shop_sale_coupon
  7033. -- ----------------------------
  7034. -- ----------------------------
  7035. -- Table structure for `ims_ewei_shop_sale_coupon_data`
  7036. -- ----------------------------
  7037. DROP TABLE IF EXISTS `ims_ewei_shop_sale_coupon_data`;
  7038. CREATE TABLE `ims_ewei_shop_sale_coupon_data` (
  7039. `id` int(11) NOT NULL AUTO_INCREMENT,
  7040. `uniacid` int(11) DEFAULT '0',
  7041. `openid` varchar(255) DEFAULT '',
  7042. `couponid` int(11) DEFAULT '0',
  7043. `gettime` int(11) DEFAULT '0',
  7044. `gettype` tinyint(3) DEFAULT '0',
  7045. `usedtime` int(11) DEFAULT '0',
  7046. `orderid` int(11) DEFAULT '0',
  7047. PRIMARY KEY (`id`),
  7048. KEY `idx_uniacid` (`uniacid`),
  7049. KEY `idx_couponid` (`couponid`),
  7050. KEY `idx_gettime` (`gettime`),
  7051. KEY `idx_gettype` (`gettype`),
  7052. KEY `idx_usedtime` (`usedtime`),
  7053. KEY `idx_orderid` (`orderid`)
  7054. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7055. -- ----------------------------
  7056. -- Records of ims_ewei_shop_sale_coupon_data
  7057. -- ----------------------------
  7058. -- ----------------------------
  7059. -- Table structure for `ims_ewei_shop_seckill_adv`
  7060. -- ----------------------------
  7061. DROP TABLE IF EXISTS `ims_ewei_shop_seckill_adv`;
  7062. CREATE TABLE `ims_ewei_shop_seckill_adv` (
  7063. `id` int(11) NOT NULL AUTO_INCREMENT,
  7064. `uniacid` int(11) DEFAULT '0',
  7065. `advname` varchar(50) DEFAULT '',
  7066. `link` varchar(255) DEFAULT '',
  7067. `thumb` varchar(255) DEFAULT '',
  7068. `displayorder` int(11) DEFAULT '0',
  7069. `enabled` int(11) DEFAULT '0',
  7070. PRIMARY KEY (`id`),
  7071. KEY `idx_displayorder` (`displayorder`) USING BTREE,
  7072. KEY `idx_enabled` (`enabled`) USING BTREE,
  7073. KEY `idx_uniacid` (`uniacid`) USING BTREE
  7074. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7075. -- ----------------------------
  7076. -- Records of ims_ewei_shop_seckill_adv
  7077. -- ----------------------------
  7078. -- ----------------------------
  7079. -- Table structure for `ims_ewei_shop_seckill_category`
  7080. -- ----------------------------
  7081. DROP TABLE IF EXISTS `ims_ewei_shop_seckill_category`;
  7082. CREATE TABLE `ims_ewei_shop_seckill_category` (
  7083. `id` int(11) NOT NULL AUTO_INCREMENT,
  7084. `uniacid` int(11) DEFAULT '0',
  7085. `name` varchar(255) DEFAULT '',
  7086. PRIMARY KEY (`id`),
  7087. KEY `idx_uniacid` (`uniacid`) USING BTREE
  7088. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7089. -- ----------------------------
  7090. -- Records of ims_ewei_shop_seckill_category
  7091. -- ----------------------------
  7092. -- ----------------------------
  7093. -- Table structure for `ims_ewei_shop_seckill_task`
  7094. -- ----------------------------
  7095. DROP TABLE IF EXISTS `ims_ewei_shop_seckill_task`;
  7096. CREATE TABLE `ims_ewei_shop_seckill_task` (
  7097. `id` int(11) NOT NULL AUTO_INCREMENT,
  7098. `uniacid` int(11) DEFAULT '0',
  7099. `cateid` int(11) DEFAULT '0',
  7100. `title` varchar(255) DEFAULT '',
  7101. `enabled` tinyint(3) DEFAULT '0',
  7102. `page_title` varchar(255) DEFAULT '',
  7103. `share_title` varchar(255) DEFAULT '',
  7104. `share_desc` varchar(255) DEFAULT '',
  7105. `share_icon` varchar(255) DEFAULT '',
  7106. `tag` varchar(10) DEFAULT '',
  7107. `closesec` int(11) DEFAULT '0',
  7108. `oldshow` tinyint(3) DEFAULT '0',
  7109. `times` text,
  7110. `createtime` int(11) DEFAULT '0',
  7111. `overtimes` tinyint(2) DEFAULT NULL,
  7112. PRIMARY KEY (`id`),
  7113. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  7114. KEY `idx_status` (`enabled`) USING BTREE
  7115. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7116. -- ----------------------------
  7117. -- Records of ims_ewei_shop_seckill_task
  7118. -- ----------------------------
  7119. -- ----------------------------
  7120. -- Table structure for `ims_ewei_shop_seckill_task_goods`
  7121. -- ----------------------------
  7122. DROP TABLE IF EXISTS `ims_ewei_shop_seckill_task_goods`;
  7123. CREATE TABLE `ims_ewei_shop_seckill_task_goods` (
  7124. `id` int(11) NOT NULL AUTO_INCREMENT,
  7125. `uniacid` int(11) DEFAULT '0',
  7126. `displayorder` int(11) DEFAULT '0',
  7127. `taskid` int(11) DEFAULT '0',
  7128. `roomid` int(11) DEFAULT '0',
  7129. `timeid` int(11) DEFAULT '0',
  7130. `goodsid` int(11) DEFAULT '0',
  7131. `optionid` int(11) DEFAULT '0',
  7132. `price` decimal(10,2) DEFAULT '0.00',
  7133. `total` int(11) DEFAULT '0',
  7134. `maxbuy` int(11) DEFAULT '0',
  7135. `totalmaxbuy` int(11) DEFAULT '0',
  7136. `commission1` decimal(10,2) DEFAULT '0.00',
  7137. `commission2` decimal(10,2) DEFAULT '0.00',
  7138. `commission3` decimal(10,2) DEFAULT '0.00',
  7139. PRIMARY KEY (`id`),
  7140. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  7141. KEY `idx_goodsid` (`goodsid`) USING BTREE,
  7142. KEY `idx_optionid` (`optionid`) USING BTREE,
  7143. KEY `idx_displayorder` (`displayorder`) USING BTREE,
  7144. KEY `idx_taskid` (`taskid`) USING BTREE,
  7145. KEY `idx_roomid` (`roomid`) USING BTREE,
  7146. KEY `idx_time` (`timeid`) USING BTREE
  7147. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7148. -- ----------------------------
  7149. -- Records of ims_ewei_shop_seckill_task_goods
  7150. -- ----------------------------
  7151. -- ----------------------------
  7152. -- Table structure for `ims_ewei_shop_seckill_task_room`
  7153. -- ----------------------------
  7154. DROP TABLE IF EXISTS `ims_ewei_shop_seckill_task_room`;
  7155. CREATE TABLE `ims_ewei_shop_seckill_task_room` (
  7156. `id` int(11) NOT NULL AUTO_INCREMENT,
  7157. `uniacid` int(11) DEFAULT '0',
  7158. `displayorder` int(11) DEFAULT '0',
  7159. `taskid` int(11) DEFAULT '0',
  7160. `title` varchar(255) DEFAULT '',
  7161. `enabled` tinyint(3) DEFAULT '0',
  7162. `page_title` varchar(255) DEFAULT '',
  7163. `share_title` varchar(255) DEFAULT '',
  7164. `share_desc` varchar(255) DEFAULT '',
  7165. `share_icon` varchar(255) DEFAULT '',
  7166. `oldshow` tinyint(3) DEFAULT '0',
  7167. `tag` varchar(10) DEFAULT '',
  7168. `createtime` int(11) DEFAULT '0',
  7169. `diypage` int(11) DEFAULT '0',
  7170. PRIMARY KEY (`id`),
  7171. KEY `idx_taskid` (`taskid`) USING BTREE
  7172. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7173. -- ----------------------------
  7174. -- Records of ims_ewei_shop_seckill_task_room
  7175. -- ----------------------------
  7176. -- ----------------------------
  7177. -- Table structure for `ims_ewei_shop_seckill_task_time`
  7178. -- ----------------------------
  7179. DROP TABLE IF EXISTS `ims_ewei_shop_seckill_task_time`;
  7180. CREATE TABLE `ims_ewei_shop_seckill_task_time` (
  7181. `id` int(11) NOT NULL AUTO_INCREMENT,
  7182. `uniacid` int(11) DEFAULT '0',
  7183. `taskid` int(11) DEFAULT '0',
  7184. `time` tinyint(3) DEFAULT '0',
  7185. PRIMARY KEY (`id`)
  7186. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7187. -- ----------------------------
  7188. -- Records of ims_ewei_shop_seckill_task_time
  7189. -- ----------------------------
  7190. -- ----------------------------
  7191. -- Table structure for `ims_ewei_shop_sendticket`
  7192. -- ----------------------------
  7193. DROP TABLE IF EXISTS `ims_ewei_shop_sendticket`;
  7194. CREATE TABLE `ims_ewei_shop_sendticket` (
  7195. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  7196. `uniacid` int(11) NOT NULL,
  7197. `cpid` varchar(200) NOT NULL,
  7198. `expiration` int(11) NOT NULL DEFAULT '0',
  7199. `starttime` int(11) DEFAULT NULL,
  7200. `endtime` int(11) DEFAULT NULL,
  7201. `status` int(11) NOT NULL DEFAULT '0',
  7202. `createtime` int(11) NOT NULL,
  7203. `title` varchar(255) NOT NULL DEFAULT '新人礼包',
  7204. PRIMARY KEY (`id`)
  7205. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7206. -- ----------------------------
  7207. -- Records of ims_ewei_shop_sendticket
  7208. -- ----------------------------
  7209. -- ----------------------------
  7210. -- Table structure for `ims_ewei_shop_sendticket_draw`
  7211. -- ----------------------------
  7212. DROP TABLE IF EXISTS `ims_ewei_shop_sendticket_draw`;
  7213. CREATE TABLE `ims_ewei_shop_sendticket_draw` (
  7214. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  7215. `uniacid` int(11) NOT NULL,
  7216. `cpid` varchar(50) NOT NULL,
  7217. `openid` varchar(200) NOT NULL,
  7218. `createtime` int(11) NOT NULL,
  7219. PRIMARY KEY (`id`),
  7220. KEY `uniacid` (`uniacid`) USING BTREE,
  7221. KEY `openid` (`openid`) USING BTREE,
  7222. KEY `cpid` (`cpid`) USING BTREE
  7223. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7224. -- ----------------------------
  7225. -- Records of ims_ewei_shop_sendticket_draw
  7226. -- ----------------------------
  7227. -- ----------------------------
  7228. -- Table structure for `ims_ewei_shop_sendticket_share`
  7229. -- ----------------------------
  7230. DROP TABLE IF EXISTS `ims_ewei_shop_sendticket_share`;
  7231. CREATE TABLE `ims_ewei_shop_sendticket_share` (
  7232. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  7233. `uniacid` int(11) NOT NULL,
  7234. `sharetitle` varchar(255) NOT NULL,
  7235. `shareicon` varchar(255) DEFAULT NULL,
  7236. `sharedesc` varchar(255) DEFAULT NULL,
  7237. `expiration` int(11) NOT NULL DEFAULT '0',
  7238. `starttime` int(11) DEFAULT NULL,
  7239. `endtime` int(11) DEFAULT NULL,
  7240. `paycpid1` int(11) DEFAULT NULL,
  7241. `paycpid2` int(11) DEFAULT NULL,
  7242. `paycpid3` int(11) DEFAULT NULL,
  7243. `paycpnum1` int(11) DEFAULT NULL,
  7244. `paycpnum2` int(11) DEFAULT NULL,
  7245. `paycpnum3` int(11) DEFAULT NULL,
  7246. `sharecpid1` int(11) DEFAULT NULL,
  7247. `sharecpid2` int(11) DEFAULT NULL,
  7248. `sharecpid3` int(11) DEFAULT NULL,
  7249. `sharecpnum1` int(11) DEFAULT NULL,
  7250. `sharecpnum2` int(11) DEFAULT NULL,
  7251. `sharecpnum3` int(11) DEFAULT NULL,
  7252. `status` int(11) NOT NULL DEFAULT '0',
  7253. `createtime` int(11) NOT NULL,
  7254. `order` int(11) DEFAULT NULL,
  7255. `enough` decimal(10,2) DEFAULT NULL,
  7256. `issync` int(11) NOT NULL,
  7257. PRIMARY KEY (`id`)
  7258. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7259. -- ----------------------------
  7260. -- Records of ims_ewei_shop_sendticket_share
  7261. -- ----------------------------
  7262. -- ----------------------------
  7263. -- Table structure for `ims_ewei_shop_sign_records`
  7264. -- ----------------------------
  7265. DROP TABLE IF EXISTS `ims_ewei_shop_sign_records`;
  7266. CREATE TABLE `ims_ewei_shop_sign_records` (
  7267. `id` int(11) NOT NULL AUTO_INCREMENT,
  7268. `uniacid` int(11) NOT NULL DEFAULT '0',
  7269. `time` int(11) NOT NULL DEFAULT '0',
  7270. `openid` varchar(50) NOT NULL DEFAULT '',
  7271. `credit` int(11) NOT NULL DEFAULT '0',
  7272. `log` varchar(255) DEFAULT '',
  7273. `type` tinyint(3) NOT NULL DEFAULT '0',
  7274. `day` int(11) NOT NULL DEFAULT '0',
  7275. PRIMARY KEY (`id`),
  7276. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  7277. KEY `idx_time` (`time`) USING BTREE,
  7278. KEY `idx_type` (`type`) USING BTREE,
  7279. KEY `idx_openid` (`openid`) USING BTREE
  7280. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7281. -- ----------------------------
  7282. -- Records of ims_ewei_shop_sign_records
  7283. -- ----------------------------
  7284. -- ----------------------------
  7285. -- Table structure for `ims_ewei_shop_sign_set`
  7286. -- ----------------------------
  7287. DROP TABLE IF EXISTS `ims_ewei_shop_sign_set`;
  7288. CREATE TABLE `ims_ewei_shop_sign_set` (
  7289. `id` int(11) NOT NULL AUTO_INCREMENT,
  7290. `uniacid` int(11) NOT NULL DEFAULT '0',
  7291. `iscenter` tinyint(3) NOT NULL DEFAULT '0',
  7292. `iscreditshop` tinyint(3) NOT NULL DEFAULT '0',
  7293. `keyword` varchar(255) NOT NULL DEFAULT '',
  7294. `title` varchar(255) NOT NULL DEFAULT '',
  7295. `thumb` varchar(255) NOT NULL DEFAULT '',
  7296. `desc` varchar(255) NOT NULL DEFAULT '',
  7297. `isopen` tinyint(3) NOT NULL DEFAULT '0',
  7298. `signold` tinyint(3) NOT NULL DEFAULT '0',
  7299. `signold_price` int(11) NOT NULL DEFAULT '0',
  7300. `signold_type` tinyint(3) NOT NULL DEFAULT '0',
  7301. `textsign` varchar(255) NOT NULL DEFAULT '',
  7302. `textsignold` varchar(255) NOT NULL DEFAULT '',
  7303. `textsigned` varchar(255) NOT NULL DEFAULT '',
  7304. `textsignforget` varchar(255) NOT NULL DEFAULT '',
  7305. `maincolor` varchar(20) NOT NULL DEFAULT '',
  7306. `cycle` tinyint(3) NOT NULL DEFAULT '0',
  7307. `reward_default_first` int(11) NOT NULL DEFAULT '0',
  7308. `reward_default_day` int(11) NOT NULL DEFAULT '0',
  7309. `reword_order` text NOT NULL,
  7310. `reword_sum` text NOT NULL,
  7311. `reword_special` text NOT NULL,
  7312. `sign_rule` text NOT NULL,
  7313. `share` tinyint(3) NOT NULL DEFAULT '0',
  7314. PRIMARY KEY (`id`)
  7315. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7316. -- ----------------------------
  7317. -- Records of ims_ewei_shop_sign_set
  7318. -- ----------------------------
  7319. -- ----------------------------
  7320. -- Table structure for `ims_ewei_shop_sign_user`
  7321. -- ----------------------------
  7322. DROP TABLE IF EXISTS `ims_ewei_shop_sign_user`;
  7323. CREATE TABLE `ims_ewei_shop_sign_user` (
  7324. `id` int(11) NOT NULL AUTO_INCREMENT,
  7325. `uniacid` int(11) NOT NULL DEFAULT '0',
  7326. `openid` varchar(255) NOT NULL DEFAULT '',
  7327. `order` int(11) NOT NULL DEFAULT '0',
  7328. `orderday` int(11) NOT NULL DEFAULT '0',
  7329. `sum` int(11) NOT NULL DEFAULT '0',
  7330. `signdate` varchar(10) DEFAULT '',
  7331. `isminiprogram` int(11) NOT NULL DEFAULT '0',
  7332. PRIMARY KEY (`id`)
  7333. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7334. -- ----------------------------
  7335. -- Records of ims_ewei_shop_sign_user
  7336. -- ----------------------------
  7337. -- ----------------------------
  7338. -- Table structure for `ims_ewei_shop_sms`
  7339. -- ----------------------------
  7340. DROP TABLE IF EXISTS `ims_ewei_shop_sms`;
  7341. CREATE TABLE `ims_ewei_shop_sms` (
  7342. `id` int(11) NOT NULL AUTO_INCREMENT,
  7343. `uniacid` int(11) NOT NULL DEFAULT '0',
  7344. `name` varchar(255) NOT NULL DEFAULT '',
  7345. `type` varchar(10) NOT NULL DEFAULT '',
  7346. `template` tinyint(3) NOT NULL DEFAULT '0',
  7347. `smstplid` varchar(255) NOT NULL DEFAULT '',
  7348. `smssign` varchar(255) NOT NULL DEFAULT '',
  7349. `content` varchar(100) NOT NULL DEFAULT '',
  7350. `data` text NOT NULL,
  7351. `status` tinyint(3) NOT NULL DEFAULT '0',
  7352. PRIMARY KEY (`id`)
  7353. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7354. -- ----------------------------
  7355. -- Records of ims_ewei_shop_sms
  7356. -- ----------------------------
  7357. -- ----------------------------
  7358. -- Table structure for `ims_ewei_shop_sms_set`
  7359. -- ----------------------------
  7360. DROP TABLE IF EXISTS `ims_ewei_shop_sms_set`;
  7361. CREATE TABLE `ims_ewei_shop_sms_set` (
  7362. `id` int(11) NOT NULL AUTO_INCREMENT,
  7363. `uniacid` int(11) NOT NULL DEFAULT '0',
  7364. `juhe` tinyint(3) NOT NULL DEFAULT '0',
  7365. `juhe_key` varchar(255) NOT NULL DEFAULT '',
  7366. `dayu` tinyint(3) NOT NULL DEFAULT '0',
  7367. `dayu_key` varchar(255) NOT NULL DEFAULT '',
  7368. `dayu_secret` varchar(255) NOT NULL DEFAULT '',
  7369. `emay` tinyint(3) NOT NULL DEFAULT '0',
  7370. `emay_url` varchar(255) NOT NULL DEFAULT '',
  7371. `emay_sn` varchar(255) NOT NULL DEFAULT '',
  7372. `emay_pw` varchar(255) NOT NULL DEFAULT '',
  7373. `emay_sk` varchar(255) NOT NULL DEFAULT '',
  7374. `emay_phost` varchar(255) NOT NULL DEFAULT '',
  7375. `emay_pport` int(11) NOT NULL DEFAULT '0',
  7376. `emay_puser` varchar(255) NOT NULL DEFAULT '',
  7377. `emay_ppw` varchar(255) NOT NULL DEFAULT '',
  7378. `emay_out` int(11) NOT NULL DEFAULT '0',
  7379. `emay_outresp` int(11) NOT NULL DEFAULT '30',
  7380. `emay_warn` decimal(10,2) NOT NULL DEFAULT '0.00',
  7381. `emay_mobile` varchar(11) NOT NULL DEFAULT '',
  7382. `emay_warn_time` int(11) NOT NULL DEFAULT '0',
  7383. `aliyun` tinyint(3) NOT NULL DEFAULT '0',
  7384. `aliyun_appcode` varchar(255) NOT NULL,
  7385. `aliyun_new` tinyint(3) NOT NULL DEFAULT '0',
  7386. `aliyun_new_keyid` varchar(255) NOT NULL DEFAULT '',
  7387. `aliyun_new_keysecret` varchar(255) NOT NULL DEFAULT '',
  7388. PRIMARY KEY (`id`)
  7389. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7390. -- ----------------------------
  7391. -- Records of ims_ewei_shop_sms_set
  7392. -- ----------------------------
  7393. -- ----------------------------
  7394. -- Table structure for `ims_ewei_shop_sns_adv`
  7395. -- ----------------------------
  7396. DROP TABLE IF EXISTS `ims_ewei_shop_sns_adv`;
  7397. CREATE TABLE `ims_ewei_shop_sns_adv` (
  7398. `id` int(11) NOT NULL AUTO_INCREMENT,
  7399. `uniacid` int(11) DEFAULT '0',
  7400. `advname` varchar(50) DEFAULT '',
  7401. `link` varchar(255) DEFAULT '',
  7402. `thumb` varchar(255) DEFAULT '',
  7403. `displayorder` int(11) DEFAULT '0',
  7404. `enabled` int(11) DEFAULT '0',
  7405. PRIMARY KEY (`id`),
  7406. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  7407. KEY `idx_enabled` (`enabled`) USING BTREE,
  7408. KEY `idx_displayorder` (`displayorder`) USING BTREE
  7409. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7410. -- ----------------------------
  7411. -- Records of ims_ewei_shop_sns_adv
  7412. -- ----------------------------
  7413. -- ----------------------------
  7414. -- Table structure for `ims_ewei_shop_sns_board`
  7415. -- ----------------------------
  7416. DROP TABLE IF EXISTS `ims_ewei_shop_sns_board`;
  7417. CREATE TABLE `ims_ewei_shop_sns_board` (
  7418. `id` int(11) NOT NULL AUTO_INCREMENT,
  7419. `uniacid` int(11) DEFAULT '0',
  7420. `cid` int(11) DEFAULT '0',
  7421. `title` varchar(50) DEFAULT '',
  7422. `logo` varchar(255) DEFAULT '',
  7423. `desc` varchar(255) DEFAULT '',
  7424. `displayorder` int(11) DEFAULT '0',
  7425. `enabled` int(11) DEFAULT '0',
  7426. `showgroups` text,
  7427. `showlevels` text,
  7428. `postgroups` text,
  7429. `postlevels` text,
  7430. `showagentlevels` text,
  7431. `postagentlevels` text,
  7432. `postcredit` int(11) DEFAULT '0',
  7433. `replycredit` int(11) DEFAULT '0',
  7434. `bestcredit` int(11) DEFAULT '0',
  7435. `bestboardcredit` int(11) DEFAULT '0',
  7436. `notagent` tinyint(3) DEFAULT '0',
  7437. `notagentpost` tinyint(3) DEFAULT '0',
  7438. `topcredit` int(11) DEFAULT '0',
  7439. `topboardcredit` int(11) DEFAULT '0',
  7440. `status` tinyint(3) DEFAULT '0',
  7441. `noimage` tinyint(3) DEFAULT '0',
  7442. `novoice` tinyint(3) DEFAULT '0',
  7443. `needfollow` tinyint(3) DEFAULT '0',
  7444. `needpostfollow` tinyint(3) DEFAULT '0',
  7445. `share_title` varchar(255) DEFAULT '',
  7446. `share_icon` varchar(255) DEFAULT '',
  7447. `share_desc` varchar(255) DEFAULT '',
  7448. `keyword` varchar(255) DEFAULT '',
  7449. `isrecommand` tinyint(3) DEFAULT '0',
  7450. `banner` varchar(255) DEFAULT '',
  7451. `needcheck` tinyint(3) DEFAULT '0',
  7452. `needcheckmanager` tinyint(3) DEFAULT '0',
  7453. `needcheckreply` int(11) DEFAULT '0',
  7454. `needcheckreplymanager` int(11) DEFAULT '0',
  7455. `showsnslevels` text,
  7456. `postsnslevels` text,
  7457. `showpartnerlevels` text,
  7458. `postpartnerlevels` text,
  7459. `notpartner` tinyint(3) DEFAULT '0',
  7460. `notpartnerpost` tinyint(3) DEFAULT '0',
  7461. PRIMARY KEY (`id`),
  7462. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  7463. KEY `idx_enabled` (`enabled`) USING BTREE,
  7464. KEY `idx_displayorder` (`displayorder`) USING BTREE,
  7465. KEY `idx_cid` (`cid`) USING BTREE
  7466. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7467. -- ----------------------------
  7468. -- Records of ims_ewei_shop_sns_board
  7469. -- ----------------------------
  7470. -- ----------------------------
  7471. -- Table structure for `ims_ewei_shop_sns_board_follow`
  7472. -- ----------------------------
  7473. DROP TABLE IF EXISTS `ims_ewei_shop_sns_board_follow`;
  7474. CREATE TABLE `ims_ewei_shop_sns_board_follow` (
  7475. `id` int(11) NOT NULL AUTO_INCREMENT,
  7476. `uniacid` int(11) DEFAULT '0',
  7477. `bid` int(11) DEFAULT '0',
  7478. `openid` varchar(255) DEFAULT NULL,
  7479. `createtime` int(11) DEFAULT '0',
  7480. PRIMARY KEY (`id`),
  7481. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  7482. KEY `idx_bid` (`bid`) USING BTREE
  7483. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7484. -- ----------------------------
  7485. -- Records of ims_ewei_shop_sns_board_follow
  7486. -- ----------------------------
  7487. -- ----------------------------
  7488. -- Table structure for `ims_ewei_shop_sns_category`
  7489. -- ----------------------------
  7490. DROP TABLE IF EXISTS `ims_ewei_shop_sns_category`;
  7491. CREATE TABLE `ims_ewei_shop_sns_category` (
  7492. `id` int(11) NOT NULL AUTO_INCREMENT,
  7493. `uniacid` int(11) DEFAULT '0',
  7494. `name` varchar(50) DEFAULT NULL,
  7495. `thumb` varchar(255) DEFAULT NULL,
  7496. `displayorder` tinyint(3) unsigned DEFAULT '0',
  7497. `enabled` tinyint(1) DEFAULT '1',
  7498. `advimg` varchar(255) DEFAULT '',
  7499. `advurl` varchar(500) DEFAULT '',
  7500. `isrecommand` tinyint(3) DEFAULT '0',
  7501. PRIMARY KEY (`id`),
  7502. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  7503. KEY `idx_enabled` (`enabled`) USING BTREE,
  7504. KEY `idx_isrecommand` (`isrecommand`) USING BTREE,
  7505. KEY `idx_displayorder` (`displayorder`) USING BTREE
  7506. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7507. -- ----------------------------
  7508. -- Records of ims_ewei_shop_sns_category
  7509. -- ----------------------------
  7510. -- ----------------------------
  7511. -- Table structure for `ims_ewei_shop_sns_complain`
  7512. -- ----------------------------
  7513. DROP TABLE IF EXISTS `ims_ewei_shop_sns_complain`;
  7514. CREATE TABLE `ims_ewei_shop_sns_complain` (
  7515. `id` int(11) NOT NULL AUTO_INCREMENT,
  7516. `uniacid` int(11) NOT NULL DEFAULT '0',
  7517. `type` tinyint(3) NOT NULL,
  7518. `postsid` int(11) NOT NULL DEFAULT '0',
  7519. `defendant` varchar(255) NOT NULL DEFAULT '0',
  7520. `complainant` varchar(255) NOT NULL DEFAULT '0',
  7521. `complaint_type` int(10) NOT NULL DEFAULT '0',
  7522. `complaint_text` text NOT NULL,
  7523. `images` text NOT NULL,
  7524. `createtime` int(11) NOT NULL DEFAULT '0',
  7525. `checkedtime` int(11) NOT NULL DEFAULT '0',
  7526. `checked` tinyint(3) NOT NULL DEFAULT '0',
  7527. `checked_note` varchar(255) NOT NULL,
  7528. `deleted` tinyint(3) NOT NULL DEFAULT '0',
  7529. PRIMARY KEY (`id`)
  7530. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7531. -- ----------------------------
  7532. -- Records of ims_ewei_shop_sns_complain
  7533. -- ----------------------------
  7534. -- ----------------------------
  7535. -- Table structure for `ims_ewei_shop_sns_complaincate`
  7536. -- ----------------------------
  7537. DROP TABLE IF EXISTS `ims_ewei_shop_sns_complaincate`;
  7538. CREATE TABLE `ims_ewei_shop_sns_complaincate` (
  7539. `id` int(11) NOT NULL AUTO_INCREMENT,
  7540. `uniacid` int(11) NOT NULL,
  7541. `name` varchar(255) NOT NULL,
  7542. `status` tinyint(3) NOT NULL DEFAULT '0',
  7543. `displayorder` int(11) NOT NULL DEFAULT '0',
  7544. PRIMARY KEY (`id`)
  7545. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7546. -- ----------------------------
  7547. -- Records of ims_ewei_shop_sns_complaincate
  7548. -- ----------------------------
  7549. -- ----------------------------
  7550. -- Table structure for `ims_ewei_shop_sns_level`
  7551. -- ----------------------------
  7552. DROP TABLE IF EXISTS `ims_ewei_shop_sns_level`;
  7553. CREATE TABLE `ims_ewei_shop_sns_level` (
  7554. `id` int(11) NOT NULL AUTO_INCREMENT,
  7555. `uniacid` int(11) DEFAULT '0',
  7556. `levelname` varchar(255) DEFAULT '',
  7557. `credit` int(11) DEFAULT '0',
  7558. `enabled` tinyint(3) DEFAULT '0',
  7559. `post` int(11) DEFAULT '0',
  7560. `color` varchar(255) DEFAULT '',
  7561. `bg` varchar(255) DEFAULT '',
  7562. PRIMARY KEY (`id`),
  7563. KEY `idx_enabled` (`enabled`) USING BTREE
  7564. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7565. -- ----------------------------
  7566. -- Records of ims_ewei_shop_sns_level
  7567. -- ----------------------------
  7568. -- ----------------------------
  7569. -- Table structure for `ims_ewei_shop_sns_like`
  7570. -- ----------------------------
  7571. DROP TABLE IF EXISTS `ims_ewei_shop_sns_like`;
  7572. CREATE TABLE `ims_ewei_shop_sns_like` (
  7573. `id` int(11) NOT NULL AUTO_INCREMENT,
  7574. `uniacid` int(11) DEFAULT '0',
  7575. `openid` varchar(255) DEFAULT '',
  7576. `pid` int(11) DEFAULT '0',
  7577. PRIMARY KEY (`id`),
  7578. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  7579. KEY `idx_pid` (`pid`) USING BTREE
  7580. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7581. -- ----------------------------
  7582. -- Records of ims_ewei_shop_sns_like
  7583. -- ----------------------------
  7584. -- ----------------------------
  7585. -- Table structure for `ims_ewei_shop_sns_manage`
  7586. -- ----------------------------
  7587. DROP TABLE IF EXISTS `ims_ewei_shop_sns_manage`;
  7588. CREATE TABLE `ims_ewei_shop_sns_manage` (
  7589. `id` int(11) NOT NULL AUTO_INCREMENT,
  7590. `uniacid` int(11) DEFAULT '0',
  7591. `bid` int(11) DEFAULT '0',
  7592. `openid` varchar(255) DEFAULT '',
  7593. `enabled` tinyint(3) DEFAULT '0',
  7594. PRIMARY KEY (`id`),
  7595. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  7596. KEY `idx_bid` (`bid`) USING BTREE
  7597. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7598. -- ----------------------------
  7599. -- Records of ims_ewei_shop_sns_manage
  7600. -- ----------------------------
  7601. -- ----------------------------
  7602. -- Table structure for `ims_ewei_shop_sns_member`
  7603. -- ----------------------------
  7604. DROP TABLE IF EXISTS `ims_ewei_shop_sns_member`;
  7605. CREATE TABLE `ims_ewei_shop_sns_member` (
  7606. `id` int(11) NOT NULL AUTO_INCREMENT,
  7607. `uniacid` int(11) DEFAULT '0',
  7608. `openid` varchar(255) DEFAULT NULL,
  7609. `level` int(11) DEFAULT '0',
  7610. `createtime` int(11) DEFAULT '0',
  7611. `credit` int(11) DEFAULT '0',
  7612. `sign` varchar(255) DEFAULT '',
  7613. `isblack` tinyint(3) DEFAULT '0',
  7614. `notupgrade` tinyint(3) DEFAULT '0',
  7615. PRIMARY KEY (`id`)
  7616. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7617. -- ----------------------------
  7618. -- Records of ims_ewei_shop_sns_member
  7619. -- ----------------------------
  7620. -- ----------------------------
  7621. -- Table structure for `ims_ewei_shop_sns_post`
  7622. -- ----------------------------
  7623. DROP TABLE IF EXISTS `ims_ewei_shop_sns_post`;
  7624. CREATE TABLE `ims_ewei_shop_sns_post` (
  7625. `id` int(11) NOT NULL AUTO_INCREMENT,
  7626. `uniacid` int(11) DEFAULT '0',
  7627. `bid` int(11) DEFAULT '0',
  7628. `pid` int(11) DEFAULT '0',
  7629. `rpid` int(11) DEFAULT '0',
  7630. `openid` varchar(255) DEFAULT '',
  7631. `avatar` varchar(255) DEFAULT '',
  7632. `nickname` varchar(255) DEFAULT '',
  7633. `title` varchar(50) DEFAULT '',
  7634. `content` text,
  7635. `images` text,
  7636. `voice` varchar(255) DEFAULT NULL,
  7637. `createtime` int(11) DEFAULT '0',
  7638. `replytime` int(11) DEFAULT '0',
  7639. `credit` int(11) DEFAULT '0',
  7640. `views` int(11) DEFAULT '0',
  7641. `islock` tinyint(1) DEFAULT '0',
  7642. `istop` tinyint(1) DEFAULT '0',
  7643. `isboardtop` tinyint(1) DEFAULT '0',
  7644. `isbest` tinyint(1) DEFAULT '0',
  7645. `isboardbest` tinyint(3) DEFAULT '0',
  7646. `deleted` tinyint(3) DEFAULT '0',
  7647. `deletedtime` int(11) DEFAULT '0',
  7648. `checked` tinyint(3) DEFAULT NULL,
  7649. `checktime` int(11) DEFAULT '0',
  7650. `isadmin` tinyint(3) NOT NULL DEFAULT '0',
  7651. PRIMARY KEY (`id`),
  7652. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  7653. KEY `idx_bid` (`bid`) USING BTREE,
  7654. KEY `idx_pid` (`pid`) USING BTREE,
  7655. KEY `idx_createtime` (`createtime`) USING BTREE,
  7656. KEY `idx_islock` (`islock`) USING BTREE,
  7657. KEY `idx_istop` (`istop`) USING BTREE,
  7658. KEY `idx_isboardtop` (`isboardtop`) USING BTREE,
  7659. KEY `idx_isbest` (`isbest`) USING BTREE,
  7660. KEY `idx_deleted` (`deleted`) USING BTREE,
  7661. KEY `idx_deletetime` (`deletedtime`) USING BTREE,
  7662. KEY `idx_checked` (`checked`) USING BTREE,
  7663. KEY `idx_rpid` (`rpid`) USING BTREE
  7664. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7665. -- ----------------------------
  7666. -- Records of ims_ewei_shop_sns_post
  7667. -- ----------------------------
  7668. -- ----------------------------
  7669. -- Table structure for `ims_ewei_shop_store`
  7670. -- ----------------------------
  7671. DROP TABLE IF EXISTS `ims_ewei_shop_store`;
  7672. CREATE TABLE `ims_ewei_shop_store` (
  7673. `id` int(11) NOT NULL AUTO_INCREMENT,
  7674. `uniacid` int(11) DEFAULT '0',
  7675. `storename` varchar(255) DEFAULT '',
  7676. `address` varchar(255) DEFAULT '',
  7677. `tel` varchar(255) DEFAULT '',
  7678. `lat` varchar(255) DEFAULT '',
  7679. `lng` varchar(255) DEFAULT '',
  7680. `status` tinyint(3) DEFAULT '0',
  7681. `type` tinyint(1) DEFAULT '0',
  7682. `realname` varchar(255) DEFAULT '',
  7683. `mobile` varchar(255) DEFAULT '',
  7684. `fetchtime` varchar(255) DEFAULT '',
  7685. `logo` varchar(255) DEFAULT '',
  7686. `saletime` varchar(255) DEFAULT '',
  7687. `desc` text,
  7688. `displayorder` int(11) DEFAULT '0',
  7689. `order_printer` varchar(500) DEFAULT '',
  7690. `order_template` int(11) DEFAULT '0',
  7691. `ordertype` varchar(500) DEFAULT '',
  7692. `banner` text,
  7693. `label` varchar(255) DEFAULT NULL,
  7694. `tag` varchar(255) DEFAULT NULL,
  7695. `classify` tinyint(1) DEFAULT NULL,
  7696. `perms` text,
  7697. `citycode` varchar(20) DEFAULT '',
  7698. `opensend` tinyint(3) NOT NULL DEFAULT '0',
  7699. `province` varchar(30) NOT NULL DEFAULT '',
  7700. `city` varchar(30) NOT NULL DEFAULT '',
  7701. `area` varchar(30) NOT NULL DEFAULT '',
  7702. `provincecode` varchar(30) NOT NULL DEFAULT '',
  7703. `areacode` varchar(30) NOT NULL DEFAULT '',
  7704. `diypage` int(11) NOT NULL DEFAULT '0',
  7705. `diypage_ispage` tinyint(3) NOT NULL DEFAULT '0',
  7706. `diypage_list` text,
  7707. `storegroupid` int(11) DEFAULT NULL,
  7708. `cates` text,
  7709. PRIMARY KEY (`id`),
  7710. KEY `idx_uniacid` (`uniacid`),
  7711. KEY `idx_status` (`status`)
  7712. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7713. -- ----------------------------
  7714. -- Records of ims_ewei_shop_store
  7715. -- ----------------------------
  7716. -- ----------------------------
  7717. -- Table structure for `ims_ewei_shop_supplier_apply`
  7718. -- ----------------------------
  7719. DROP TABLE IF EXISTS `ims_ewei_shop_supplier_apply`;
  7720. CREATE TABLE `ims_ewei_shop_supplier_apply` (
  7721. `id` int(11) NOT NULL AUTO_INCREMENT,
  7722. `uid` int(11) NOT NULL,
  7723. `uniacid` int(11) NOT NULL,
  7724. `type` int(11) NOT NULL,
  7725. `applysn` varchar(255) NOT NULL,
  7726. `apply_money` int(11) NOT NULL,
  7727. `apply_time` int(11) NOT NULL,
  7728. `status` tinyint(3) NOT NULL,
  7729. `finish_time` int(11) NOT NULL,
  7730. PRIMARY KEY (`id`)
  7731. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7732. -- ----------------------------
  7733. -- Records of ims_ewei_shop_supplier_apply
  7734. -- ----------------------------
  7735. -- ----------------------------
  7736. -- Table structure for `ims_ewei_shop_sysset`
  7737. -- ----------------------------
  7738. DROP TABLE IF EXISTS `ims_ewei_shop_sysset`;
  7739. CREATE TABLE `ims_ewei_shop_sysset` (
  7740. `id` int(11) NOT NULL AUTO_INCREMENT,
  7741. `uniacid` int(11) DEFAULT '0',
  7742. `sets` longtext,
  7743. `plugins` longtext,
  7744. `sec` text,
  7745. PRIMARY KEY (`id`),
  7746. KEY `idx_uniacid` (`uniacid`) USING BTREE
  7747. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7748. -- ----------------------------
  7749. -- Records of ims_ewei_shop_sysset
  7750. -- ----------------------------
  7751. -- ----------------------------
  7752. -- Table structure for `ims_ewei_shop_system_adv`
  7753. -- ----------------------------
  7754. DROP TABLE IF EXISTS `ims_ewei_shop_system_adv`;
  7755. CREATE TABLE `ims_ewei_shop_system_adv` (
  7756. `id` int(11) NOT NULL AUTO_INCREMENT,
  7757. `title` varchar(255) DEFAULT '',
  7758. `thumb` varchar(255) DEFAULT '',
  7759. `url` varchar(255) DEFAULT '',
  7760. `createtime` int(11) DEFAULT '0',
  7761. `displayorder` int(11) DEFAULT '0',
  7762. `module` varchar(255) DEFAULT '',
  7763. `status` tinyint(3) DEFAULT '0',
  7764. PRIMARY KEY (`id`)
  7765. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7766. -- ----------------------------
  7767. -- Records of ims_ewei_shop_system_adv
  7768. -- ----------------------------
  7769. -- ----------------------------
  7770. -- Table structure for `ims_ewei_shop_system_article`
  7771. -- ----------------------------
  7772. DROP TABLE IF EXISTS `ims_ewei_shop_system_article`;
  7773. CREATE TABLE `ims_ewei_shop_system_article` (
  7774. `id` int(11) NOT NULL AUTO_INCREMENT,
  7775. `title` varchar(255) DEFAULT '',
  7776. `author` varchar(255) DEFAULT '',
  7777. `thumb` varchar(255) DEFAULT '',
  7778. `content` text,
  7779. `createtime` int(11) DEFAULT '0',
  7780. `displayorder` int(11) DEFAULT '0',
  7781. `cate` int(11) DEFAULT '0',
  7782. `status` tinyint(3) DEFAULT '0',
  7783. PRIMARY KEY (`id`)
  7784. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7785. -- ----------------------------
  7786. -- Records of ims_ewei_shop_system_article
  7787. -- ----------------------------
  7788. -- ----------------------------
  7789. -- Table structure for `ims_ewei_shop_system_banner`
  7790. -- ----------------------------
  7791. DROP TABLE IF EXISTS `ims_ewei_shop_system_banner`;
  7792. CREATE TABLE `ims_ewei_shop_system_banner` (
  7793. `id` int(11) NOT NULL AUTO_INCREMENT,
  7794. `title` varchar(255) DEFAULT '',
  7795. `thumb` varchar(255) DEFAULT '',
  7796. `url` varchar(255) DEFAULT '',
  7797. `createtime` int(11) DEFAULT '0',
  7798. `displayorder` int(11) DEFAULT '0',
  7799. `status` tinyint(3) DEFAULT '0',
  7800. `background` varchar(10) DEFAULT '',
  7801. PRIMARY KEY (`id`)
  7802. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7803. -- ----------------------------
  7804. -- Records of ims_ewei_shop_system_banner
  7805. -- ----------------------------
  7806. -- ----------------------------
  7807. -- Table structure for `ims_ewei_shop_system_case`
  7808. -- ----------------------------
  7809. DROP TABLE IF EXISTS `ims_ewei_shop_system_case`;
  7810. CREATE TABLE `ims_ewei_shop_system_case` (
  7811. `id` int(11) NOT NULL AUTO_INCREMENT,
  7812. `title` varchar(255) DEFAULT '',
  7813. `thumb` varchar(255) DEFAULT '',
  7814. `qr` varchar(255) DEFAULT '',
  7815. `displayorder` int(11) DEFAULT '0',
  7816. `status` tinyint(3) DEFAULT '0',
  7817. `cate` int(11) DEFAULT '0',
  7818. `description` varchar(255) DEFAULT '0',
  7819. PRIMARY KEY (`id`)
  7820. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7821. -- ----------------------------
  7822. -- Records of ims_ewei_shop_system_case
  7823. -- ----------------------------
  7824. -- ----------------------------
  7825. -- Table structure for `ims_ewei_shop_system_casecategory`
  7826. -- ----------------------------
  7827. DROP TABLE IF EXISTS `ims_ewei_shop_system_casecategory`;
  7828. CREATE TABLE `ims_ewei_shop_system_casecategory` (
  7829. `id` int(11) NOT NULL AUTO_INCREMENT,
  7830. `name` varchar(255) DEFAULT '',
  7831. `displayorder` int(11) DEFAULT '0',
  7832. `status` int(11) DEFAULT '0',
  7833. PRIMARY KEY (`id`)
  7834. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7835. -- ----------------------------
  7836. -- Records of ims_ewei_shop_system_casecategory
  7837. -- ----------------------------
  7838. -- ----------------------------
  7839. -- Table structure for `ims_ewei_shop_system_category`
  7840. -- ----------------------------
  7841. DROP TABLE IF EXISTS `ims_ewei_shop_system_category`;
  7842. CREATE TABLE `ims_ewei_shop_system_category` (
  7843. `id` int(11) NOT NULL AUTO_INCREMENT,
  7844. `name` varchar(255) DEFAULT '',
  7845. `displayorder` int(11) DEFAULT '0',
  7846. `status` int(11) DEFAULT '0',
  7847. PRIMARY KEY (`id`)
  7848. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7849. -- ----------------------------
  7850. -- Records of ims_ewei_shop_system_category
  7851. -- ----------------------------
  7852. -- ----------------------------
  7853. -- Table structure for `ims_ewei_shop_system_company_article`
  7854. -- ----------------------------
  7855. DROP TABLE IF EXISTS `ims_ewei_shop_system_company_article`;
  7856. CREATE TABLE `ims_ewei_shop_system_company_article` (
  7857. `id` int(11) NOT NULL AUTO_INCREMENT,
  7858. `title` varchar(255) DEFAULT '',
  7859. `author` varchar(255) DEFAULT '',
  7860. `thumb` varchar(255) DEFAULT '',
  7861. `content` text,
  7862. `createtime` int(11) DEFAULT '0',
  7863. `displayorder` int(11) DEFAULT '0',
  7864. `cate` int(11) DEFAULT '0',
  7865. `status` tinyint(3) DEFAULT '0',
  7866. PRIMARY KEY (`id`)
  7867. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7868. -- ----------------------------
  7869. -- Records of ims_ewei_shop_system_company_article
  7870. -- ----------------------------
  7871. -- ----------------------------
  7872. -- Table structure for `ims_ewei_shop_system_company_category`
  7873. -- ----------------------------
  7874. DROP TABLE IF EXISTS `ims_ewei_shop_system_company_category`;
  7875. CREATE TABLE `ims_ewei_shop_system_company_category` (
  7876. `id` int(11) NOT NULL AUTO_INCREMENT,
  7877. `name` varchar(255) DEFAULT '',
  7878. `displayorder` int(11) DEFAULT '0',
  7879. `status` int(11) DEFAULT '0',
  7880. PRIMARY KEY (`id`)
  7881. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7882. -- ----------------------------
  7883. -- Records of ims_ewei_shop_system_company_category
  7884. -- ----------------------------
  7885. -- ----------------------------
  7886. -- Table structure for `ims_ewei_shop_system_copyright`
  7887. -- ----------------------------
  7888. DROP TABLE IF EXISTS `ims_ewei_shop_system_copyright`;
  7889. CREATE TABLE `ims_ewei_shop_system_copyright` (
  7890. `id` int(11) NOT NULL AUTO_INCREMENT,
  7891. `uniacid` int(11) DEFAULT NULL,
  7892. `copyright` text,
  7893. `bgcolor` varchar(255) DEFAULT '',
  7894. `ismanage` tinyint(3) DEFAULT '0',
  7895. `logo` varchar(255) DEFAULT '',
  7896. `title` varchar(255) DEFAULT '',
  7897. PRIMARY KEY (`id`),
  7898. KEY `idx_uniacid` (`uniacid`)
  7899. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7900. -- ----------------------------
  7901. -- Records of ims_ewei_shop_system_copyright
  7902. -- ----------------------------
  7903. -- ----------------------------
  7904. -- Table structure for `ims_ewei_shop_system_copyright_notice`
  7905. -- ----------------------------
  7906. DROP TABLE IF EXISTS `ims_ewei_shop_system_copyright_notice`;
  7907. CREATE TABLE `ims_ewei_shop_system_copyright_notice` (
  7908. `id` int(11) NOT NULL AUTO_INCREMENT,
  7909. `title` varchar(255) DEFAULT '',
  7910. `author` varchar(255) DEFAULT '',
  7911. `content` text,
  7912. `createtime` int(11) DEFAULT '0',
  7913. `displayorder` int(11) DEFAULT '0',
  7914. `status` tinyint(3) DEFAULT '0',
  7915. PRIMARY KEY (`id`)
  7916. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7917. -- ----------------------------
  7918. -- Records of ims_ewei_shop_system_copyright_notice
  7919. -- ----------------------------
  7920. -- ----------------------------
  7921. -- Table structure for `ims_ewei_shop_system_guestbook`
  7922. -- ----------------------------
  7923. DROP TABLE IF EXISTS `ims_ewei_shop_system_guestbook`;
  7924. CREATE TABLE `ims_ewei_shop_system_guestbook` (
  7925. `id` int(11) NOT NULL AUTO_INCREMENT,
  7926. `title` varchar(255) NOT NULL DEFAULT '',
  7927. `content` varchar(255) NOT NULL DEFAULT '',
  7928. `nickname` varchar(255) NOT NULL DEFAULT '',
  7929. `createtime` int(11) DEFAULT NULL,
  7930. `email` varchar(255) NOT NULL DEFAULT '',
  7931. `clientip` varchar(64) NOT NULL DEFAULT '',
  7932. `mobile` varchar(11) NOT NULL DEFAULT '',
  7933. PRIMARY KEY (`id`)
  7934. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7935. -- ----------------------------
  7936. -- Records of ims_ewei_shop_system_guestbook
  7937. -- ----------------------------
  7938. -- ----------------------------
  7939. -- Table structure for `ims_ewei_shop_system_link`
  7940. -- ----------------------------
  7941. DROP TABLE IF EXISTS `ims_ewei_shop_system_link`;
  7942. CREATE TABLE `ims_ewei_shop_system_link` (
  7943. `id` int(11) NOT NULL AUTO_INCREMENT,
  7944. `name` varchar(255) NOT NULL DEFAULT '',
  7945. `url` varchar(255) NOT NULL DEFAULT '',
  7946. `thumb` varchar(255) NOT NULL DEFAULT '',
  7947. `displayorder` int(11) DEFAULT NULL,
  7948. `status` tinyint(3) DEFAULT NULL,
  7949. PRIMARY KEY (`id`)
  7950. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  7951. -- ----------------------------
  7952. -- Records of ims_ewei_shop_system_link
  7953. -- ----------------------------
  7954. -- ----------------------------
  7955. -- Table structure for `ims_ewei_shop_system_plugingrant_adv`
  7956. -- ----------------------------
  7957. DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_adv`;
  7958. CREATE TABLE `ims_ewei_shop_system_plugingrant_adv` (
  7959. `id` int(11) NOT NULL AUTO_INCREMENT,
  7960. `advname` varchar(50) DEFAULT '',
  7961. `link` varchar(255) DEFAULT '',
  7962. `thumb` varchar(255) DEFAULT '',
  7963. `displayorder` int(11) DEFAULT '0',
  7964. `enabled` int(11) DEFAULT '0',
  7965. PRIMARY KEY (`id`),
  7966. KEY `idx_enabled` (`enabled`) USING BTREE,
  7967. KEY `idx_displayorder` (`displayorder`) USING BTREE
  7968. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7969. -- ----------------------------
  7970. -- Records of ims_ewei_shop_system_plugingrant_adv
  7971. -- ----------------------------
  7972. -- ----------------------------
  7973. -- Table structure for `ims_ewei_shop_system_plugingrant_log`
  7974. -- ----------------------------
  7975. DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_log`;
  7976. CREATE TABLE `ims_ewei_shop_system_plugingrant_log` (
  7977. `id` int(11) NOT NULL AUTO_INCREMENT,
  7978. `logno` varchar(50) DEFAULT NULL,
  7979. `code` varchar(255) DEFAULT NULL,
  7980. `uniacid` int(11) NOT NULL DEFAULT '0',
  7981. `pluginid` int(11) NOT NULL DEFAULT '0',
  7982. `identity` varchar(50) DEFAULT NULL,
  7983. `type` varchar(255) DEFAULT NULL,
  7984. `month` int(10) NOT NULL DEFAULT '0',
  7985. `permendtime` int(10) NOT NULL DEFAULT '0',
  7986. `permlasttime` int(10) NOT NULL DEFAULT '0',
  7987. `isperm` tinyint(3) NOT NULL DEFAULT '0',
  7988. `createtime` int(10) NOT NULL DEFAULT '0',
  7989. `deleted` tinyint(3) NOT NULL DEFAULT '0',
  7990. PRIMARY KEY (`id`)
  7991. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  7992. -- ----------------------------
  7993. -- Records of ims_ewei_shop_system_plugingrant_log
  7994. -- ----------------------------
  7995. -- ----------------------------
  7996. -- Table structure for `ims_ewei_shop_system_plugingrant_order`
  7997. -- ----------------------------
  7998. DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_order`;
  7999. CREATE TABLE `ims_ewei_shop_system_plugingrant_order` (
  8000. `id` int(11) NOT NULL AUTO_INCREMENT,
  8001. `logno` varchar(50) DEFAULT NULL,
  8002. `code` varchar(255) DEFAULT NULL,
  8003. `uniacid` int(11) NOT NULL DEFAULT '0',
  8004. `username` varchar(255) DEFAULT NULL,
  8005. `pluginid` varchar(255) DEFAULT NULL,
  8006. `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  8007. `month` int(11) NOT NULL DEFAULT '0',
  8008. `createtime` int(10) NOT NULL DEFAULT '0',
  8009. `paystatus` tinyint(3) NOT NULL DEFAULT '0',
  8010. `paytime` int(10) NOT NULL DEFAULT '0',
  8011. `paytype` tinyint(3) NOT NULL DEFAULT '0',
  8012. PRIMARY KEY (`id`)
  8013. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8014. -- ----------------------------
  8015. -- Records of ims_ewei_shop_system_plugingrant_order
  8016. -- ----------------------------
  8017. -- ----------------------------
  8018. -- Table structure for `ims_ewei_shop_system_plugingrant_package`
  8019. -- ----------------------------
  8020. DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_package`;
  8021. CREATE TABLE `ims_ewei_shop_system_plugingrant_package` (
  8022. `id` int(11) NOT NULL AUTO_INCREMENT,
  8023. `pluginid` varchar(255) NOT NULL DEFAULT '',
  8024. `text` varchar(255) DEFAULT NULL,
  8025. `thumb` varchar(1000) DEFAULT NULL,
  8026. `data` text NOT NULL,
  8027. `state` tinyint(3) NOT NULL DEFAULT '0',
  8028. `rec` tinyint(3) NOT NULL DEFAULT '0',
  8029. `desc` varchar(255) DEFAULT NULL,
  8030. `content` text NOT NULL,
  8031. `displayorder` int(11) NOT NULL DEFAULT '0',
  8032. PRIMARY KEY (`id`)
  8033. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8034. -- ----------------------------
  8035. -- Records of ims_ewei_shop_system_plugingrant_package
  8036. -- ----------------------------
  8037. -- ----------------------------
  8038. -- Table structure for `ims_ewei_shop_system_plugingrant_plugin`
  8039. -- ----------------------------
  8040. DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_plugin`;
  8041. CREATE TABLE `ims_ewei_shop_system_plugingrant_plugin` (
  8042. `id` int(11) NOT NULL AUTO_INCREMENT,
  8043. `pluginid` int(11) NOT NULL DEFAULT '0',
  8044. `thumb` varchar(1000) NOT NULL,
  8045. `data` text,
  8046. `state` tinyint(3) NOT NULL DEFAULT '0',
  8047. `content` text NOT NULL,
  8048. `sales` int(11) NOT NULL DEFAULT '0',
  8049. `createtime` int(10) NOT NULL DEFAULT '0',
  8050. `displayorder` int(11) NOT NULL DEFAULT '0',
  8051. `plugintype` tinyint(3) NOT NULL DEFAULT '0',
  8052. `name` varchar(255) DEFAULT NULL,
  8053. PRIMARY KEY (`id`)
  8054. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8055. -- ----------------------------
  8056. -- Records of ims_ewei_shop_system_plugingrant_plugin
  8057. -- ----------------------------
  8058. -- ----------------------------
  8059. -- Table structure for `ims_ewei_shop_system_plugingrant_setting`
  8060. -- ----------------------------
  8061. DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_setting`;
  8062. CREATE TABLE `ims_ewei_shop_system_plugingrant_setting` (
  8063. `id` int(11) NOT NULL AUTO_INCREMENT,
  8064. `com` varchar(1000) NOT NULL DEFAULT '',
  8065. `adv` varchar(1000) NOT NULL,
  8066. `plugin` varchar(1000) NOT NULL,
  8067. `customer` varchar(50) NOT NULL DEFAULT '0',
  8068. `contact` text NOT NULL,
  8069. `servertime` varchar(255) DEFAULT NULL,
  8070. `weixin` tinyint(3) NOT NULL DEFAULT '0',
  8071. `appid` varchar(255) DEFAULT NULL,
  8072. `mchid` varchar(255) DEFAULT NULL,
  8073. `apikey` varchar(255) DEFAULT NULL,
  8074. `alipay` tinyint(3) NOT NULL,
  8075. `account` varchar(255) DEFAULT NULL,
  8076. `partner` varchar(255) DEFAULT NULL,
  8077. `secret` varchar(255) DEFAULT NULL,
  8078. PRIMARY KEY (`id`)
  8079. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8080. -- ----------------------------
  8081. -- Records of ims_ewei_shop_system_plugingrant_setting
  8082. -- ----------------------------
  8083. -- ----------------------------
  8084. -- Table structure for `ims_ewei_shop_system_setting`
  8085. -- ----------------------------
  8086. DROP TABLE IF EXISTS `ims_ewei_shop_system_setting`;
  8087. CREATE TABLE `ims_ewei_shop_system_setting` (
  8088. `id` int(11) NOT NULL AUTO_INCREMENT,
  8089. `uniacid` int(10) DEFAULT NULL,
  8090. `background` varchar(10) DEFAULT '',
  8091. `casebanner` varchar(255) DEFAULT '',
  8092. `contact` text,
  8093. PRIMARY KEY (`id`)
  8094. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  8095. -- ----------------------------
  8096. -- Records of ims_ewei_shop_system_setting
  8097. -- ----------------------------
  8098. -- ----------------------------
  8099. -- Table structure for `ims_ewei_shop_system_site`
  8100. -- ----------------------------
  8101. DROP TABLE IF EXISTS `ims_ewei_shop_system_site`;
  8102. CREATE TABLE `ims_ewei_shop_system_site` (
  8103. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  8104. `type` varchar(32) NOT NULL DEFAULT '',
  8105. `content` text,
  8106. PRIMARY KEY (`id`)
  8107. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  8108. -- ----------------------------
  8109. -- Records of ims_ewei_shop_system_site
  8110. -- ----------------------------
  8111. -- ----------------------------
  8112. -- Table structure for `ims_ewei_shop_task`
  8113. -- ----------------------------
  8114. DROP TABLE IF EXISTS `ims_ewei_shop_task`;
  8115. CREATE TABLE `ims_ewei_shop_task` (
  8116. `id` int(11) NOT NULL AUTO_INCREMENT,
  8117. `uniacid` int(11) NOT NULL,
  8118. `title` varchar(255) NOT NULL DEFAULT '',
  8119. `type` int(11) NOT NULL,
  8120. `starttime` int(11) NOT NULL,
  8121. `endtime` int(11) NOT NULL,
  8122. `dotime` int(11) NOT NULL DEFAULT '0',
  8123. `donetime` int(11) NOT NULL DEFAULT '0',
  8124. `timelimit` float(11,1) NOT NULL,
  8125. `keyword` varchar(255) NOT NULL DEFAULT '',
  8126. `status` tinyint(1) NOT NULL DEFAULT '0',
  8127. `explain` text,
  8128. `require_data` text NOT NULL,
  8129. `reward_data` text NOT NULL,
  8130. `period` int(11) NOT NULL DEFAULT '0',
  8131. `repeat` int(11) NOT NULL DEFAULT '0',
  8132. `maxtimes` int(11) NOT NULL DEFAULT '0',
  8133. `everyhours` float(11,1) NOT NULL DEFAULT '0.0',
  8134. `logo` varchar(255) NOT NULL DEFAULT '',
  8135. PRIMARY KEY (`id`),
  8136. KEY `uniacid` (`uniacid`)
  8137. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8138. -- ----------------------------
  8139. -- Records of ims_ewei_shop_task
  8140. -- ----------------------------
  8141. -- ----------------------------
  8142. -- Table structure for `ims_ewei_shop_task_adv`
  8143. -- ----------------------------
  8144. DROP TABLE IF EXISTS `ims_ewei_shop_task_adv`;
  8145. CREATE TABLE `ims_ewei_shop_task_adv` (
  8146. `id` int(11) NOT NULL AUTO_INCREMENT,
  8147. `uniacid` int(11) DEFAULT '0',
  8148. `advname` varchar(50) DEFAULT '',
  8149. `link` varchar(255) DEFAULT '',
  8150. `thumb` varchar(255) DEFAULT '',
  8151. `displayorder` int(11) DEFAULT '0',
  8152. `enabled` int(11) DEFAULT '0',
  8153. PRIMARY KEY (`id`)
  8154. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  8155. -- ----------------------------
  8156. -- Records of ims_ewei_shop_task_adv
  8157. -- ----------------------------
  8158. -- ----------------------------
  8159. -- Table structure for `ims_ewei_shop_task_default`
  8160. -- ----------------------------
  8161. DROP TABLE IF EXISTS `ims_ewei_shop_task_default`;
  8162. CREATE TABLE `ims_ewei_shop_task_default` (
  8163. `id` int(11) NOT NULL AUTO_INCREMENT,
  8164. `uniacid` int(11) NOT NULL DEFAULT '0',
  8165. `data` text,
  8166. `addtime` int(11) NOT NULL DEFAULT '0',
  8167. `bgimg` varchar(255) NOT NULL DEFAULT '',
  8168. `open` tinyint(1) NOT NULL DEFAULT '0',
  8169. PRIMARY KEY (`id`)
  8170. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  8171. -- ----------------------------
  8172. -- Records of ims_ewei_shop_task_default
  8173. -- ----------------------------
  8174. -- ----------------------------
  8175. -- Table structure for `ims_ewei_shop_task_extension`
  8176. -- ----------------------------
  8177. DROP TABLE IF EXISTS `ims_ewei_shop_task_extension`;
  8178. CREATE TABLE `ims_ewei_shop_task_extension` (
  8179. `id` int(11) NOT NULL AUTO_INCREMENT,
  8180. `taskname` varchar(255) NOT NULL DEFAULT '',
  8181. `taskclass` varchar(25) NOT NULL DEFAULT '',
  8182. `status` tinyint(1) NOT NULL DEFAULT '0',
  8183. `classify` varchar(255) NOT NULL DEFAULT '',
  8184. `classify_name` varchar(255) NOT NULL DEFAULT '',
  8185. `verb` varchar(255) NOT NULL DEFAULT '',
  8186. `unit` varchar(255) NOT NULL DEFAULT '',
  8187. PRIMARY KEY (`id`)
  8188. ) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8;
  8189. -- ----------------------------
  8190. -- Records of ims_ewei_shop_task_extension
  8191. -- ----------------------------
  8192. INSERT INTO `ims_ewei_shop_task_extension` VALUES ('1', '推荐人数', 'commission_member', '1', 'number', 'commission', '推荐', '人');
  8193. INSERT INTO `ims_ewei_shop_task_extension` VALUES ('2', '分销佣金', 'commission_money', '1', 'number', 'commission', '达到', '元');
  8194. INSERT INTO `ims_ewei_shop_task_extension` VALUES ('3', '分销订单', 'commission_order', '1', 'number', 'commission', '达到', '笔');
  8195. INSERT INTO `ims_ewei_shop_task_extension` VALUES ('6', '订单满额', 'cost_enough', '1', 'number', 'cost', '满', '元');
  8196. INSERT INTO `ims_ewei_shop_task_extension` VALUES ('7', '累计金额', 'cost_total', '1', 'number', 'cost', '累计', '元');
  8197. INSERT INTO `ims_ewei_shop_task_extension` VALUES ('8', '订单数量', 'cost_count', '1', 'number', 'cost', '达到', '单');
  8198. INSERT INTO `ims_ewei_shop_task_extension` VALUES ('9', '指定商品', 'cost_goods', '1', 'select', 'cost', '购买指定商品', '件');
  8199. INSERT INTO `ims_ewei_shop_task_extension` VALUES ('10', '商品评价', 'cost_comment', '1', 'number', 'cost', '评价订单', '次');
  8200. INSERT INTO `ims_ewei_shop_task_extension` VALUES ('11', '累计充值', 'cost_rechargetotal', '1', 'number', 'cost', '达到', '元');
  8201. INSERT INTO `ims_ewei_shop_task_extension` VALUES ('12', '充值满额', 'cost_rechargeenough', '1', 'number', 'cost', '满', '元');
  8202. INSERT INTO `ims_ewei_shop_task_extension` VALUES ('13', '完善信息', 'member_info', '1', 'boole', 'member', '填写手机号', '');
  8203. -- ----------------------------
  8204. -- Table structure for `ims_ewei_shop_task_extension_join`
  8205. -- ----------------------------
  8206. DROP TABLE IF EXISTS `ims_ewei_shop_task_extension_join`;
  8207. CREATE TABLE `ims_ewei_shop_task_extension_join` (
  8208. `id` int(11) NOT NULL AUTO_INCREMENT,
  8209. `uniacid` int(11) NOT NULL,
  8210. `title` varchar(255) NOT NULL DEFAULT '',
  8211. `uid` int(11) NOT NULL,
  8212. `taskid` int(11) NOT NULL,
  8213. `openid` varchar(255) NOT NULL,
  8214. `require_data` text NOT NULL,
  8215. `progress_data` text NOT NULL,
  8216. `reward_data` text NOT NULL,
  8217. `completetime` int(11) NOT NULL DEFAULT '0',
  8218. `pickuptime` int(11) NOT NULL,
  8219. `endtime` int(11) NOT NULL,
  8220. `dotime` int(11) NOT NULL DEFAULT '0',
  8221. `rewarded` text NOT NULL,
  8222. `logo` varchar(255) NOT NULL DEFAULT '0',
  8223. PRIMARY KEY (`id`)
  8224. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8225. -- ----------------------------
  8226. -- Records of ims_ewei_shop_task_extension_join
  8227. -- ----------------------------
  8228. -- ----------------------------
  8229. -- Table structure for `ims_ewei_shop_task_join`
  8230. -- ----------------------------
  8231. DROP TABLE IF EXISTS `ims_ewei_shop_task_join`;
  8232. CREATE TABLE `ims_ewei_shop_task_join` (
  8233. `join_id` int(11) NOT NULL AUTO_INCREMENT,
  8234. `uniacid` int(11) NOT NULL DEFAULT '0',
  8235. `join_user` varchar(100) NOT NULL DEFAULT '',
  8236. `task_id` int(11) NOT NULL DEFAULT '0',
  8237. `task_type` tinyint(1) NOT NULL DEFAULT '0',
  8238. `needcount` int(11) NOT NULL DEFAULT '0',
  8239. `completecount` int(11) NOT NULL DEFAULT '0',
  8240. `reward_data` text,
  8241. `is_reward` tinyint(1) NOT NULL DEFAULT '0',
  8242. `failtime` int(11) NOT NULL DEFAULT '0',
  8243. `addtime` int(11) DEFAULT '0',
  8244. PRIMARY KEY (`join_id`)
  8245. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  8246. -- ----------------------------
  8247. -- Records of ims_ewei_shop_task_join
  8248. -- ----------------------------
  8249. -- ----------------------------
  8250. -- Table structure for `ims_ewei_shop_task_joiner`
  8251. -- ----------------------------
  8252. DROP TABLE IF EXISTS `ims_ewei_shop_task_joiner`;
  8253. CREATE TABLE `ims_ewei_shop_task_joiner` (
  8254. `complete_id` int(11) NOT NULL AUTO_INCREMENT,
  8255. `uniacid` int(11) NOT NULL DEFAULT '0',
  8256. `task_user` varchar(100) NOT NULL DEFAULT '',
  8257. `joiner_id` varchar(100) NOT NULL DEFAULT '',
  8258. `join_id` int(11) NOT NULL DEFAULT '0',
  8259. `task_id` int(11) NOT NULL DEFAULT '0',
  8260. `task_type` tinyint(1) NOT NULL DEFAULT '0',
  8261. `join_status` tinyint(1) NOT NULL DEFAULT '1',
  8262. `addtime` int(11) DEFAULT NULL,
  8263. PRIMARY KEY (`complete_id`)
  8264. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  8265. -- ----------------------------
  8266. -- Records of ims_ewei_shop_task_joiner
  8267. -- ----------------------------
  8268. -- ----------------------------
  8269. -- Table structure for `ims_ewei_shop_task_list`
  8270. -- ----------------------------
  8271. DROP TABLE IF EXISTS `ims_ewei_shop_task_list`;
  8272. CREATE TABLE `ims_ewei_shop_task_list` (
  8273. `status` tinyint(1) NOT NULL DEFAULT '0',
  8274. `displayorder` int(11) NOT NULL DEFAULT '0',
  8275. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  8276. `uniacid` int(11) NOT NULL DEFAULT '0',
  8277. `title` char(50) NOT NULL DEFAULT '',
  8278. `image` varchar(255) NOT NULL DEFAULT '',
  8279. `type` varchar(50) NOT NULL DEFAULT '',
  8280. `starttime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  8281. `endtime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  8282. `demand` int(11) NOT NULL DEFAULT '0',
  8283. `requiregoods` text NOT NULL,
  8284. `picktype` tinyint(1) NOT NULL DEFAULT '0',
  8285. `stop_type` tinyint(1) NOT NULL DEFAULT '0',
  8286. `stop_limit` int(11) NOT NULL DEFAULT '0',
  8287. `stop_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  8288. `stop_cycle` tinyint(1) NOT NULL DEFAULT '0',
  8289. `repeat_type` tinyint(1) NOT NULL DEFAULT '0',
  8290. `repeat_interval` int(11) NOT NULL DEFAULT '0',
  8291. `repeat_cycle` tinyint(1) NOT NULL DEFAULT '0',
  8292. `reward` text NOT NULL,
  8293. `followreward` text NOT NULL,
  8294. `goods_limit` int(11) NOT NULL DEFAULT '0',
  8295. `notice` text NOT NULL,
  8296. `design_data` text NOT NULL,
  8297. `design_bg` varchar(255) NOT NULL DEFAULT '',
  8298. `native_data` text NOT NULL,
  8299. `native_data2` text,
  8300. `native_data3` text,
  8301. `reward2` text,
  8302. `reward3` text,
  8303. `level2` int(11) NOT NULL DEFAULT '0',
  8304. `level3` int(11) NOT NULL DEFAULT '0',
  8305. `member_group` text,
  8306. `auto_pick` tinyint(1) NOT NULL DEFAULT '0',
  8307. `keyword_pick` varchar(20) NOT NULL DEFAULT '',
  8308. `verb` varchar(255) DEFAULT '',
  8309. `unit` varchar(255) DEFAULT '',
  8310. `member_level` int(11) NOT NULL DEFAULT '0',
  8311. `poster_version` varchar(255) NOT NULL DEFAULT '',
  8312. `we7_rule_keyword_id` int(10) NOT NULL DEFAULT '0',
  8313. PRIMARY KEY (`id`),
  8314. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  8315. KEY `idx_passive` (`picktype`) USING BTREE
  8316. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8317. -- ----------------------------
  8318. -- Records of ims_ewei_shop_task_list
  8319. -- ----------------------------
  8320. -- ----------------------------
  8321. -- Table structure for `ims_ewei_shop_task_log`
  8322. -- ----------------------------
  8323. DROP TABLE IF EXISTS `ims_ewei_shop_task_log`;
  8324. CREATE TABLE `ims_ewei_shop_task_log` (
  8325. `id` int(11) NOT NULL AUTO_INCREMENT,
  8326. `uniacid` int(11) NOT NULL DEFAULT '0',
  8327. `openid` varchar(100) NOT NULL DEFAULT '',
  8328. `from_openid` varchar(100) NOT NULL DEFAULT '',
  8329. `join_id` int(11) NOT NULL DEFAULT '0',
  8330. `taskid` int(11) DEFAULT '0',
  8331. `task_type` tinyint(1) NOT NULL DEFAULT '0',
  8332. `subdata` text,
  8333. `recdata` text,
  8334. `createtime` int(11) DEFAULT NULL,
  8335. PRIMARY KEY (`id`)
  8336. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  8337. -- ----------------------------
  8338. -- Records of ims_ewei_shop_task_log
  8339. -- ----------------------------
  8340. -- ----------------------------
  8341. -- Table structure for `ims_ewei_shop_task_poster`
  8342. -- ----------------------------
  8343. DROP TABLE IF EXISTS `ims_ewei_shop_task_poster`;
  8344. CREATE TABLE `ims_ewei_shop_task_poster` (
  8345. `id` int(11) NOT NULL AUTO_INCREMENT,
  8346. `uniacid` int(11) DEFAULT NULL,
  8347. `days` int(11) NOT NULL DEFAULT '0',
  8348. `title` varchar(255) DEFAULT NULL,
  8349. `bg` varchar(255) DEFAULT '',
  8350. `data` text,
  8351. `keyword` varchar(255) DEFAULT NULL,
  8352. `resptype` tinyint(1) NOT NULL DEFAULT '0',
  8353. `resptext` text,
  8354. `resptitle` varchar(255) DEFAULT NULL,
  8355. `respthumb` varchar(255) DEFAULT NULL,
  8356. `respdesc` varchar(255) DEFAULT NULL,
  8357. `respurl` varchar(255) DEFAULT NULL,
  8358. `createtime` int(11) DEFAULT NULL,
  8359. `waittext` varchar(255) DEFAULT NULL,
  8360. `oktext` varchar(255) DEFAULT NULL,
  8361. `scantext` varchar(255) DEFAULT NULL,
  8362. `beagent` tinyint(1) NOT NULL DEFAULT '0',
  8363. `bedown` tinyint(1) NOT NULL DEFAULT '0',
  8364. `timestart` int(11) DEFAULT NULL,
  8365. `timeend` int(11) DEFAULT NULL,
  8366. `is_repeat` tinyint(1) DEFAULT '0',
  8367. `getposter` varchar(255) DEFAULT NULL,
  8368. `status` tinyint(1) DEFAULT NULL,
  8369. `starttext` varchar(255) DEFAULT NULL,
  8370. `endtext` varchar(255) DEFAULT NULL,
  8371. `reward_data` text,
  8372. `needcount` int(11) NOT NULL DEFAULT '0',
  8373. `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  8374. `poster_type` tinyint(1) DEFAULT '1',
  8375. `reward_days` int(11) DEFAULT '0',
  8376. `titleicon` text,
  8377. `poster_banner` text,
  8378. `is_goods` tinyint(1) DEFAULT '0',
  8379. `autoposter` tinyint(1) NOT NULL DEFAULT '0',
  8380. PRIMARY KEY (`id`)
  8381. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  8382. -- ----------------------------
  8383. -- Records of ims_ewei_shop_task_poster
  8384. -- ----------------------------
  8385. -- ----------------------------
  8386. -- Table structure for `ims_ewei_shop_task_poster_qr`
  8387. -- ----------------------------
  8388. DROP TABLE IF EXISTS `ims_ewei_shop_task_poster_qr`;
  8389. CREATE TABLE `ims_ewei_shop_task_poster_qr` (
  8390. `id` int(11) NOT NULL AUTO_INCREMENT,
  8391. `acid` int(11) NOT NULL DEFAULT '0',
  8392. `openid` varchar(100) NOT NULL,
  8393. `posterid` int(11) NOT NULL DEFAULT '0',
  8394. `type` tinyint(1) NOT NULL DEFAULT '0',
  8395. `sceneid` int(11) NOT NULL DEFAULT '0',
  8396. `mediaid` varchar(255) DEFAULT NULL,
  8397. `ticket` varchar(255) NOT NULL,
  8398. `url` varchar(255) NOT NULL,
  8399. `createtime` int(11) DEFAULT NULL,
  8400. `qrimg` varchar(1000) DEFAULT NULL,
  8401. `expire` int(11) DEFAULT NULL,
  8402. `endtime` int(11) DEFAULT NULL,
  8403. PRIMARY KEY (`id`)
  8404. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  8405. -- ----------------------------
  8406. -- Records of ims_ewei_shop_task_poster_qr
  8407. -- ----------------------------
  8408. -- ----------------------------
  8409. -- Table structure for `ims_ewei_shop_task_qr`
  8410. -- ----------------------------
  8411. DROP TABLE IF EXISTS `ims_ewei_shop_task_qr`;
  8412. CREATE TABLE `ims_ewei_shop_task_qr` (
  8413. `id` int(11) NOT NULL AUTO_INCREMENT,
  8414. `uniacid` int(11) NOT NULL DEFAULT '0',
  8415. `openid` varchar(100) NOT NULL DEFAULT '',
  8416. `recordid` int(11) NOT NULL DEFAULT '0',
  8417. `sceneid` varchar(255) NOT NULL DEFAULT '',
  8418. `mediaid` varchar(255) NOT NULL DEFAULT '',
  8419. `ticket` varchar(255) NOT NULL DEFAULT '',
  8420. `poster_version` varchar(255) NOT NULL DEFAULT '',
  8421. PRIMARY KEY (`id`),
  8422. KEY `uniacid` (`uniacid`) USING BTREE,
  8423. KEY `recordid` (`recordid`) USING BTREE
  8424. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8425. -- ----------------------------
  8426. -- Records of ims_ewei_shop_task_qr
  8427. -- ----------------------------
  8428. -- ----------------------------
  8429. -- Table structure for `ims_ewei_shop_task_record`
  8430. -- ----------------------------
  8431. DROP TABLE IF EXISTS `ims_ewei_shop_task_record`;
  8432. CREATE TABLE `ims_ewei_shop_task_record` (
  8433. `id` int(11) NOT NULL AUTO_INCREMENT,
  8434. `uniacid` int(11) NOT NULL DEFAULT '0',
  8435. `taskid` int(11) NOT NULL DEFAULT '0',
  8436. `tasktitle` varchar(255) NOT NULL,
  8437. `taskimage` varchar(255) NOT NULL DEFAULT '',
  8438. `tasktype` varchar(50) NOT NULL DEFAULT '',
  8439. `task_progress` int(11) NOT NULL DEFAULT '0',
  8440. `task_demand` int(11) NOT NULL DEFAULT '0',
  8441. `openid` char(50) NOT NULL DEFAULT '',
  8442. `nickname` varchar(255) NOT NULL DEFAULT '',
  8443. `picktime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  8444. `stoptime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  8445. `finishtime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  8446. `reward_data` text NOT NULL,
  8447. `followreward_data` text NOT NULL,
  8448. `design_data` text NOT NULL,
  8449. `design_bg` varchar(255) NOT NULL DEFAULT '',
  8450. `require_goods` varchar(255) NOT NULL DEFAULT '',
  8451. `level1` int(11) NOT NULL DEFAULT '0',
  8452. `reward_data1` text NOT NULL,
  8453. `level2` int(11) NOT NULL DEFAULT '0',
  8454. `reward_data2` text NOT NULL,
  8455. `member_group` text,
  8456. `auto_pick` tinyint(1) NOT NULL DEFAULT '0',
  8457. PRIMARY KEY (`id`),
  8458. KEY `uniacid` (`uniacid`) USING BTREE,
  8459. KEY `taskid` (`taskid`) USING BTREE
  8460. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8461. -- ----------------------------
  8462. -- Records of ims_ewei_shop_task_record
  8463. -- ----------------------------
  8464. -- ----------------------------
  8465. -- Table structure for `ims_ewei_shop_task_reward`
  8466. -- ----------------------------
  8467. DROP TABLE IF EXISTS `ims_ewei_shop_task_reward`;
  8468. CREATE TABLE `ims_ewei_shop_task_reward` (
  8469. `id` int(11) NOT NULL AUTO_INCREMENT,
  8470. `uniacid` int(11) NOT NULL DEFAULT '0',
  8471. `taskid` int(11) NOT NULL DEFAULT '0',
  8472. `tasktitle` char(50) NOT NULL DEFAULT '',
  8473. `tasktype` varchar(50) NOT NULL DEFAULT '',
  8474. `taskowner` char(50) NOT NULL DEFAULT '',
  8475. `ownernickname` char(50) NOT NULL DEFAULT '',
  8476. `recordid` int(11) NOT NULL DEFAULT '0',
  8477. `nickname` char(50) NOT NULL DEFAULT '',
  8478. `headimg` varchar(255) NOT NULL DEFAULT '',
  8479. `openid` char(50) NOT NULL DEFAULT '',
  8480. `reward_type` char(10) NOT NULL DEFAULT '',
  8481. `reward_title` char(50) NOT NULL DEFAULT '',
  8482. `reward_data` decimal(10,2) NOT NULL DEFAULT '0.00',
  8483. `get` tinyint(1) NOT NULL DEFAULT '0',
  8484. `sent` tinyint(1) NOT NULL DEFAULT '0',
  8485. `gettime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  8486. `senttime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  8487. `isjoiner` tinyint(1) NOT NULL DEFAULT '0',
  8488. `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  8489. `level` tinyint(1) NOT NULL DEFAULT '0',
  8490. `read` tinyint(1) NOT NULL DEFAULT '0',
  8491. PRIMARY KEY (`id`),
  8492. KEY `uniacid` (`uniacid`) USING BTREE,
  8493. KEY `recordid` (`recordid`) USING BTREE,
  8494. KEY `taskid` (`taskid`) USING BTREE,
  8495. KEY `get` (`get`)
  8496. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8497. -- ----------------------------
  8498. -- Records of ims_ewei_shop_task_reward
  8499. -- ----------------------------
  8500. -- ----------------------------
  8501. -- Table structure for `ims_ewei_shop_task_set`
  8502. -- ----------------------------
  8503. DROP TABLE IF EXISTS `ims_ewei_shop_task_set`;
  8504. CREATE TABLE `ims_ewei_shop_task_set` (
  8505. `uniacid` int(11) NOT NULL DEFAULT '0',
  8506. `entrance` tinyint(1) NOT NULL DEFAULT '0',
  8507. `keyword` varchar(10) NOT NULL DEFAULT '',
  8508. `cover_title` varchar(20) NOT NULL DEFAULT '',
  8509. `cover_img` varchar(255) NOT NULL DEFAULT '',
  8510. `cover_desc` varchar(255) NOT NULL DEFAULT '',
  8511. `msg_pick` text NOT NULL,
  8512. `msg_progress` text NOT NULL,
  8513. `msg_finish` text NOT NULL,
  8514. `msg_follow` text NOT NULL,
  8515. `isnew` tinyint(1) NOT NULL DEFAULT '0',
  8516. `bg_img` varchar(255) NOT NULL DEFAULT '../addons/ewei_shopv2/plugin/task/static/images/sky.png',
  8517. `top_notice` tinyint(1) NOT NULL DEFAULT '0',
  8518. PRIMARY KEY (`uniacid`),
  8519. KEY `uniacid` (`uniacid`)
  8520. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8521. -- ----------------------------
  8522. -- Records of ims_ewei_shop_task_set
  8523. -- ----------------------------
  8524. INSERT INTO `ims_ewei_shop_task_set` VALUES ('1', '0', '', '', '', '', '', '', '', '', '0', '../addons/ewei_shopv2/plugin/task/static/images/sky.png', '0');
  8525. -- ----------------------------
  8526. -- Table structure for `ims_ewei_shop_task_type`
  8527. -- ----------------------------
  8528. DROP TABLE IF EXISTS `ims_ewei_shop_task_type`;
  8529. CREATE TABLE `ims_ewei_shop_task_type` (
  8530. `id` int(11) NOT NULL,
  8531. `type_key` char(20) NOT NULL DEFAULT '',
  8532. `type_name` char(10) NOT NULL DEFAULT '',
  8533. `description` char(30) NOT NULL DEFAULT '',
  8534. `verb` char(11) NOT NULL DEFAULT '',
  8535. `numeric` tinyint(1) NOT NULL DEFAULT '0',
  8536. `unit` char(10) NOT NULL DEFAULT '',
  8537. `goods` tinyint(1) NOT NULL DEFAULT '0',
  8538. `theme` char(10) NOT NULL DEFAULT '',
  8539. `once` tinyint(1) NOT NULL DEFAULT '0',
  8540. PRIMARY KEY (`id`)
  8541. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8542. -- ----------------------------
  8543. -- Records of ims_ewei_shop_task_type
  8544. -- ----------------------------
  8545. INSERT INTO `ims_ewei_shop_task_type` VALUES ('1', 'poster', '任务海报', '把生成的海报并分享给朋友,朋友扫描并关注公众号即可获得奖励。', '转发海报并吸引', '1', '人关注', '0', 'primary', '0');
  8546. INSERT INTO `ims_ewei_shop_task_type` VALUES ('2', 'info_phone', '绑定手机', '在个人中心中,绑定手机号,即可完成任务获得奖励。', '绑定手机', '0', '', '0', 'warning', '0');
  8547. INSERT INTO `ims_ewei_shop_task_type` VALUES ('3', 'order_first', '首次购物', '在商城中首次下单,即可获得奖励,必须确认收货。', '首次在商城中下单购物', '0', '', '0', 'warning', '0');
  8548. INSERT INTO `ims_ewei_shop_task_type` VALUES ('4', 'recharge_full', '单笔充值满额', '在商城中充值余额,单笔充值满额,即可获得奖励。', '单笔充值满', '1', '元', '0', 'success', '1');
  8549. INSERT INTO `ims_ewei_shop_task_type` VALUES ('5', 'order_full', '单笔满额', '在商城中下单,单笔满额即可获得奖励,必须确认收货。', '单笔订单满', '1', '元', '0', 'success', '1');
  8550. INSERT INTO `ims_ewei_shop_task_type` VALUES ('6', 'order_all', '累计消费', '在商城中购物消费,累计满额即可获得奖励,无需确认收货。', '购物总消费额达到', '1', '元', '0', 'success', '0');
  8551. INSERT INTO `ims_ewei_shop_task_type` VALUES ('7', 'pyramid_money', '分销佣金', '只有分销商可接此任务。累计分销佣金满额,即可完成任务。', '分销商获得佣金金额达', '1', '元', '0', 'primary', '0');
  8552. INSERT INTO `ims_ewei_shop_task_type` VALUES ('8', 'pyramid_num', '下级人数', '只有分销商可接此任务。累计下级人数达标,即可完成任务。', '分销商推荐下级人数达', '1', '人', '0', 'primary', '0');
  8553. INSERT INTO `ims_ewei_shop_task_type` VALUES ('9', 'comment', '商品好评', '任意给一个商品五星好评,即可完成任务获得奖励。', '给商品好评', '0', '', '0', 'warning', '0');
  8554. INSERT INTO `ims_ewei_shop_task_type` VALUES ('10', 'post', '社区发帖', '在社区中发表指定篇帖子,即可完成任务获得奖励。', '在论坛中发表', '1', '篇帖子', '0', 'warning', '0');
  8555. INSERT INTO `ims_ewei_shop_task_type` VALUES ('11', 'goods', '购买指定商品', '购买指定商品后即可完成任务,必须确认收货。', '购买指定商品', '0', '', '1', 'info', '0');
  8556. INSERT INTO `ims_ewei_shop_task_type` VALUES ('12', 'recharge_count', '累计充值满额', '在商城中充值余额,累计充值满额,即可获得奖励。', '累计充值满', '1', '元', '0', 'success', '0');
  8557. -- ----------------------------
  8558. -- Table structure for `ims_ewei_shop_upwxapp_log`
  8559. -- ----------------------------
  8560. DROP TABLE IF EXISTS `ims_ewei_shop_upwxapp_log`;
  8561. CREATE TABLE `ims_ewei_shop_upwxapp_log` (
  8562. `id` int(11) NOT NULL AUTO_INCREMENT,
  8563. `uniacid` int(11) DEFAULT NULL,
  8564. `type` tinyint(2) DEFAULT '0',
  8565. `version` varchar(20) DEFAULT NULL,
  8566. `describe` varchar(50) DEFAULT NULL,
  8567. `version_time` int(11) DEFAULT NULL,
  8568. PRIMARY KEY (`id`)
  8569. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8570. -- ----------------------------
  8571. -- Records of ims_ewei_shop_upwxapp_log
  8572. -- ----------------------------
  8573. -- ----------------------------
  8574. -- Table structure for `ims_ewei_shop_verifygoods`
  8575. -- ----------------------------
  8576. DROP TABLE IF EXISTS `ims_ewei_shop_verifygoods`;
  8577. CREATE TABLE `ims_ewei_shop_verifygoods` (
  8578. `id` int(11) NOT NULL AUTO_INCREMENT,
  8579. `uniacid` int(11) DEFAULT NULL,
  8580. `openid` varchar(255) DEFAULT NULL,
  8581. `orderid` int(11) DEFAULT NULL,
  8582. `ordergoodsid` int(11) DEFAULT NULL,
  8583. `storeid` int(11) DEFAULT NULL,
  8584. `starttime` int(11) DEFAULT NULL,
  8585. `limitdays` int(11) DEFAULT NULL,
  8586. `limitnum` int(11) DEFAULT NULL,
  8587. `used` tinyint(1) DEFAULT '0',
  8588. `verifycode` varchar(20) DEFAULT NULL,
  8589. `codeinvalidtime` int(11) DEFAULT NULL,
  8590. `invalid` tinyint(1) DEFAULT '0',
  8591. `getcard` tinyint(1) DEFAULT '0',
  8592. `activecard` tinyint(1) DEFAULT '0',
  8593. `cardcode` varchar(255) DEFAULT '',
  8594. `limittype` tinyint(1) DEFAULT '0',
  8595. `limitdate` int(11) DEFAULT '0',
  8596. PRIMARY KEY (`id`),
  8597. UNIQUE KEY `verifycode` (`verifycode`) USING BTREE
  8598. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8599. -- ----------------------------
  8600. -- Records of ims_ewei_shop_verifygoods
  8601. -- ----------------------------
  8602. -- ----------------------------
  8603. -- Table structure for `ims_ewei_shop_verifygoods_log`
  8604. -- ----------------------------
  8605. DROP TABLE IF EXISTS `ims_ewei_shop_verifygoods_log`;
  8606. CREATE TABLE `ims_ewei_shop_verifygoods_log` (
  8607. `id` int(11) NOT NULL AUTO_INCREMENT,
  8608. `uniacid` int(11) DEFAULT NULL,
  8609. `verifygoodsid` int(11) DEFAULT NULL,
  8610. `salerid` int(11) DEFAULT NULL,
  8611. `storeid` int(11) DEFAULT NULL,
  8612. `verifynum` int(11) DEFAULT NULL,
  8613. `verifydate` int(11) DEFAULT NULL,
  8614. `remarks` varchar(255) DEFAULT NULL,
  8615. PRIMARY KEY (`id`)
  8616. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8617. -- ----------------------------
  8618. -- Records of ims_ewei_shop_verifygoods_log
  8619. -- ----------------------------
  8620. -- ----------------------------
  8621. -- Table structure for `ims_ewei_shop_version`
  8622. -- ----------------------------
  8623. DROP TABLE IF EXISTS `ims_ewei_shop_version`;
  8624. CREATE TABLE `ims_ewei_shop_version` (
  8625. `id` int(11) NOT NULL AUTO_INCREMENT,
  8626. `uid` int(11) NOT NULL,
  8627. `type` tinyint(3) NOT NULL DEFAULT '0',
  8628. `uniacid` int(11) NOT NULL,
  8629. `version` tinyint(3) NOT NULL DEFAULT '0',
  8630. PRIMARY KEY (`id`),
  8631. KEY `idx_uid` (`uid`) USING BTREE,
  8632. KEY `idx_version` (`version`) USING BTREE
  8633. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8634. -- ----------------------------
  8635. -- Records of ims_ewei_shop_version
  8636. -- ----------------------------
  8637. -- ----------------------------
  8638. -- Table structure for `ims_ewei_shop_virtual_category`
  8639. -- ----------------------------
  8640. DROP TABLE IF EXISTS `ims_ewei_shop_virtual_category`;
  8641. CREATE TABLE `ims_ewei_shop_virtual_category` (
  8642. `id` int(11) NOT NULL AUTO_INCREMENT,
  8643. `uniacid` int(11) DEFAULT '0',
  8644. `name` varchar(50) DEFAULT NULL,
  8645. `merchid` int(11) DEFAULT '0',
  8646. PRIMARY KEY (`id`),
  8647. KEY `idx_uniacid` (`uniacid`)
  8648. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  8649. -- ----------------------------
  8650. -- Records of ims_ewei_shop_virtual_category
  8651. -- ----------------------------
  8652. -- ----------------------------
  8653. -- Table structure for `ims_ewei_shop_virtual_data`
  8654. -- ----------------------------
  8655. DROP TABLE IF EXISTS `ims_ewei_shop_virtual_data`;
  8656. CREATE TABLE `ims_ewei_shop_virtual_data` (
  8657. `id` int(11) NOT NULL AUTO_INCREMENT,
  8658. `uniacid` int(11) NOT NULL DEFAULT '0',
  8659. `typeid` int(11) NOT NULL DEFAULT '0',
  8660. `pvalue` varchar(255) DEFAULT '',
  8661. `fields` text NOT NULL,
  8662. `openid` varchar(255) NOT NULL DEFAULT '',
  8663. `usetime` int(11) NOT NULL DEFAULT '0',
  8664. `orderid` int(11) DEFAULT '0',
  8665. `ordersn` varchar(255) DEFAULT '',
  8666. `price` decimal(10,2) DEFAULT '0.00',
  8667. `merchid` int(11) DEFAULT '0',
  8668. `createtime` int(11) NOT NULL,
  8669. `is_top` tinyint(1) DEFAULT '0',
  8670. `sort_time` int(11) DEFAULT '0',
  8671. PRIMARY KEY (`id`),
  8672. KEY `idx_uniacid` (`uniacid`),
  8673. KEY `idx_typeid` (`typeid`),
  8674. KEY `idx_usetime` (`usetime`),
  8675. KEY `idx_orderid` (`orderid`)
  8676. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  8677. -- ----------------------------
  8678. -- Records of ims_ewei_shop_virtual_data
  8679. -- ----------------------------
  8680. -- ----------------------------
  8681. -- Table structure for `ims_ewei_shop_virtual_send_log`
  8682. -- ----------------------------
  8683. DROP TABLE IF EXISTS `ims_ewei_shop_virtual_send_log`;
  8684. CREATE TABLE `ims_ewei_shop_virtual_send_log` (
  8685. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  8686. `uniacid` int(11) DEFAULT '0',
  8687. `openid` varchar(40) NOT NULL DEFAULT '',
  8688. `orderid` tinyint(3) unsigned NOT NULL,
  8689. `tag` varchar(20) NOT NULL,
  8690. `default` varchar(2000) NOT NULL DEFAULT '',
  8691. `cusdefault` varchar(2000) NOT NULL DEFAULT '',
  8692. `url` varchar(128) NOT NULL DEFAULT '',
  8693. `datas` varchar(2000) NOT NULL DEFAULT '',
  8694. `appurl` varchar(128) NOT NULL DEFAULT '',
  8695. `status` tinyint(4) NOT NULL DEFAULT '0',
  8696. `sendtime` int(11) NOT NULL DEFAULT '0',
  8697. `createtime` int(11) NOT NULL DEFAULT '0',
  8698. PRIMARY KEY (`id`)
  8699. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8700. -- ----------------------------
  8701. -- Records of ims_ewei_shop_virtual_send_log
  8702. -- ----------------------------
  8703. -- ----------------------------
  8704. -- Table structure for `ims_ewei_shop_virtual_type`
  8705. -- ----------------------------
  8706. DROP TABLE IF EXISTS `ims_ewei_shop_virtual_type`;
  8707. CREATE TABLE `ims_ewei_shop_virtual_type` (
  8708. `id` int(11) NOT NULL AUTO_INCREMENT,
  8709. `uniacid` int(11) NOT NULL DEFAULT '0',
  8710. `cate` int(11) DEFAULT '0',
  8711. `title` varchar(255) NOT NULL DEFAULT '',
  8712. `fields` text NOT NULL,
  8713. `usedata` int(11) NOT NULL DEFAULT '0',
  8714. `alldata` int(11) NOT NULL DEFAULT '0',
  8715. `merchid` int(11) DEFAULT '0',
  8716. `linktext` varchar(50) DEFAULT NULL,
  8717. `linkurl` varchar(255) DEFAULT NULL,
  8718. `recycled` int(11) NOT NULL DEFAULT '0',
  8719. `description` text,
  8720. PRIMARY KEY (`id`),
  8721. KEY `idx_uniacid` (`uniacid`),
  8722. KEY `idx_cate` (`cate`)
  8723. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  8724. -- ----------------------------
  8725. -- Records of ims_ewei_shop_virtual_type
  8726. -- ----------------------------
  8727. -- ----------------------------
  8728. -- Table structure for `ims_ewei_shop_wxapp_bind`
  8729. -- ----------------------------
  8730. DROP TABLE IF EXISTS `ims_ewei_shop_wxapp_bind`;
  8731. CREATE TABLE `ims_ewei_shop_wxapp_bind` (
  8732. `id` int(11) NOT NULL AUTO_INCREMENT,
  8733. `uniacid` int(11) NOT NULL DEFAULT '0',
  8734. `wxapp` int(11) NOT NULL,
  8735. PRIMARY KEY (`id`),
  8736. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  8737. KEY `idx_wxapp` (`wxapp`) USING BTREE
  8738. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8739. -- ----------------------------
  8740. -- Records of ims_ewei_shop_wxapp_bind
  8741. -- ----------------------------
  8742. -- ----------------------------
  8743. -- Table structure for `ims_ewei_shop_wxapp_page`
  8744. -- ----------------------------
  8745. DROP TABLE IF EXISTS `ims_ewei_shop_wxapp_page`;
  8746. CREATE TABLE `ims_ewei_shop_wxapp_page` (
  8747. `id` int(11) NOT NULL AUTO_INCREMENT,
  8748. `uniacid` int(11) NOT NULL DEFAULT '0',
  8749. `type` tinyint(2) NOT NULL DEFAULT '0',
  8750. `name` varchar(255) DEFAULT NULL,
  8751. `data` mediumtext,
  8752. `createtime` int(11) NOT NULL DEFAULT '0',
  8753. `lasttime` int(11) NOT NULL DEFAULT '0',
  8754. `status` tinyint(1) NOT NULL DEFAULT '0',
  8755. `isdefault` tinyint(1) NOT NULL DEFAULT '0',
  8756. PRIMARY KEY (`id`),
  8757. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  8758. KEY `idx_type` (`type`) USING BTREE,
  8759. KEY `idx_status` (`status`) USING BTREE,
  8760. KEY `idx_isdefault` (`isdefault`) USING BTREE
  8761. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8762. -- ----------------------------
  8763. -- Records of ims_ewei_shop_wxapp_page
  8764. -- ----------------------------
  8765. -- ----------------------------
  8766. -- Table structure for `ims_ewei_shop_wxapp_poster`
  8767. -- ----------------------------
  8768. DROP TABLE IF EXISTS `ims_ewei_shop_wxapp_poster`;
  8769. CREATE TABLE `ims_ewei_shop_wxapp_poster` (
  8770. `id` int(11) NOT NULL AUTO_INCREMENT,
  8771. `uniacid` int(11) NOT NULL DEFAULT '0',
  8772. `type` tinyint(3) NOT NULL DEFAULT '0',
  8773. `title` varchar(255) DEFAULT NULL,
  8774. `thumb` varchar(255) DEFAULT NULL,
  8775. `bgimg` varchar(255) DEFAULT NULL,
  8776. `data` text,
  8777. `createtime` int(11) NOT NULL DEFAULT '0',
  8778. `lastedittime` int(11) NOT NULL DEFAULT '0',
  8779. `status` tinyint(3) NOT NULL DEFAULT '0',
  8780. `displayorder` int(11) NOT NULL DEFAULT '0',
  8781. PRIMARY KEY (`id`),
  8782. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  8783. KEY `idx_type` (`type`) USING BTREE,
  8784. KEY `idx_status` (`status`) USING BTREE
  8785. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8786. -- ----------------------------
  8787. -- Records of ims_ewei_shop_wxapp_poster
  8788. -- ----------------------------
  8789. -- ----------------------------
  8790. -- Table structure for `ims_ewei_shop_wxapp_startadv`
  8791. -- ----------------------------
  8792. DROP TABLE IF EXISTS `ims_ewei_shop_wxapp_startadv`;
  8793. CREATE TABLE `ims_ewei_shop_wxapp_startadv` (
  8794. `id` int(11) NOT NULL AUTO_INCREMENT,
  8795. `uniacid` int(11) NOT NULL,
  8796. `status` tinyint(3) NOT NULL DEFAULT '0',
  8797. `name` varchar(255) DEFAULT NULL,
  8798. `data` text,
  8799. `createtime` int(11) NOT NULL DEFAULT '0',
  8800. `lastedittime` int(11) NOT NULL DEFAULT '0',
  8801. PRIMARY KEY (`id`),
  8802. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  8803. KEY `idx_status` (`status`) USING BTREE
  8804. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8805. -- ----------------------------
  8806. -- Records of ims_ewei_shop_wxapp_startadv
  8807. -- ----------------------------
  8808. -- ----------------------------
  8809. -- Table structure for `ims_ewei_shop_wxapp_tmessage`
  8810. -- ----------------------------
  8811. DROP TABLE IF EXISTS `ims_ewei_shop_wxapp_tmessage`;
  8812. CREATE TABLE `ims_ewei_shop_wxapp_tmessage` (
  8813. `id` int(11) NOT NULL AUTO_INCREMENT,
  8814. `uniacid` int(11) NOT NULL,
  8815. `name` varchar(255) DEFAULT NULL,
  8816. `templateid` varchar(50) DEFAULT '',
  8817. `datas` text,
  8818. `emphasis_keyword` int(11) NOT NULL DEFAULT '0',
  8819. `status` tinyint(3) NOT NULL DEFAULT '0',
  8820. PRIMARY KEY (`id`),
  8821. KEY `idx_uniacid` (`uniacid`) USING BTREE,
  8822. KEY `idx_status` (`status`) USING BTREE
  8823. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  8824. -- ----------------------------
  8825. -- Records of ims_ewei_shop_wxapp_tmessage
  8826. -- ----------------------------
  8827. -- ----------------------------
  8828. -- Table structure for `ims_ewei_shop_wxcard`
  8829. -- ----------------------------
  8830. DROP TABLE IF EXISTS `ims_ewei_shop_wxcard`;
  8831. CREATE TABLE `ims_ewei_shop_wxcard` (
  8832. `id` int(11) NOT NULL AUTO_INCREMENT,
  8833. `uniacid` int(11) DEFAULT NULL,
  8834. `card_id` varchar(255) DEFAULT '0',
  8835. `displayorder` int(11) DEFAULT NULL,
  8836. `catid` int(11) DEFAULT NULL,
  8837. `card_type` varchar(50) DEFAULT NULL,
  8838. `logo_url` varchar(255) DEFAULT NULL,
  8839. `wxlogourl` varchar(255) DEFAULT NULL,
  8840. `brand_name` varchar(255) DEFAULT NULL,
  8841. `code_type` varchar(255) DEFAULT NULL,
  8842. `title` varchar(255) DEFAULT NULL,
  8843. `color` varchar(50) DEFAULT NULL,
  8844. `notice` varchar(50) DEFAULT NULL,
  8845. `service_phone` varchar(50) DEFAULT NULL,
  8846. `description` text,
  8847. `datetype` varchar(50) DEFAULT NULL,
  8848. `begin_timestamp` int(11) DEFAULT NULL,
  8849. `end_timestamp` int(11) DEFAULT NULL,
  8850. `fixed_term` int(11) DEFAULT NULL,
  8851. `fixed_begin_term` int(11) DEFAULT NULL,
  8852. `quantity` int(11) DEFAULT NULL,
  8853. `total_quantity` varchar(255) DEFAULT NULL,
  8854. `use_limit` int(11) DEFAULT NULL,
  8855. `get_limit` int(11) DEFAULT NULL,
  8856. `use_custom_code` tinyint(1) DEFAULT NULL,
  8857. `bind_openid` tinyint(1) DEFAULT NULL,
  8858. `can_share` tinyint(1) DEFAULT NULL,
  8859. `can_give_friend` tinyint(1) DEFAULT NULL,
  8860. `center_title` varchar(20) DEFAULT NULL,
  8861. `center_sub_title` varchar(20) DEFAULT NULL,
  8862. `center_url` varchar(255) DEFAULT NULL,
  8863. `setcustom` tinyint(1) DEFAULT NULL,
  8864. `custom_url_name` varchar(20) DEFAULT NULL,
  8865. `custom_url_sub_title` varchar(20) DEFAULT NULL,
  8866. `custom_url` varchar(255) DEFAULT NULL,
  8867. `setpromotion` tinyint(1) DEFAULT NULL,
  8868. `promotion_url_name` varchar(20) DEFAULT NULL,
  8869. `promotion_url_sub_title` varchar(20) DEFAULT NULL,
  8870. `promotion_url` varchar(255) DEFAULT NULL,
  8871. `source` varchar(255) DEFAULT NULL,
  8872. `can_use_with_other_discount` tinyint(1) DEFAULT NULL,
  8873. `setabstract` tinyint(1) DEFAULT NULL,
  8874. `abstract` varchar(50) DEFAULT NULL,
  8875. `abstractimg` varchar(255) DEFAULT NULL,
  8876. `icon_url_list` varchar(255) DEFAULT NULL,
  8877. `accept_category` varchar(50) DEFAULT NULL,
  8878. `reject_category` varchar(50) DEFAULT NULL,
  8879. `least_cost` decimal(10,2) DEFAULT NULL,
  8880. `reduce_cost` decimal(10,2) DEFAULT NULL,
  8881. `discount` decimal(10,2) DEFAULT NULL,
  8882. `limitgoodtype` tinyint(1) DEFAULT '0',
  8883. `limitgoodcatetype` tinyint(1) unsigned DEFAULT '0',
  8884. `limitgoodcateids` varchar(255) DEFAULT NULL,
  8885. `limitgoodids` varchar(255) DEFAULT NULL,
  8886. `limitdiscounttype` tinyint(1) unsigned DEFAULT '0',
  8887. `merchid` int(11) DEFAULT '0',
  8888. `gettype` tinyint(3) DEFAULT NULL,
  8889. `islimitlevel` tinyint(1) DEFAULT '0',
  8890. `limitmemberlevels` varchar(500) DEFAULT '',
  8891. `limitagentlevels` varchar(500) DEFAULT '',
  8892. `limitpartnerlevels` varchar(500) DEFAULT '',
  8893. `limitaagentlevels` varchar(500) DEFAULT '',
  8894. `settitlecolor` tinyint(1) DEFAULT '0',
  8895. `titlecolor` varchar(10) DEFAULT '',
  8896. `tagtitle` varchar(20) DEFAULT '',
  8897. `use_condition` tinyint(1) DEFAULT '0',
  8898. PRIMARY KEY (`id`)
  8899. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
  8900. ");