1 Star 0 Fork 8

Tony/ewei_shopv2

forked from huangyinke/ewei_shopv2 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
install.php 371.24 KB
一键复制 编辑 原始数据 按行查看 历史
huangyinke 提交于 2018-09-02 09:33 . init jizhang database
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181
<?php
pdo_query("
DROP TABLE IF EXISTS `ims_ewei_shop_virtual_send_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_virtual_send_log` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(40) NOT NULL DEFAULT '',
`orderid` tinyint(3) unsigned NOT NULL,
`tag` varchar(20) NOT NULL,
`default` varchar(2000) NOT NULL DEFAULT '',
`cusdefault` varchar(2000) NOT NULL DEFAULT '',
`url` varchar(128) NOT NULL DEFAULT '',
`datas` varchar(2000) NOT NULL DEFAULT '',
`appurl` varchar(128) NOT NULL DEFAULT '',
`status` tinyint(4) NOT NULL DEFAULT '0',
`sendtime` int(11) NOT NULL DEFAULT '0',
`createtime` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `ims_ewei_message_mass_sign`;
CREATE TABLE IF NOT EXISTS `ims_ewei_message_mass_sign` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(50) DEFAULT NULL,
`nickname` varchar(50) DEFAULT NULL,
`taskid` int(11) DEFAULT NULL,
`status` tinyint(1) DEFAULT NULL,
`log` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_message_mass_task`;
CREATE TABLE IF NOT EXISTS `ims_ewei_message_mass_task` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`status` tinyint(1) DEFAULT '0',
`processnum` int(11) DEFAULT '1',
`sendnum` int(11) DEFAULT '0',
`messagetype` tinyint(1) DEFAULT '0',
`templateid` int(11) DEFAULT '0',
`resptitle` varchar(255) DEFAULT NULL,
`respthumb` varchar(255) DEFAULT NULL,
`respdesc` varchar(255) DEFAULT NULL,
`respurl` varchar(255) DEFAULT NULL,
`sendlimittype` tinyint(1) DEFAULT '0',
`send_openid` text,
`send_level` int(11) DEFAULT NULL,
`send_group` int(11) DEFAULT NULL,
`send_agentlevel` int(11) DEFAULT NULL,
`customertype` tinyint(1) DEFAULT '0',
`resdesc2` varchar(255) DEFAULT '',
`pagecount` int(11) DEFAULT '0',
`successnum` int(11) DEFAULT '0',
`failnum` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_message_mass_template`;
CREATE TABLE IF NOT EXISTS `ims_ewei_message_mass_template` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`template_id` varchar(255) DEFAULT '',
`first` text NOT NULL,
`firstcolor` varchar(255) DEFAULT '',
`data` text NOT NULL,
`remark` text NOT NULL,
`remarkcolor` varchar(255) DEFAULT '',
`url` varchar(255) NOT NULL,
`createtime` int(11) DEFAULT '0',
`sendtimes` int(11) DEFAULT '0',
`sendcount` int(11) DEFAULT '0',
`miniprogram` tinyint(1) DEFAULT '0',
`appid` varchar(255) DEFAULT '',
`pagepath` varchar(255) DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_abonus_bill`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_abonus_bill` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`billno` varchar(100) DEFAULT '',
`paytype` int(11) DEFAULT '0',
`year` int(11) DEFAULT '0',
`month` int(11) DEFAULT '0',
`week` int(11) DEFAULT '0',
`ordercount` int(11) DEFAULT '0',
`ordermoney` decimal(10,2) DEFAULT '0.00',
`paytime` int(11) DEFAULT '0',
`aagentcount1` int(11) DEFAULT '0',
`aagentcount2` int(11) DEFAULT '0',
`aagentcount3` int(11) DEFAULT '0',
`bonusmoney1` decimal(10,2) DEFAULT '0.00',
`bonusmoney_send1` decimal(10,2) DEFAULT '0.00',
`bonusmoney_pay1` decimal(10,2) DEFAULT '0.00',
`bonusmoney2` decimal(10,2) DEFAULT '0.00',
`bonusmoney_send2` decimal(10,2) DEFAULT '0.00',
`bonusmoney_pay2` decimal(10,2) DEFAULT '0.00',
`bonusmoney3` decimal(10,2) DEFAULT '0.00',
`bonusmoney_send3` decimal(10,2) DEFAULT '0.00',
`bonusmoney_pay3` decimal(10,2) DEFAULT '0.00',
`createtime` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
`starttime` int(11) DEFAULT '0',
`endtime` int(11) DEFAULT '0',
`confirmtime` int(11) DEFAULT '0',
`ceshi` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_paytype` (`paytype`) USING BTREE,
KEY `idx_createtime` (`createtime`) USING BTREE,
KEY `idx_paytime` (`paytime`) USING BTREE,
KEY `idx_status` (`status`) USING BTREE,
KEY `idx_month` (`month`) USING BTREE,
KEY `idx_week` (`week`) USING BTREE,
KEY `idx_year` (`year`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_abonus_billo`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_abonus_billo` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`billid` int(11) DEFAULT '0',
`orderid` int(11) DEFAULT '0',
`ordermoney` decimal(10,2) DEFAULT '0.00',
PRIMARY KEY (`id`),
KEY `idx_billid` (`billid`) USING BTREE,
KEY `idx_uniacid` (`uniacid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_abonus_billp`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_abonus_billp` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`billid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`payno` varchar(255) DEFAULT '',
`paytype` tinyint(3) DEFAULT '0',
`bonus1` decimal(10,4) DEFAULT '0.0000',
`bonus2` decimal(10,4) DEFAULT '0.0000',
`bonus3` decimal(10,4) DEFAULT '0.0000',
`money1` decimal(10,2) DEFAULT '0.00',
`realmoney1` decimal(10,2) DEFAULT '0.00',
`paymoney1` decimal(10,2) DEFAULT '0.00',
`money2` decimal(10,2) DEFAULT '0.00',
`realmoney2` decimal(10,2) DEFAULT '0.00',
`paymoney2` decimal(10,2) DEFAULT '0.00',
`money3` decimal(10,2) DEFAULT '0.00',
`realmoney3` decimal(10,2) DEFAULT '0.00',
`paymoney3` decimal(10,2) DEFAULT '0.00',
`chargemoney1` decimal(10,2) DEFAULT '0.00',
`chargemoney2` decimal(10,2) DEFAULT '0.00',
`chargemoney3` decimal(10,2) DEFAULT '0.00',
`charge` decimal(10,2) DEFAULT '0.00',
`status` tinyint(3) DEFAULT '0',
`reason` varchar(255) DEFAULT '',
`paytime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_billid` (`billid`) USING BTREE,
KEY `idx_uniacid` (`uniacid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_abonus_level`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_abonus_level` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`levelname` varchar(50) DEFAULT '',
`bonus1` decimal(10,4) DEFAULT '0.0000',
`bonus2` decimal(10,4) DEFAULT '0.0000',
`bonus3` decimal(10,4) DEFAULT '0.0000',
`ordermoney` decimal(10,2) DEFAULT '0.00',
`ordercount` int(11) DEFAULT '0',
`bonusmoney` decimal(10,2) DEFAULT '0.00',
`downcount` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_address_applyfor`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_address_applyfor` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`openid` varchar(11) DEFAULT NULL,
`data` text,
`orderid` int(11) DEFAULT NULL,
`ordersn` varchar(255) DEFAULT NULL,
`isdispose` tinyint(1) DEFAULT '0',
`message` varchar(255) DEFAULT NULL,
`createtime` int(11) DEFAULT NULL,
`ispass` tinyint(1) DEFAULT '0',
`isdelete` tinyint(4) DEFAULT '0',
`isall` tinyint(4) DEFAULT '0',
`old_address` text,
`cycleid` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_adv`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_adv` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`advname` varchar(50) DEFAULT '',
`link` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`enabled` int(11) DEFAULT '0',
`shopid` int(11) DEFAULT '0',
`iswxapp` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_enabled` (`enabled`),
KEY `idx_displayorder` (`displayorder`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ;
DROP TABLE IF EXISTS `ims_ewei_shop_area_config`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_area_config` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`new_area` tinyint(3) NOT NULL DEFAULT '0',
`address_street` tinyint(3) NOT NULL DEFAULT '0',
`createtime` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_article`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_article` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`article_title` varchar(255) NOT NULL DEFAULT '',
`resp_desc` text NOT NULL,
`resp_img` text NOT NULL,
`article_content` longtext,
`article_category` int(11) NOT NULL DEFAULT '0',
`article_date_v` varchar(20) NOT NULL DEFAULT '',
`article_date` varchar(20) NOT NULL DEFAULT '',
`article_mp` varchar(50) NOT NULL DEFAULT '',
`article_author` varchar(20) NOT NULL DEFAULT '',
`article_readnum_v` int(11) NOT NULL DEFAULT '0',
`article_readnum` int(11) NOT NULL DEFAULT '0',
`article_likenum_v` int(11) NOT NULL DEFAULT '0',
`article_likenum` int(11) NOT NULL DEFAULT '0',
`article_linkurl` varchar(300) NOT NULL DEFAULT '',
`article_rule_daynum` int(11) NOT NULL DEFAULT '0',
`article_rule_allnum` int(11) NOT NULL DEFAULT '0',
`article_rule_credit` int(11) NOT NULL DEFAULT '0',
`article_rule_money` decimal(10,2) NOT NULL DEFAULT '0.00',
`page_set_option_nocopy` int(1) NOT NULL DEFAULT '0',
`page_set_option_noshare_tl` int(1) NOT NULL DEFAULT '0',
`page_set_option_noshare_msg` int(1) NOT NULL DEFAULT '0',
`article_keyword` varchar(255) NOT NULL DEFAULT '',
`article_report` int(1) NOT NULL DEFAULT '0',
`product_advs_type` int(1) NOT NULL DEFAULT '0',
`product_advs_title` varchar(255) NOT NULL DEFAULT '',
`product_advs_more` varchar(255) NOT NULL DEFAULT '',
`product_advs_link` varchar(255) NOT NULL DEFAULT '',
`product_advs` text NOT NULL,
`article_state` int(1) NOT NULL DEFAULT '0',
`network_attachment` varchar(255) DEFAULT '',
`uniacid` int(11) NOT NULL DEFAULT '0',
`article_rule_credittotal` int(11) DEFAULT '0',
`article_rule_moneytotal` decimal(10,2) DEFAULT '0.00',
`article_rule_credit2` int(11) NOT NULL DEFAULT '0',
`article_rule_money2` decimal(10,2) NOT NULL DEFAULT '0.00',
`article_rule_creditm` int(11) NOT NULL DEFAULT '0',
`article_rule_moneym` decimal(10,2) NOT NULL DEFAULT '0.00',
`article_rule_creditm2` int(11) NOT NULL DEFAULT '0',
`article_rule_moneym2` decimal(10,2) NOT NULL DEFAULT '0.00',
`article_readtime` int(11) DEFAULT '0',
`article_areas` varchar(255) DEFAULT '',
`article_endtime` int(11) DEFAULT '0',
`article_hasendtime` tinyint(3) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`article_keyword2` varchar(255) NOT NULL DEFAULT '',
`article_advance` int(11) DEFAULT '0',
`article_virtualadd` tinyint(3) DEFAULT '0',
`article_visit` tinyint(3) DEFAULT '0',
`article_visit_level` text,
`article_visit_tip` varchar(500) DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_article_title` (`article_title`),
KEY `idx_article_content` (`article_content`(10)),
KEY `idx_article_keyword` (`article_keyword`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='营销文章' AUTO_INCREMENT=15 ;
DROP TABLE IF EXISTS `ims_ewei_shop_article_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_article_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`category_name` varchar(255) NOT NULL DEFAULT '',
`uniacid` int(11) NOT NULL DEFAULT '0',
`displayorder` int(11) NOT NULL DEFAULT '0',
`isshow` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_category_name` (`category_name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='营销表单分类' AUTO_INCREMENT=12 ;
DROP TABLE IF EXISTS `ims_ewei_shop_article_comment`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_article_comment` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`articleid` int(11) DEFAULT '0',
`openid` varchar(50) DEFAULT '',
`nickname` varchar(50) DEFAULT '',
`headimgurl` varchar(255) DEFAULT '',
`content` varchar(500) DEFAULT '',
`reply_createtime` int(11) DEFAULT NULL,
`createtime` int(11) DEFAULT '0',
`deleted` tinyint(3) DEFAULT '0',
`status` tinyint(1) DEFAULT '0',
`reply_content` varchar(500) DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_openid` (`openid`) USING BTREE,
KEY `idx_createtime` (`createtime`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_article_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_article_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`aid` int(11) NOT NULL DEFAULT '0',
`read` int(11) NOT NULL DEFAULT '0',
`like` int(11) NOT NULL DEFAULT '0',
`openid` varchar(255) NOT NULL DEFAULT '',
`uniacid` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_aid` (`aid`),
KEY `idx_openid` (`openid`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='点赞/阅读记录' AUTO_INCREMENT=621 ;
DROP TABLE IF EXISTS `ims_ewei_shop_article_report`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_article_report` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`mid` int(11) NOT NULL DEFAULT '0',
`openid` varchar(255) NOT NULL DEFAULT '',
`aid` int(11) DEFAULT '0',
`cate` varchar(255) NOT NULL DEFAULT '',
`cons` varchar(255) NOT NULL DEFAULT '',
`uniacid` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='用户举报记录' AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_article_share`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_article_share` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`aid` int(11) NOT NULL DEFAULT '0',
`share_user` int(11) NOT NULL DEFAULT '0',
`click_user` int(11) NOT NULL DEFAULT '0',
`click_date` varchar(20) NOT NULL DEFAULT '',
`add_credit` int(11) NOT NULL DEFAULT '0',
`add_money` decimal(10,2) NOT NULL DEFAULT '0.00',
`uniacid` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_aid` (`aid`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='用户分享数据' AUTO_INCREMENT=63 ;
DROP TABLE IF EXISTS `ims_ewei_shop_article_sys`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_article_sys` (
`uniacid` int(11) NOT NULL DEFAULT '0',
`article_message` varchar(255) NOT NULL DEFAULT '',
`article_title` varchar(255) NOT NULL DEFAULT '',
`article_image` varchar(300) NOT NULL DEFAULT '',
`article_shownum` int(11) NOT NULL DEFAULT '0',
`article_keyword` varchar(255) NOT NULL DEFAULT '',
`article_temp` int(11) NOT NULL DEFAULT '0',
`article_close_advanced` tinyint(1) NOT NULL DEFAULT '1',
`article_source` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`uniacid`),
KEY `idx_article_message` (`article_message`),
KEY `idx_article_keyword` (`article_keyword`),
KEY `idx_article_title` (`article_title`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='文章设置';
DROP TABLE IF EXISTS `ims_ewei_shop_author_bill`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_author_bill` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`billno` varchar(100) DEFAULT '',
`paytype` int(11) DEFAULT '0',
`year` int(11) DEFAULT '0',
`month` int(11) DEFAULT '0',
`week` int(11) DEFAULT '0',
`ordercount` int(11) DEFAULT '0',
`ordermoney` decimal(10,2) DEFAULT '0.00',
`bonusordermoney` decimal(10,2) DEFAULT '0.00',
`bonusrate` decimal(10,2) DEFAULT '0.00',
`bonusmoney` decimal(10,2) DEFAULT '0.00',
`bonusmoney_send` decimal(10,2) DEFAULT '0.00',
`bonusmoney_pay` decimal(10,2) DEFAULT '0.00',
`paytime` int(11) DEFAULT '0',
`partnercount` int(11) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
`starttime` int(11) DEFAULT '0',
`endtime` int(11) DEFAULT '0',
`confirmtime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_paytype` (`paytype`) USING BTREE,
KEY `idx_createtime` (`createtime`) USING BTREE,
KEY `idx_paytime` (`paytime`) USING BTREE,
KEY `idx_status` (`status`) USING BTREE,
KEY `idx_month` (`month`) USING BTREE,
KEY `idx_week` (`week`) USING BTREE,
KEY `idx_year` (`year`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_author_billo`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_author_billo` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`billid` int(11) DEFAULT '0',
`authorid` int(11) DEFAULT NULL,
`orderid` text,
`ordermoney` decimal(10,2) DEFAULT '0.00',
PRIMARY KEY (`id`),
KEY `idx_billid` (`billid`) USING BTREE,
KEY `idx_uniacid` (`uniacid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_author_billp`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_author_billp` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`billid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`payno` varchar(255) DEFAULT '',
`paytype` tinyint(3) DEFAULT '0',
`bonus` decimal(10,2) DEFAULT '0.00',
`money` decimal(10,2) DEFAULT '0.00',
`realmoney` decimal(10,2) DEFAULT '0.00',
`paymoney` decimal(10,2) DEFAULT '0.00',
`charge` decimal(10,2) DEFAULT '0.00',
`chargemoney` decimal(10,2) DEFAULT '0.00',
`status` tinyint(3) DEFAULT '0',
`reason` varchar(255) DEFAULT '',
`paytime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_billid` (`billid`) USING BTREE,
KEY `idx_uniacid` (`uniacid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_author_level`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_author_level` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`levelname` varchar(50) DEFAULT '',
`bonus` decimal(10,4) DEFAULT '0.0000',
`ordermoney` decimal(10,2) DEFAULT '0.00',
`ordercount` int(11) DEFAULT '0',
`commissionmoney` decimal(10,2) DEFAULT '0.00',
`bonusmoney` decimal(10,2) DEFAULT '0.00',
`downcount` int(11) DEFAULT '0',
`bonus_fg` varchar(500) DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_author_team`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_author_team` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`teamno` varchar(50) DEFAULT '',
`year` int(11) DEFAULT '0',
`month` int(11) DEFAULT '0',
`team_count` int(11) DEFAULT '0',
`team_ids` longtext,
`status` tinyint(1) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`paytime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `uniacid` (`uniacid`) USING BTREE,
KEY `teamno` (`teamno`) USING BTREE,
KEY `year` (`year`) USING BTREE,
KEY `month` (`month`) USING BTREE,
KEY `status` (`status`) USING BTREE,
KEY `createtime` (`createtime`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_author_team_pay`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_author_team_pay` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`teamid` int(11) DEFAULT '0',
`mid` int(11) DEFAULT '0',
`payno` varchar(255) DEFAULT '',
`money` decimal(10,2) DEFAULT '0.00',
`paymoney` decimal(10,2) DEFAULT '0.00',
`paytime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_teamid` (`teamid`) USING BTREE,
KEY `idx_mid` (`mid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_banner`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_banner` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`bannername` varchar(50) DEFAULT '',
`link` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`enabled` int(11) DEFAULT '0',
`shopid` int(11) DEFAULT '0',
`iswxapp` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_enabled` (`enabled`),
KEY `idx_displayorder` (`displayorder`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
DROP TABLE IF EXISTS `ims_ewei_shop_bargain_account`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_bargain_account` (
`id` int(11) NOT NULL,
`mall_name` varchar(255) DEFAULT NULL,
`banner` varchar(255) DEFAULT NULL,
`mall_title` varchar(255) DEFAULT NULL,
`mall_content` varchar(255) DEFAULT NULL,
`mall_logo` varchar(255) DEFAULT NULL,
`message` int(11) DEFAULT '0',
`partin` int(11) DEFAULT '0',
`rule` text,
`end_message` int(11) DEFAULT '0',
`follow_swi` tinyint(1) NOT NULL DEFAULT '0',
`sharestyle` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
DROP TABLE IF EXISTS `ims_ewei_shop_bargain_actor`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_bargain_actor` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`goods_id` int(11) NOT NULL,
`now_price` decimal(9,2) NOT NULL,
`created_time` datetime NOT NULL,
`update_time` datetime NOT NULL,
`bargain_times` int(10) NOT NULL,
`openid` varchar(50) NOT NULL DEFAULT '',
`nickname` varchar(20) NOT NULL,
`head_image` varchar(200) NOT NULL,
`bargain_price` decimal(9,2) NOT NULL,
`status` tinyint(2) NOT NULL,
`account_id` int(11) NOT NULL,
`initiate` tinyint(4) NOT NULL DEFAULT '0',
`order` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_bargain_goods`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_bargain_goods` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`account_id` int(11) NOT NULL,
`goods_id` varchar(20) NOT NULL,
`end_price` decimal(10,2) NOT NULL,
`start_time` datetime NOT NULL,
`end_time` datetime NOT NULL,
`status` tinyint(2) NOT NULL,
`type` tinyint(2) NOT NULL,
`user_set` text,
`rule` text,
`act_times` int(11) NOT NULL,
`mode` tinyint(4) NOT NULL,
`total_time` int(11) NOT NULL,
`each_time` int(11) NOT NULL,
`time_limit` int(11) NOT NULL,
`probability` text NOT NULL,
`custom` varchar(255) DEFAULT NULL,
`maximum` int(11) DEFAULT NULL,
`initiate` tinyint(4) NOT NULL DEFAULT '0',
`myself` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `goods_id` (`goods_id`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_bargain_record`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_bargain_record` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`actor_id` int(11) NOT NULL,
`bargain_price` decimal(9,2) NOT NULL,
`openid` varchar(50) NOT NULL DEFAULT '',
`nickname` varchar(20) NOT NULL,
`head_image` varchar(200) NOT NULL,
`bargain_time` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_carrier`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_carrier` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`realname` varchar(50) DEFAULT '',
`mobile` varchar(50) DEFAULT '',
`address` varchar(255) DEFAULT '',
`deleted` tinyint(1) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_deleted` (`deleted`),
KEY `idx_createtime` (`createtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_cashier_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_cashier_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`catename` varchar(255) DEFAULT '',
`createtime` int(11) DEFAULT '0',
`status` tinyint(1) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_cashier_clearing`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_cashier_clearing` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`cashierid` int(11) DEFAULT '0',
`clearno` varchar(64) DEFAULT '',
`status` tinyint(3) DEFAULT '0',
`money` decimal(10,2) DEFAULT '0.00',
`realmoney` decimal(10,2) DEFAULT '0.00',
`remark` varchar(500) DEFAULT '',
`orderids` text,
`createtime` int(11) DEFAULT '0',
`paytime` int(11) DEFAULT '0',
`deleted` tinyint(3) DEFAULT '0',
`paytype` tinyint(1) DEFAULT '0',
`payinfo` varchar(1000) DEFAULT '',
`charge` decimal(10,2) DEFAULT '0.00',
PRIMARY KEY (`id`),
KEY `uniacid` (`uniacid`) USING BTREE,
KEY `storeid` (`cashierid`) USING BTREE,
KEY `status` (`status`) USING BTREE,
KEY `createtime` (`createtime`) USING BTREE,
KEY `deleted` (`deleted`) USING BTREE,
KEY `clearno` (`clearno`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_cashier_goods`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_cashier_goods` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`cashierid` int(11) DEFAULT '0',
`createtime` int(10) unsigned DEFAULT '0',
`title` varchar(255) DEFAULT '',
`image` varchar(255) DEFAULT '',
`categoryid` tinyint(1) DEFAULT '0',
`price` decimal(10,2) DEFAULT '0.00',
`total` int(11) DEFAULT '0',
`status` tinyint(1) DEFAULT '0',
`goodssn` varchar(50) DEFAULT '',
PRIMARY KEY (`id`),
KEY `uniacid` (`uniacid`) USING BTREE,
KEY `cashierid` (`cashierid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_cashier_goods_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_cashier_goods_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`cashierid` int(11) DEFAULT '0',
`catename` varchar(255) DEFAULT '',
`createtime` int(11) DEFAULT '0',
`status` tinyint(1) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_cashierid` (`cashierid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_cashier_operator`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_cashier_operator` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`cashierid` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`manageopenid` varchar(50) DEFAULT '',
`username` varchar(255) DEFAULT '',
`password` varchar(50) DEFAULT '',
`salt` varchar(8) DEFAULT '',
`perm` text,
`createtime` int(10) unsigned DEFAULT '0',
PRIMARY KEY (`id`),
KEY `uniacid` (`uniacid`) USING BTREE,
KEY `cashierid` (`cashierid`) USING BTREE,
KEY `manageopenid` (`manageopenid`) USING BTREE,
KEY `username` (`username`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_cashier_order`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_cashier_order` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`ordersn` varchar(255) DEFAULT '',
`price` decimal(10,2) DEFAULT '0.00',
`openid` varchar(50) DEFAULT '',
`payopenid` varchar(50) DEFAULT '',
`createtime` int(10) unsigned DEFAULT '0',
`status` tinyint(4) DEFAULT '0',
`paytime` int(10) unsigned DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_cashier_pay_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_cashier_pay_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`cashierid` int(11) DEFAULT '0',
`operatorid` int(11) DEFAULT '0',
`openid` varchar(50) DEFAULT '',
`paytype` tinyint(3) DEFAULT NULL,
`logno` varchar(255) DEFAULT '',
`title` varchar(255) DEFAULT '',
`createtime` int(11) DEFAULT '0',
`status` int(11) DEFAULT '0',
`money` decimal(10,2) DEFAULT '0.00',
`paytime` int(11) DEFAULT '0',
`is_applypay` tinyint(1) DEFAULT '0',
`randommoney` decimal(10,2) DEFAULT '0.00',
`enough` decimal(10,2) DEFAULT '0.00',
`mobile` varchar(20) DEFAULT '',
`deduction` decimal(10,2) DEFAULT '0.00',
`discountmoney` decimal(10,2) DEFAULT '0.00',
`discount` decimal(5,2) DEFAULT '0.00',
`isgoods` tinyint(1) DEFAULT '0',
`orderid` int(11) DEFAULT '0',
`orderprice` decimal(10,2) DEFAULT '0.00',
`goodsprice` decimal(10,2) DEFAULT '0.00',
`couponpay` decimal(10,2) DEFAULT '0.00',
`payopenid` varchar(50) DEFAULT '',
`nosalemoney` decimal(10,2) DEFAULT '0.00',
`coupon` int(11) DEFAULT '0',
`usecoupon` int(11) DEFAULT '0',
`usecouponprice` decimal(10,2) DEFAULT '0.00',
`present_credit1` int(11) DEFAULT '0',
`refundsn` varchar(50) DEFAULT '',
`refunduser` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_type` (`paytype`) USING BTREE,
KEY `idx_createtime` (`createtime`) USING BTREE,
KEY `idx_status` (`status`) USING BTREE,
KEY `idx_storeid` (`cashierid`) USING BTREE,
KEY `idx_logno` (`logno`) USING BTREE,
KEY `is_applypay` (`is_applypay`) USING BTREE,
KEY `orderid` (`orderid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_cashier_pay_log_goods`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_cashier_pay_log_goods` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`cashierid` int(11) DEFAULT '0',
`logid` int(11) DEFAULT '0',
`goodsid` int(11) DEFAULT '0',
`price` decimal(10,2) DEFAULT '0.00',
`total` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `logid` (`logid`) USING BTREE,
KEY `goodsid` (`goodsid`) USING BTREE,
KEY `cashierid` (`cashierid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_cashier_qrcode`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_cashier_qrcode` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`cashierid` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`goodstitle` varchar(255) DEFAULT '',
`money` decimal(10,2) DEFAULT '0.00',
`createtime` int(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `uniacid` (`uniacid`) USING BTREE,
KEY `cashierid` (`cashierid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_cashier_user`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_cashier_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`storeid` int(11) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
`setmeal` tinyint(3) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`logo` varchar(255) DEFAULT '',
`manageopenid` varchar(50) DEFAULT '',
`isopen_commission` tinyint(1) DEFAULT '0',
`name` varchar(50) DEFAULT '',
`mobile` varchar(50) DEFAULT '',
`categoryid` int(11) DEFAULT '0',
`wechat_status` tinyint(1) DEFAULT '0',
`wechatpay` text,
`alipay_status` tinyint(1) DEFAULT '0',
`alipay` text,
`withdraw` decimal(10,2) DEFAULT '0.00',
`openid` varchar(50) DEFAULT '',
`diyformfields` text,
`diyformdata` text,
`createtime` int(11) DEFAULT '0',
`username` varchar(255) DEFAULT '',
`password` varchar(32) DEFAULT '',
`salt` char(8) DEFAULT '',
`lifetimestart` int(10) unsigned DEFAULT '0',
`lifetimeend` int(10) unsigned DEFAULT '0',
`status` tinyint(1) DEFAULT '0',
`set` longtext,
`deleted` tinyint(1) DEFAULT '0',
`can_withdraw` tinyint(1) DEFAULT '0',
`show_paytype` tinyint(1) DEFAULT '0',
`couponid` varchar(255) DEFAULT '',
`management` varchar(1000) DEFAULT '',
`notice_openids` varchar(500) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `uniacid` (`uniacid`) USING BTREE,
KEY `openid` (`manageopenid`) USING BTREE,
KEY `username` (`username`) USING BTREE,
KEY `status` (`status`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`name` varchar(50) DEFAULT NULL,
`thumb` varchar(255) DEFAULT NULL,
`parentid` int(11) DEFAULT '0',
`isrecommand` int(10) DEFAULT '0',
`description` varchar(500) DEFAULT NULL,
`displayorder` tinyint(3) unsigned DEFAULT '0',
`enabled` tinyint(1) DEFAULT '1',
`ishome` tinyint(3) DEFAULT '0',
`advimg` varchar(255) DEFAULT '',
`advurl` varchar(500) DEFAULT '',
`level` tinyint(3) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_displayorder` (`displayorder`),
KEY `idx_enabled` (`enabled`),
KEY `idx_parentid` (`parentid`),
KEY `idx_isrecommand` (`isrecommand`),
KEY `idx_ishome` (`ishome`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1174 ;
DROP TABLE IF EXISTS `ims_ewei_shop_city_express`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_city_express` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
`start_fee` decimal(10,2) DEFAULT '0.00',
`start_km` int(11) DEFAULT '0',
`pre_km` int(11) DEFAULT '0',
`pre_km_fee` decimal(10,2) DEFAULT '0.00',
`fixed_km` int(11) DEFAULT '0',
`fixed_fee` decimal(10,2) DEFAULT '0.00',
`receive_goods` int(11) DEFAULT NULL,
`lng` varchar(255) DEFAULT '',
`lat` varchar(255) DEFAULT '',
`range` int(11) DEFAULT '0',
`zoom` int(11) NOT NULL DEFAULT '13',
`express_type` int(11) NOT NULL DEFAULT '0',
`config` varchar(255) NOT NULL DEFAULT '',
`tel1` varchar(255) DEFAULT '',
`tel2` varchar(255) DEFAULT '',
`is_sum` tinyint(1) DEFAULT '0',
`is_dispatch` tinyint(1) DEFAULT '1',
`enabled` tinyint(1) DEFAULT '0',
`geo_key` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_commission_apply`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_commission_apply` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`applyno` varchar(255) DEFAULT '',
`mid` int(11) DEFAULT '0',
`type` tinyint(3) DEFAULT '0',
`orderids` longtext,
`commission` decimal(10,2) DEFAULT '0.00',
`commission_pay` decimal(10,2) DEFAULT '0.00',
`content` text,
`status` tinyint(3) DEFAULT '0',
`applytime` int(11) DEFAULT '0',
`checktime` int(11) DEFAULT '0',
`paytime` int(11) DEFAULT '0',
`invalidtime` int(11) DEFAULT '0',
`refusetime` int(11) DEFAULT '0',
`realmoney` decimal(10,2) DEFAULT '0.00',
`charge` decimal(10,2) DEFAULT '0.00',
`deductionmoney` decimal(10,2) DEFAULT '0.00',
`beginmoney` decimal(10,2) DEFAULT '0.00',
`endmoney` decimal(10,2) DEFAULT '0.00',
`alipay` varchar(50) NOT NULL DEFAULT '',
`bankname` varchar(50) NOT NULL DEFAULT '',
`bankcard` varchar(50) NOT NULL DEFAULT '',
`realname` varchar(50) NOT NULL DEFAULT '',
`repurchase` decimal(10,2) DEFAULT '0.00',
`alipay1` varchar(50) NOT NULL DEFAULT '',
`bankname1` varchar(50) NOT NULL DEFAULT '',
`bankcard1` varchar(50) NOT NULL DEFAULT '',
`sendmoney` decimal(10,2) DEFAULT '0.00',
`senddata` text,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_mid` (`mid`),
KEY `idx_checktime` (`checktime`),
KEY `idx_paytime` (`paytime`),
KEY `idx_applytime` (`applytime`),
KEY `idx_status` (`status`),
KEY `idx_invalidtime` (`invalidtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_commission_bank`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_commission_bank` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`bankname` varchar(255) NOT NULL DEFAULT '',
`content` varchar(255) NOT NULL DEFAULT '',
`status` tinyint(1) NOT NULL DEFAULT '0',
`displayorder` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_commission_clickcount`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_commission_clickcount` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`from_openid` varchar(255) DEFAULT '',
`clicktime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_openid` (`openid`),
KEY `idx_from_openid` (`from_openid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=301 ;
DROP TABLE IF EXISTS `ims_ewei_shop_commission_level`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_commission_level` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`levelname` varchar(50) DEFAULT '',
`commission1` decimal(10,2) DEFAULT '0.00',
`commission2` decimal(10,2) DEFAULT '0.00',
`commission3` decimal(10,2) DEFAULT '0.00',
`commissionmoney` decimal(10,2) DEFAULT '0.00',
`ordermoney` decimal(10,2) DEFAULT '0.00',
`downcount` varchar(255) DEFAULT '',
`ordercount` int(11) DEFAULT '0',
`withdraw` decimal(10,2) DEFAULT '0.00',
`repurchase` decimal(10,2) DEFAULT '0.00',
`goodsids` varchar(1000) DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
DROP TABLE IF EXISTS `ims_ewei_shop_commission_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_commission_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`applyid` int(11) DEFAULT '0',
`mid` int(11) DEFAULT '0',
`commission` decimal(10,2) DEFAULT '0.00',
`createtime` int(11) DEFAULT '0',
`commission_pay` decimal(10,2) DEFAULT '0.00',
`realmoney` decimal(10,2) DEFAULT '0.00',
`charge` decimal(10,2) DEFAULT '0.00',
`deductionmoney` decimal(10,2) DEFAULT '0.00',
`type` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_applyid` (`applyid`),
KEY `idx_mid` (`mid`),
KEY `idx_createtime` (`createtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_commission_rank`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_commission_rank` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`type` tinyint(4) NOT NULL DEFAULT '0',
`num` int(11) NOT NULL,
`status` tinyint(4) NOT NULL DEFAULT '0',
`title` varchar(255) NOT NULL DEFAULT '',
`content` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_commission_relation`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_commission_relation` (
`id` int(10) unsigned NOT NULL,
`pid` int(10) unsigned NOT NULL,
`level` tinyint(1) unsigned NOT NULL,
UNIQUE KEY `id_pid` (`id`,`pid`),
KEY `id` (`id`),
KEY `pid` (`pid`),
KEY `level` (`level`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `ims_ewei_shop_commission_repurchase`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_commission_repurchase` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(50) DEFAULT '',
`year` int(4) DEFAULT '0',
`month` tinyint(2) DEFAULT '0',
`repurchase` decimal(10,2) DEFAULT '0.00',
`applyid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `applyid` (`applyid`),
KEY `openid` (`openid`),
KEY `uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_commission_shop`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_commission_shop` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`mid` int(11) DEFAULT '0',
`name` varchar(255) DEFAULT '',
`logo` varchar(255) DEFAULT '',
`img` varchar(255) DEFAULT NULL,
`desc` varchar(255) DEFAULT '',
`selectgoods` tinyint(3) DEFAULT '0',
`selectcategory` tinyint(3) DEFAULT '0',
`goodsids` text,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_mid` (`mid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=51 ;
DROP TABLE IF EXISTS `ims_ewei_shop_coupon`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_coupon` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`catid` int(11) DEFAULT '0',
`couponname` varchar(255) DEFAULT '',
`gettype` tinyint(3) DEFAULT '0',
`getmax` int(11) DEFAULT '0',
`usetype` tinyint(3) DEFAULT '0',
`returntype` tinyint(3) DEFAULT '0',
`bgcolor` varchar(255) DEFAULT '',
`enough` decimal(10,2) DEFAULT '0.00',
`timelimit` tinyint(3) DEFAULT '0',
`coupontype` tinyint(3) DEFAULT '0',
`timedays` int(11) DEFAULT '0',
`timestart` int(11) DEFAULT '0',
`timeend` int(11) DEFAULT '0',
`discount` decimal(10,2) DEFAULT '0.00',
`deduct` decimal(10,2) DEFAULT '0.00',
`backtype` tinyint(3) DEFAULT '0',
`backmoney` varchar(50) DEFAULT '',
`backcredit` varchar(50) DEFAULT '',
`backredpack` varchar(50) DEFAULT '',
`backwhen` tinyint(3) DEFAULT '0',
`thumb` varchar(255) DEFAULT '',
`desc` text,
`createtime` int(11) DEFAULT '0',
`total` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
`money` decimal(10,2) DEFAULT '0.00',
`respdesc` text,
`respthumb` varchar(255) DEFAULT '',
`resptitle` varchar(255) DEFAULT '',
`respurl` varchar(255) DEFAULT '',
`credit` int(11) DEFAULT '0',
`usecredit2` tinyint(3) DEFAULT '0',
`remark` varchar(1000) DEFAULT '',
`descnoset` tinyint(3) DEFAULT '0',
`pwdkey` varchar(255) DEFAULT '',
`pwdsuc` text,
`pwdfail` text,
`pwdurl` varchar(255) DEFAULT '',
`pwdask` text,
`pwdstatus` tinyint(3) DEFAULT '0',
`pwdtimes` int(11) DEFAULT '0',
`pwdfull` text,
`pwdwords` text,
`pwdopen` tinyint(3) DEFAULT '0',
`pwdown` text,
`pwdexit` varchar(255) DEFAULT '',
`pwdexitstr` text,
`displayorder` int(11) DEFAULT '0',
`pwdkey2` varchar(255) DEFAULT '',
`merchid` int(11) DEFAULT '0',
`limitgoodtype` tinyint(1) DEFAULT '0',
`limitgoodcatetype` tinyint(1) DEFAULT '0',
`limitgoodcateids` varchar(500) DEFAULT '',
`limitgoodids` varchar(500) DEFAULT '',
`islimitlevel` tinyint(1) DEFAULT '0',
`limitmemberlevels` varchar(500) DEFAULT '',
`limitagentlevels` varchar(500) DEFAULT '',
`limitpartnerlevels` varchar(500) DEFAULT '',
`limitaagentlevels` varchar(500) DEFAULT '',
`tagtitle` varchar(20) DEFAULT '',
`settitlecolor` tinyint(1) DEFAULT '0',
`titlecolor` varchar(10) DEFAULT '',
`limitdiscounttype` tinyint(1) DEFAULT '1',
`quickget` tinyint(1) DEFAULT '0',
`templateid` varchar(60) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_coupontype` (`coupontype`),
KEY `idx_timestart` (`timestart`),
KEY `idx_timeend` (`timeend`),
KEY `idx_timelimit` (`timelimit`),
KEY `idx_status` (`status`),
KEY `idx_givetype` (`backtype`),
KEY `idx_catid` (`catid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
DROP TABLE IF EXISTS `ims_ewei_shop_coupon_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_coupon_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`name` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`status` int(11) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_displayorder` (`displayorder`),
KEY `idx_status` (`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
DROP TABLE IF EXISTS `ims_ewei_shop_coupon_data`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_coupon_data` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`couponid` int(11) DEFAULT '0',
`gettype` tinyint(3) DEFAULT '0',
`used` int(11) DEFAULT '0',
`usetime` int(11) DEFAULT '0',
`gettime` int(11) DEFAULT '0',
`senduid` int(11) DEFAULT '0',
`ordersn` varchar(255) DEFAULT '',
`back` tinyint(3) DEFAULT '0',
`backtime` int(11) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
`isnew` tinyint(1) DEFAULT '1',
`nocount` tinyint(1) DEFAULT '1',
`shareident` varchar(50) DEFAULT NULL,
`textkey` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_couponid` (`couponid`),
KEY `idx_gettype` (`gettype`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=15 ;
DROP TABLE IF EXISTS `ims_ewei_shop_coupon_goodsendtask`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_coupon_goodsendtask` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`goodsid` int(11) DEFAULT '0',
`couponid` int(11) DEFAULT '0',
`starttime` int(11) DEFAULT '0',
`endtime` int(11) DEFAULT '0',
`sendnum` int(11) DEFAULT '1',
`num` int(11) DEFAULT '0',
`sendpoint` tinyint(1) DEFAULT '0',
`status` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_coupon_guess`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_coupon_guess` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`couponid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`times` int(11) DEFAULT '0',
`pwdkey` varchar(255) DEFAULT '',
`ok` tinyint(3) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_couponid` (`couponid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_coupon_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_coupon_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`logno` varchar(255) DEFAULT '',
`openid` varchar(255) DEFAULT '',
`couponid` int(11) DEFAULT '0',
`status` int(11) DEFAULT '0',
`paystatus` tinyint(3) DEFAULT '0',
`creditstatus` tinyint(3) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`paytype` tinyint(3) DEFAULT '0',
`getfrom` tinyint(3) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_couponid` (`couponid`),
KEY `idx_status` (`status`),
KEY `idx_paystatus` (`paystatus`),
KEY `idx_createtime` (`createtime`),
KEY `idx_getfrom` (`getfrom`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=15 ;
DROP TABLE IF EXISTS `ims_ewei_shop_coupon_sendshow`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_coupon_sendshow` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`showkey` varchar(20) NOT NULL,
`uniacid` int(11) NOT NULL,
`openid` varchar(255) NOT NULL,
`coupondataid` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_coupon_sendtasks`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_coupon_sendtasks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`enough` decimal(10,2) DEFAULT '0.00',
`couponid` int(11) DEFAULT '0',
`starttime` int(11) DEFAULT '0',
`endtime` int(11) DEFAULT '0',
`sendnum` int(11) DEFAULT '1',
`num` int(11) DEFAULT '0',
`sendpoint` tinyint(1) DEFAULT '0',
`status` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_coupon_taskdata`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_coupon_taskdata` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`openid` varchar(50) DEFAULT NULL,
`taskid` int(11) DEFAULT '0',
`couponid` int(11) DEFAULT '0',
`sendnum` int(11) DEFAULT '0',
`tasktype` tinyint(1) DEFAULT '0',
`orderid` int(11) DEFAULT '0',
`parentorderid` int(11) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`status` tinyint(1) DEFAULT '0',
`sendpoint` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_coupon_usesendtasks`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_coupon_usesendtasks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`usecouponid` int(11) DEFAULT '0',
`couponid` int(11) DEFAULT '0',
`starttime` int(11) DEFAULT '0',
`endtime` int(11) DEFAULT '0',
`sendnum` int(11) DEFAULT '1',
`num` int(11) DEFAULT '0',
`status` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_adv`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_creditshop_adv` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`advname` varchar(50) DEFAULT '',
`link` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`enabled` int(11) DEFAULT '0',
`merchid` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_enabled` (`enabled`),
KEY `idx_displayorder` (`displayorder`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_creditshop_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`name` varchar(50) DEFAULT NULL,
`thumb` varchar(255) DEFAULT NULL,
`displayorder` tinyint(3) unsigned DEFAULT '0',
`enabled` tinyint(1) DEFAULT '1',
`advimg` varchar(255) DEFAULT '',
`advurl` varchar(500) DEFAULT '',
`isrecommand` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_displayorder` (`displayorder`),
KEY `idx_enabled` (`enabled`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=11 ;
DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_comment`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_creditshop_comment` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`logid` int(11) NOT NULL DEFAULT '0',
`logno` varchar(50) NOT NULL DEFAULT '',
`goodsid` int(11) NOT NULL DEFAULT '0',
`openid` varchar(50) DEFAULT NULL,
`nickname` varchar(50) DEFAULT NULL,
`headimg` varchar(255) DEFAULT NULL,
`level` tinyint(3) NOT NULL DEFAULT '0',
`content` varchar(255) DEFAULT NULL,
`images` text,
`time` int(11) NOT NULL DEFAULT '0',
`reply_content` varchar(255) DEFAULT NULL,
`reply_images` text,
`reply_time` int(11) NOT NULL DEFAULT '0',
`append_content` varchar(255) DEFAULT NULL,
`append_images` text,
`append_time` int(11) NOT NULL DEFAULT '0',
`append_reply_content` varchar(255) DEFAULT NULL,
`append_reply_images` text,
`append_reply_time` int(11) NOT NULL DEFAULT '0',
`istop` tinyint(3) NOT NULL DEFAULT '0',
`checked` tinyint(3) NOT NULL DEFAULT '0',
`append_checked` tinyint(3) NOT NULL DEFAULT '0',
`virtual` tinyint(3) NOT NULL DEFAULT '0',
`deleted` tinyint(3) NOT NULL DEFAULT '0',
`merchid` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_goods`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_creditshop_goods` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`cate` int(11) DEFAULT '0',
`thumb` varchar(255) DEFAULT '',
`price` decimal(10,2) DEFAULT '0.00',
`type` tinyint(3) DEFAULT '0',
`credit` int(11) DEFAULT '0',
`money` decimal(10,2) DEFAULT '0.00',
`total` int(11) DEFAULT '0',
`totalday` int(11) DEFAULT '0',
`chance` int(11) DEFAULT '0',
`chanceday` int(11) DEFAULT '0',
`detail` text,
`rate1` int(11) DEFAULT '0',
`rate2` int(11) DEFAULT '0',
`endtime` int(11) DEFAULT '0',
`joins` int(11) DEFAULT '0',
`views` int(11) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
`deleted` tinyint(3) DEFAULT '0',
`showlevels` text,
`buylevels` text,
`showgroups` text,
`buygroups` text,
`vip` tinyint(3) DEFAULT '0',
`istop` tinyint(3) DEFAULT '0',
`isrecommand` tinyint(3) DEFAULT '0',
`istime` tinyint(3) DEFAULT '0',
`timestart` int(11) DEFAULT '0',
`timeend` int(11) DEFAULT '0',
`share_title` varchar(255) DEFAULT '',
`share_icon` varchar(255) DEFAULT '',
`share_desc` varchar(500) DEFAULT '',
`followneed` tinyint(3) DEFAULT '0',
`followtext` varchar(255) DEFAULT '',
`subtitle` varchar(255) DEFAULT '',
`subdetail` text,
`noticedetail` text,
`usedetail` varchar(255) DEFAULT '',
`goodsdetail` text,
`isendtime` tinyint(3) DEFAULT '0',
`usecredit2` tinyint(3) DEFAULT '0',
`area` varchar(255) DEFAULT '',
`dispatch` decimal(10,2) DEFAULT '0.00',
`storeids` text,
`noticeopenid` varchar(255) DEFAULT '',
`noticetype` tinyint(3) DEFAULT '0',
`isverify` tinyint(3) DEFAULT '0',
`goodstype` tinyint(3) DEFAULT '0',
`couponid` int(11) DEFAULT '0',
`goodsid` int(11) DEFAULT '0',
`merchid` int(11) NOT NULL DEFAULT '0',
`productprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`mincredit` decimal(10,2) NOT NULL DEFAULT '0.00',
`minmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
`maxcredit` decimal(10,2) NOT NULL DEFAULT '0.00',
`maxmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
`dispatchtype` tinyint(3) NOT NULL DEFAULT '0',
`dispatchid` int(11) NOT NULL DEFAULT '0',
`verifytype` tinyint(3) NOT NULL DEFAULT '0',
`verifynum` int(11) NOT NULL DEFAULT '0',
`grant1` decimal(10,2) NOT NULL DEFAULT '0.00',
`grant2` decimal(10,2) NOT NULL DEFAULT '0.00',
`goodssn` varchar(255) NOT NULL,
`productsn` varchar(255) NOT NULL,
`weight` int(11) NOT NULL,
`showtotal` tinyint(3) NOT NULL,
`totalcnf` tinyint(3) NOT NULL DEFAULT '0',
`usetime` int(11) NOT NULL DEFAULT '0',
`hasoption` tinyint(3) NOT NULL DEFAULT '0',
`noticedetailshow` tinyint(3) NOT NULL DEFAULT '0',
`detailshow` tinyint(3) NOT NULL DEFAULT '0',
`packetmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
`surplusmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
`packetlimit` decimal(10,2) NOT NULL DEFAULT '0.00',
`packettype` tinyint(3) NOT NULL DEFAULT '0',
`minpacketmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
`packettotal` int(11) NOT NULL DEFAULT '0',
`packetsurplus` int(11) NOT NULL DEFAULT '0',
`maxpacketmoney` decimal(10,2) DEFAULT '0.00',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_type` (`type`),
KEY `idx_endtime` (`endtime`),
KEY `idx_createtime` (`createtime`),
KEY `idx_status` (`status`),
KEY `idx_displayorder` (`displayorder`),
KEY `idx_deleted` (`deleted`),
KEY `idx_istop` (`istop`),
KEY `idx_isrecommand` (`isrecommand`),
KEY `idx_istime` (`istime`),
KEY `idx_timestart` (`timestart`),
KEY `idx_timeend` (`timeend`),
KEY `idx_goodstype` (`goodstype`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=20 ;
DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_creditshop_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`logno` varchar(255) DEFAULT '',
`eno` varchar(255) DEFAULT '',
`openid` varchar(255) DEFAULT '',
`goodsid` int(11) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
`paystatus` tinyint(3) DEFAULT '0',
`paytype` tinyint(3) DEFAULT '-1',
`dispatchstatus` tinyint(3) DEFAULT '0',
`creditpay` tinyint(3) DEFAULT '0',
`addressid` int(11) DEFAULT '0',
`dispatchno` varchar(255) DEFAULT '',
`usetime` int(11) DEFAULT '0',
`express` varchar(255) DEFAULT '',
`expresssn` varchar(255) DEFAULT '',
`expresscom` varchar(255) DEFAULT '',
`verifyopenid` varchar(255) DEFAULT '',
`storeid` int(11) DEFAULT '0',
`realname` varchar(255) DEFAULT '',
`mobile` varchar(255) DEFAULT '',
`couponid` int(11) DEFAULT '0',
`dupdate1` tinyint(3) DEFAULT '0',
`transid` varchar(255) DEFAULT '',
`dispatchtransid` varchar(255) DEFAULT '',
`address` text,
`optionid` int(11) NOT NULL DEFAULT '0',
`time_send` int(11) NOT NULL DEFAULT '0',
`time_finish` int(11) NOT NULL DEFAULT '0',
`iscomment` tinyint(3) NOT NULL DEFAULT '0',
`dispatchtime` int(11) NOT NULL DEFAULT '0',
`verifynum` int(11) NOT NULL DEFAULT '1',
`verifytime` int(11) NOT NULL DEFAULT '0',
`merchid` int(11) NOT NULL DEFAULT '0',
`remarksaler` text,
`dispatch` decimal(10,2) DEFAULT '0.00',
`money` decimal(10,2) DEFAULT '0.00',
`credit` int(11) DEFAULT '0',
`goods_num` int(11) DEFAULT '0',
`merchapply` tinyint(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=54 ;
DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_option`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_creditshop_option` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`goodsid` int(10) DEFAULT '0',
`title` varchar(50) DEFAULT '',
`thumb` varchar(60) DEFAULT '',
`credit` int(10) NOT NULL DEFAULT '0',
`money` decimal(10,2) DEFAULT '0.00',
`total` int(11) DEFAULT '0',
`weight` decimal(10,2) DEFAULT '0.00',
`displayorder` int(11) DEFAULT '0',
`specs` text,
`skuId` varchar(255) DEFAULT '',
`goodssn` varchar(255) DEFAULT '',
`productsn` varchar(255) DEFAULT '',
`virtual` int(11) DEFAULT '0',
`exchange_stock` int(11) NOT NULL DEFAULT '-1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_spec`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_creditshop_spec` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`goodsid` int(11) DEFAULT '0',
`title` varchar(50) DEFAULT '',
`description` varchar(1000) DEFAULT '',
`displaytype` tinyint(3) DEFAULT '0',
`content` text,
`displayorder` int(11) DEFAULT '0',
`propId` varchar(255) DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_spec_item`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_creditshop_spec_item` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`specid` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`show` int(11) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`valueId` varchar(255) DEFAULT '',
`virtual` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_creditshop_verify`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_creditshop_verify` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(45) DEFAULT '0',
`logid` int(11) DEFAULT '0',
`verifycode` varchar(45) DEFAULT NULL,
`storeid` int(11) DEFAULT '0',
`verifier` varchar(45) DEFAULT '0',
`isverify` tinyint(3) DEFAULT '0',
`verifytime` int(11) DEFAULT '0',
`merchid` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_customer`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_customer` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`kf_id` varchar(255) DEFAULT NULL,
`kf_account` varchar(255) DEFAULT '',
`kf_nick` varchar(255) DEFAULT '',
`kf_pwd` varchar(255) DEFAULT '',
`kf_headimgurl` varchar(255) DEFAULT '',
`createtime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_createtime` (`createtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_customer_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_customer_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`name` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_customer_guestbook`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_customer_guestbook` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`realname` varchar(11) DEFAULT '',
`mobile` varchar(255) DEFAULT '',
`weixin` varchar(255) DEFAULT '',
`images` text,
`content` text,
`remark` text,
`status` tinyint(3) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`deleted` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_customer_robot`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_customer_robot` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`cate` int(11) DEFAULT '0',
`keywords` varchar(500) DEFAULT '',
`title` varchar(255) DEFAULT '',
`content` longtext,
`url` varchar(255) DEFAULT '',
`createtime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_cate` (`cate`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_cycelbuy_periods`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_cycelbuy_periods` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`orderid` int(11) NOT NULL,
`cycelsn` varchar(255) NOT NULL,
`sendtime` int(11) DEFAULT NULL,
`receipttime` int(11) DEFAULT NULL,
`status` tinyint(3) NOT NULL DEFAULT '0',
`remark` varchar(255) DEFAULT NULL,
`addressid` int(11) DEFAULT NULL,
`dispatchprice` decimal(10,2) DEFAULT NULL,
`dispatchid` int(11) DEFAULT NULL,
`createtime` int(11) DEFAULT NULL,
`dispatchtype` tinyint(3) DEFAULT NULL,
`finishtime` int(11) DEFAULT NULL,
`expresscom` varchar(255) DEFAULT NULL,
`expresssn` varchar(255) DEFAULT NULL,
`express` varchar(255) DEFAULT NULL,
`address` text,
`updatelog` text,
`ispostpone` tinyint(4) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_datatransfer`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_datatransfer` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`fromuniacid` int(11) DEFAULT NULL,
`touniacid` int(11) DEFAULT NULL,
`status` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_designer`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_designer` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`pagename` varchar(255) NOT NULL DEFAULT '',
`pagetype` tinyint(3) NOT NULL DEFAULT '0',
`pageinfo` text NOT NULL,
`createtime` varchar(255) NOT NULL DEFAULT '',
`keyword` varchar(255) DEFAULT '',
`savetime` varchar(255) NOT NULL DEFAULT '',
`setdefault` tinyint(3) NOT NULL DEFAULT '0',
`datas` text NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_pagetype` (`pagetype`),
KEY `idx_keyword` (`keyword`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
DROP TABLE IF EXISTS `ims_ewei_shop_designer_menu`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_designer_menu` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`menuname` varchar(255) DEFAULT '',
`isdefault` tinyint(3) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`menus` text,
`params` text,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_isdefault` (`isdefault`),
KEY `idx_createtime` (`createtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_dispatch`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_dispatch` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`dispatchname` varchar(50) DEFAULT '',
`dispatchtype` int(11) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`firstprice` decimal(10,2) DEFAULT '0.00',
`secondprice` decimal(10,2) DEFAULT '0.00',
`firstweight` int(11) DEFAULT '0',
`secondweight` int(11) DEFAULT '0',
`express` varchar(250) DEFAULT '',
`areas` longtext,
`carriers` text,
`enabled` int(11) DEFAULT '0',
`calculatetype` tinyint(1) DEFAULT '0',
`firstnum` int(11) DEFAULT '0',
`secondnum` int(11) DEFAULT '0',
`firstnumprice` decimal(10,2) DEFAULT '0.00',
`secondnumprice` decimal(10,2) DEFAULT '0.00',
`isdefault` tinyint(1) DEFAULT '0',
`shopid` int(11) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
`nodispatchareas` text,
`nodispatchareas_code` longtext,
`isdispatcharea` tinyint(3) NOT NULL DEFAULT '0',
`freeprice` decimal(10,2) NOT NULL DEFAULT '0.00',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_displayorder` (`displayorder`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=13 ;
DROP TABLE IF EXISTS `ims_ewei_shop_dividend_apply`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_dividend_apply` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`applyno` varchar(255) DEFAULT '',
`mid` int(11) DEFAULT '0',
`type` tinyint(3) DEFAULT '0',
`orderids` longtext,
`dividend` decimal(10,2) DEFAULT '0.00',
`dividend_pay` decimal(10,2) DEFAULT '0.00',
`content` text,
`status` tinyint(3) DEFAULT '0',
`applytime` int(11) DEFAULT '0',
`checktime` int(11) DEFAULT '0',
`paytime` int(11) DEFAULT '0',
`invalidtime` int(11) DEFAULT '0',
`realmoney` decimal(10,2) DEFAULT '0.00',
`charge` decimal(10,2) DEFAULT '0.00',
`deductionmoney` decimal(10,2) DEFAULT '0.00',
`beginmoney` decimal(10,2) DEFAULT '0.00',
`endmoney` decimal(10,2) DEFAULT '0.00',
`alipay` varchar(50) NOT NULL DEFAULT '',
`bankname` varchar(50) NOT NULL DEFAULT '',
`bankcard` varchar(50) NOT NULL DEFAULT '',
`alipay1` varchar(50) NOT NULL DEFAULT '',
`bankname1` varchar(50) NOT NULL DEFAULT '',
`bankcard1` varchar(50) NOT NULL DEFAULT '',
`realname` varchar(50) NOT NULL DEFAULT '',
`sendmoney` decimal(10,2) DEFAULT '0.00',
`senddata` text,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_mid` (`mid`),
KEY `idx_checktime` (`checktime`),
KEY `idx_paytime` (`paytime`),
KEY `idx_applytime` (`applytime`),
KEY `idx_status` (`status`),
KEY `idx_invalidtime` (`invalidtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_dividend_bank`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_dividend_bank` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`bankname` varchar(255) NOT NULL DEFAULT '',
`content` varchar(255) NOT NULL DEFAULT '',
`status` tinyint(1) NOT NULL DEFAULT '0',
`displayorder` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_dividend_init`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_dividend_init` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`headsid` int(11) NOT NULL DEFAULT '0',
`status` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_dividend_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_dividend_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`applyid` int(11) DEFAULT '0',
`mid` int(11) DEFAULT '0',
`dividend` decimal(10,2) DEFAULT '0.00',
`createtime` int(11) DEFAULT '0',
`dividend_pay` decimal(10,2) DEFAULT '0.00',
`realmoney` decimal(10,2) DEFAULT '0.00',
`charge` decimal(10,2) DEFAULT '0.00',
`deductionmoney` decimal(10,2) DEFAULT '0.00',
`type` tinyint(3) DEFAULT '0',
`type1` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_applyid` (`applyid`),
KEY `idx_mid` (`mid`),
KEY `idx_createtime` (`createtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_diyform_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_diyform_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`name` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
DROP TABLE IF EXISTS `ims_ewei_shop_diyform_data`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_diyform_data` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`typeid` int(11) NOT NULL DEFAULT '0',
`cid` int(11) DEFAULT '0',
`diyformfields` text,
`fields` text NOT NULL,
`openid` varchar(255) NOT NULL DEFAULT '',
`type` tinyint(2) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_typeid` (`typeid`),
KEY `idx_cid` (`cid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_diyform_temp`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_diyform_temp` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`typeid` int(11) DEFAULT '0',
`cid` int(11) NOT NULL DEFAULT '0',
`diyformfields` text,
`fields` text NOT NULL,
`openid` varchar(255) NOT NULL DEFAULT '',
`type` tinyint(1) DEFAULT '0',
`diyformid` int(11) DEFAULT '0',
`diyformdata` text,
`carrier_realname` varchar(255) DEFAULT '',
`carrier_mobile` varchar(255) DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_cid` (`cid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
DROP TABLE IF EXISTS `ims_ewei_shop_diyform_type`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_diyform_type` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`cate` int(11) DEFAULT '0',
`title` varchar(255) NOT NULL DEFAULT '',
`fields` text NOT NULL,
`usedata` int(11) NOT NULL DEFAULT '0',
`alldata` int(11) NOT NULL DEFAULT '0',
`status` tinyint(1) DEFAULT '1',
`savedata` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_cate` (`cate`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;
DROP TABLE IF EXISTS `ims_ewei_shop_diypage`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_diypage` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`type` tinyint(1) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL DEFAULT '',
`data` longtext NOT NULL,
`createtime` int(11) NOT NULL DEFAULT '0',
`lastedittime` int(11) NOT NULL DEFAULT '0',
`keyword` varchar(255) NOT NULL DEFAULT '',
`diymenu` int(11) NOT NULL DEFAULT '0',
`merch` int(11) NOT NULL DEFAULT '0',
`diyadv` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_type` (`type`),
KEY `idx_keyword` (`keyword`),
KEY `idx_lastedittime` (`lastedittime`),
KEY `idx_createtime` (`createtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=19 ;
DROP TABLE IF EXISTS `ims_ewei_shop_diypage_menu`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_diypage_menu` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL DEFAULT '',
`data` text NOT NULL,
`createtime` int(11) NOT NULL DEFAULT '0',
`lastedittime` int(11) NOT NULL DEFAULT '0',
`merch` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_createtime` (`createtime`),
KEY `idx_lastedittime` (`lastedittime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;
DROP TABLE IF EXISTS `ims_ewei_shop_diypage_plu`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_diypage_plu` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`type` int(11) NOT NULL DEFAULT '0',
`status` tinyint(3) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL DEFAULT '',
`data` text NOT NULL,
`createtime` int(11) NOT NULL DEFAULT '0',
`lastedittime` int(11) NOT NULL DEFAULT '0',
`merch` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_createtime` (`createtime`) USING BTREE,
KEY `idx_lastedittime` (`lastedittime`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_diypage_template`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_diypage_template` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`type` tinyint(3) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL DEFAULT '',
`data` longtext NOT NULL,
`preview` varchar(255) NOT NULL DEFAULT '',
`tplid` int(11) DEFAULT '0',
`cate` int(11) DEFAULT '0',
`deleted` tinyint(3) DEFAULT '0',
`merch` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_type` (`type`),
KEY `idx_cate` (`cate`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=16 ;
DROP TABLE IF EXISTS `ims_ewei_shop_diypage_template_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_diypage_template_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL DEFAULT '',
`merch` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_exchange_cart`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_exchange_cart` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`openid` varchar(100) DEFAULT NULL,
`goodsid` int(11) DEFAULT NULL,
`total` int(10) DEFAULT '1',
`marketprice` decimal(10,2) DEFAULT NULL,
`optionid` int(11) DEFAULT NULL,
`selected` tinyint(1) DEFAULT '1',
`deleted` tinyint(1) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT NULL,
`groupid` int(11) DEFAULT NULL,
`serial` varchar(255) DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_exchange_code`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_exchange_code` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`groupid` int(11) NOT NULL DEFAULT '0',
`uniacid` int(11) NOT NULL DEFAULT '0',
`endtime` datetime NOT NULL DEFAULT '2016-10-01 00:00:00',
`status` int(2) NOT NULL DEFAULT '1',
`openid` varchar(255) NOT NULL DEFAULT '',
`count` int(11) NOT NULL DEFAULT '0',
`key` varchar(255) NOT NULL DEFAULT '',
`type` int(11) NOT NULL DEFAULT '0',
`scene` int(11) NOT NULL DEFAULT '0',
`qrcode_url` varchar(255) NOT NULL DEFAULT '',
`serial` varchar(255) NOT NULL DEFAULT '',
`balancestatus` int(11) DEFAULT '1',
`redstatus` int(11) DEFAULT '1',
`scorestatus` int(11) DEFAULT '1',
`couponstatus` int(11) DEFAULT '1',
`goodsstatus` int(11) DEFAULT NULL,
`repeatcount` int(11) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`,`key`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_exchange_group`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_exchange_group` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL DEFAULT '',
`type` int(2) NOT NULL DEFAULT '0',
`endtime` datetime NOT NULL DEFAULT '2016-10-01 00:00:00',
`mode` int(2) NOT NULL DEFAULT '0',
`status` int(2) NOT NULL DEFAULT '0',
`max` int(2) NOT NULL DEFAULT '0',
`value` decimal(10,2) NOT NULL DEFAULT '0.00',
`uniacid` int(11) NOT NULL DEFAULT '0',
`starttime` datetime NOT NULL DEFAULT '2016-10-01 00:00:00',
`goods` text,
`score` int(11) NOT NULL DEFAULT '0',
`coupon` text,
`use` int(11) NOT NULL DEFAULT '0',
`total` int(11) NOT NULL DEFAULT '0',
`red` decimal(10,2) NOT NULL DEFAULT '0.00',
`balance` decimal(10,2) NOT NULL DEFAULT '0.00',
`balance_left` decimal(10,2) NOT NULL DEFAULT '0.00',
`balance_right` decimal(10,2) NOT NULL DEFAULT '0.00',
`red_left` decimal(10,2) NOT NULL DEFAULT '0.00',
`red_right` decimal(10,2) NOT NULL DEFAULT '0.00',
`score_left` int(11) NOT NULL DEFAULT '0',
`score_right` int(11) NOT NULL DEFAULT '0',
`balance_type` int(11) NOT NULL,
`red_type` int(11) NOT NULL,
`score_type` int(11) NOT NULL,
`title_reply` varchar(255) NOT NULL DEFAULT '',
`img` varchar(255) NOT NULL DEFAULT '',
`content` varchar(255) NOT NULL DEFAULT '',
`rule` text NOT NULL,
`coupon_type` varchar(255) DEFAULT NULL,
`basic_content` varchar(500) NOT NULL DEFAULT '',
`reply_type` int(11) NOT NULL DEFAULT '0',
`code_type` int(11) NOT NULL DEFAULT '0',
`binding` int(11) NOT NULL DEFAULT '0',
`showcount` int(11) DEFAULT '0',
`postage` decimal(10,2) DEFAULT '0.00',
`postage_type` int(11) DEFAULT '0',
`banner` varchar(800) DEFAULT '',
`keyword_reply` int(11) DEFAULT '0',
`reply_status` int(11) DEFAULT '1',
`reply_keyword` varchar(255) DEFAULT '',
`input_banner` varchar(255) DEFAULT '',
`diypage` int(11) NOT NULL DEFAULT '0',
`sendname` varchar(255) DEFAULT '',
`wishing` varchar(255) DEFAULT '',
`actname` varchar(255) DEFAULT '',
`remark` varchar(255) DEFAULT '',
`repeat` tinyint(1) NOT NULL DEFAULT '0',
`koulingstart` varchar(255) NOT NULL DEFAULT '',
`koulingend` varchar(255) NOT NULL DEFAULT '',
`kouling` tinyint(1) NOT NULL DEFAULT '0',
`chufa` varchar(255) NOT NULL DEFAULT '',
`chufaend` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_exchange_query`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_exchange_query` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`openid` varchar(255) NOT NULL DEFAULT '',
`querykey` varchar(255) NOT NULL DEFAULT '',
`querytime` int(11) NOT NULL DEFAULT '0',
`unfreeze` int(11) NOT NULL DEFAULT '0',
`errorcount` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`,`openid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_exchange_record`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_exchange_record` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`key` varchar(255) NOT NULL DEFAULT '',
`uniacid` int(11) DEFAULT NULL,
`goods` text,
`orderid` varchar(255) NOT NULL DEFAULT '',
`time` int(11) NOT NULL,
`openid` varchar(255) NOT NULL DEFAULT '',
`mode` int(11) NOT NULL DEFAULT '0',
`balance` decimal(10,2) DEFAULT '0.00',
`red` decimal(10,2) NOT NULL DEFAULT '0.00',
`coupon` text,
`score` int(11) NOT NULL DEFAULT '0',
`nickname` varchar(255) NOT NULL DEFAULT '',
`groupid` int(11) NOT NULL DEFAULT '0',
`title` varchar(255) NOT NULL DEFAULT '',
`serial` varchar(255) NOT NULL DEFAULT '',
`ordersn` varchar(255) NOT NULL DEFAULT '',
`goods_title` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`,`key`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_exchange_setting`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_exchange_setting` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`freeze` int(11) NOT NULL DEFAULT '0',
`mistake` int(11) NOT NULL DEFAULT '0',
`grouplimit` int(11) NOT NULL DEFAULT '0',
`alllimit` int(11) NOT NULL DEFAULT '0',
`no_qrimg` tinyint(3) NOT NULL DEFAULT '1',
`rule` text NOT NULL,
PRIMARY KEY (`id`,`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_exhelper_esheet`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_exhelper_esheet` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL DEFAULT '',
`express` varchar(50) DEFAULT '',
`code` varchar(20) NOT NULL DEFAULT '',
`datas` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=24 ;
DROP TABLE IF EXISTS `ims_ewei_shop_exhelper_esheet_temp`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_exhelper_esheet_temp` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`esheetid` int(11) NOT NULL DEFAULT '0',
`esheetname` varchar(255) NOT NULL DEFAULT '',
`customername` varchar(50) NOT NULL DEFAULT '',
`customerpwd` varchar(50) NOT NULL DEFAULT '',
`monthcode` varchar(50) NOT NULL DEFAULT '',
`sendsite` varchar(50) NOT NULL DEFAULT '',
`paytype` tinyint(3) NOT NULL DEFAULT '1',
`templatesize` varchar(10) NOT NULL DEFAULT '',
`isnotice` tinyint(3) NOT NULL DEFAULT '0',
`merchid` int(11) NOT NULL DEFAULT '0',
`issend` tinyint(3) NOT NULL DEFAULT '1',
`isdefault` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_isdefault` (`isdefault`) USING BTREE,
KEY `idx_uniacid` (`uniacid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_exhelper_express`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_exhelper_express` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`type` int(1) NOT NULL DEFAULT '1',
`expressname` varchar(255) DEFAULT '',
`expresscom` varchar(255) NOT NULL DEFAULT '',
`express` varchar(255) NOT NULL DEFAULT '',
`width` decimal(10,2) DEFAULT '0.00',
`datas` text,
`height` decimal(10,2) DEFAULT '0.00',
`bg` varchar(255) DEFAULT '',
`isdefault` tinyint(3) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_isdefault` (`isdefault`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_exhelper_senduser`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_exhelper_senduser` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`sendername` varchar(255) DEFAULT '',
`sendertel` varchar(255) DEFAULT '',
`sendersign` varchar(255) DEFAULT '',
`sendercode` int(11) DEFAULT NULL,
`senderaddress` varchar(255) DEFAULT '',
`sendercity` varchar(255) DEFAULT NULL,
`isdefault` tinyint(3) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
`province` varchar(30) NOT NULL DEFAULT '',
`city` varchar(30) NOT NULL DEFAULT '',
`area` varchar(30) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_isdefault` (`isdefault`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_exhelper_sys`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_exhelper_sys` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`ip` varchar(20) NOT NULL DEFAULT 'localhost',
`port` int(11) NOT NULL DEFAULT '8000',
`ip_cloud` varchar(255) NOT NULL DEFAULT '',
`port_cloud` int(11) NOT NULL DEFAULT '8000',
`is_cloud` int(1) NOT NULL DEFAULT '0',
`merchid` int(11) DEFAULT '0',
`ebusiness` varchar(20) NOT NULL DEFAULT '',
`apikey` varchar(50) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_express`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_express` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) DEFAULT '',
`express` varchar(50) DEFAULT '',
`status` tinyint(1) DEFAULT '1',
`displayorder` tinyint(3) unsigned DEFAULT '0',
`code` varchar(30) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=92 ;
DROP TABLE IF EXISTS `ims_ewei_shop_express_cache`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_express_cache` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`expresssn` varchar(50) DEFAULT NULL,
`express` varchar(50) DEFAULT NULL,
`lasttime` int(11) NOT NULL,
`datas` text,
PRIMARY KEY (`id`),
KEY `idx_expresssn` (`expresssn`) USING BTREE,
KEY `idx_express` (`express`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_feedback`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_feedback` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(50) DEFAULT '0',
`type` tinyint(1) DEFAULT '1',
`status` tinyint(1) DEFAULT '0',
`feedbackid` varchar(100) DEFAULT '',
`transid` varchar(100) DEFAULT '',
`reason` varchar(1000) DEFAULT '',
`solution` varchar(1000) DEFAULT '',
`remark` varchar(1000) DEFAULT '',
`createtime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_feedbackid` (`feedbackid`),
KEY `idx_createtime` (`createtime`),
KEY `idx_transid` (`transid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_form`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_form` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`isrequire` tinyint(3) DEFAULT '0',
`key` varchar(255) DEFAULT '',
`title` varchar(255) DEFAULT '',
`type` varchar(255) DEFAULT '',
`values` text,
`cate` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_form_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_form_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`name` varchar(255) DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_fullback_goods`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_fullback_goods` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`type` tinyint(3) NOT NULL DEFAULT '0',
`goodsid` int(11) NOT NULL DEFAULT '0',
`titles` varchar(255) NOT NULL,
`thumb` varchar(255) NOT NULL,
`marketprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`minallfullbackallprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`maxallfullbackallprice` decimal(10,2) NOT NULL,
`minallfullbackallratio` decimal(10,2) DEFAULT NULL,
`maxallfullbackallratio` decimal(10,2) DEFAULT NULL,
`day` int(11) NOT NULL DEFAULT '0',
`fullbackprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`fullbackratio` decimal(10,2) DEFAULT NULL,
`status` tinyint(3) NOT NULL DEFAULT '0',
`displayorder` int(11) NOT NULL DEFAULT '0',
`hasoption` tinyint(3) NOT NULL DEFAULT '0',
`optionid` text NOT NULL,
`startday` int(11) NOT NULL DEFAULT '0',
`refund` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_fullback_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_fullback_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`openid` varchar(50) NOT NULL,
`orderid` int(11) NOT NULL,
`price` decimal(10,2) NOT NULL,
`priceevery` decimal(10,2) NOT NULL,
`day` int(10) NOT NULL,
`fullbackday` int(10) NOT NULL,
`createtime` int(10) NOT NULL,
`fullbacktime` int(10) NOT NULL,
`isfullback` tinyint(3) NOT NULL DEFAULT '0',
`goodsid` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_funbar`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_funbar` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
`datas` text,
`uniacid` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_gift`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_gift` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`title` varchar(255) NOT NULL,
`thumb` varchar(255) NOT NULL,
`activity` tinyint(3) NOT NULL DEFAULT '1',
`orderprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`goodsid` varchar(255) NOT NULL,
`giftgoodsid` varchar(255) NOT NULL,
`starttime` int(11) NOT NULL DEFAULT '0',
`endtime` int(11) NOT NULL DEFAULT '0',
`status` tinyint(3) NOT NULL DEFAULT '0',
`displayorder` int(11) NOT NULL DEFAULT '0',
`share_title` varchar(255) NOT NULL,
`share_icon` varchar(255) NOT NULL,
`share_desc` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_globonus_bill`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_globonus_bill` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`billno` varchar(100) DEFAULT '',
`paytype` int(11) DEFAULT '0',
`year` int(11) DEFAULT '0',
`month` int(11) DEFAULT '0',
`week` int(11) DEFAULT '0',
`ordercount` int(11) DEFAULT '0',
`ordermoney` decimal(10,2) DEFAULT '0.00',
`bonusmoney` decimal(10,2) DEFAULT '0.00',
`bonusmoney_send` decimal(10,2) DEFAULT '0.00',
`bonusmoney_pay` decimal(10,2) DEFAULT '0.00',
`paytime` int(11) DEFAULT '0',
`partnercount` int(11) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
`starttime` int(11) DEFAULT '0',
`endtime` int(11) DEFAULT '0',
`confirmtime` int(11) DEFAULT '0',
`bonusordermoney` decimal(10,2) DEFAULT '0.00',
`bonusrate` decimal(10,2) DEFAULT '0.00',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_paytype` (`paytype`),
KEY `idx_createtime` (`createtime`),
KEY `idx_paytime` (`paytime`),
KEY `idx_status` (`status`),
KEY `idx_month` (`month`),
KEY `idx_week` (`week`),
KEY `idx_year` (`year`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_globonus_billo`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_globonus_billo` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`billid` int(11) DEFAULT '0',
`orderid` int(11) DEFAULT '0',
`ordermoney` decimal(10,2) DEFAULT '0.00',
PRIMARY KEY (`id`),
KEY `idx_billid` (`billid`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_globonus_billp`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_globonus_billp` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`billid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`payno` varchar(255) DEFAULT '',
`paytype` tinyint(3) DEFAULT '0',
`bonus` decimal(10,2) DEFAULT '0.00',
`money` decimal(10,2) DEFAULT '0.00',
`realmoney` decimal(10,2) DEFAULT '0.00',
`paymoney` decimal(10,2) DEFAULT '0.00',
`charge` decimal(10,2) DEFAULT '0.00',
`chargemoney` decimal(10,2) DEFAULT '0.00',
`status` tinyint(3) DEFAULT '0',
`reason` varchar(255) DEFAULT '',
`paytime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_billid` (`billid`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_globonus_level`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_globonus_level` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`levelname` varchar(50) DEFAULT '',
`bonus` decimal(10,4) DEFAULT '0.0000',
`ordermoney` decimal(10,2) DEFAULT '0.00',
`ordercount` int(11) DEFAULT '0',
`commissionmoney` decimal(10,2) DEFAULT '0.00',
`bonusmoney` decimal(10,2) DEFAULT '0.00',
`downcount` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
DROP TABLE IF EXISTS `ims_ewei_shop_goods`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_goods` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`pcate` int(11) DEFAULT '0',
`ccate` int(11) DEFAULT '0',
`type` tinyint(1) DEFAULT '1',
`status` tinyint(1) DEFAULT '1',
`displayorder` int(11) DEFAULT '0',
`title` varchar(100) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`unit` varchar(5) DEFAULT '',
`description` varchar(1000) DEFAULT NULL,
`content` text,
`goodssn` varchar(50) DEFAULT '',
`productsn` varchar(50) DEFAULT '',
`productprice` decimal(10,2) DEFAULT '0.00',
`marketprice` decimal(10,2) DEFAULT '0.00',
`costprice` decimal(10,2) DEFAULT '0.00',
`originalprice` decimal(10,2) DEFAULT '0.00',
`total` int(10) DEFAULT '0',
`totalcnf` int(11) DEFAULT '0',
`sales` int(11) DEFAULT '0',
`salesreal` int(11) DEFAULT '0',
`spec` varchar(5000) DEFAULT '',
`createtime` int(11) DEFAULT '0',
`weight` decimal(10,2) DEFAULT '0.00',
`credit` varchar(255) DEFAULT NULL,
`maxbuy` int(11) DEFAULT '0',
`usermaxbuy` int(11) DEFAULT '0',
`hasoption` int(11) DEFAULT '0',
`dispatch` int(11) DEFAULT '0',
`thumb_url` text,
`isnew` tinyint(1) DEFAULT '0',
`ishot` tinyint(1) DEFAULT '0',
`isdiscount` tinyint(1) DEFAULT '0',
`isrecommand` tinyint(1) DEFAULT '0',
`issendfree` tinyint(1) DEFAULT '0',
`istime` tinyint(1) DEFAULT '0',
`iscomment` tinyint(1) DEFAULT '0',
`timestart` int(11) DEFAULT '0',
`timeend` int(11) DEFAULT '0',
`viewcount` int(11) DEFAULT '0',
`deleted` tinyint(3) DEFAULT '0',
`hascommission` tinyint(3) DEFAULT '0',
`commission1_rate` decimal(10,2) DEFAULT '0.00',
`commission1_pay` decimal(10,2) DEFAULT '0.00',
`commission2_rate` decimal(10,2) DEFAULT '0.00',
`commission2_pay` decimal(10,2) DEFAULT '0.00',
`commission3_rate` decimal(10,2) DEFAULT '0.00',
`commission3_pay` decimal(10,2) DEFAULT '0.00',
`score` decimal(10,2) DEFAULT '0.00',
`taobaoid` varchar(255) DEFAULT '',
`taotaoid` varchar(255) DEFAULT '',
`taobaourl` varchar(255) DEFAULT '',
`updatetime` int(11) DEFAULT '0',
`share_title` varchar(255) DEFAULT '',
`share_icon` varchar(255) DEFAULT '',
`cash` tinyint(3) DEFAULT '0',
`commission_thumb` varchar(255) DEFAULT '',
`isnodiscount` tinyint(3) DEFAULT '0',
`showlevels` text,
`buylevels` text,
`showgroups` text,
`buygroups` text,
`isverify` tinyint(3) DEFAULT '0',
`storeids` text,
`noticeopenid` varchar(255) DEFAULT '',
`tcate` int(11) DEFAULT '0',
`noticetype` text,
`needfollow` tinyint(3) DEFAULT '0',
`followtip` varchar(255) DEFAULT '',
`followurl` varchar(255) DEFAULT '',
`deduct` decimal(10,2) DEFAULT '0.00',
`virtual` int(11) DEFAULT '0',
`ccates` text,
`discounts` text,
`nocommission` tinyint(3) DEFAULT '0',
`hidecommission` tinyint(3) DEFAULT '0',
`pcates` text,
`tcates` text,
`cates` text,
`artid` int(11) DEFAULT '0',
`detail_logo` varchar(255) DEFAULT '',
`detail_shopname` varchar(255) DEFAULT '',
`detail_btntext1` varchar(255) DEFAULT '',
`detail_btnurl1` varchar(255) DEFAULT '',
`detail_btntext2` varchar(255) DEFAULT '',
`detail_btnurl2` varchar(255) DEFAULT '',
`detail_totaltitle` varchar(255) DEFAULT '',
`saleupdate42392` tinyint(3) DEFAULT '0',
`deduct2` decimal(10,2) DEFAULT '0.00',
`ednum` int(11) DEFAULT '0',
`saleupdate` tinyint(3) DEFAULT '0',
`edmoney` decimal(10,2) DEFAULT '0.00',
`edareas` text,
`diyformtype` tinyint(1) DEFAULT '0',
`diyformid` int(11) DEFAULT '0',
`diymode` tinyint(1) DEFAULT '0',
`dispatchtype` tinyint(1) DEFAULT '0',
`dispatchid` int(11) DEFAULT '0',
`dispatchprice` decimal(10,2) DEFAULT '0.00',
`manydeduct` tinyint(1) DEFAULT '0',
`shorttitle` varchar(255) DEFAULT '',
`isdiscount_title` varchar(255) DEFAULT '',
`isdiscount_time` int(11) DEFAULT '0',
`isdiscount_discounts` text,
`commission` text,
`saleupdate37975` tinyint(3) DEFAULT '0',
`shopid` int(11) DEFAULT '0',
`allcates` text,
`minbuy` int(11) DEFAULT '0',
`invoice` tinyint(3) DEFAULT '0',
`repair` tinyint(3) DEFAULT '0',
`seven` tinyint(3) DEFAULT '0',
`money` varchar(255) DEFAULT '',
`minprice` decimal(10,2) DEFAULT '0.00',
`maxprice` decimal(10,2) DEFAULT '0.00',
`province` varchar(255) DEFAULT '',
`city` varchar(255) DEFAULT '',
`buyshow` tinyint(1) DEFAULT '0',
`buycontent` text,
`saleupdate51117` tinyint(3) DEFAULT '0',
`virtualsend` tinyint(1) DEFAULT '0',
`virtualsendcontent` text,
`verifytype` tinyint(1) DEFAULT '0',
`diyfields` text,
`diysaveid` int(11) DEFAULT '0',
`diysave` tinyint(1) DEFAULT '0',
`quality` tinyint(3) DEFAULT '0',
`groupstype` tinyint(1) unsigned NOT NULL DEFAULT '0',
`showtotal` tinyint(1) unsigned NOT NULL DEFAULT '0',
`subtitle` varchar(255) DEFAULT '',
`minpriceupdated` tinyint(1) DEFAULT '0',
`newgoods` tinyint(3) NOT NULL DEFAULT '0',
`video` varchar(521) NOT NULL DEFAULT '',
`officthumb` varchar(512) DEFAULT NULL,
`verifygoodstype` tinyint(1) NOT NULL DEFAULT '0',
`isforceverifystore` tinyint(1) NOT NULL DEFAULT '0',
`sharebtn` tinyint(1) NOT NULL DEFAULT '0',
`catesinit3` text,
`showtotaladd` tinyint(1) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
`checked` tinyint(3) DEFAULT '0',
`thumb_first` tinyint(3) DEFAULT '0',
`merchsale` tinyint(1) DEFAULT '0',
`keywords` varchar(255) DEFAULT '',
`catch_id` varchar(255) DEFAULT '',
`catch_url` varchar(255) DEFAULT '',
`catch_source` varchar(255) DEFAULT '',
`saleupdate40170` tinyint(3) DEFAULT '0',
`saleupdate35843` tinyint(3) DEFAULT '0',
`labelname` text,
`autoreceive` int(11) DEFAULT '0',
`cannotrefund` tinyint(3) DEFAULT '0',
`saleupdate33219` tinyint(3) DEFAULT '0',
`bargain` int(11) DEFAULT '0',
`buyagain` decimal(10,2) DEFAULT '0.00',
`buyagain_islong` tinyint(1) DEFAULT '0',
`buyagain_condition` tinyint(1) DEFAULT '0',
`buyagain_sale` tinyint(1) DEFAULT '0',
`buyagain_commission` text,
`saleupdate32484` tinyint(3) DEFAULT '0',
`saleupdate36586` tinyint(3) DEFAULT '0',
`diypage` int(11) DEFAULT NULL,
`cashier` tinyint(1) DEFAULT '0',
`saleupdate53481` tinyint(3) DEFAULT '0',
`saleupdate30424` tinyint(3) DEFAULT '0',
`isendtime` tinyint(3) NOT NULL DEFAULT '0',
`usetime` int(11) NOT NULL DEFAULT '0',
`endtime` int(11) NOT NULL DEFAULT '0',
`merchdisplayorder` int(11) NOT NULL DEFAULT '0',
`exchange_stock` int(11) DEFAULT '0',
`exchange_postage` decimal(10,2) NOT NULL DEFAULT '0.00',
`ispresell` tinyint(3) NOT NULL DEFAULT '0',
`presellprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`presellover` tinyint(3) NOT NULL DEFAULT '0',
`presellovertime` int(11) NOT NULL,
`presellstart` tinyint(3) NOT NULL DEFAULT '0',
`preselltimestart` int(11) NOT NULL DEFAULT '0',
`presellend` tinyint(3) NOT NULL DEFAULT '0',
`preselltimeend` int(11) NOT NULL DEFAULT '0',
`presellsendtype` tinyint(3) NOT NULL DEFAULT '0',
`presellsendstatrttime` int(11) NOT NULL DEFAULT '0',
`presellsendtime` int(11) NOT NULL DEFAULT '0',
`edareas_code` text NOT NULL,
`unite_total` tinyint(3) NOT NULL DEFAULT '0',
`buyagain_price` decimal(10,2) DEFAULT '0.00',
`threen` varchar(255) DEFAULT '',
`intervalfloor` tinyint(1) DEFAULT '0',
`intervalprice` varchar(512) DEFAULT '',
`isfullback` tinyint(3) NOT NULL DEFAULT '0',
`isstatustime` tinyint(3) NOT NULL DEFAULT '0',
`statustimestart` int(10) NOT NULL DEFAULT '0',
`statustimeend` int(10) NOT NULL DEFAULT '0',
`nosearch` tinyint(1) NOT NULL DEFAULT '0',
`showsales` tinyint(3) NOT NULL DEFAULT '1',
`islive` int(11) NOT NULL DEFAULT '0',
`liveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`opencard` tinyint(1) DEFAULT '0',
`cardid` varchar(255) DEFAULT '',
`verifygoodsnum` int(11) DEFAULT '1',
`verifygoodsdays` int(11) DEFAULT '1',
`verifygoodslimittype` tinyint(1) DEFAULT '0',
`verifygoodslimitdate` int(11) DEFAULT '0',
`minliveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`maxliveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`dowpayment` decimal(10,2) NOT NULL DEFAULT '0.00',
`tempid` int(11) NOT NULL DEFAULT '0',
`isstoreprice` tinyint(11) NOT NULL DEFAULT '0',
`beforehours` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_pcate` (`pcate`),
KEY `idx_ccate` (`ccate`),
KEY `idx_isnew` (`isnew`),
KEY `idx_ishot` (`ishot`),
KEY `idx_isdiscount` (`isdiscount`),
KEY `idx_isrecommand` (`isrecommand`),
KEY `idx_iscomment` (`iscomment`),
KEY `idx_issendfree` (`issendfree`),
KEY `idx_istime` (`istime`),
KEY `idx_deleted` (`deleted`),
KEY `idx_tcate` (`tcate`),
KEY `idx_scate` (`tcate`),
KEY `idx_merchid` (`merchid`),
KEY `idx_checked` (`checked`),
FULLTEXT KEY `idx_buylevels` (`buylevels`),
FULLTEXT KEY `idx_showgroups` (`showgroups`),
FULLTEXT KEY `idx_buygroups` (`buygroups`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=199 ;
DROP TABLE IF EXISTS `ims_ewei_shop_goodscode_good`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_goodscode_good` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`goodsid` int(11) NOT NULL,
`title` varchar(255) NOT NULL,
`thumb` varchar(255) NOT NULL,
`qrcode` varchar(255) NOT NULL,
`status` tinyint(3) NOT NULL,
`displayorder` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_goods_cards`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_goods_cards` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`card_id` varchar(255) DEFAULT NULL,
`card_title` varchar(255) DEFAULT NULL,
`card_brand_name` varchar(255) DEFAULT NULL,
`card_totalquantity` int(11) DEFAULT NULL,
`card_quantity` int(11) DEFAULT NULL,
`card_logoimg` varchar(255) DEFAULT NULL,
`card_logowxurl` varchar(255) DEFAULT NULL,
`card_backgroundtype` tinyint(1) DEFAULT NULL,
`color` varchar(255) DEFAULT NULL,
`card_backgroundimg` varchar(255) DEFAULT NULL,
`card_backgroundwxurl` varchar(255) DEFAULT NULL,
`prerogative` varchar(255) DEFAULT NULL,
`card_description` varchar(255) DEFAULT NULL,
`freewifi` tinyint(1) DEFAULT NULL,
`withpet` tinyint(1) DEFAULT NULL,
`freepark` tinyint(1) DEFAULT NULL,
`deliver` tinyint(1) DEFAULT NULL,
`custom_cell1` tinyint(1) DEFAULT NULL,
`custom_cell1_name` varchar(255) DEFAULT NULL,
`custom_cell1_tips` varchar(255) DEFAULT NULL,
`custom_cell1_url` varchar(255) DEFAULT NULL,
`color2` varchar(20) DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_goods_comment`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_goods_comment` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`goodsid` int(10) DEFAULT '0',
`openid` varchar(50) DEFAULT '',
`nickname` varchar(50) DEFAULT '',
`headimgurl` varchar(255) DEFAULT '',
`content` varchar(255) DEFAULT '',
`createtime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_goodsid` (`goodsid`),
KEY `idx_openid` (`openid`),
KEY `idx_createtime` (`createtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_goods_group`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_goods_group` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL DEFAULT '',
`goodsids` varchar(255) NOT NULL DEFAULT '',
`enabled` tinyint(1) NOT NULL DEFAULT '0',
`merchid` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_enabled` (`enabled`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_goods_label`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_goods_label` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`label` varchar(255) NOT NULL DEFAULT '',
`labelname` text NOT NULL,
`status` tinyint(3) NOT NULL DEFAULT '0',
`displayorder` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_goods_labelstyle`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_goods_labelstyle` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`style` int(3) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_goods_option`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_goods_option` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`goodsid` int(10) DEFAULT '0',
`title` varchar(50) DEFAULT '',
`thumb` varchar(60) DEFAULT '',
`productprice` decimal(10,2) DEFAULT '0.00',
`marketprice` decimal(10,2) DEFAULT '0.00',
`costprice` decimal(10,2) DEFAULT '0.00',
`stock` int(11) DEFAULT '0',
`weight` decimal(10,2) DEFAULT '0.00',
`displayorder` int(11) DEFAULT '0',
`specs` text,
`skuId` varchar(255) DEFAULT '',
`goodssn` varchar(255) DEFAULT '',
`productsn` varchar(255) DEFAULT '',
`virtual` int(11) DEFAULT '0',
`exchange_stock` int(11) DEFAULT '0',
`exchange_postage` decimal(10,2) NOT NULL DEFAULT '0.00',
`presellprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`day` int(3) NOT NULL,
`allfullbackprice` decimal(10,2) NOT NULL,
`fullbackprice` decimal(10,2) NOT NULL,
`allfullbackratio` decimal(10,2) DEFAULT NULL,
`fullbackratio` decimal(10,2) DEFAULT NULL,
`isfullback` tinyint(3) NOT NULL,
`islive` int(11) NOT NULL,
`liveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`cycelbuy_periodic` varchar(255) DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_goodsid` (`goodsid`),
KEY `idx_displayorder` (`displayorder`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=405 ;
DROP TABLE IF EXISTS `ims_ewei_shop_goods_param`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_goods_param` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`goodsid` int(10) DEFAULT '0',
`title` varchar(50) DEFAULT '',
`value` text,
`displayorder` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_goodsid` (`goodsid`),
KEY `idx_displayorder` (`displayorder`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1110 ;
DROP TABLE IF EXISTS `ims_ewei_shop_goods_spec`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_goods_spec` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`goodsid` int(11) DEFAULT '0',
`title` varchar(50) DEFAULT '',
`description` varchar(1000) DEFAULT '',
`displaytype` tinyint(3) DEFAULT '0',
`content` text,
`displayorder` int(11) DEFAULT '0',
`propId` varchar(255) DEFAULT '',
`iscycelbuy` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_goodsid` (`goodsid`),
KEY `idx_displayorder` (`displayorder`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=93 ;
DROP TABLE IF EXISTS `ims_ewei_shop_goods_spec_item`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_goods_spec_item` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`specid` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`show` int(11) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`valueId` varchar(255) DEFAULT '',
`virtual` int(11) DEFAULT '0',
`cycelbuy_periodic` varchar(20) DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_specid` (`specid`),
KEY `idx_show` (`show`),
KEY `idx_displayorder` (`displayorder`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=291 ;
DROP TABLE IF EXISTS `ims_ewei_shop_groups_adv`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_groups_adv` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`advname` varchar(50) DEFAULT '',
`link` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`enabled` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_enabled` (`enabled`),
KEY `idx_displayorder` (`displayorder`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
DROP TABLE IF EXISTS `ims_ewei_shop_groups_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_groups_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`name` varchar(50) DEFAULT NULL,
`thumb` varchar(255) DEFAULT NULL,
`displayorder` tinyint(3) unsigned DEFAULT '0',
`enabled` tinyint(1) DEFAULT '1',
`advimg` varchar(255) DEFAULT '',
`advurl` varchar(500) DEFAULT '',
`isrecommand` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_displayorder` (`displayorder`),
KEY `idx_enabled` (`enabled`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
DROP TABLE IF EXISTS `ims_ewei_shop_groups_goods`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_groups_goods` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`displayorder` int(11) unsigned DEFAULT '0',
`uniacid` int(11) DEFAULT '0',
`title` varchar(255) NOT NULL DEFAULT '',
`category` tinyint(3) unsigned NOT NULL DEFAULT '0',
`stock` int(11) NOT NULL DEFAULT '0',
`price` decimal(10,2) DEFAULT '0.00',
`groupsprice` decimal(10,2) DEFAULT '0.00',
`singleprice` decimal(10,2) DEFAULT '0.00',
`goodsnum` int(11) NOT NULL DEFAULT '1',
`units` varchar(255) NOT NULL DEFAULT '件',
`freight` decimal(10,2) DEFAULT '0.00',
`endtime` int(11) unsigned NOT NULL DEFAULT '0',
`groupnum` int(10) NOT NULL DEFAULT '0',
`sales` int(10) NOT NULL DEFAULT '0',
`thumb` varchar(255) DEFAULT '',
`description` varchar(1000) DEFAULT NULL,
`content` text,
`createtime` int(11) unsigned NOT NULL DEFAULT '0',
`status` tinyint(3) NOT NULL DEFAULT '0',
`ishot` tinyint(3) NOT NULL DEFAULT '0',
`deleted` tinyint(3) NOT NULL DEFAULT '0',
`goodsid` int(11) NOT NULL DEFAULT '0',
`followneed` tinyint(2) NOT NULL DEFAULT '0',
`followtext` varchar(255) DEFAULT NULL,
`share_title` varchar(255) DEFAULT NULL,
`share_icon` varchar(255) DEFAULT NULL,
`share_desc` varchar(500) DEFAULT NULL,
`goodssn` varchar(50) DEFAULT NULL,
`productsn` varchar(50) DEFAULT NULL,
`showstock` tinyint(2) NOT NULL,
`purchaselimit` int(11) NOT NULL DEFAULT '0',
`single` tinyint(2) NOT NULL DEFAULT '0',
`dispatchtype` tinyint(2) NOT NULL,
`dispatchid` int(11) NOT NULL,
`isindex` tinyint(3) NOT NULL DEFAULT '0',
`followurl` varchar(255) DEFAULT NULL,
`deduct` decimal(10,2) NOT NULL DEFAULT '0.00',
`rights` tinyint(2) NOT NULL DEFAULT '1',
`thumb_url` text,
`gid` int(11) DEFAULT '0',
`discount` tinyint(3) DEFAULT '0',
`headstype` tinyint(3) DEFAULT NULL,
`headsmoney` decimal(10,2) DEFAULT '0.00',
`headsdiscount` int(11) DEFAULT '0',
`isdiscount` tinyint(3) DEFAULT '0',
`isverify` tinyint(3) DEFAULT '0',
`verifytype` tinyint(3) DEFAULT '0',
`verifynum` int(11) DEFAULT '0',
`storeids` text,
`merchid` int(11) DEFAULT '0',
`shorttitle` varchar(255) DEFAULT '',
`teamnum` int(11) DEFAULT '0',
`more_spec` tinyint(1) DEFAULT '0',
`is_ladder` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_type` (`category`),
KEY `idx_createtime` (`createtime`),
KEY `idx_status` (`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
DROP TABLE IF EXISTS `ims_ewei_shop_groups_goods_atlas`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_groups_goods_atlas` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`g_id` int(11) NOT NULL,
`thumb` varchar(145) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_groups_goods_option`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_groups_goods_option` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`goodsid` int(11) DEFAULT '0',
`groups_goods_id` int(255) DEFAULT '0',
`goods_option_id` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT NULL,
`marketprice` decimal(10,2) DEFAULT NULL,
`price` decimal(10,2) DEFAULT NULL,
`single_price` decimal(10,2) DEFAULT NULL,
`specs` varchar(255) DEFAULT NULL,
`stock` int(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_groups_ladder`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_groups_ladder` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`goods_id` int(11) DEFAULT '0',
`ladder_num` int(11) DEFAULT NULL,
`ladder_price` decimal(10,2) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_groups_order`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_groups_order` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`openid` varchar(45) NOT NULL,
`orderno` varchar(45) NOT NULL,
`groupnum` int(11) NOT NULL,
`paytime` int(11) NOT NULL,
`price` decimal(11,2) DEFAULT '0.00',
`freight` decimal(11,2) DEFAULT '0.00',
`status` int(9) NOT NULL,
`pay_type` varchar(45) DEFAULT NULL,
`goodid` int(11) NOT NULL,
`teamid` int(11) NOT NULL,
`is_team` int(2) NOT NULL,
`heads` int(11) DEFAULT '0',
`starttime` int(11) NOT NULL,
`endtime` int(45) NOT NULL,
`createtime` int(11) NOT NULL,
`success` int(2) NOT NULL DEFAULT '0',
`delete` int(2) NOT NULL DEFAULT '0',
`credit` int(11) DEFAULT '0',
`creditmoney` decimal(11,2) DEFAULT '0.00',
`dispatchid` int(11) DEFAULT NULL,
`addressid` int(11) NOT NULL DEFAULT '0',
`address` varchar(1000) DEFAULT NULL,
`discount` decimal(10,2) DEFAULT '0.00',
`canceltime` int(11) NOT NULL DEFAULT '0',
`finishtime` int(11) NOT NULL DEFAULT '0',
`refundid` int(11) NOT NULL DEFAULT '0',
`refundstate` tinyint(2) NOT NULL DEFAULT '0',
`refundtime` int(11) NOT NULL DEFAULT '0',
`express` varchar(45) DEFAULT NULL,
`expresscom` varchar(100) DEFAULT NULL,
`expresssn` varchar(45) DEFAULT NULL,
`sendtime` int(45) DEFAULT '0',
`remark` varchar(255) DEFAULT NULL,
`remarkclose` text,
`remarksend` text,
`message` varchar(255) DEFAULT NULL,
`deleted` int(2) NOT NULL DEFAULT '0',
`realname` varchar(20) DEFAULT NULL,
`mobile` varchar(11) DEFAULT NULL,
`isverify` tinyint(3) DEFAULT '0',
`verifytype` tinyint(3) DEFAULT '0',
`verifycode` varchar(45) DEFAULT '0',
`verifynum` int(11) DEFAULT '0',
`printstate` int(11) NOT NULL DEFAULT '0',
`printstate2` int(11) NOT NULL DEFAULT '0',
`apppay` tinyint(3) NOT NULL DEFAULT '0',
`isborrow` tinyint(1) DEFAULT '0',
`borrowopenid` varchar(50) DEFAULT '',
`source` tinyint(1) DEFAULT '0',
`ladder_id` tinyint(1) DEFAULT '0',
`is_ladder` tinyint(1) DEFAULT '0',
`more_spec` tinyint(1) DEFAULT '0',
`wxapp_prepay_id` varchar(255) DEFAULT '',
`cancel_reason` varchar(255) DEFAULT '',
`goods_price` decimal(10,2) DEFAULT '0.00',
`goods_option_id` int(11) DEFAULT '0',
`specs` varchar(255) DEFAULT '',
`diyformid` int(11) NULL DEFAULT '0',
`diyformdata` text,
`diyformfields` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
DROP TABLE IF EXISTS `ims_ewei_shop_groups_order_goods`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_groups_order_goods` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`goods_id` int(11) DEFAULT '0',
`groups_goods_id` int(11) DEFAULT '0',
`groups_goods_option_id` int(11) DEFAULT '0',
`groups_order_id` int(11) DEFAULT '0',
`price` decimal(10,2) DEFAULT NULL,
`option_name` varchar(255) DEFAULT NULL,
`create_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_groups_order_refund`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_groups_order_refund` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`openid` varchar(45) NOT NULL DEFAULT '',
`orderid` int(11) NOT NULL DEFAULT '0',
`refundno` varchar(45) NOT NULL DEFAULT '0',
`refundstatus` tinyint(3) NOT NULL DEFAULT '0',
`refundaddressid` int(11) NOT NULL DEFAULT '0',
`refundaddress` varchar(1000) NOT NULL DEFAULT '0',
`content` varchar(255) DEFAULT NULL,
`reason` varchar(255) DEFAULT NULL,
`images` varchar(255) DEFAULT NULL,
`applytime` varchar(45) NOT NULL DEFAULT '0',
`applycredit` int(11) NOT NULL DEFAULT '0',
`applyprice` decimal(11,2) NOT NULL DEFAULT '0.00',
`reply` text,
`refundtype` varchar(45) DEFAULT NULL,
`rtype` int(3) NOT NULL DEFAULT '0',
`refundtime` varchar(45) NOT NULL,
`endtime` varchar(45) NOT NULL DEFAULT '0',
`message` varchar(255) DEFAULT NULL,
`operatetime` varchar(45) NOT NULL DEFAULT '0',
`realcredit` int(11) NOT NULL,
`realmoney` decimal(11,2) NOT NULL,
`express` varchar(45) DEFAULT NULL,
`expresscom` varchar(100) DEFAULT NULL,
`expresssn` varchar(45) DEFAULT NULL,
`sendtime` varchar(45) NOT NULL DEFAULT '0',
`returntime` int(11) NOT NULL DEFAULT '0',
`rexpress` varchar(45) DEFAULT NULL,
`rexpresscom` varchar(100) DEFAULT NULL,
`rexpresssn` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_groups_paylog`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_groups_paylog` (
`plid` bigint(11) unsigned NOT NULL AUTO_INCREMENT,
`type` varchar(20) NOT NULL,
`uniacid` int(11) NOT NULL,
`acid` int(10) unsigned NOT NULL,
`openid` varchar(40) NOT NULL,
`tid` varchar(64) NOT NULL,
`credit` int(10) NOT NULL DEFAULT '0',
`creditmoney` decimal(10,2) NOT NULL,
`fee` decimal(10,2) NOT NULL,
`status` tinyint(4) NOT NULL,
`module` varchar(50) NOT NULL,
`tag` varchar(2000) NOT NULL,
`is_usecard` tinyint(3) unsigned NOT NULL,
`card_type` tinyint(3) unsigned NOT NULL,
`card_id` varchar(50) NOT NULL,
`card_fee` decimal(10,2) unsigned NOT NULL,
`encrypt_code` varchar(100) NOT NULL,
`uniontid` varchar(50) NOT NULL,
PRIMARY KEY (`plid`),
KEY `idx_openid` (`openid`),
KEY `idx_tid` (`tid`),
KEY `idx_uniacid` (`uniacid`),
KEY `uniontid` (`uniontid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
DROP TABLE IF EXISTS `ims_ewei_shop_groups_set`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_groups_set` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` varchar(45) DEFAULT NULL,
`groups` int(2) NOT NULL DEFAULT '0',
`followurl` varchar(255) DEFAULT NULL,
`groupsurl` varchar(255) DEFAULT NULL,
`share_title` varchar(255) DEFAULT NULL,
`share_icon` varchar(255) DEFAULT NULL,
`share_desc` varchar(255) DEFAULT NULL,
`groups_description` text,
`description` int(2) NOT NULL DEFAULT '0',
`followqrcode` varchar(255) DEFAULT NULL,
`share_url` varchar(255) DEFAULT NULL,
`creditdeduct` tinyint(2) NOT NULL DEFAULT '0',
`groupsdeduct` tinyint(2) NOT NULL DEFAULT '0',
`credit` int(11) NOT NULL DEFAULT '1',
`groupsmoney` decimal(11,2) NOT NULL DEFAULT '0.00',
`refund` int(11) NOT NULL DEFAULT '0',
`refundday` int(11) NOT NULL DEFAULT '0',
`goodsid` text NOT NULL,
`rules` text,
`receive` int(11) DEFAULT '0',
`discount` tinyint(3) DEFAULT '0',
`headstype` tinyint(3) DEFAULT '0',
`headsmoney` decimal(10,2) DEFAULT '0.00',
`headsdiscount` int(11) DEFAULT '0',
`followbar` tinyint(2) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_groups_verify`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_groups_verify` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(45) DEFAULT '0',
`orderid` int(11) DEFAULT '0',
`verifycode` varchar(45) DEFAULT '',
`storeid` int(11) DEFAULT '0',
`verifier` varchar(45) DEFAULT '0',
`isverify` tinyint(3) DEFAULT '0',
`verifytime` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_invitation`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_invitation` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`type` tinyint(3) NOT NULL DEFAULT '0',
`title` varchar(255) NOT NULL DEFAULT '',
`data` text NOT NULL,
`scan` int(11) NOT NULL DEFAULT '0',
`follow` int(11) NOT NULL DEFAULT '0',
`qrcode` tinyint(3) NOT NULL DEFAULT '0',
`status` tinyint(3) NOT NULL,
`createtime` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_type` (`type`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_invitation_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_invitation_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`invitation_id` int(11) NOT NULL DEFAULT '0',
`openid` varchar(50) NOT NULL DEFAULT '',
`invitation_openid` varchar(50) NOT NULL DEFAULT '',
`scan_time` int(10) NOT NULL DEFAULT '0',
`follow` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_posterid` (`invitation_id`) USING BTREE,
KEY `idx_scantime` (`scan_time`) USING BTREE,
KEY `idx_openid` (`openid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_invitation_qr`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_invitation_qr` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`acid` int(11) NOT NULL DEFAULT '0',
`openid` varchar(60) NOT NULL,
`invitationid` int(11) NOT NULL,
`roomid` int(11) NOT NULL DEFAULT '0',
`sceneid` int(11) NOT NULL,
`ticket` varchar(255) NOT NULL,
`createtime` int(11) NOT NULL,
`expire` int(11) NOT NULL DEFAULT '0',
`qrimg` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_live`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_live` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`merchid` int(11) NOT NULL DEFAULT '0',
`title` varchar(255) NOT NULL,
`livetype` tinyint(3) NOT NULL DEFAULT '0',
`liveidentity` varchar(50) NOT NULL,
`screen` tinyint(3) NOT NULL DEFAULT '0',
`goodsid` varchar(255) NOT NULL,
`category` int(11) NOT NULL DEFAULT '0',
`url` varchar(1000) NOT NULL,
`thumb` varchar(1000) NOT NULL,
`hot` tinyint(3) NOT NULL DEFAULT '0',
`recommend` tinyint(3) NOT NULL DEFAULT '0',
`living` tinyint(3) NOT NULL DEFAULT '0',
`status` tinyint(3) NOT NULL DEFAULT '0',
`displayorder` int(11) NOT NULL DEFAULT '0',
`livetime` int(10) NOT NULL DEFAULT '0',
`lastlivetime` int(11) NOT NULL DEFAULT '0',
`createtime` int(10) NOT NULL DEFAULT '0',
`introduce` text NOT NULL,
`packetmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
`packettotal` int(11) NOT NULL DEFAULT '0',
`packetprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`packetdes` varchar(255) NOT NULL,
`couponid` varchar(255) NOT NULL,
`share_title` varchar(255) NOT NULL,
`share_icon` varchar(1000) NOT NULL,
`share_desc` text NOT NULL,
`share_url` varchar(1000) NOT NULL DEFAULT '',
`subscribe` int(11) NOT NULL DEFAULT '0',
`subscribenotice` tinyint(3) NOT NULL DEFAULT '0',
`visit` int(11) NOT NULL DEFAULT '0',
`video` varchar(1000) NOT NULL DEFAULT '',
`covertype` tinyint(3) NOT NULL DEFAULT '0',
`cover` varchar(1000) NOT NULL DEFAULT '',
`iscoupon` tinyint(3) NOT NULL DEFAULT '0',
`nestable` text NOT NULL,
`tabs` text NOT NULL,
`invitation_id` int(11) NOT NULL DEFAULT '0',
`showlevels` varchar(255) NOT NULL,
`showgroups` varchar(255) NOT NULL,
`showcommission` varchar(255) NOT NULL,
`jurisdiction_url` varchar(1000) NOT NULL,
`jurisdictionurl_show` tinyint(3) NOT NULL DEFAULT '0',
`notice` varchar(255) NOT NULL,
`notice_url` varchar(1000) NOT NULL,
`followqrcode` varchar(1000) NOT NULL,
`coupon_num` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_merchid` (`merchid`) USING BTREE,
KEY `idx_category` (`category`) USING BTREE,
KEY `idx_hot` (`hot`) USING BTREE,
KEY `idx_recommend` (`recommend`) USING BTREE,
KEY `idx_living` (`living`) USING BTREE,
KEY `idx_status` (`status`) USING BTREE,
KEY `idx_livetime` (`livetime`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_live_adv`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_live_adv` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`merchid` int(11) NOT NULL DEFAULT '0',
`advname` varchar(50) DEFAULT '',
`link` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`enabled` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_enabled` (`enabled`) USING BTREE,
KEY `idx_displayorder` (`displayorder`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_live_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_live_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`name` varchar(50) DEFAULT NULL,
`thumb` varchar(255) DEFAULT NULL,
`displayorder` tinyint(3) unsigned DEFAULT '0',
`enabled` tinyint(1) DEFAULT '1',
`advimg` varchar(255) DEFAULT '',
`advurl` varchar(500) DEFAULT '',
`isrecommand` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_displayorder` (`displayorder`) USING BTREE,
KEY `idx_enabled` (`enabled`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_live_coupon`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_live_coupon` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`roomid` int(11) NOT NULL DEFAULT '0',
`couponid` int(11) NOT NULL DEFAULT '0',
`coupontotal` int(11) NOT NULL DEFAULT '0',
`couponlimit` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_roomid` (`roomid`) USING BTREE,
KEY `idx_couponid` (`couponid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_live_favorite`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_live_favorite` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`roomid` int(11) NOT NULL DEFAULT '0',
`openid` tinytext NOT NULL,
`deleted` tinyint(3) NOT NULL DEFAULT '0',
`createtime` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_roomid` (`roomid`) USING BTREE,
KEY `idx_deleted` (`deleted`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_live_goods`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_live_goods` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`goodsid` int(11) NOT NULL DEFAULT '0',
`liveid` int(11) NOT NULL DEFAULT '0',
`liveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`minliveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`maxliveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_live_goods_option`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_live_goods_option` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`goodsid` int(11) NOT NULL,
`optionid` int(11) NOT NULL DEFAULT '0',
`liveid` int(11) NOT NULL DEFAULT '0',
`liveprice` decimal(10,2) NOT NULL DEFAULT '0.00',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_live_setting`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_live_setting` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`ismember` tinyint(3) NOT NULL DEFAULT '0',
`share_title` varchar(255) NOT NULL,
`share_icon` varchar(1000) NOT NULL,
`share_desc` varchar(255) NOT NULL,
`share_url` varchar(255) NOT NULL,
`livenoticetime` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_ismember` (`ismember`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_live_status`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_live_status` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`roomid` int(11) NOT NULL DEFAULT '0',
`starttime` int(11) NOT NULL DEFAULT '0',
`endtime` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_live_view`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_live_view` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`openid` varchar(50) NOT NULL,
`roomid` int(11) NOT NULL DEFAULT '0',
`viewing` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_roomid` (`roomid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_lottery`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_lottery` (
`lottery_id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`lottery_title` varchar(150) DEFAULT NULL,
`lottery_icon` varchar(255) DEFAULT NULL,
`lottery_banner` varchar(255) DEFAULT NULL,
`lottery_cannot` varchar(255) DEFAULT NULL,
`lottery_type` tinyint(1) DEFAULT NULL,
`is_delete` tinyint(1) DEFAULT '0',
`addtime` int(11) DEFAULT NULL,
`lottery_data` text,
`is_goods` tinyint(1) DEFAULT '0',
`lottery_days` int(11) DEFAULT '0',
`task_type` tinyint(1) DEFAULT '0',
`task_data` text,
`start_time` int(11) DEFAULT NULL,
`end_time` int(11) DEFAULT NULL,
`award_start` int(11) DEFAULT '0',
`award_end` int(11) DEFAULT '0',
PRIMARY KEY (`lottery_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=5 ;
DROP TABLE IF EXISTS `ims_ewei_shop_lottery_default`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_lottery_default` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`data` text,
`addtime` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_lottery_join`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_lottery_join` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`join_user` varchar(255) DEFAULT NULL,
`lottery_id` int(11) DEFAULT NULL,
`lottery_num` int(10) DEFAULT '0',
`lottery_tag` varchar(255) DEFAULT NULL,
`addtime` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_lottery_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_lottery_log` (
`log_id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`lottery_id` int(11) DEFAULT '0',
`join_user` varchar(255) DEFAULT NULL,
`lottery_data` text,
`is_reward` tinyint(1) DEFAULT '0',
`addtime` int(11) DEFAULT NULL,
PRIMARY KEY (`log_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_mc_merchant`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_mc_merchant` (
`id` int(11) NOT NULL,
`uniacid` int(11) NOT NULL,
`merchant_no` varchar(255) NOT NULL DEFAULT '',
`username` varchar(255) NOT NULL DEFAULT '',
`password` varchar(32) NOT NULL DEFAULT '',
`salt` varchar(8) NOT NULL DEFAULT '',
`contact_name` varchar(255) NOT NULL DEFAULT '',
`contact_mobile` varchar(16) NOT NULL DEFAULT '',
`contact_address` varchar(255) NOT NULL DEFAULT '',
`type` tinyint(4) NOT NULL,
`status` tinyint(4) NOT NULL,
`createtime` int(11) NOT NULL,
`validitytime` int(11) NOT NULL,
`industry` varchar(255) NOT NULL DEFAULT '',
`remark` varchar(1000) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `ims_ewei_shop_member`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`uid` int(11) DEFAULT '0',
`groupid` int(11) DEFAULT '0',
`level` int(11) DEFAULT '0',
`agentid` int(11) DEFAULT '0',
`openid` varchar(50) DEFAULT '',
`realname` varchar(20) DEFAULT '',
`mobile` varchar(11) DEFAULT '',
`pwd` varchar(32) DEFAULT '',
`weixin` varchar(100) DEFAULT '',
`commission` decimal(10,2) DEFAULT '0.00',
`commission_pay` decimal(10,2) DEFAULT '0.00',
`content` text,
`createtime` int(10) DEFAULT '0',
`agenttime` int(10) DEFAULT '0',
`status` tinyint(1) DEFAULT '0',
`isagent` tinyint(1) DEFAULT '0',
`clickcount` int(11) DEFAULT '0',
`agentlevel` int(11) DEFAULT '0',
`noticeset` text,
`nickname` varchar(255) DEFAULT '',
`credit1` decimal(10,2) DEFAULT '0.00',
`credit2` decimal(10,2) DEFAULT '0.00',
`birthyear` varchar(255) DEFAULT '',
`birthmonth` varchar(255) DEFAULT '',
`birthday` varchar(255) DEFAULT '',
`gender` tinyint(3) DEFAULT '0',
`avatar` varchar(255) DEFAULT '',
`province` varchar(255) DEFAULT '',
`city` varchar(255) DEFAULT '',
`area` varchar(255) DEFAULT '',
`childtime` int(11) DEFAULT '0',
`inviter` int(11) DEFAULT '0',
`agentnotupgrade` int(11) DEFAULT '0',
`agentselectgoods` tinyint(3) DEFAULT '0',
`agentblack` int(11) DEFAULT '0',
`fixagentid` tinyint(3) DEFAULT '0',
`diymemberid` int(11) DEFAULT '0',
`diymemberfields` text,
`diymemberdata` text,
`diymemberdataid` int(11) DEFAULT '0',
`diycommissionid` int(11) DEFAULT '0',
`diycommissionfields` text,
`diycommissiondata` text,
`diycommissiondataid` int(11) DEFAULT '0',
`isblack` int(11) DEFAULT '0',
`username` varchar(255) DEFAULT '',
`commission_total` decimal(10,2) DEFAULT '0.00',
`endtime2` int(11) DEFAULT '0',
`ispartner` tinyint(3) DEFAULT '0',
`partnertime` int(11) DEFAULT '0',
`partnerstatus` tinyint(3) DEFAULT '0',
`partnerblack` tinyint(3) DEFAULT '0',
`partnerlevel` int(11) DEFAULT '0',
`partnernotupgrade` tinyint(3) DEFAULT '0',
`diyglobonusid` int(11) DEFAULT '0',
`diyglobonusdata` text,
`diyglobonusfields` text,
`isaagent` tinyint(3) DEFAULT '0',
`aagentlevel` int(11) DEFAULT '0',
`aagenttime` int(11) DEFAULT '0',
`aagentstatus` tinyint(3) DEFAULT '0',
`aagentblack` tinyint(3) DEFAULT '0',
`aagentnotupgrade` tinyint(3) DEFAULT '0',
`aagenttype` tinyint(3) DEFAULT '0',
`aagentprovinces` text,
`aagentcitys` text,
`aagentareas` text,
`diyaagentid` int(11) DEFAULT '0',
`diyaagentdata` text,
`diyaagentfields` text,
`salt` varchar(32) DEFAULT NULL,
`mobileverify` tinyint(3) DEFAULT '0',
`mobileuser` tinyint(3) DEFAULT '0',
`carrier_mobile` varchar(11) DEFAULT '0',
`isauthor` tinyint(1) DEFAULT '0',
`authortime` int(11) DEFAULT '0',
`authorstatus` tinyint(1) DEFAULT '0',
`authorblack` tinyint(1) DEFAULT '0',
`authorlevel` int(11) DEFAULT '0',
`authornotupgrade` tinyint(1) DEFAULT '0',
`diyauthorid` int(11) DEFAULT '0',
`diyauthordata` text,
`diyauthorfields` text,
`authorid` int(11) DEFAULT '0',
`comefrom` varchar(20) DEFAULT NULL,
`openid_qq` varchar(50) DEFAULT NULL,
`openid_wx` varchar(50) DEFAULT NULL,
`diymaxcredit` tinyint(3) DEFAULT '0',
`maxcredit` int(11) DEFAULT '0',
`datavalue` varchar(50) NOT NULL DEFAULT '',
`openid_wa` varchar(50) DEFAULT NULL,
`nickname_wechat` varchar(255) DEFAULT '',
`avatar_wechat` varchar(255) DEFAULT '',
`updateaddress` tinyint(1) NOT NULL DEFAULT '0',
`membercardid` varchar(255) DEFAULT '',
`membercardcode` varchar(255) DEFAULT '',
`membershipnumber` varchar(255) DEFAULT '',
`membercardactive` tinyint(1) DEFAULT '0',
`idnumber` varchar(255) DEFAULT NULL,
`wxcardupdatetime` int(11) DEFAULT '0',
`hasnewcoupon` tinyint(1) DEFAULT '0',
`isheads` tinyint(1) NOT NULL DEFAULT '0',
`headsstatus` tinyint(1) NOT NULL DEFAULT '0',
`headstime` int(11) NOT NULL DEFAULT '0',
`headsid` int(11) NOT NULL DEFAULT '0',
`diyheadsid` int(11) NOT NULL DEFAULT '0',
`diyheadsdata` text,
`diyheadsfields` text,
`applyagenttime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_shareid` (`agentid`),
KEY `idx_openid` (`openid`),
KEY `idx_status` (`status`),
KEY `idx_agenttime` (`agenttime`),
KEY `idx_isagent` (`isagent`),
KEY `idx_uid` (`uid`),
KEY `idx_groupid` (`groupid`),
KEY `idx_level` (`level`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2188 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_address`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_address` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(50) DEFAULT '0',
`realname` varchar(20) DEFAULT '',
`mobile` varchar(11) DEFAULT '',
`province` varchar(30) DEFAULT '',
`city` varchar(30) DEFAULT '',
`area` varchar(30) DEFAULT '',
`address` varchar(300) DEFAULT '',
`isdefault` tinyint(1) DEFAULT '0',
`zipcode` varchar(255) DEFAULT '',
`deleted` tinyint(1) DEFAULT '0',
`street` varchar(50) NOT NULL DEFAULT '',
`datavalue` varchar(50) NOT NULL DEFAULT '',
`streetdatavalue` varchar(30) NOT NULL DEFAULT '',
`lng` varchar(255) NOT NULL DEFAULT '',
`lat` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_openid` (`openid`),
KEY `idx_isdefault` (`isdefault`),
KEY `idx_deleted` (`deleted`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=83 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_card`;
CREATE TABLE `ims_ewei_shop_member_card` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`name` varchar(255) DEFAULT NULL,
`card_style` varchar(255) DEFAULT NULL,
`sort_order` int(10) DEFAULT '0',
`shipping` tinyint(11) DEFAULT NULL,
`member_discount` tinyint(1) DEFAULT NULL,
`discount_rate` decimal(10,1) DEFAULT NULL,
`discount` tinyint(1) NOT NULL DEFAULT '1',
`is_card_points` tinyint(1) DEFAULT NULL,
`card_points` varchar(50) DEFAULT NULL,
`is_card_coupon` tinyint(1) DEFAULT NULL,
`card_coupon` varchar(500) DEFAULT NULL,
`is_month_points` tinyint(1) DEFAULT NULL,
`month_points` varchar(50) DEFAULT NULL,
`is_month_coupon` tinyint(1) DEFAULT NULL,
`month_coupon` varchar(500) DEFAULT NULL,
`validate` int(11) NOT NULL DEFAULT '1',
`price` decimal(11,2) NOT NULL DEFAULT '0.00',
`stock` int(10) DEFAULT NULL,
`status` tinyint(1) NOT NULL DEFAULT '1',
`description` text,
`kefu_tel` varchar(100) DEFAULT NULL,
`create_time` int(11) NOT NULL DEFAULT '0',
`sale_count` int(11) NOT NULL DEFAULT '0',
`del_time` int(11) NOT NULL DEFAULT '0',
`isdelete` tinyint(11) NOT NULL DEFAULT '0',
`update_time` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
DROP TABLE IF EXISTS `ims_ewei_shop_member_card_buysend`;
CREATE TABLE `ims_ewei_shop_member_card_buysend` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(50) DEFAULT '',
`member_card_id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`receive_time` int(11) NOT NULL DEFAULT '0',
`create_time` int(11) NOT NULL DEFAULT '0',
`price` decimal(11,2) NOT NULL DEFAULT '0.00',
`sendtype` tinyint(1) NOT NULL DEFAULT '1',
`card_points` varchar(50) DEFAULT NULL,
`card_couponid` int(11) NOT NULL DEFAULT '0',
`card_couponcount` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_openid` (`openid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
DROP TABLE IF EXISTS `ims_ewei_shop_member_card_history`;
CREATE TABLE `ims_ewei_shop_member_card_history` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`order_id` int(11) NOT NULL,
`openid` varchar(50) DEFAULT '',
`member_card_id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`expire_time` int(11) NOT NULL DEFAULT '0',
`receive_time` int(11) NOT NULL DEFAULT '0',
`price` decimal(11,2) NOT NULL DEFAULT '0.00',
`user_name` varchar(255) DEFAULT NULL,
`telephone` varchar(32) DEFAULT NULL,
`isdelete` int(11) NOT NULL DEFAULT '0',
`del_time` int(11) NOT NULL DEFAULT '0',
`pay_type` int(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
DROP TABLE IF EXISTS `ims_ewei_shop_member_card_monthsend`;
CREATE TABLE `ims_ewei_shop_member_card_monthsend` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(50) DEFAULT '',
`member_card_id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`receive_time` int(11) NOT NULL DEFAULT '0',
`create_time` int(11) NOT NULL DEFAULT '0',
`price` decimal(11,2) NOT NULL DEFAULT '0.00',
`validate` int(11) NOT NULL DEFAULT '1',
`sendtype` tinyint(1) NOT NULL DEFAULT '1',
`card_points` varchar(50) DEFAULT NULL,
`card_couponid` int(11) NOT NULL DEFAULT '0',
`card_couponcount` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_openid` (`openid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
DROP TABLE IF EXISTS `ims_ewei_shop_member_card_order`;
CREATE TABLE `ims_ewei_shop_member_card_order` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(50) DEFAULT '',
`member_id` int(11) DEFAULT '0',
`payment_name` varchar(32) DEFAULT NULL,
`telephone` varchar(32) DEFAULT NULL,
`orderno` varchar(30) DEFAULT NULL,
`total` decimal(15,2) NOT NULL DEFAULT '0.00',
`status` int(11) NOT NULL DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`finishtime` int(11) DEFAULT '0',
`paytime` int(11) DEFAULT '0',
`member_card_id` int(11) DEFAULT '0',
`wxapp_prepay_id` varchar(255) DEFAULT '',
`transid` varchar(32) DEFAULT '',
`paytype` varchar(32) DEFAULT '',
`apppay` tinyint(3) NOT NULL DEFAULT '0',
`borrowopenid` varchar(50) DEFAULT NULL,
`isborrow` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
DROP TABLE IF EXISTS `ims_ewei_shop_member_card_uselog`;
CREATE TABLE `ims_ewei_shop_member_card_uselog` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(50) DEFAULT '',
`order_id` int(11) NOT NULL,
`member_card_id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`shipping` tinyint(1) DEFAULT '0',
`discount_rate` varchar(50) DEFAULT NULL,
`order_price` decimal(11,2) NOT NULL DEFAULT '0.00',
`dec_price` decimal(11,2) NOT NULL DEFAULT '0.00',
`create_time` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_openid` (`openid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
DROP TABLE IF EXISTS `ims_ewei_shop_plugin`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_plugin` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`displayorder` int(11) DEFAULT '0',
`identity` varchar(50) DEFAULT '',
`category` varchar(255) DEFAULT '',
`name` varchar(50) DEFAULT '',
`version` varchar(10) DEFAULT '',
`author` varchar(20) DEFAULT '',
`status` int(11) DEFAULT '0',
`thumb` varchar(255) DEFAULT '',
`desc` text,
`iscom` tinyint(3) DEFAULT '0',
`deprecated` tinyint(3) DEFAULT '0',
`isv2` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_displayorder` (`displayorder`),
KEY `idx_identity` (`identity`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=71 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_cart`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_cart` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(100) DEFAULT '',
`goodsid` int(11) DEFAULT '0',
`total` int(11) DEFAULT '0',
`marketprice` decimal(10,2) DEFAULT '0.00',
`deleted` tinyint(1) DEFAULT '0',
`optionid` int(11) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`diyformdataid` int(11) DEFAULT '0',
`diyformdata` text,
`diyformfields` text,
`diyformid` int(11) DEFAULT '0',
`selected` tinyint(1) DEFAULT '1',
`selectedadd` tinyint(1) DEFAULT '1',
`merchid` int(11) DEFAULT '0',
`isnewstore` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_goodsid` (`goodsid`),
KEY `idx_openid` (`openid`),
KEY `idx_deleted` (`deleted`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=63 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_credit_record`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_credit_record` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) unsigned NOT NULL,
`openid` varchar(255) DEFAULT '',
`uniacid` int(11) NOT NULL,
`credittype` varchar(10) NOT NULL,
`num` decimal(10,2) NOT NULL,
`operator` int(10) unsigned NOT NULL,
`createtime` int(10) unsigned NOT NULL,
`remark` varchar(200) NOT NULL,
`module` varchar(30) NOT NULL,
PRIMARY KEY (`id`),
KEY `uniacid` (`uniacid`),
KEY `openid` (`openid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_favorite`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_favorite` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`goodsid` int(10) DEFAULT '0',
`openid` varchar(50) DEFAULT '',
`deleted` tinyint(1) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
`type` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_goodsid` (`goodsid`),
KEY `idx_openid` (`openid`),
KEY `idx_deleted` (`deleted`),
KEY `idx_createtime` (`createtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=26 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_group`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_group` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`groupname` varchar(255) DEFAULT '',
`description` varchar(255) DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_group_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_group_log` (
`log_id` int(11) NOT NULL AUTO_INCREMENT,
`mid` int(11) NOT NULL DEFAULT '0',
`openid` varchar(50) NOT NULL DEFAULT '0',
`group_id` int(11) NOT NULL DEFAULT '0',
`add_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`content` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`log_id`),
KEY `group_id` (`group_id`) USING BTREE,
KEY `openid` (`openid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_history`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_history` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`goodsid` int(10) DEFAULT '0',
`openid` varchar(50) DEFAULT '',
`deleted` tinyint(1) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`times` int(11) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_goodsid` (`goodsid`),
KEY `idx_openid` (`openid`),
KEY `idx_deleted` (`deleted`),
KEY `idx_createtime` (`createtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2234 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_level`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_level` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`level` int(11) DEFAULT '0',
`levelname` varchar(50) DEFAULT '',
`ordermoney` decimal(10,2) DEFAULT '0.00',
`ordercount` int(10) DEFAULT '0',
`discount` decimal(10,2) DEFAULT '0.00',
`enabled` tinyint(3) DEFAULT '0',
`enabledadd` tinyint(1) DEFAULT '0',
`buygoods` tinyint(1) NOT NULL DEFAULT '0',
`goodsids` text NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`type` tinyint(3) DEFAULT NULL,
`logno` varchar(255) DEFAULT '',
`title` varchar(255) DEFAULT '',
`createtime` int(11) DEFAULT '0',
`status` int(11) DEFAULT '0',
`money` decimal(10,2) DEFAULT '0.00',
`rechargetype` varchar(255) DEFAULT '',
`gives` decimal(10,2) DEFAULT NULL,
`couponid` int(11) DEFAULT '0',
`transid` varchar(255) DEFAULT '',
`realmoney` decimal(10,2) DEFAULT '0.00',
`charge` decimal(10,2) DEFAULT '0.00',
`deductionmoney` decimal(10,2) DEFAULT '0.00',
`isborrow` tinyint(3) DEFAULT '0',
`borrowopenid` varchar(100) DEFAULT '',
`remark` varchar(255) NOT NULL DEFAULT '',
`apppay` tinyint(3) NOT NULL DEFAULT '0',
`alipay` varchar(50) NOT NULL DEFAULT '',
`bankname` varchar(50) NOT NULL DEFAULT '',
`bankcard` varchar(50) NOT NULL DEFAULT '',
`realname` varchar(50) NOT NULL DEFAULT '',
`applytype` tinyint(3) NOT NULL DEFAULT '0',
`sendmoney` decimal(10,2) DEFAULT '0.00',
`senddata` text,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_openid` (`openid`),
KEY `idx_type` (`type`),
KEY `idx_createtime` (`createtime`),
KEY `idx_status` (`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=106 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_mergelog`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_mergelog` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`mergetime` int(11) NOT NULL DEFAULT '0',
`openid_a` varchar(30) NOT NULL,
`openid_b` varchar(30) NOT NULL,
`mid_a` int(11) NOT NULL,
`mid_b` int(11) NOT NULL,
`detail_a` text,
`detail_b` text,
`detail_c` text,
`fromuniacid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_mid_a` (`mid_a`) USING BTREE,
KEY `idx_mid_b` (`mid_b`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_message_template`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_message_template` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`template_id` varchar(255) DEFAULT '',
`first` text NOT NULL,
`firstcolor` varchar(255) DEFAULT '',
`data` text NOT NULL,
`remark` text NOT NULL,
`remarkcolor` varchar(255) DEFAULT '',
`url` varchar(255) NOT NULL,
`createtime` int(11) DEFAULT '0',
`sendtimes` int(11) DEFAULT '0',
`sendcount` int(11) DEFAULT '0',
`typecode` varchar(30) DEFAULT '',
`messagetype` tinyint(1) DEFAULT '0',
`send_desc` varchar(255) DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_createtime` (`createtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=26 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_message_template_default`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_message_template_default` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`typecode` varchar(255) DEFAULT NULL,
`uniacid` int(11) DEFAULT NULL,
`templateid` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_message_template_type`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_message_template_type` (
`id` int(11) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`typecode` varchar(255) DEFAULT NULL,
`templatecode` varchar(255) DEFAULT NULL,
`templateid` varchar(255) DEFAULT NULL,
`templatename` varchar(255) DEFAULT NULL,
`content` varchar(1000) DEFAULT NULL,
`showtotaladd` tinyint(1) DEFAULT '0',
`typegroup` varchar(255) DEFAULT '',
`groupname` varchar(255) DEFAULT '',
PRIMARY KEY (`id`),
KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `ims_ewei_shop_member_printer`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_printer` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`type` tinyint(3) DEFAULT '0',
`print_data` text,
`createtime` int(11) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_createtime` (`createtime`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_printer_template`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_printer_template` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`type` tinyint(3) DEFAULT '0',
`print_title` varchar(255) DEFAULT '',
`print_style` varchar(255) DEFAULT '',
`print_data` text,
`code` varchar(500) DEFAULT '',
`qrcode` varchar(500) DEFAULT '',
`createtime` int(11) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
`goodssn` tinyint(1) NOT NULL DEFAULT '0',
`productsn` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_createtime` (`createtime`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_rank`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_rank` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(10) unsigned NOT NULL,
`status` tinyint(4) NOT NULL,
`num` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_member_tmp`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_member_tmp` (
`uniacid` int(11) DEFAULT '0',
`openid` varchar(50) CHARACTER SET utf8 DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_account`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_account` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`merchid` int(11) DEFAULT '0',
`username` varchar(255) DEFAULT '',
`pwd` varchar(255) DEFAULT '',
`salt` varchar(255) DEFAULT '',
`status` tinyint(3) DEFAULT '0',
`perms` text,
`isfounder` tinyint(3) DEFAULT '0',
`lastip` varchar(255) DEFAULT '',
`lastvisit` varchar(255) DEFAULT '',
`roleid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_merchid` (`merchid`),
KEY `idx_status` (`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=95 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_adv`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_adv` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`advname` varchar(50) DEFAULT NULL,
`link` varchar(255) DEFAULT NULL,
`thumb` varchar(255) DEFAULT NULL,
`displayorder` int(11) DEFAULT NULL,
`enabled` int(11) DEFAULT NULL,
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_merchid` (`merchid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=26 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_banner`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_banner` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`bannername` varchar(50) DEFAULT '',
`link` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`enabled` int(11) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_enabled` (`enabled`),
KEY `idx_displayorder` (`displayorder`),
KEY `idx_merchid` (`merchid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_bill`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_bill` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`applyno` varchar(255) NOT NULL DEFAULT '',
`merchid` int(11) NOT NULL DEFAULT '0',
`orderids` text NOT NULL,
`realprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`realpricerate` decimal(10,2) NOT NULL DEFAULT '0.00',
`finalprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`payrateprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`payrate` decimal(10,2) NOT NULL DEFAULT '0.00',
`money` decimal(10,2) NOT NULL DEFAULT '0.00',
`applytime` int(11) NOT NULL DEFAULT '0',
`checktime` int(11) NOT NULL DEFAULT '0',
`paytime` int(11) NOT NULL DEFAULT '0',
`invalidtime` int(11) NOT NULL DEFAULT '0',
`refusetime` int(11) NOT NULL DEFAULT '0',
`remark` text NOT NULL,
`status` tinyint(3) NOT NULL DEFAULT '0',
`ordernum` int(11) NOT NULL DEFAULT '0',
`orderprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`price` decimal(10,2) NOT NULL DEFAULT '0.00',
`passrealprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`passrealpricerate` decimal(10,2) NOT NULL DEFAULT '0.00',
`passorderids` text NOT NULL,
`passordernum` int(11) NOT NULL DEFAULT '0',
`passorderprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`alipay` varchar(50) NOT NULL DEFAULT '',
`bankname` varchar(50) NOT NULL DEFAULT '',
`bankcard` varchar(50) NOT NULL DEFAULT '',
`applyrealname` varchar(50) NOT NULL DEFAULT '',
`applytype` tinyint(3) NOT NULL DEFAULT '0',
`handpay` tinyint(3) NOT NULL DEFAULT '0',
`creditstatus` tinyint(3) NOT NULL DEFAULT '0',
`creditrate` int(10) NOT NULL DEFAULT '1',
`creditnum` int(10) NOT NULL DEFAULT '0',
`creditmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
`passcreditnum` int(10) NOT NULL DEFAULT '0',
`passcreditmoney` decimal(10,2) NOT NULL DEFAULT '0.00',
`isbillcredit` int(10) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_merchid` (`merchid`),
KEY `idx_status` (`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=26 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_billo`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_billo` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`billid` int(11) NOT NULL DEFAULT '0',
`orderid` int(11) NOT NULL DEFAULT '0',
`ordermoney` decimal(10,2) NOT NULL DEFAULT '0.00',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=54 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`catename` varchar(255) DEFAULT '',
`createtime` int(11) DEFAULT '0',
`status` tinyint(1) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`thumb` varchar(500) DEFAULT '',
`isrecommand` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_category_swipe`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_category_swipe` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`createtime` int(11) DEFAULT '0',
`status` tinyint(1) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`thumb` varchar(500) DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_clearing`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_clearing` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`merchid` int(11) NOT NULL DEFAULT '0',
`clearno` varchar(64) NOT NULL DEFAULT '',
`goodsprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`dispatchprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`deductprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`deductcredit2` decimal(10,2) NOT NULL DEFAULT '0.00',
`discountprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`deductenough` decimal(10,2) NOT NULL DEFAULT '0.00',
`merchdeductenough` decimal(10,2) NOT NULL DEFAULT '0.00',
`isdiscountprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`price` decimal(10,2) NOT NULL DEFAULT '0.00',
`createtime` int(10) unsigned NOT NULL DEFAULT '0',
`starttime` int(10) unsigned NOT NULL DEFAULT '0',
`endtime` int(10) unsigned NOT NULL DEFAULT '0',
`status` tinyint(1) NOT NULL DEFAULT '0',
`realprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`realpricerate` decimal(10,2) NOT NULL DEFAULT '0.00',
`finalprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`remark` varchar(2000) NOT NULL DEFAULT '',
`paytime` int(11) NOT NULL DEFAULT '0',
`payrate` decimal(10,2) NOT NULL DEFAULT '0.00',
PRIMARY KEY (`id`),
KEY `uniacid` (`uniacid`),
KEY `merchid` (`merchid`),
KEY `starttime` (`starttime`),
KEY `endtime` (`endtime`),
KEY `status` (`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_group`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_group` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`groupname` varchar(255) DEFAULT '',
`createtime` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
`isdefault` tinyint(1) DEFAULT '0',
`goodschecked` tinyint(1) DEFAULT '0',
`commissionchecked` tinyint(1) DEFAULT '0',
`changepricechecked` tinyint(1) DEFAULT '0',
`finishchecked` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_nav`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_nav` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`navname` varchar(255) DEFAULT '',
`icon` varchar(255) DEFAULT '',
`url` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_status` (`status`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_merchid` (`merchid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_notice`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_notice` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`link` varchar(255) DEFAULT '',
`detail` text,
`status` tinyint(3) DEFAULT '0',
`createtime` int(11) DEFAULT NULL,
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_merchid` (`merchid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_perm_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_perm_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) DEFAULT '0',
`uniacid` int(11) DEFAULT '0',
`name` varchar(255) DEFAULT '',
`type` varchar(255) DEFAULT '',
`op` text,
`ip` varchar(255) DEFAULT '',
`createtime` int(11) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_createtime` (`createtime`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_merchid` (`merchid`),
KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=489 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_perm_role`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_perm_role` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
`rolename` varchar(255) DEFAULT '',
`status` tinyint(3) DEFAULT '0',
`perms` text,
`deleted` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_status` (`status`),
KEY `idx_deleted` (`deleted`),
KEY `merchid` (`merchid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_reg`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_reg` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`merchname` varchar(255) DEFAULT '',
`salecate` varchar(255) DEFAULT '',
`desc` varchar(500) DEFAULT '',
`realname` varchar(255) DEFAULT '',
`mobile` varchar(255) DEFAULT '',
`status` tinyint(3) DEFAULT '0',
`diyformdata` text,
`diyformfields` text,
`applytime` int(11) DEFAULT '0',
`reason` text,
`uname` varchar(50) NOT NULL DEFAULT '',
`upass` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=112 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_saler`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_saler` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`storeid` int(11) DEFAULT '0',
`uniacid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`status` tinyint(3) DEFAULT '0',
`salername` varchar(255) DEFAULT '',
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_storeid` (`storeid`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_merchid` (`merchid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=23 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_store`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_store` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`storename` varchar(255) DEFAULT '',
`address` varchar(255) DEFAULT '',
`tel` varchar(255) DEFAULT '',
`lat` varchar(255) DEFAULT '',
`lng` varchar(255) DEFAULT '',
`status` tinyint(3) DEFAULT '0',
`type` tinyint(1) DEFAULT '0',
`realname` varchar(255) DEFAULT '',
`mobile` varchar(255) DEFAULT '',
`fetchtime` varchar(255) DEFAULT '',
`logo` varchar(255) DEFAULT '',
`saletime` varchar(255) DEFAULT '',
`desc` text,
`displayorder` int(11) DEFAULT '0',
`commission_total` decimal(10,2) DEFAULT NULL,
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_status` (`status`),
KEY `idx_merchid` (`merchid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=39 ;
DROP TABLE IF EXISTS `ims_ewei_shop_merch_user`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_merch_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`regid` int(11) DEFAULT '0',
`openid` varchar(255) NOT NULL DEFAULT '',
`groupid` int(11) DEFAULT '0',
`merchno` varchar(255) NOT NULL DEFAULT '',
`merchname` varchar(255) NOT NULL DEFAULT '',
`salecate` varchar(255) NOT NULL DEFAULT '',
`desc` varchar(500) NOT NULL DEFAULT '',
`realname` varchar(255) NOT NULL DEFAULT '',
`mobile` varchar(255) NOT NULL DEFAULT '',
`status` tinyint(3) DEFAULT '0',
`accounttime` int(11) DEFAULT '0',
`diyformdata` text,
`diyformfields` text,
`applytime` int(11) DEFAULT '0',
`accounttotal` int(11) DEFAULT '0',
`remark` text,
`jointime` int(11) DEFAULT '0',
`accountid` int(11) DEFAULT '0',
`sets` text,
`logo` varchar(255) NOT NULL DEFAULT '',
`payopenid` varchar(32) NOT NULL DEFAULT '',
`payrate` decimal(10,2) NOT NULL DEFAULT '0.00',
`isrecommand` tinyint(1) DEFAULT '0',
`cateid` int(11) DEFAULT '0',
`address` varchar(255) DEFAULT '',
`tel` varchar(255) DEFAULT '',
`lat` varchar(255) DEFAULT '',
`lng` varchar(255) DEFAULT '',
`pluginset` text NOT NULL,
`uname` varchar(50) NOT NULL DEFAULT '',
`upass` varchar(255) NOT NULL DEFAULT '',
`maxgoods` int(11) NOT NULL DEFAULT '0',
`iscredit` tinyint(3) NOT NULL DEFAULT '1',
`creditrate` int(10) NOT NULL DEFAULT '1',
`iscreditmoney` int(3) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_status` (`status`),
KEY `idx_groupid` (`groupid`),
KEY `idx_regid` (`regid`),
KEY `idx_cateid` (`cateid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=97 ;
DROP TABLE IF EXISTS `ims_ewei_shop_multi_shop`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_multi_shop` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`uid` int(11) DEFAULT '0',
`name` varchar(255) DEFAULT '',
`company` varchar(255) DEFAULT '',
`sales` varchar(255) DEFAULT '',
`starttime` int(11) DEFAULT '0',
`endtime` int(11) DEFAULT '0',
`applytime` int(11) DEFAULT '0',
`jointime` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
`refusecontent` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_nav`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_nav` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`navname` varchar(255) DEFAULT '',
`icon` varchar(255) DEFAULT '',
`url` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
`iswxapp` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_status` (`status`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;
DROP TABLE IF EXISTS `ims_ewei_shop_newstore_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_newstore_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`uniacid` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_notice`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_notice` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`link` varchar(255) DEFAULT '',
`detail` text,
`status` tinyint(3) DEFAULT '0',
`createtime` int(11) DEFAULT NULL,
`shopid` int(11) DEFAULT '0',
`iswxapp` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_order`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_order` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(50) DEFAULT '',
`agentid` int(11) DEFAULT '0',
`ordersn` varchar(30) DEFAULT '',
`price` decimal(10,2) DEFAULT '0.00',
`goodsprice` decimal(10,2) DEFAULT '0.00',
`discountprice` decimal(10,2) DEFAULT '0.00',
`status` tinyint(3) DEFAULT '0',
`paytype` tinyint(1) DEFAULT '0',
`transid` varchar(30) DEFAULT '0',
`remark` varchar(1000) DEFAULT '',
`addressid` int(11) DEFAULT '0',
`dispatchprice` decimal(10,2) DEFAULT '0.00',
`dispatchid` int(10) DEFAULT '0',
`createtime` int(10) DEFAULT NULL,
`dispatchtype` tinyint(3) DEFAULT '0',
`carrier` text,
`refundid` int(11) DEFAULT '0',
`iscomment` tinyint(3) DEFAULT '0',
`creditadd` tinyint(3) DEFAULT '0',
`deleted` tinyint(3) DEFAULT '0',
`userdeleted` tinyint(3) DEFAULT '0',
`finishtime` int(11) DEFAULT '0',
`paytime` int(11) DEFAULT '0',
`expresscom` varchar(30) NOT NULL DEFAULT '',
`expresssn` varchar(50) NOT NULL DEFAULT '',
`express` varchar(255) DEFAULT '',
`sendtime` int(11) DEFAULT '0',
`fetchtime` int(11) DEFAULT '0',
`cash` tinyint(3) DEFAULT '0',
`canceltime` int(11) DEFAULT NULL,
`cancelpaytime` int(11) DEFAULT '0',
`refundtime` int(11) DEFAULT '0',
`isverify` tinyint(3) DEFAULT '0',
`verified` tinyint(3) DEFAULT '0',
`verifyopenid` varchar(255) DEFAULT '',
`verifycode` varchar(255) DEFAULT '',
`verifytime` int(11) DEFAULT '0',
`verifystoreid` int(11) DEFAULT '0',
`deductprice` decimal(10,2) DEFAULT '0.00',
`deductcredit` int(10) DEFAULT '0',
`deductcredit2` decimal(10,2) DEFAULT '0.00',
`deductenough` decimal(10,2) DEFAULT '0.00',
`virtual` int(11) DEFAULT '0',
`virtual_info` text,
`virtual_str` text,
`address` text,
`sysdeleted` tinyint(3) DEFAULT '0',
`ordersn2` int(11) DEFAULT '0',
`changeprice` decimal(10,2) DEFAULT '0.00',
`changedispatchprice` decimal(10,2) DEFAULT '0.00',
`oldprice` decimal(10,2) DEFAULT '0.00',
`olddispatchprice` decimal(10,2) DEFAULT '0.00',
`isvirtual` tinyint(3) DEFAULT '0',
`couponid` int(11) DEFAULT '0',
`couponprice` decimal(10,2) DEFAULT '0.00',
`diyformdata` text,
`diyformfields` text,
`diyformid` int(11) DEFAULT '0',
`storeid` int(11) DEFAULT '0',
`printstate` tinyint(1) DEFAULT '0',
`printstate2` tinyint(1) DEFAULT '0',
`address_send` text,
`refundstate` tinyint(3) DEFAULT '0',
`closereason` text,
`remarksaler` text,
`remarkclose` text,
`remarksend` text,
`ismr` int(1) NOT NULL DEFAULT '0',
`isdiscountprice` decimal(10,2) DEFAULT '0.00',
`isvirtualsend` tinyint(1) DEFAULT '0',
`virtualsend_info` text,
`verifyinfo` text,
`verifytype` tinyint(1) DEFAULT '0',
`verifycodes` text,
`invoicename` varchar(255) DEFAULT '',
`merchid` int(11) DEFAULT '0',
`ismerch` tinyint(1) DEFAULT '0',
`parentid` int(11) DEFAULT '0',
`isparent` tinyint(1) DEFAULT '0',
`grprice` decimal(10,2) DEFAULT '0.00',
`merchshow` tinyint(1) DEFAULT '0',
`merchdeductenough` decimal(10,2) DEFAULT '0.00',
`couponmerchid` int(11) DEFAULT '0',
`isglobonus` tinyint(3) DEFAULT '0',
`merchapply` tinyint(1) DEFAULT '0',
`isabonus` tinyint(3) DEFAULT '0',
`isborrow` tinyint(3) DEFAULT '0',
`borrowopenid` varchar(100) DEFAULT '',
`merchisdiscountprice` decimal(10,2) DEFAULT '0.00',
`apppay` tinyint(3) NOT NULL DEFAULT '0',
`coupongoodprice` decimal(10,2) DEFAULT '1.00',
`buyagainprice` decimal(10,2) DEFAULT '0.00',
`authorid` int(11) DEFAULT '0',
`isauthor` tinyint(1) DEFAULT '0',
`ispackage` tinyint(3) DEFAULT '0',
`packageid` int(11) DEFAULT '0',
`taskdiscountprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`seckilldiscountprice` decimal(10,2) DEFAULT '0.00',
`verifyendtime` int(11) NOT NULL DEFAULT '0',
`willcancelmessage` tinyint(1) DEFAULT '0',
`sendtype` tinyint(3) NOT NULL DEFAULT '0',
`lotterydiscountprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`contype` tinyint(1) DEFAULT '0',
`wxid` int(11) DEFAULT '0',
`wxcardid` varchar(50) DEFAULT '',
`wxcode` varchar(50) DEFAULT '',
`dispatchkey` varchar(30) NOT NULL DEFAULT '',
`quickid` int(11) NOT NULL DEFAULT '0',
`istrade` tinyint(3) NOT NULL DEFAULT '0',
`isnewstore` tinyint(3) NOT NULL DEFAULT '0',
`liveid` int(11) DEFAULT NULL,
`ordersn_trade` varchar(32) DEFAULT NULL,
`tradestatus` tinyint(1) DEFAULT '0',
`tradepaytype` tinyint(1) DEFAULT NULL,
`tradepaytime` int(11) DEFAULT '0',
`dowpayment` decimal(10,2) NOT NULL DEFAULT '0.00',
`betweenprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`isshare` int(11) NOT NULL DEFAULT '0',
`officcode` varchar(50) NOT NULL DEFAULT '',
`wxapp_prepay_id` varchar(100) DEFAULT NULL,
`cashtime` int(11) DEFAULT '0',
`random_code` varchar(4) DEFAULT NULL,
`print_template` text,
`city_express_state` tinyint(1) DEFAULT NULL,
`ces` int(1) DEFAULT NULL,
`is_cashier` tinyint(3) DEFAULT NULL,
`commissionmoney` decimal(10,2) DEFAULT '0.00',
`iscycelbuy` tinyint(3) DEFAULT '0',
`cycelbuy_predict_time` int(11) DEFAULT NULL,
`cycelbuy_periodic` varchar(255) DEFAULT NULL,
`invoice_img` varchar(255) DEFAULT '',
`headsid` int(11) NOT NULL DEFAULT '0',
`dividend` text,
`dividend_applytime` int(11) NOT NULL DEFAULT '0',
`dividend_checktime` int(11) NOT NULL DEFAULT '0',
`dividend_paytime` int(11) NOT NULL DEFAULT '0',
`dividend_invalidtime` int(11) NOT NULL DEFAULT '0',
`dividend_deletetime` int(11) NOT NULL DEFAULT '0',
`dividend_status` tinyint(3) NOT NULL DEFAULT '0',
`dividend_content` text,
`iswxappcreate` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_openid` (`openid`),
KEY `idx_shareid` (`agentid`),
KEY `idx_status` (`status`),
KEY `idx_createtime` (`createtime`),
KEY `idx_refundid` (`refundid`),
KEY `idx_paytime` (`paytime`),
KEY `idx_finishtime` (`finishtime`),
KEY `idx_merchid` (`merchid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=157 ;
DROP TABLE IF EXISTS `ims_ewei_shop_order_buysend`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_order_buysend` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`orderid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`credit` float(10,2) DEFAULT '0.00',
`money` decimal(10,2) DEFAULT '0.00',
`createtime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_orderid` (`orderid`) USING BTREE,
KEY `idx_openid` (`openid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_order_comment`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_order_comment` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`orderid` int(11) DEFAULT '0',
`goodsid` int(11) DEFAULT '0',
`openid` varchar(50) DEFAULT '',
`nickname` varchar(50) DEFAULT '',
`headimgurl` varchar(255) DEFAULT '',
`level` tinyint(3) DEFAULT '0',
`content` varchar(255) DEFAULT '',
`images` text,
`createtime` int(11) DEFAULT '0',
`deleted` tinyint(3) DEFAULT '0',
`append_content` varchar(255) DEFAULT '',
`append_images` text,
`reply_content` varchar(255) DEFAULT '',
`reply_images` text,
`append_reply_content` varchar(255) DEFAULT '',
`append_reply_images` text,
`istop` tinyint(3) DEFAULT '0',
`checked` tinyint(3) NOT NULL DEFAULT '0',
`replychecked` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_goodsid` (`goodsid`),
KEY `idx_openid` (`openid`),
KEY `idx_createtime` (`createtime`),
KEY `idx_orderid` (`orderid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
DROP TABLE IF EXISTS `ims_ewei_shop_order_goods`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_order_goods` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`orderid` int(11) DEFAULT '0',
`goodsid` int(11) DEFAULT '0',
`price` decimal(10,2) DEFAULT '0.00',
`total` int(11) DEFAULT '1',
`optionid` int(10) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`optionname` text,
`commission1` text,
`applytime1` int(11) DEFAULT '0',
`checktime1` int(10) DEFAULT '0',
`paytime1` int(11) DEFAULT '0',
`invalidtime1` int(11) DEFAULT '0',
`deletetime1` int(11) DEFAULT '0',
`status1` tinyint(3) DEFAULT '0',
`content1` text,
`commission2` text,
`applytime2` int(11) DEFAULT '0',
`checktime2` int(10) DEFAULT '0',
`paytime2` int(11) DEFAULT '0',
`invalidtime2` int(11) DEFAULT '0',
`deletetime2` int(11) DEFAULT '0',
`status2` tinyint(3) DEFAULT '0',
`content2` text,
`commission3` text,
`applytime3` int(11) DEFAULT '0',
`checktime3` int(10) DEFAULT '0',
`paytime3` int(11) DEFAULT '0',
`invalidtime3` int(11) DEFAULT '0',
`deletetime3` int(11) DEFAULT '0',
`status3` tinyint(3) DEFAULT '0',
`content3` text,
`realprice` decimal(10,2) DEFAULT '0.00',
`goodssn` varchar(255) DEFAULT '',
`productsn` varchar(255) DEFAULT '',
`nocommission` tinyint(3) DEFAULT '0',
`changeprice` decimal(10,2) DEFAULT '0.00',
`oldprice` decimal(10,2) DEFAULT '0.00',
`commissions` text,
`diyformid` int(11) DEFAULT '0',
`diyformdataid` int(11) DEFAULT '0',
`diyformdata` text,
`diyformfields` text,
`openid` varchar(255) DEFAULT '',
`printstate` int(11) NOT NULL DEFAULT '0',
`printstate2` int(11) NOT NULL DEFAULT '0',
`rstate` tinyint(3) DEFAULT '0',
`refundtime` int(11) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
`parentorderid` int(11) DEFAULT '0',
`merchsale` tinyint(3) NOT NULL DEFAULT '0',
`isdiscountprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`canbuyagain` tinyint(1) DEFAULT '0',
`seckill` tinyint(3) DEFAULT '0',
`seckill_taskid` int(11) DEFAULT '0',
`seckill_roomid` int(11) DEFAULT '0',
`seckill_timeid` int(11) DEFAULT '0',
`is_make` tinyint(1) DEFAULT '0',
`sendtype` tinyint(3) NOT NULL DEFAULT '0',
`expresscom` varchar(30) NOT NULL,
`expresssn` varchar(50) NOT NULL,
`express` varchar(255) NOT NULL,
`sendtime` int(11) NOT NULL,
`finishtime` int(11) NOT NULL,
`remarksend` text NOT NULL,
`prohibitrefund` tinyint(3) NOT NULL DEFAULT '0',
`storeid` varchar(255) NOT NULL,
`trade_time` int(11) NOT NULL DEFAULT '0',
`optime` varchar(30) NOT NULL,
`tdate_time` int(11) NOT NULL DEFAULT '0',
`dowpayment` decimal(10,2) NOT NULL DEFAULT '0.00',
`peopleid` int(11) NOT NULL DEFAULT '0',
`esheetprintnum` int(11) NOT NULL DEFAULT '0',
`ordercode` varchar(30) NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_orderid` (`orderid`),
KEY `idx_goodsid` (`goodsid`),
KEY `idx_createtime` (`createtime`),
KEY `idx_applytime1` (`applytime1`),
KEY `idx_checktime1` (`checktime1`),
KEY `idx_status1` (`status1`),
KEY `idx_applytime2` (`applytime2`),
KEY `idx_checktime2` (`checktime2`),
KEY `idx_status2` (`status2`),
KEY `idx_applytime3` (`applytime3`),
KEY `idx_invalidtime1` (`invalidtime1`),
KEY `idx_checktime3` (`checktime3`),
KEY `idx_invalidtime2` (`invalidtime2`),
KEY `idx_invalidtime3` (`invalidtime3`),
KEY `idx_status3` (`status3`),
KEY `idx_paytime1` (`paytime1`),
KEY `idx_paytime2` (`paytime2`),
KEY `idx_paytime3` (`paytime3`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=162 ;
DROP TABLE IF EXISTS `ims_ewei_shop_order_peerpay`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_order_peerpay` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`orderid` int(11) NOT NULL DEFAULT '0',
`peerpay_type` tinyint(1) NOT NULL DEFAULT '0',
`peerpay_price` decimal(10,2) NOT NULL DEFAULT '0.00',
`peerpay_maxprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`peerpay_realprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`peerpay_selfpay` decimal(10,2) NOT NULL DEFAULT '0.00',
`peerpay_message` varchar(500) NOT NULL DEFAULT '',
`status` tinyint(1) NOT NULL DEFAULT '0',
`createtime` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `uniacid` (`uniacid`) USING BTREE,
KEY `orderid` (`orderid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_order_peerpay_payinfo`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_order_peerpay_payinfo` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pid` int(11) NOT NULL DEFAULT '0',
`uid` int(11) NOT NULL DEFAULT '0',
`uname` varchar(255) NOT NULL DEFAULT '',
`usay` varchar(500) NOT NULL DEFAULT '',
`price` decimal(10,2) NOT NULL DEFAULT '0.00',
`createtime` int(11) NOT NULL DEFAULT '0',
`headimg` varchar(255) DEFAULT NULL,
`refundstatus` tinyint(1) NOT NULL DEFAULT '0',
`refundprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`tid` varchar(255) NOT NULL DEFAULT '',
`openid` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_order_print`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_order_print` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`status` tinyint(3) DEFAULT '0',
`sid` tinyint(3) DEFAULT '0',
`foid` tinyint(3) DEFAULT '0',
`oid` int(11) DEFAULT '0',
`pid` int(11) DEFAULT '0',
`uniacid` int(11) DEFAULT '0',
`addtime` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_order_refund`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_order_refund` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`orderid` int(11) DEFAULT '0',
`refundno` varchar(255) DEFAULT '',
`price` varchar(255) DEFAULT '',
`reason` varchar(255) DEFAULT '',
`images` text,
`content` text,
`createtime` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
`reply` text,
`refundtype` tinyint(3) DEFAULT '0',
`orderprice` decimal(10,2) DEFAULT '0.00',
`applyprice` decimal(10,2) DEFAULT '0.00',
`imgs` text,
`rtype` tinyint(3) DEFAULT '0',
`refundaddress` text,
`message` text,
`express` varchar(100) DEFAULT '',
`expresscom` varchar(100) DEFAULT '',
`expresssn` varchar(100) DEFAULT '',
`operatetime` int(11) DEFAULT '0',
`sendtime` int(11) DEFAULT '0',
`returntime` int(11) DEFAULT '0',
`refundtime` int(11) DEFAULT '0',
`rexpress` varchar(100) DEFAULT '',
`rexpresscom` varchar(100) DEFAULT '',
`rexpresssn` varchar(100) DEFAULT '',
`refundaddressid` int(11) DEFAULT '0',
`endtime` int(11) DEFAULT '0',
`realprice` decimal(10,2) DEFAULT '0.00',
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_createtime` (`createtime`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ;
DROP TABLE IF EXISTS `ims_ewei_shop_package`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_package` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`title` varchar(255) NOT NULL,
`price` decimal(10,2) NOT NULL DEFAULT '0.00',
`freight` decimal(10,2) NOT NULL DEFAULT '0.00',
`thumb` varchar(255) NOT NULL,
`starttime` int(11) NOT NULL DEFAULT '0',
`endtime` int(11) NOT NULL DEFAULT '0',
`goodsid` varchar(255) NOT NULL,
`cash` tinyint(3) NOT NULL DEFAULT '0',
`share_title` varchar(255) NOT NULL,
`share_icon` varchar(255) NOT NULL,
`share_desc` varchar(500) NOT NULL,
`status` tinyint(3) NOT NULL DEFAULT '0',
`deleted` tinyint(3) NOT NULL DEFAULT '0',
`displayorder` int(11) NOT NULL DEFAULT '0',
`dispatchtype` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_package_goods`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_package_goods` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`pid` int(11) NOT NULL,
`goodsid` int(11) NOT NULL,
`title` varchar(255) NOT NULL,
`thumb` varchar(255) NOT NULL,
`price` decimal(10,2) NOT NULL DEFAULT '0.00',
`option` varchar(255) NOT NULL,
`goodssn` varchar(255) NOT NULL,
`productsn` varchar(255) NOT NULL,
`hasoption` tinyint(3) NOT NULL DEFAULT '0',
`marketprice` decimal(10,2) DEFAULT '0.00',
`packageprice` decimal(10,2) DEFAULT '0.00',
`commission1` decimal(10,2) DEFAULT '0.00',
`commission2` decimal(10,2) DEFAULT '0.00',
`commission3` decimal(10,2) DEFAULT '0.00',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_package_goods_option`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_package_goods_option` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`goodsid` int(11) NOT NULL DEFAULT '0',
`optionid` int(11) NOT NULL DEFAULT '0',
`pid` int(11) NOT NULL DEFAULT '0',
`title` varchar(255) NOT NULL,
`packageprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`marketprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`commission1` decimal(10,2) NOT NULL DEFAULT '0.00',
`commission2` decimal(10,2) NOT NULL DEFAULT '0.00',
`commission3` decimal(10,2) NOT NULL DEFAULT '0.00',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_payment`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_payment` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`title` varchar(255) NOT NULL DEFAULT '',
`type` tinyint(2) NOT NULL DEFAULT '0',
`appid` varchar(255) DEFAULT '',
`mch_id` varchar(50) NOT NULL DEFAULT '',
`apikey` varchar(50) NOT NULL DEFAULT '',
`sub_appid` varchar(50) DEFAULT '',
`sub_appsecret` varchar(50) DEFAULT '',
`sub_mch_id` varchar(50) DEFAULT '',
`cert_file` text,
`key_file` text,
`root_file` text,
`is_raw` tinyint(1) DEFAULT '0',
`createtime` int(10) unsigned DEFAULT '0',
`paytype` tinyint(3) NOT NULL DEFAULT '0',
`alitype` tinyint(3) NOT NULL DEFAULT '0',
`alipay_sec` text NOT NULL,
`qpay_signtype` tinyint(1) NOT NULL DEFAULT '0',
`app_qpay_public_key` text NOT NULL,
`app_qpay_private_key` text NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_type` (`type`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_pc_adv`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_pc_adv` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`uniacid` int(11) unsigned NOT NULL,
`advname` varchar(255) NOT NULL,
`title` varchar(255) DEFAULT NULL,
`src` varchar(255) NOT NULL,
`alt` varchar(255) DEFAULT NULL,
`enabled` tinyint(3) unsigned NOT NULL,
`link` varchar(255) DEFAULT NULL,
`width` int(11) unsigned NOT NULL,
`height` int(11) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ;
DROP TABLE IF EXISTS `ims_ewei_shop_pc_link`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_pc_link` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`uniacid` int(11) unsigned NOT NULL,
`linkname` varchar(255) NOT NULL,
`url` varchar(255) NOT NULL,
`status` tinyint(3) unsigned NOT NULL DEFAULT '1',
`displayorder` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_pc_menu`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_pc_menu` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`uniacid` int(11) unsigned NOT NULL,
`type` int(11) unsigned DEFAULT '0',
`displayorder` int(11) unsigned DEFAULT '0',
`title` varchar(255) DEFAULT '',
`link` varchar(255) DEFAULT '',
`enabled` tinyint(3) unsigned DEFAULT '1',
`createtime` int(11) unsigned DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ;
DROP TABLE IF EXISTS `ims_ewei_shop_pc_slide`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_pc_slide` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`uniacid` int(11) unsigned DEFAULT '0',
`type` int(11) unsigned DEFAULT '0',
`advname` varchar(50) DEFAULT '',
`link` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`backcolor` varchar(255) DEFAULT NULL,
`displayorder` int(11) DEFAULT '0',
`enabled` int(11) DEFAULT '0',
`shopid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_enabled` (`enabled`),
KEY `idx_displayorder` (`displayorder`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ;
DROP TABLE IF EXISTS `ims_ewei_shop_perm_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_perm_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) DEFAULT '0',
`uniacid` int(11) DEFAULT '0',
`name` varchar(255) DEFAULT '',
`type` varchar(255) DEFAULT '',
`op` text,
`createtime` int(11) DEFAULT '0',
`ip` varchar(255) DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_uid` (`uid`),
KEY `idx_createtime` (`createtime`),
KEY `idx_uniacid` (`uniacid`),
FULLTEXT KEY `idx_type` (`type`),
FULLTEXT KEY `idx_op` (`op`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=6725 ;
DROP TABLE IF EXISTS `ims_ewei_shop_perm_plugin`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_perm_plugin` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`acid` int(11) DEFAULT '0',
`uid` int(11) DEFAULT '0',
`type` tinyint(3) DEFAULT '0',
`plugins` text,
`coms` text,
`datas` text,
PRIMARY KEY (`id`),
KEY `idx_uid` (`uid`),
KEY `idx_acid` (`acid`),
KEY `idx_type` (`type`),
KEY `idx_uniacid` (`acid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_perm_role`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_perm_role` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`rolename` varchar(255) DEFAULT '',
`status` tinyint(3) DEFAULT '0',
`perms` text,
`deleted` tinyint(3) DEFAULT '0',
`perms2` text,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_status` (`status`),
KEY `idx_deleted` (`deleted`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ;
DROP TABLE IF EXISTS `ims_ewei_shop_perm_user`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_perm_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`uid` int(11) DEFAULT '0',
`username` varchar(255) DEFAULT '',
`password` varchar(255) DEFAULT '',
`roleid` int(11) DEFAULT '0',
`status` int(11) DEFAULT '0',
`perms` text,
`deleted` tinyint(3) DEFAULT '0',
`realname` varchar(255) DEFAULT '',
`mobile` varchar(255) DEFAULT '',
`perms2` text,
`openid` varchar(50) DEFAULT NULL,
`openid_wa` varchar(50) DEFAULT NULL,
`member_nick` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_uid` (`uid`),
KEY `idx_roleid` (`roleid`),
KEY `idx_status` (`status`),
KEY `idx_deleted` (`deleted`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_plugin`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_plugin` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`displayorder` int(11) DEFAULT '0',
`identity` varchar(50) DEFAULT '',
`category` varchar(255) DEFAULT '',
`name` varchar(50) DEFAULT '',
`version` varchar(10) DEFAULT '',
`author` varchar(20) DEFAULT '',
`status` int(11) DEFAULT '0',
`thumb` varchar(255) DEFAULT '',
`desc` text,
`iscom` tinyint(3) DEFAULT '0',
`deprecated` tinyint(3) DEFAULT '0',
`isv2` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_displayorder` (`displayorder`),
KEY `idx_identity` (`identity`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=71 ;
DROP TABLE IF EXISTS `ims_ewei_shop_polyapi_key`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_polyapi_key` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`merchid` int(11) NOT NULL DEFAULT '0',
`appkey` varchar(200) NOT NULL DEFAULT '',
`token` varchar(200) NOT NULL DEFAULT '',
`appsecret` varchar(200) NOT NULL DEFAULT '',
`createtime` int(11) NOT NULL DEFAULT '0',
`updatetime` int(11) NOT NULL DEFAULT '0',
`status` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_appkey` (`appkey`) USING BTREE,
KEY `idx_token` (`token`) USING BTREE,
KEY `idx_appsecret` (`appsecret`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_poster`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_poster` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`type` tinyint(3) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`bg` varchar(255) DEFAULT '',
`data` text,
`keyword` varchar(255) DEFAULT '',
`times` int(11) DEFAULT '0',
`follows` int(11) DEFAULT '0',
`isdefault` tinyint(3) DEFAULT '0',
`resptitle` varchar(255) DEFAULT '',
`respthumb` varchar(255) DEFAULT '',
`createtime` int(11) DEFAULT '0',
`respdesc` varchar(255) DEFAULT '',
`respurl` varchar(255) DEFAULT '',
`waittext` varchar(255) DEFAULT '',
`oktext` varchar(255) DEFAULT '',
`subcredit` int(11) DEFAULT '0',
`submoney` decimal(10,2) DEFAULT '0.00',
`reccredit` int(11) DEFAULT '0',
`recmoney` decimal(10,2) DEFAULT '0.00',
`paytype` tinyint(1) NOT NULL DEFAULT '0',
`scantext` varchar(255) DEFAULT '',
`subtext` varchar(255) DEFAULT '',
`beagent` tinyint(3) DEFAULT '0',
`bedown` tinyint(3) DEFAULT '0',
`isopen` tinyint(3) DEFAULT '0',
`opentext` varchar(255) DEFAULT '',
`openurl` varchar(255) DEFAULT '',
`templateid` varchar(255) DEFAULT '',
`subpaycontent` text,
`recpaycontent` varchar(255) DEFAULT '',
`entrytext` varchar(255) DEFAULT '',
`reccouponid` int(11) DEFAULT '0',
`reccouponnum` int(11) DEFAULT '0',
`subcouponid` int(11) DEFAULT '0',
`subcouponnum` int(11) DEFAULT '0',
`resptype` tinyint(3) DEFAULT '0',
`resptext` text,
`keyword2` varchar(255) DEFAULT '',
`resptext11` text,
`reward_totle` varchar(500) DEFAULT '',
`ismembergroup` tinyint(3) DEFAULT '0',
`membergroupid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_type` (`type`),
KEY `idx_times` (`times`),
KEY `idx_isdefault` (`isdefault`),
KEY `idx_createtime` (`createtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
DROP TABLE IF EXISTS `ims_ewei_shop_postera`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_postera` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`type` tinyint(3) DEFAULT '0',
`days` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`bg` varchar(255) DEFAULT '',
`data` text,
`keyword` varchar(255) DEFAULT '',
`isdefault` tinyint(3) DEFAULT '0',
`resptitle` varchar(255) DEFAULT '',
`respthumb` varchar(255) DEFAULT '',
`createtime` int(11) DEFAULT '0',
`respdesc` varchar(255) DEFAULT '',
`respurl` varchar(255) DEFAULT '',
`waittext` varchar(255) DEFAULT '',
`oktext` varchar(255) DEFAULT '',
`subcredit` int(11) DEFAULT '0',
`submoney` decimal(10,2) DEFAULT '0.00',
`reccredit` int(11) DEFAULT '0',
`recmoney` decimal(10,2) DEFAULT '0.00',
`scantext` varchar(255) DEFAULT '',
`subtext` varchar(255) DEFAULT '',
`beagent` tinyint(3) DEFAULT '0',
`bedown` tinyint(3) DEFAULT '0',
`isopen` tinyint(3) DEFAULT '0',
`opentext` varchar(255) DEFAULT '',
`openurl` varchar(255) DEFAULT '',
`paytype` tinyint(1) NOT NULL DEFAULT '0',
`subpaycontent` text,
`recpaycontent` varchar(255) DEFAULT '',
`templateid` varchar(255) DEFAULT '',
`entrytext` varchar(255) DEFAULT '',
`reccouponid` int(11) DEFAULT '0',
`reccouponnum` int(11) DEFAULT '0',
`subcouponid` int(11) DEFAULT '0',
`subcouponnum` int(11) DEFAULT '0',
`timestart` int(11) DEFAULT '0',
`timeend` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
`goodsid` int(11) DEFAULT '0',
`starttext` varchar(255) DEFAULT '',
`endtext` varchar(255) DEFAULT NULL,
`resptype` tinyint(3) DEFAULT '0',
`resptext` text,
`testflag` tinyint(1) DEFAULT '0',
`keyword2` varchar(255) DEFAULT '',
`reward_totle` varchar(500) DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_type` (`type`),
KEY `idx_isdefault` (`isdefault`),
KEY `idx_createtime` (`createtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
DROP TABLE IF EXISTS `ims_ewei_shop_postera_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_postera_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`posterid` int(11) DEFAULT '0',
`from_openid` varchar(255) DEFAULT '',
`subcredit` int(11) DEFAULT '0',
`submoney` decimal(10,2) DEFAULT '0.00',
`reccredit` int(11) DEFAULT '0',
`recmoney` decimal(10,2) DEFAULT '0.00',
`createtime` int(11) DEFAULT '0',
`reccouponid` int(11) DEFAULT '0',
`reccouponnum` int(11) DEFAULT '0',
`subcouponid` int(11) DEFAULT '0',
`subcouponnum` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_openid` (`openid`),
KEY `idx_createtime` (`createtime`),
KEY `idx_posteraid` (`posterid`),
KEY `idx_from_openid` (`from_openid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_postera_qr`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_postera_qr` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`acid` int(10) unsigned NOT NULL,
`openid` varchar(100) NOT NULL DEFAULT '',
`posterid` int(11) DEFAULT '0',
`type` tinyint(3) DEFAULT '0',
`sceneid` int(11) DEFAULT '0',
`mediaid` varchar(255) DEFAULT '',
`ticket` varchar(250) NOT NULL,
`url` varchar(80) NOT NULL,
`createtime` int(10) unsigned NOT NULL,
`goodsid` int(11) DEFAULT '0',
`qrimg` varchar(1000) DEFAULT '',
`expire` int(11) DEFAULT '0',
`endtime` int(11) DEFAULT '0',
`qrtime` varchar(32) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_acid` (`acid`),
KEY `idx_sceneid` (`sceneid`),
KEY `idx_type` (`type`),
KEY `idx_posterid` (`posterid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
DROP TABLE IF EXISTS `ims_ewei_shop_poster_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_poster_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`posterid` int(11) DEFAULT '0',
`from_openid` varchar(255) DEFAULT '',
`subcredit` int(11) DEFAULT '0',
`submoney` decimal(10,2) DEFAULT '0.00',
`reccredit` int(11) DEFAULT '0',
`recmoney` decimal(10,2) DEFAULT '0.00',
`createtime` int(11) DEFAULT '0',
`reccouponid` int(11) DEFAULT '0',
`reccouponnum` int(11) DEFAULT '0',
`subcouponid` int(11) DEFAULT '0',
`subcouponnum` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_openid` (`openid`),
KEY `idx_createtime` (`createtime`),
KEY `idx_posterid` (`posterid`),
KEY `idx_from_openid` (`from_openid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_poster_qr`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_poster_qr` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`acid` int(10) unsigned NOT NULL,
`openid` varchar(100) NOT NULL DEFAULT '',
`type` tinyint(3) DEFAULT '0',
`sceneid` int(11) DEFAULT '0',
`mediaid` varchar(255) DEFAULT '',
`ticket` varchar(250) NOT NULL,
`url` varchar(80) NOT NULL,
`createtime` int(10) unsigned NOT NULL,
`goodsid` int(11) DEFAULT '0',
`qrimg` varchar(1000) DEFAULT '',
`scenestr` varchar(255) DEFAULT '',
`posterid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_acid` (`acid`),
KEY `idx_sceneid` (`sceneid`),
KEY `idx_type` (`type`),
KEY `idx_openid` (`openid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=18 ;
DROP TABLE IF EXISTS `ims_ewei_shop_poster_scan`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_poster_scan` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`posterid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`from_openid` varchar(255) DEFAULT '',
`scantime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_posterid` (`posterid`),
KEY `idx_scantime` (`scantime`),
KEY `idx_openid` (`openid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=31 ;
DROP TABLE IF EXISTS `ims_ewei_shop_print`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_print` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`status` tinyint(3) DEFAULT '0',
`name` varchar(200) DEFAULT '',
`print_no` varchar(200) DEFAULT '',
`key` varchar(200) DEFAULT '',
`print_nums` tinyint(3) DEFAULT '0',
`uniacid` int(11) DEFAULT '0',
`sid` tinyint(3) DEFAULT '0',
`print_type` tinyint(3) DEFAULT '0',
`qrcode_link` varchar(200) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_qa_adv`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_qa_adv` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`advname` varchar(50) DEFAULT '',
`link` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`enabled` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_enabled` (`enabled`),
KEY `idx_displayorder` (`displayorder`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_qa_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_qa_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`name` varchar(50) DEFAULT NULL,
`thumb` varchar(255) DEFAULT NULL,
`displayorder` tinyint(3) unsigned DEFAULT '0',
`enabled` tinyint(1) DEFAULT '1',
`isrecommand` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_displayorder` (`displayorder`),
KEY `idx_enabled` (`enabled`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;
DROP TABLE IF EXISTS `ims_ewei_shop_qa_question`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_qa_question` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`cate` int(11) NOT NULL DEFAULT '0',
`title` varchar(255) NOT NULL DEFAULT '',
`keywords` varchar(255) NOT NULL DEFAULT '',
`content` mediumtext NOT NULL,
`status` tinyint(3) NOT NULL DEFAULT '0',
`isrecommand` tinyint(3) NOT NULL DEFAULT '0',
`displayorder` int(11) NOT NULL DEFAULT '0',
`createtime` int(11) NOT NULL DEFAULT '0',
`lastedittime` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_status` (`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=13 ;
DROP TABLE IF EXISTS `ims_ewei_shop_qa_set`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_qa_set` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`showmember` tinyint(3) NOT NULL DEFAULT '0',
`showtype` tinyint(3) NOT NULL DEFAULT '0',
`keyword` varchar(255) NOT NULL DEFAULT '',
`enter_title` varchar(255) NOT NULL DEFAULT '',
`enter_img` varchar(255) NOT NULL DEFAULT '',
`enter_desc` varchar(255) NOT NULL DEFAULT '',
`share` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_unaicid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_quick`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_quick` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`title` varchar(255) DEFAULT NULL,
`keyword` varchar(255) DEFAULT NULL,
`datas` mediumtext,
`cart` tinyint(3) NOT NULL DEFAULT '0',
`createtime` int(11) DEFAULT NULL,
`lasttime` int(11) DEFAULT NULL,
`share_title` varchar(255) DEFAULT NULL,
`share_desc` varchar(255) DEFAULT NULL,
`share_icon` varchar(255) DEFAULT NULL,
`enter_title` varchar(255) DEFAULT NULL,
`enter_desc` varchar(255) DEFAULT NULL,
`enter_icon` varchar(255) DEFAULT NULL,
`status` tinyint(3) NOT NULL DEFAULT '0',
`merchid` int(11) NOT NULL DEFAULT '0',
`type` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_quick_adv`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_quick_adv` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`merchid` int(11) NOT NULL DEFAULT '0',
`advname` varchar(50) DEFAULT '',
`link` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`enabled` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_enabled` (`enabled`) USING BTREE,
KEY `idx_displayorder` (`displayorder`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_quick_cart`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_quick_cart` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`quickid` int(11) NOT NULL DEFAULT '0',
`openid` varchar(100) DEFAULT '',
`goodsid` int(11) DEFAULT '0',
`total` int(11) DEFAULT '0',
`marketprice` decimal(10,2) DEFAULT '0.00',
`deleted` tinyint(1) DEFAULT '0',
`optionid` int(11) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`diyformdataid` int(11) DEFAULT NULL,
`diyformdata` text,
`diyformfields` text,
`diyformid` int(11) DEFAULT '0',
`selected` tinyint(1) DEFAULT '1',
`merchid` int(11) DEFAULT '0',
`selectedadd` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_goodsid` (`goodsid`) USING BTREE,
KEY `idx_openid` (`openid`) USING BTREE,
KEY `idx_deleted` (`deleted`) USING BTREE,
KEY `idx_merchid` (`merchid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_refund_address`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_refund_address` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`title` varchar(20) DEFAULT '',
`name` varchar(20) DEFAULT '',
`tel` varchar(20) DEFAULT '',
`mobile` varchar(11) DEFAULT '',
`province` varchar(30) DEFAULT '',
`city` varchar(30) DEFAULT '',
`area` varchar(30) DEFAULT '',
`address` varchar(300) DEFAULT '',
`isdefault` tinyint(1) DEFAULT '0',
`zipcode` varchar(255) DEFAULT '',
`content` text,
`deleted` tinyint(1) DEFAULT '0',
`openid` varchar(50) DEFAULT '0',
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_openid` (`openid`),
KEY `idx_isdefault` (`isdefault`),
KEY `idx_deleted` (`deleted`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ;
DROP TABLE IF EXISTS `ims_ewei_shop_saler`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_saler` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`storeid` int(11) DEFAULT '0',
`uniacid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`status` tinyint(3) DEFAULT '0',
`salername` varchar(255) DEFAULT '',
`username` varchar(50) DEFAULT '',
`pwd` varchar(255) DEFAULT '',
`salt` varchar(255) DEFAULT '',
`lastvisit` varchar(255) DEFAULT '',
`lastip` varchar(255) DEFAULT '',
`isfounder` tinyint(3) DEFAULT '0',
`mobile` varchar(255) DEFAULT '',
`getmessage` tinyint(1) DEFAULT '0',
`getnotice` tinyint(1) DEFAULT '0',
`roleid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_storeid` (`storeid`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sale_coupon`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sale_coupon` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`name` varchar(255) DEFAULT '',
`type` tinyint(3) DEFAULT '0',
`ckey` decimal(10,2) DEFAULT '0.00',
`cvalue` decimal(10,2) DEFAULT '0.00',
`nums` int(11) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_createtime` (`createtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sale_coupon_data`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sale_coupon_data` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`couponid` int(11) DEFAULT '0',
`gettime` int(11) DEFAULT '0',
`gettype` tinyint(3) DEFAULT '0',
`usedtime` int(11) DEFAULT '0',
`orderid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_couponid` (`couponid`),
KEY `idx_gettime` (`gettime`),
KEY `idx_gettype` (`gettype`),
KEY `idx_usedtime` (`usedtime`),
KEY `idx_orderid` (`orderid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_seckill_adv`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_seckill_adv` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`advname` varchar(50) DEFAULT '',
`link` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`enabled` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_displayorder` (`displayorder`) USING BTREE,
KEY `idx_enabled` (`enabled`) USING BTREE,
KEY `idx_uniacid` (`uniacid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_seckill_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_seckill_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`name` varchar(255) DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_seckill_task`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_seckill_task` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`cateid` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`enabled` tinyint(3) DEFAULT '0',
`page_title` varchar(255) DEFAULT '',
`share_title` varchar(255) DEFAULT '',
`share_desc` varchar(255) DEFAULT '',
`share_icon` varchar(255) DEFAULT '',
`tag` varchar(10) DEFAULT '',
`closesec` int(11) DEFAULT '0',
`oldshow` tinyint(3) DEFAULT '0',
`times` text,
`createtime` int(11) DEFAULT '0',
`overtimes` tinyint(2) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_status` (`enabled`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_seckill_task_goods`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_seckill_task_goods` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`taskid` int(11) DEFAULT '0',
`roomid` int(11) DEFAULT '0',
`timeid` int(11) DEFAULT '0',
`goodsid` int(11) DEFAULT '0',
`optionid` int(11) DEFAULT '0',
`price` decimal(10,2) DEFAULT '0.00',
`total` int(11) DEFAULT '0',
`maxbuy` int(11) DEFAULT '0',
`totalmaxbuy` int(11) DEFAULT '0',
`commission1` decimal(10,2) DEFAULT '0.00',
`commission2` decimal(10,2) DEFAULT '0.00',
`commission3` decimal(10,2) DEFAULT '0.00',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_goodsid` (`goodsid`) USING BTREE,
KEY `idx_optionid` (`optionid`) USING BTREE,
KEY `idx_displayorder` (`displayorder`) USING BTREE,
KEY `idx_taskid` (`taskid`) USING BTREE,
KEY `idx_roomid` (`roomid`) USING BTREE,
KEY `idx_time` (`timeid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_seckill_task_room`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_seckill_task_room` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`taskid` int(11) DEFAULT '0',
`title` varchar(255) DEFAULT '',
`enabled` tinyint(3) DEFAULT '0',
`page_title` varchar(255) DEFAULT '',
`share_title` varchar(255) DEFAULT '',
`share_desc` varchar(255) DEFAULT '',
`share_icon` varchar(255) DEFAULT '',
`oldshow` tinyint(3) DEFAULT '0',
`tag` varchar(10) DEFAULT '',
`createtime` int(11) DEFAULT '0',
`diypage` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_taskid` (`taskid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_seckill_task_time`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_seckill_task_time` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`taskid` int(11) DEFAULT '0',
`time` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sendticket`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sendticket` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`cpid` varchar(200) NOT NULL,
`expiration` int(11) NOT NULL DEFAULT '0',
`starttime` int(11) DEFAULT NULL,
`endtime` int(11) DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT '0',
`createtime` int(11) NOT NULL,
`title` varchar(255) NOT NULL DEFAULT '新人礼包',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sendticket_draw`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sendticket_draw` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`cpid` varchar(50) NOT NULL,
`openid` varchar(200) NOT NULL,
`createtime` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sendticket_share`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sendticket_share` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`sharetitle` varchar(255) NOT NULL,
`shareicon` varchar(255) DEFAULT NULL,
`sharedesc` varchar(255) DEFAULT NULL,
`expiration` int(11) NOT NULL DEFAULT '0',
`starttime` int(11) DEFAULT NULL,
`endtime` int(11) DEFAULT NULL,
`paycpid1` int(11) DEFAULT NULL,
`paycpid2` int(11) DEFAULT NULL,
`paycpid3` int(11) DEFAULT NULL,
`paycpnum1` int(11) DEFAULT NULL,
`paycpnum2` int(11) DEFAULT NULL,
`paycpnum3` int(11) DEFAULT NULL,
`sharecpid1` int(11) DEFAULT NULL,
`sharecpid2` int(11) DEFAULT NULL,
`sharecpid3` int(11) DEFAULT NULL,
`sharecpnum1` int(11) DEFAULT NULL,
`sharecpnum2` int(11) DEFAULT NULL,
`sharecpnum3` int(11) DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT '0',
`createtime` int(11) NOT NULL,
`order` int(11) DEFAULT NULL,
`enough` decimal(10,2) DEFAULT NULL,
`issync` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sign_records`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sign_records` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`time` int(11) NOT NULL DEFAULT '0',
`openid` varchar(50) NOT NULL DEFAULT '',
`credit` int(11) NOT NULL DEFAULT '0',
`log` varchar(255) DEFAULT '',
`type` tinyint(3) NOT NULL DEFAULT '0',
`day` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_time` (`time`),
KEY `idx_type` (`type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=602 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sign_set`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sign_set` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`iscenter` tinyint(3) NOT NULL DEFAULT '0',
`iscreditshop` tinyint(3) NOT NULL DEFAULT '0',
`keyword` varchar(255) NOT NULL DEFAULT '',
`title` varchar(255) NOT NULL DEFAULT '',
`thumb` varchar(255) NOT NULL DEFAULT '',
`desc` varchar(255) NOT NULL DEFAULT '',
`isopen` tinyint(3) NOT NULL DEFAULT '0',
`signold` tinyint(3) NOT NULL DEFAULT '0',
`signold_price` int(11) NOT NULL DEFAULT '0',
`signold_type` tinyint(3) NOT NULL DEFAULT '0',
`textsign` varchar(255) NOT NULL DEFAULT '',
`textsignold` varchar(255) NOT NULL DEFAULT '',
`textsigned` varchar(255) NOT NULL DEFAULT '',
`textsignforget` varchar(255) NOT NULL DEFAULT '',
`maincolor` varchar(20) NOT NULL DEFAULT '',
`cycle` tinyint(3) NOT NULL DEFAULT '0',
`reward_default_first` int(11) NOT NULL DEFAULT '0',
`reward_default_day` int(11) NOT NULL DEFAULT '0',
`reword_order` text NOT NULL,
`reword_sum` text NOT NULL,
`reword_special` text NOT NULL,
`sign_rule` text NOT NULL,
`share` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sign_user`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sign_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`openid` varchar(255) NOT NULL DEFAULT '',
`order` int(11) NOT NULL DEFAULT '0',
`orderday` int(11) NOT NULL DEFAULT '0',
`sum` int(11) NOT NULL DEFAULT '0',
`signdate` varchar(10) DEFAULT '',
`isminiprogram` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=146 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sms`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sms` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL DEFAULT '',
`type` varchar(10) NOT NULL DEFAULT '',
`template` tinyint(3) NOT NULL DEFAULT '0',
`smstplid` varchar(255) NOT NULL DEFAULT '',
`smssign` varchar(255) NOT NULL DEFAULT '',
`content` varchar(100) NOT NULL DEFAULT '',
`data` text NOT NULL,
`status` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sms_set`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sms_set` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`juhe` tinyint(3) NOT NULL DEFAULT '0',
`juhe_key` varchar(255) NOT NULL DEFAULT '',
`dayu` tinyint(3) NOT NULL DEFAULT '0',
`dayu_key` varchar(255) NOT NULL DEFAULT '',
`dayu_secret` varchar(255) NOT NULL DEFAULT '',
`emay` tinyint(3) NOT NULL DEFAULT '0',
`emay_url` varchar(255) NOT NULL DEFAULT '',
`emay_sn` varchar(255) NOT NULL DEFAULT '',
`emay_pw` varchar(255) NOT NULL DEFAULT '',
`emay_sk` varchar(255) NOT NULL DEFAULT '',
`emay_phost` varchar(255) NOT NULL DEFAULT '',
`emay_pport` int(11) NOT NULL DEFAULT '0',
`emay_puser` varchar(255) NOT NULL DEFAULT '',
`emay_ppw` varchar(255) NOT NULL DEFAULT '',
`emay_out` int(11) NOT NULL DEFAULT '0',
`emay_outresp` int(11) NOT NULL DEFAULT '30',
`emay_warn` decimal(10,2) NOT NULL DEFAULT '0.00',
`emay_mobile` varchar(11) NOT NULL DEFAULT '',
`emay_warn_time` int(11) NOT NULL DEFAULT '0',
`aliyun` tinyint(3) NOT NULL DEFAULT '0',
`aliyun_appcode` varchar(255) NOT NULL,
`aliyun_new` tinyint(3) NOT NULL DEFAULT '0',
`aliyun_new_keyid` varchar(255) NOT NULL DEFAULT '',
`aliyun_new_keysecret` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sns_adv`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sns_adv` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`advname` varchar(50) DEFAULT '',
`link` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`enabled` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_enabled` (`enabled`),
KEY `idx_displayorder` (`displayorder`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sns_board`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sns_board` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`cid` int(11) DEFAULT '0',
`title` varchar(50) DEFAULT '',
`logo` varchar(255) DEFAULT '',
`desc` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`enabled` int(11) DEFAULT '0',
`showgroups` text,
`showlevels` text,
`postgroups` text,
`postlevels` text,
`showagentlevels` text,
`postagentlevels` text,
`postcredit` int(11) DEFAULT '0',
`replycredit` int(11) DEFAULT '0',
`bestcredit` int(11) DEFAULT '0',
`bestboardcredit` int(11) DEFAULT '0',
`notagent` tinyint(3) DEFAULT '0',
`notagentpost` tinyint(3) DEFAULT '0',
`topcredit` int(11) DEFAULT '0',
`topboardcredit` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
`noimage` tinyint(3) DEFAULT '0',
`novoice` tinyint(3) DEFAULT '0',
`needfollow` tinyint(3) DEFAULT '0',
`needpostfollow` tinyint(3) DEFAULT '0',
`share_title` varchar(255) DEFAULT '',
`share_icon` varchar(255) DEFAULT '',
`share_desc` varchar(255) DEFAULT '',
`keyword` varchar(255) DEFAULT '',
`isrecommand` tinyint(3) DEFAULT '0',
`banner` varchar(255) DEFAULT '',
`needcheck` tinyint(3) DEFAULT '0',
`needcheckmanager` tinyint(3) DEFAULT '0',
`needcheckreply` int(11) DEFAULT '0',
`needcheckreplymanager` int(11) DEFAULT '0',
`showsnslevels` text,
`postsnslevels` text,
`showpartnerlevels` text,
`postpartnerlevels` text,
`notpartner` tinyint(3) DEFAULT '0',
`notpartnerpost` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_enabled` (`enabled`),
KEY `idx_displayorder` (`displayorder`),
KEY `idx_cid` (`cid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sns_board_follow`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sns_board_follow` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`bid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT NULL,
`createtime` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_bid` (`bid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sns_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sns_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`name` varchar(50) DEFAULT NULL,
`thumb` varchar(255) DEFAULT NULL,
`displayorder` tinyint(3) unsigned DEFAULT '0',
`enabled` tinyint(1) DEFAULT '1',
`advimg` varchar(255) DEFAULT '',
`advurl` varchar(500) DEFAULT '',
`isrecommand` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_enabled` (`enabled`),
KEY `idx_isrecommand` (`isrecommand`),
KEY `idx_displayorder` (`displayorder`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sns_complain`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sns_complain` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`type` tinyint(3) NOT NULL,
`postsid` int(11) NOT NULL DEFAULT '0',
`defendant` varchar(255) NOT NULL DEFAULT '0',
`complainant` varchar(255) NOT NULL DEFAULT '0',
`complaint_type` int(10) NOT NULL DEFAULT '0',
`complaint_text` text NOT NULL,
`images` text NOT NULL,
`createtime` int(11) NOT NULL DEFAULT '0',
`checkedtime` int(11) NOT NULL DEFAULT '0',
`checked` tinyint(3) NOT NULL DEFAULT '0',
`checked_note` varchar(255) NOT NULL,
`deleted` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sns_complaincate`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sns_complaincate` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`status` tinyint(3) NOT NULL DEFAULT '0',
`displayorder` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sns_level`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sns_level` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`levelname` varchar(255) DEFAULT '',
`credit` int(11) DEFAULT '0',
`enabled` tinyint(3) DEFAULT '0',
`post` int(11) DEFAULT '0',
`color` varchar(255) DEFAULT '',
`bg` varchar(255) DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_enabled` (`enabled`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sns_like`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sns_like` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`pid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_pid` (`pid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sns_manage`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sns_manage` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`bid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`enabled` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_bid` (`bid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sns_member`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sns_member` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT NULL,
`level` int(11) DEFAULT '0',
`createtime` int(11) DEFAULT '0',
`credit` int(11) DEFAULT '0',
`sign` varchar(255) DEFAULT '',
`isblack` tinyint(3) DEFAULT '0',
`notupgrade` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sns_post`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sns_post` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`bid` int(11) DEFAULT '0',
`pid` int(11) DEFAULT '0',
`rpid` int(11) DEFAULT '0',
`openid` varchar(255) DEFAULT '',
`avatar` varchar(255) DEFAULT '',
`nickname` varchar(255) DEFAULT '',
`title` varchar(50) DEFAULT '',
`content` text,
`images` text,
`voice` varchar(255) DEFAULT NULL,
`createtime` int(11) DEFAULT '0',
`replytime` int(11) DEFAULT '0',
`credit` int(11) DEFAULT '0',
`views` int(11) DEFAULT '0',
`islock` tinyint(1) DEFAULT '0',
`istop` tinyint(1) DEFAULT '0',
`isboardtop` tinyint(1) DEFAULT '0',
`isbest` tinyint(1) DEFAULT '0',
`isboardbest` tinyint(3) DEFAULT '0',
`deleted` tinyint(3) DEFAULT '0',
`deletedtime` int(11) DEFAULT '0',
`checked` tinyint(3) DEFAULT NULL,
`checktime` int(11) DEFAULT '0',
`isadmin` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_bid` (`bid`),
KEY `idx_pid` (`pid`),
KEY `idx_createtime` (`createtime`),
KEY `idx_islock` (`islock`),
KEY `idx_istop` (`istop`),
KEY `idx_isboardtop` (`isboardtop`),
KEY `idx_isbest` (`isbest`),
KEY `idx_deleted` (`deleted`),
KEY `idx_deletetime` (`deletedtime`),
KEY `idx_checked` (`checked`),
KEY `idx_rpid` (`rpid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_store`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_store` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`storename` varchar(255) DEFAULT '',
`address` varchar(255) DEFAULT '',
`tel` varchar(255) DEFAULT '',
`lat` varchar(255) DEFAULT '',
`lng` varchar(255) DEFAULT '',
`status` tinyint(3) DEFAULT '0',
`realname` varchar(255) DEFAULT '',
`mobile` varchar(255) DEFAULT '',
`fetchtime` varchar(255) DEFAULT '',
`type` tinyint(1) DEFAULT '0',
`logo` varchar(255) DEFAULT '',
`saletime` varchar(255) DEFAULT '',
`desc` text,
`displayorder` int(11) DEFAULT '0',
`order_printer` varchar(500) DEFAULT '',
`order_template` int(11) DEFAULT '0',
`ordertype` varchar(500) DEFAULT '',
`banner` text,
`label` varchar(255) DEFAULT NULL,
`tag` varchar(255) DEFAULT NULL,
`classify` tinyint(1) DEFAULT NULL,
`perms` text,
`citycode` varchar(20) DEFAULT '',
`opensend` tinyint(3) NOT NULL DEFAULT '0',
`province` varchar(30) NOT NULL DEFAULT '',
`city` varchar(30) NOT NULL DEFAULT '',
`area` varchar(30) NOT NULL DEFAULT '',
`provincecode` varchar(30) NOT NULL DEFAULT '',
`areacode` varchar(30) NOT NULL DEFAULT '',
`diypage` int(11) NOT NULL DEFAULT '0',
`diypage_ispage` tinyint(3) NOT NULL DEFAULT '0',
`diypage_list` text,
`storegroupid` int(11) DEFAULT NULL,
`cates` text,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_status` (`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
DROP TABLE IF EXISTS `ims_ewei_shop_sysset`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_sysset` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`sets` longtext,
`plugins` longtext,
`sec` text,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=11 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_adv`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_adv` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`url` varchar(255) DEFAULT '',
`createtime` int(11) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`module` varchar(255) DEFAULT '',
`status` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_article`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_article` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT '',
`author` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`content` text,
`createtime` int(11) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`cate` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_banner`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_banner` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`url` varchar(255) DEFAULT '',
`createtime` int(11) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
`background` varchar(10) DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_case`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_case` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`qr` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
`cate` int(11) DEFAULT '0',
`description` varchar(255) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_casecategory`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_casecategory` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`status` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=11 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`status` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_company_article`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_company_article` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT '',
`author` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`content` text,
`createtime` int(11) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`cate` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_company_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_company_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`status` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_copyright`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_copyright` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`copyright` text,
`bgcolor` varchar(255) DEFAULT '',
`ismanage` tinyint(3) DEFAULT '0',
`logo` varchar(255) DEFAULT '',
`title` varchar(255) DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_copyright_notice`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_copyright_notice` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT '',
`author` varchar(255) DEFAULT '',
`content` text,
`createtime` int(11) DEFAULT '0',
`displayorder` int(11) DEFAULT '0',
`status` tinyint(3) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_guestbook`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_guestbook` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL DEFAULT '',
`content` varchar(255) NOT NULL DEFAULT '',
`nickname` varchar(255) NOT NULL DEFAULT '',
`createtime` int(11) DEFAULT NULL,
`email` varchar(255) NOT NULL DEFAULT '',
`clientip` varchar(64) NOT NULL DEFAULT '',
`mobile` varchar(11) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_link`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_link` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '',
`url` varchar(255) NOT NULL DEFAULT '',
`thumb` varchar(255) NOT NULL DEFAULT '',
`displayorder` int(11) DEFAULT NULL,
`status` tinyint(3) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_adv`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_plugingrant_adv` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`advname` varchar(50) DEFAULT '',
`link` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`enabled` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_enabled` (`enabled`) USING BTREE,
KEY `idx_displayorder` (`displayorder`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_plugingrant_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`logno` varchar(50) DEFAULT NULL,
`code` varchar(255) DEFAULT NULL,
`uniacid` int(11) NOT NULL DEFAULT '0',
`pluginid` int(11) NOT NULL DEFAULT '0',
`identity` varchar(50) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
`month` int(10) NOT NULL DEFAULT '0',
`permendtime` int(10) NOT NULL DEFAULT '0',
`permlasttime` int(10) NOT NULL DEFAULT '0',
`isperm` tinyint(3) NOT NULL DEFAULT '0',
`createtime` int(10) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_order`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_plugingrant_order` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`logno` varchar(50) DEFAULT NULL,
`code` varchar(255) DEFAULT NULL,
`uniacid` int(11) NOT NULL DEFAULT '0',
`username` varchar(255) DEFAULT NULL,
`pluginid` varchar(255) DEFAULT NULL,
`price` decimal(10,2) NOT NULL DEFAULT '0.00',
`month` int(11) NOT NULL DEFAULT '0',
`createtime` int(10) NOT NULL DEFAULT '0',
`paystatus` tinyint(3) NOT NULL DEFAULT '0',
`paytime` int(10) NOT NULL DEFAULT '0',
`paytype` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_package`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_plugingrant_package` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pluginid` varchar(255) NOT NULL DEFAULT '',
`text` varchar(255) DEFAULT NULL,
`thumb` varchar(1000) DEFAULT NULL,
`data` text NOT NULL,
`state` tinyint(3) NOT NULL DEFAULT '0',
`rec` tinyint(3) NOT NULL DEFAULT '0',
`desc` varchar(255) DEFAULT NULL,
`content` text NOT NULL,
`displayorder` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_plugin`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_plugingrant_plugin` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pluginid` int(11) NOT NULL DEFAULT '0',
`thumb` varchar(1000) NOT NULL,
`data` text,
`state` tinyint(3) NOT NULL DEFAULT '0',
`content` text NOT NULL,
`sales` int(11) NOT NULL DEFAULT '0',
`createtime` int(10) NOT NULL DEFAULT '0',
`displayorder` int(11) NOT NULL DEFAULT '0',
`plugintype` tinyint(3) NOT NULL DEFAULT '0',
`name` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_plugingrant_setting`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_plugingrant_setting` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`com` varchar(1000) NOT NULL DEFAULT '',
`adv` varchar(1000) NOT NULL,
`plugin` varchar(1000) NOT NULL,
`customer` varchar(50) NOT NULL DEFAULT '0',
`contact` text NOT NULL,
`servertime` varchar(255) DEFAULT NULL,
`weixin` tinyint(3) NOT NULL DEFAULT '0',
`appid` varchar(255) DEFAULT NULL,
`mchid` varchar(255) DEFAULT NULL,
`apikey` varchar(255) DEFAULT NULL,
`alipay` tinyint(3) NOT NULL,
`account` varchar(255) DEFAULT NULL,
`partner` varchar(255) DEFAULT NULL,
`secret` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_setting`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_setting` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(10) DEFAULT NULL,
`background` varchar(10) DEFAULT '',
`casebanner` varchar(255) DEFAULT '',
`contact` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_system_site`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_system_site` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`type` varchar(32) NOT NULL DEFAULT '',
`content` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
DROP TABLE IF EXISTS `ims_ewei_shop_task`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`title` varchar(255) NOT NULL DEFAULT '',
`type` int(11) NOT NULL,
`starttime` int(11) NOT NULL,
`endtime` int(11) NOT NULL,
`dotime` int(11) NOT NULL DEFAULT '0',
`donetime` int(11) NOT NULL DEFAULT '0',
`timelimit` float(11,1) NOT NULL,
`keyword` varchar(255) NOT NULL DEFAULT '',
`status` tinyint(1) NOT NULL DEFAULT '0',
`explain` text,
`require_data` text NOT NULL,
`reward_data` text NOT NULL,
`period` int(11) NOT NULL DEFAULT '0',
`repeat` int(11) NOT NULL DEFAULT '0',
`maxtimes` int(11) NOT NULL DEFAULT '0',
`everyhours` float(11,1) NOT NULL DEFAULT '0.0',
`logo` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_task_adv`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task_adv` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`advname` varchar(50) DEFAULT '',
`link` varchar(255) DEFAULT '',
`thumb` varchar(255) DEFAULT '',
`displayorder` int(11) DEFAULT '0',
`enabled` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_task_default`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task_default` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`data` text,
`addtime` int(11) NOT NULL DEFAULT '0',
`bgimg` varchar(255) NOT NULL DEFAULT '',
`open` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_task_extension`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task_extension` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`taskname` varchar(255) NOT NULL DEFAULT '',
`taskclass` varchar(25) NOT NULL DEFAULT '',
`status` tinyint(1) NOT NULL DEFAULT '0',
`classify` varchar(255) NOT NULL DEFAULT '',
`classify_name` varchar(255) NOT NULL DEFAULT '',
`verb` varchar(255) NOT NULL DEFAULT '',
`unit` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=12 ;
DROP TABLE IF EXISTS `ims_ewei_shop_task_extension_join`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task_extension_join` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`title` varchar(255) NOT NULL DEFAULT '',
`uid` int(11) NOT NULL,
`taskid` int(11) NOT NULL,
`openid` varchar(255) NOT NULL,
`require_data` text NOT NULL,
`progress_data` text NOT NULL,
`reward_data` text NOT NULL,
`completetime` int(11) NOT NULL DEFAULT '0',
`pickuptime` int(11) NOT NULL,
`endtime` int(11) NOT NULL,
`dotime` int(11) NOT NULL DEFAULT '0',
`rewarded` text NOT NULL,
`logo` varchar(255) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_task_join`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task_join` (
`join_id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`join_user` varchar(100) NOT NULL DEFAULT '',
`task_id` int(11) NOT NULL DEFAULT '0',
`task_type` tinyint(1) NOT NULL DEFAULT '0',
`needcount` int(11) NOT NULL DEFAULT '0',
`completecount` int(11) NOT NULL DEFAULT '0',
`reward_data` text,
`is_reward` tinyint(1) NOT NULL DEFAULT '0',
`failtime` int(11) NOT NULL DEFAULT '0',
`addtime` int(11) DEFAULT '0',
PRIMARY KEY (`join_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_task_joiner`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task_joiner` (
`complete_id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`task_user` varchar(100) NOT NULL DEFAULT '',
`joiner_id` varchar(100) NOT NULL DEFAULT '',
`join_id` int(11) NOT NULL DEFAULT '0',
`task_id` int(11) NOT NULL DEFAULT '0',
`task_type` tinyint(1) NOT NULL DEFAULT '0',
`join_status` tinyint(1) NOT NULL DEFAULT '1',
`addtime` int(11) DEFAULT NULL,
PRIMARY KEY (`complete_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_task_list`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task_list` (
`status` tinyint(1) NOT NULL DEFAULT '0',
`displayorder` int(11) NOT NULL DEFAULT '0',
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`title` char(50) NOT NULL DEFAULT '',
`image` varchar(255) NOT NULL DEFAULT '',
`type` varchar(50) NOT NULL DEFAULT '',
`starttime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`endtime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`demand` int(11) NOT NULL DEFAULT '0',
`requiregoods` text NOT NULL,
`picktype` tinyint(1) NOT NULL DEFAULT '0',
`stop_type` tinyint(1) NOT NULL DEFAULT '0',
`stop_limit` int(11) NOT NULL DEFAULT '0',
`stop_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`stop_cycle` tinyint(1) NOT NULL DEFAULT '0',
`repeat_type` tinyint(1) NOT NULL DEFAULT '0',
`repeat_interval` int(11) NOT NULL DEFAULT '0',
`repeat_cycle` tinyint(1) NOT NULL DEFAULT '0',
`reward` text NOT NULL,
`followreward` text NOT NULL,
`goods_limit` int(11) NOT NULL DEFAULT '0',
`notice` text NOT NULL,
`design_data` text NOT NULL,
`design_bg` varchar(255) NOT NULL DEFAULT '',
`native_data` text NOT NULL,
`native_data2` text,
`native_data3` text,
`reward2` text,
`reward3` text,
`level2` int(11) NOT NULL DEFAULT '0',
`level3` int(11) NOT NULL DEFAULT '0',
`member_group` text,
`auto_pick` tinyint(1) DEFAULT '0',
`keyword_pick` varchar(20) DEFAULT '',
`verb` varchar(255) DEFAULT '',
`unit` varchar(255) DEFAULT '',
`member_level` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_passive` (`picktype`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_task_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`openid` varchar(100) NOT NULL DEFAULT '',
`from_openid` varchar(100) NOT NULL DEFAULT '',
`join_id` int(11) NOT NULL DEFAULT '0',
`taskid` int(11) DEFAULT '0',
`task_type` tinyint(1) NOT NULL DEFAULT '0',
`subdata` text,
`recdata` text,
`createtime` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_task_poster`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task_poster` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`days` int(11) NOT NULL DEFAULT '0',
`title` varchar(255) DEFAULT NULL,
`bg` varchar(255) DEFAULT '',
`data` text,
`keyword` varchar(255) DEFAULT NULL,
`resptype` tinyint(1) NOT NULL DEFAULT '0',
`resptext` text,
`resptitle` varchar(255) DEFAULT NULL,
`respthumb` varchar(255) DEFAULT NULL,
`respdesc` varchar(255) DEFAULT NULL,
`respurl` varchar(255) DEFAULT NULL,
`createtime` int(11) DEFAULT NULL,
`waittext` varchar(255) DEFAULT NULL,
`oktext` varchar(255) DEFAULT NULL,
`scantext` varchar(255) DEFAULT NULL,
`beagent` tinyint(1) NOT NULL DEFAULT '0',
`bedown` tinyint(1) NOT NULL DEFAULT '0',
`timestart` int(11) DEFAULT NULL,
`timeend` int(11) DEFAULT NULL,
`is_repeat` tinyint(1) DEFAULT '0',
`getposter` varchar(255) DEFAULT NULL,
`status` tinyint(1) DEFAULT NULL,
`starttext` varchar(255) DEFAULT NULL,
`endtext` varchar(255) DEFAULT NULL,
`reward_data` text,
`needcount` int(11) NOT NULL DEFAULT '0',
`is_delete` tinyint(1) NOT NULL DEFAULT '0',
`poster_type` tinyint(1) DEFAULT '1',
`reward_days` int(11) DEFAULT '0',
`titleicon` text,
`poster_banner` text,
`is_goods` tinyint(1) DEFAULT '0',
`autoposter` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_task_poster_qr`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task_poster_qr` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`acid` int(11) NOT NULL DEFAULT '0',
`openid` varchar(100) NOT NULL,
`posterid` int(11) NOT NULL DEFAULT '0',
`type` tinyint(1) NOT NULL DEFAULT '0',
`sceneid` int(11) NOT NULL DEFAULT '0',
`mediaid` varchar(255) DEFAULT NULL,
`ticket` varchar(255) NOT NULL,
`url` varchar(255) NOT NULL,
`createtime` int(11) DEFAULT NULL,
`qrimg` varchar(1000) DEFAULT NULL,
`expire` int(11) DEFAULT NULL,
`endtime` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_task_qr`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task_qr` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`openid` varchar(100) NOT NULL DEFAULT '',
`recordid` int(11) NOT NULL DEFAULT '0',
`sceneid` varchar(255) NOT NULL DEFAULT '',
`mediaid` varchar(255) NOT NULL DEFAULT '',
`ticket` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `uniacid` (`uniacid`) USING BTREE,
KEY `recordid` (`recordid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_task_record`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task_record` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`taskid` int(11) NOT NULL DEFAULT '0',
`tasktitle` varchar(255) NOT NULL,
`taskimage` varchar(255) NOT NULL DEFAULT '',
`tasktype` varchar(50) NOT NULL DEFAULT '',
`task_progress` int(11) NOT NULL DEFAULT '0',
`task_demand` int(11) NOT NULL DEFAULT '0',
`openid` char(50) NOT NULL DEFAULT '',
`nickname` varchar(255) NOT NULL DEFAULT '',
`picktime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`stoptime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`finishtime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`reward_data` text NOT NULL,
`followreward_data` text NOT NULL,
`design_data` text NOT NULL,
`design_bg` varchar(255) NOT NULL DEFAULT '',
`require_goods` varchar(255) NOT NULL DEFAULT '',
`level1` int(11) NOT NULL DEFAULT '0',
`reward_data1` text NOT NULL,
`level2` int(11) NOT NULL DEFAULT '0',
`reward_data2` text NOT NULL,
`member_group` text,
`auto_pick` tinyint(1) NOT NULL,
PRIMARY KEY (`id`),
KEY `uniacid` (`uniacid`) USING BTREE,
KEY `taskid` (`taskid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_task_reward`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task_reward` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`taskid` int(11) NOT NULL DEFAULT '0',
`tasktitle` char(50) NOT NULL DEFAULT '',
`tasktype` varchar(50) NOT NULL DEFAULT '',
`taskowner` char(50) NOT NULL DEFAULT '',
`ownernickname` char(50) NOT NULL DEFAULT '',
`recordid` int(11) NOT NULL DEFAULT '0',
`nickname` char(50) NOT NULL DEFAULT '',
`headimg` varchar(255) NOT NULL DEFAULT '',
`openid` char(50) NOT NULL DEFAULT '',
`reward_type` char(10) NOT NULL DEFAULT '',
`reward_title` char(50) NOT NULL DEFAULT '',
`reward_data` decimal(10,2) NOT NULL DEFAULT '0.00',
`get` tinyint(1) NOT NULL DEFAULT '0',
`sent` tinyint(1) NOT NULL DEFAULT '0',
`gettime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`senttime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`isjoiner` tinyint(1) NOT NULL DEFAULT '0',
`price` decimal(10,2) NOT NULL DEFAULT '0.00',
`level` tinyint(1) NOT NULL DEFAULT '0',
`read` tinyint(1) NOT NULL,
PRIMARY KEY (`id`),
KEY `uniacid` (`uniacid`) USING BTREE,
KEY `recordid` (`recordid`) USING BTREE,
KEY `taskid` (`taskid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_task_set`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task_set` (
`uniacid` int(11) NOT NULL DEFAULT '0',
`entrance` tinyint(1) NOT NULL DEFAULT '0',
`keyword` varchar(10) NOT NULL DEFAULT '',
`cover_title` varchar(20) NOT NULL DEFAULT '',
`cover_img` varchar(255) NOT NULL DEFAULT '',
`cover_desc` varchar(255) NOT NULL DEFAULT '',
`msg_pick` text NOT NULL,
`msg_progress` text NOT NULL,
`msg_finish` text NOT NULL,
`msg_follow` text NOT NULL,
`isnew` tinyint(1) NOT NULL DEFAULT '0',
`bg_img` varchar(255) NOT NULL DEFAULT '../addons/ewei_shopv2/plugin/task/static/images/sky.png',
`top_notice` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
DROP TABLE IF EXISTS `ims_ewei_shop_task_type`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_task_type` (
`id` int(11) NOT NULL,
`type_key` char(20) NOT NULL DEFAULT '',
`type_name` char(10) NOT NULL DEFAULT '',
`description` char(30) NOT NULL DEFAULT '',
`verb` char(11) NOT NULL DEFAULT '',
`numeric` tinyint(1) NOT NULL DEFAULT '0',
`unit` char(10) NOT NULL DEFAULT '',
`goods` tinyint(1) NOT NULL DEFAULT '0',
`theme` char(10) NOT NULL DEFAULT '',
`once` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
DROP TABLE IF EXISTS `ims_ewei_shop_upwxapp_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_upwxapp_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`type` tinyint(2) DEFAULT '0',
`version` varchar(20) DEFAULT NULL,
`describe` varchar(50) DEFAULT NULL,
`version_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_verifygoods`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_verifygoods` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`openid` varchar(255) DEFAULT NULL,
`orderid` int(11) DEFAULT NULL,
`ordergoodsid` int(11) DEFAULT NULL,
`storeid` int(11) DEFAULT NULL,
`starttime` int(11) DEFAULT NULL,
`limitdays` int(11) DEFAULT NULL,
`limitnum` int(11) DEFAULT NULL,
`used` tinyint(1) DEFAULT '0',
`verifycode` varchar(20) DEFAULT NULL,
`codeinvalidtime` int(11) DEFAULT NULL,
`invalid` tinyint(1) DEFAULT '0',
`getcard` tinyint(1) DEFAULT '0',
`activecard` tinyint(1) DEFAULT '0',
`cardcode` varchar(255) DEFAULT '',
`limittype` tinyint(1) DEFAULT '0',
`limitdate` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `verifycode` (`verifycode`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_verifygoods_log`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_verifygoods_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`verifygoodsid` int(11) DEFAULT NULL,
`salerid` int(11) DEFAULT NULL,
`storeid` int(11) DEFAULT NULL,
`verifynum` int(11) DEFAULT NULL,
`verifydate` int(11) DEFAULT NULL,
`remarks` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_version`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_version` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL,
`type` tinyint(3) NOT NULL DEFAULT '0',
`uniacid` int(11) NOT NULL,
`version` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uid` (`uid`) USING BTREE,
KEY `idx_version` (`version`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=3 ;
DROP TABLE IF EXISTS `ims_ewei_shop_virtual_category`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_virtual_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT '0',
`name` varchar(50) DEFAULT NULL,
`merchid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
DROP TABLE IF EXISTS `ims_ewei_shop_virtual_data`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_virtual_data` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`typeid` int(11) NOT NULL DEFAULT '0',
`pvalue` varchar(255) DEFAULT '',
`fields` text NOT NULL,
`openid` varchar(255) NOT NULL DEFAULT '',
`usetime` int(11) NOT NULL DEFAULT '0',
`orderid` int(11) DEFAULT '0',
`ordersn` varchar(255) DEFAULT '',
`price` decimal(10,2) DEFAULT '0.00',
`merchid` int(11) DEFAULT '0',
`createtime` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_typeid` (`typeid`),
KEY `idx_usetime` (`usetime`),
KEY `idx_orderid` (`orderid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1001 ;
DROP TABLE IF EXISTS `ims_ewei_shop_virtual_type`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_virtual_type` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`cate` int(11) DEFAULT '0',
`title` varchar(255) NOT NULL DEFAULT '',
`fields` text NOT NULL,
`usedata` int(11) NOT NULL DEFAULT '0',
`alldata` int(11) NOT NULL DEFAULT '0',
`merchid` int(11) DEFAULT '0',
`linktext` varchar(50) DEFAULT NULL,
`linkurl` varchar(255) DEFAULT NULL,
`recycled` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_cate` (`cate`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
DROP TABLE IF EXISTS `ims_ewei_shop_wxapp_bind`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_wxapp_bind` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`wxapp` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_wxapp` (`wxapp`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_wxapp_page`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_wxapp_page` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`type` tinyint(2) NOT NULL DEFAULT '0',
`name` varchar(255) DEFAULT NULL,
`data` mediumtext,
`createtime` int(11) NOT NULL DEFAULT '0',
`lasttime` int(11) NOT NULL DEFAULT '0',
`status` tinyint(1) NOT NULL DEFAULT '0',
`isdefault` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_type` (`type`),
KEY `idx_status` (`status`),
KEY `idx_isdefault` (`isdefault`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_wxapp_poster`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_wxapp_poster` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL DEFAULT '0',
`type` tinyint(3) NOT NULL DEFAULT '0',
`title` varchar(255) DEFAULT NULL,
`thumb` varchar(255) DEFAULT NULL,
`bgimg` varchar(255) DEFAULT NULL,
`data` text,
`createtime` int(11) NOT NULL DEFAULT '0',
`lastedittime` int(11) NOT NULL DEFAULT '0',
`status` tinyint(3) NOT NULL DEFAULT '0',
`displayorder` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_type` (`type`),
KEY `idx_status` (`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_wxapp_startadv`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_wxapp_startadv` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`status` tinyint(3) NOT NULL DEFAULT '0',
`name` varchar(255) DEFAULT NULL,
`data` text,
`createtime` int(11) NOT NULL DEFAULT '0',
`lastedittime` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`),
KEY `idx_status` (`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_wxapp_tmessage`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_wxapp_tmessage` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`templateid` varchar(50) DEFAULT '',
`datas` text,
`emphasis_keyword` int(11) NOT NULL DEFAULT '0',
`status` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_uniacid` (`uniacid`) USING BTREE,
KEY `idx_status` (`status`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ims_ewei_shop_wxcard`;
CREATE TABLE IF NOT EXISTS `ims_ewei_shop_wxcard` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uniacid` int(11) DEFAULT NULL,
`card_id` varchar(255) DEFAULT '0',
`displayorder` int(11) DEFAULT NULL,
`catid` int(11) DEFAULT NULL,
`card_type` varchar(50) DEFAULT NULL,
`logo_url` varchar(255) DEFAULT NULL,
`wxlogourl` varchar(255) DEFAULT NULL,
`brand_name` varchar(255) DEFAULT NULL,
`code_type` varchar(255) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`color` varchar(50) DEFAULT NULL,
`notice` varchar(50) DEFAULT NULL,
`service_phone` varchar(50) DEFAULT NULL,
`description` text,
`datetype` varchar(50) DEFAULT NULL,
`begin_timestamp` int(11) DEFAULT NULL,
`end_timestamp` int(11) DEFAULT NULL,
`fixed_term` int(11) DEFAULT NULL,
`fixed_begin_term` int(11) DEFAULT NULL,
`quantity` int(11) DEFAULT NULL,
`total_quantity` varchar(255) DEFAULT NULL,
`use_limit` int(11) DEFAULT NULL,
`get_limit` int(11) DEFAULT NULL,
`use_custom_code` tinyint(1) DEFAULT NULL,
`bind_openid` tinyint(1) DEFAULT NULL,
`can_share` tinyint(1) DEFAULT NULL,
`can_give_friend` tinyint(1) DEFAULT NULL,
`center_title` varchar(20) DEFAULT NULL,
`center_sub_title` varchar(20) DEFAULT NULL,
`center_url` varchar(255) DEFAULT NULL,
`setcustom` tinyint(1) DEFAULT NULL,
`custom_url_name` varchar(20) DEFAULT NULL,
`custom_url_sub_title` varchar(20) DEFAULT NULL,
`custom_url` varchar(255) DEFAULT NULL,
`setpromotion` tinyint(1) DEFAULT NULL,
`promotion_url_name` varchar(20) DEFAULT NULL,
`promotion_url_sub_title` varchar(20) DEFAULT NULL,
`promotion_url` varchar(255) DEFAULT NULL,
`source` varchar(255) DEFAULT NULL,
`can_use_with_other_discount` tinyint(1) DEFAULT NULL,
`setabstract` tinyint(1) DEFAULT NULL,
`abstract` varchar(50) DEFAULT NULL,
`abstractimg` varchar(255) DEFAULT NULL,
`icon_url_list` varchar(255) DEFAULT NULL,
`accept_category` varchar(50) DEFAULT NULL,
`reject_category` varchar(50) DEFAULT NULL,
`least_cost` decimal(10,2) DEFAULT NULL,
`reduce_cost` decimal(10,2) DEFAULT NULL,
`discount` decimal(10,2) DEFAULT NULL,
`limitgoodtype` tinyint(1) DEFAULT '0',
`limitgoodcatetype` tinyint(1) unsigned DEFAULT '0',
`limitgoodcateids` varchar(255) DEFAULT NULL,
`limitgoodids` varchar(255) DEFAULT NULL,
`limitdiscounttype` tinyint(1) unsigned DEFAULT '0',
`merchid` int(11) DEFAULT '0',
`gettype` tinyint(3) DEFAULT NULL,
`islimitlevel` tinyint(1) DEFAULT '0',
`limitmemberlevels` varchar(500) DEFAULT '',
`limitagentlevels` varchar(500) DEFAULT '',
`limitpartnerlevels` varchar(500) DEFAULT '',
`limitaagentlevels` varchar(500) DEFAULT '',
`settitlecolor` tinyint(1) DEFAULT '0',
`titlecolor` varchar(10) DEFAULT '',
`tagtitle` varchar(20) DEFAULT '',
`use_condition` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
truncate table ims_ewei_shop_exhelper_esheet;
INSERT INTO `ims_ewei_shop_exhelper_esheet` (`id`, `name`, `express`, `code`, `datas`) 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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}'),
(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;}}');
truncate table ims_ewei_shop_member_message_template_type;
INSERT INTO `ims_ewei_shop_member_message_template_type` (`id`, `name`, `typecode`, `templatecode`, `templateid`, `templatename`, `content`, `typegroup`, `groupname`, `showtotaladd` ) VALUES
(1, '订单付款通知', 'saler_pay', 'OPENTM405584202', '', '订单付款通知', '{{first.DATA}}订单编号:{{keyword1.DATA}}商品名称:{{keyword2.DATA}}商品数量:{{keyword3.DATA}}支付金额:{{keyword4.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(2, '自提订单提交成功通知', 'carrier', 'OPENTM201594720', '', '订单付款通知', '{{first.DATA}}自提码:{{keyword1.DATA}}商品详情:{{keyword2.DATA}}提货地址:{{keyword3.DATA}}提货时间:{{keyword4.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(3, '订单取消通知', 'cancel', 'OPENTM201764653', '', '订单关闭提醒', '{{first.DATA}}订单商品:{{keyword1.DATA}}订单编号:{{keyword2.DATA}}下单时间:{{keyword3.DATA}}订单金额:{{keyword4.DATA}}关闭时间:{{keyword5.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(5, '订单支付成功通知', 'pay', 'OPENTM405584202', '', '订单支付通知', '{{first.DATA}}订单编号:{{keyword1.DATA}}商品名称:{{keyword2.DATA}}商品数量:{{keyword3.DATA}}支付金额:{{keyword4.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(6, '订单发货通知', 'send', 'OPENTM401874827', '', '订单发货通知', '{{first.DATA}}订单编号:{{keyword1.DATA}}快递公司:{{keyword2.DATA}}快递单号:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(13, '提现成功通知', 'withdraw_ok', 'OPENTM207422808', '', '提现通知', '{{first.DATA}}申请提现金额:{{keyword1.DATA}}取提现手续费:{{keyword2.DATA}}实际到账金额:{{keyword3.DATA}}提现渠道:{{keyword4.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(14, '会员升级通知(任务处理通知)', 'upgrade', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(15, '充值成功通知(后台管理员手动)', 'backrecharge_ok', 'OPENTM207727673', '', '充值成功提醒', '{{first.DATA}}充值金额:{{keyword1.DATA}}充值时间:{{keyword2.DATA}}账户余额:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(16, '积分变动提醒', 'backpoint_ok', 'OPENTM207509450', '', '积分变动提醒', '{{first.DATA}}获得时间:{{keyword1.DATA}}获得积分:{{keyword2.DATA}}获得原因:{{keyword3.DATA}}当前积分:{{keyword4.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(17, '换货发货通知', 'refund4', 'OPENTM401874827', '', '订单发货通知', '{{first.DATA}}订单编号:{{keyword1.DATA}}快递公司:{{keyword2.DATA}}快递单号:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(18, '砍价活动通知', 'bargain_message', 'OPENTM207574677', null, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'bargain', '砍价消息通知', '0'),
(19, '拼团活动通知', 'groups', null, null, null, null, 'groups', '拼团消息通知', '0'),
(20, '人人分销通知', 'commission', null, null, null, null, 'commission', '分销消息通知', '0'),
(21, '商品付款通知', 'saler_goodpay', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(22, '砍到底价通知', 'bargain_fprice', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '砍价消息通知', '0', '0'),
(35, '库存预警通知', 'saler_stockwarn', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '系统消息通知', '0', '0'),
(36, '卖家核销商品核销通知', 'o2o_sverify', 'OPENTM409521536', '', '核销成功提醒', '{{first.DATA}}核销项目:{{keyword1.DATA}}核销时间:{{keyword2.DATA}}核销门店:{{keyword3.DATA}}{{remark.DATA}}', 'O2O消息通知', '0', '0'),
(37, '核销商品核销通知', 'o2o_bverify', 'OPENTM409521536', '', '核销成功提醒', '{{first.DATA}}核销项目:{{keyword1.DATA}}核销时间:{{keyword2.DATA}}核销门店:{{keyword3.DATA}}{{remark.DATA}}', 'O2O消息通知', '0', '0'),
(38, '卖家商品预约通知', 'o2o_snorder', 'OPENTM202447657', '', '预约成功提醒', '{{first.DATA}}预约项目:{{keyword1.DATA}}预约时间:{{keyword2.DATA}}{{remark.DATA}}', 'O2O消息通知', '0', '0'),
(39, '商品预约成功通知', 'o2o_bnorder', 'OPENTM202447657', '', '预约成功提醒', '{{first.DATA}}预约项目:{{keyword1.DATA}}预约时间:{{keyword2.DATA}}{{remark.DATA}}', 'O2O消息通知', '0', '0'),
(42, '商品下单通知', 'saler_goodsubmit', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '系统消息通知', '0', '0'),
(4, '订单即将取消通知', 'willcancel', 'OPENTM201764653', '', '订单关闭提醒', '{{first.DATA}}订单商品:{{keyword1.DATA}}订单编号:{{keyword2.DATA}}下单时间:{{keyword3.DATA}}订单金额:{{keyword4.DATA}}关闭时间:{{keyword5.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(7, '自动发货通知(虚拟物品及卡密)', 'virtualsend', 'OPENTM207793687', '', '自动发货通知', '{{first.DATA}}商品名称:{{keyword1.DATA}}订单号:{{keyword2.DATA}}订单金额:{{keyword3.DATA}}卡密信息:{{keyword4.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(8, '订单状态更新(修改收货地址)(修改价格)', 'orderstatus', 'TM00017', '', '订单付款通知', '{{first.DATA}}订单编号:{{OrderSn.DATA}}订单状态:{{OrderStatus.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(9, '退款成功通知', 'refund1', 'TM00430', '', '退款成功通知', '{{first.DATA}}退款金额:{{orderProductPrice.DATA}}商品详情:{{orderProductName.DATA}}订单编号:{{orderName.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(10, '换货成功通知', 'refund3', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(11, '退款申请驳回通知', 'refund2', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(12, '充值成功通知', 'recharge_ok', 'OPENTM207727673', '', '充值成功提醒', '{{first.DATA}}充值金额:{{keyword1.DATA}}充值时间:{{keyword2.DATA}}账户余额:{{keyword3.DATA}}{{remark.DATA}}', 'sys', '系统消息通知', '0'),
(23, '订单收货通知(卖家)', 'saler_finish', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '系统消息通知', '0', '0'),
(24, '余额兑换成功通知', 'exchange_balance', 'OPENTM207727673', '', '充值成功提醒', '{{first.DATA}}充值金额:{{keyword1.DATA}}充值时间:{{keyword2.DATA}}账户余额:{{keyword3.DATA}}{{remark.DATA}}', '兑换中心消息通知', '0', '0'),
(25, '积分兑换成功通知', 'exchange_score', 'OPENTM207509450', '', '积分变动提醒', '{{first.DATA}}获得时间:{{keyword1.DATA}}获得积分:{{keyword2.DATA}}获得原因:{{keyword3.DATA}}当前积分:{{keyword4.DATA}}{{remark.DATA}}', '兑换中心消息通知', '0', '0'),
(26, '兑换中心余额充值通知', 'exchange_recharge', 'OPENTM207727673', '', '充值成功提醒', '{{first.DATA}}充值金额:{{keyword1.DATA}}充值时间:{{keyword2.DATA}}账户余额:{{keyword3.DATA}}{{remark.DATA}}', '兑换中心消息通知', '0', '0'),
(27, '游戏中心通知', 'lottery_get', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'lottery', '抽奖消息通知', '0'),
(50, '维权订单通知', 'saler_refund', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '系统消息通知', '0', '0'),
(43, '任务接取通知', 'task_pick', 'OPENTM207574677', null, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '任务中心消息通知', '0', '0'),
(44, '任务进度通知', 'task_progress', 'OPENTM207574677', null, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '任务中心消息通知', '0', '0'),
(45, '任务完成通知', 'task_finish', 'OPENTM207574677', null, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '任务中心消息通知', '0', '0'),
(46, '任务海报接取通知', 'task_poster_pick', 'OPENTM207574677', null, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '任务中心消息通知', '0', '0'),
(47, '任务海报进度通知', 'task_poster_progress', 'OPENTM207574677', null, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '任务中心消息通知', '0', '0'),
(48, '任务海报完成通知', 'task_poster_finish', 'OPENTM207574677', null, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '任务中心消息通知', '0', '0'),
(49, '任务海报扫描通知', 'task_poster_scan', 'OPENTM207574677', null, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '任务中心消息通知', '0', '0'),
(52, '成为分销商通知', 'commission_become', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '分销消息通知', '0', '0'),
(53, '新增下线通知', 'commission_agent_new', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '分销消息通知', '0', '0'),
(54, '下级付款通知', 'commission_order_pay', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '分销消息通知', '0', '0'),
(55, '下级确认收货通知', 'commission_order_finish', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '分销消息通知', '0', '0'),
(56, '提现申请提交通知', 'commission_apply', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '分销消息通知', '0', '0'),
(57, '提现申请完成审核通知', 'commission_check', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '分销消息通知', '0', '0'),
(58, '佣金打款通知', 'commission_pay', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '分销消息通知', '0', '0'),
(59, '分销商等级升级通知', 'commission_upgrade', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '分销消息通知', '0', '0'),
(60, '成为股东通知', 'globonus_become', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '股东消息通知', '0', '0'),
(61, '股东等级升级通知', 'globonus_upgrade', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '股东消息通知', '0', '0'),
(62, '分红发放通知', 'globonus_pay', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '股东消息通知', '0', '0'),
(63, '奖励发放通知', 'article', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '文章营销消息通知', '0', '0'),
(64, '成为区域代理通知', 'abonus_become', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '区域代理消息通知', '0', '0'),
(65, '省级代理等级升级通知', 'abonus_upgrade1', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '区域代理消息通知', '0', '0'),
(66, '市级代理等级升级通知', 'abonus_upgrade2', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '区域代理消息通知', '0', '0'),
(67, '区级代理等级升级通知', 'abonus_upgrade3', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '区域代理消息通知', '0', '0'),
(68, '区域代理分红发放通知', 'abonus_pay', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '区域代理消息通知', '0', '0'),
(69, '入驻申请通知', 'merch_apply', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '商家通知', '0', '0'),
(70, '提现申请提交通知', 'merch_applymoney', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '商家通知', '0', '0'),
(71, '社区会员评论通知', 'reply', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '人人社区消息通知', '0', '0'),
(51, '社区会员升级通知', 'sns', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', '人人社区消息通知', '0', '0'),
(77, '分销提现申请提醒', 'commission_applymoney', 'OPENTM207574677', null, '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'commission', '分销消息通知', '0'),
(72, '修改地址卖家通知', 'cycelbuy_seller_address', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'cycelbuy', '周期购消息通知', '0'),
(73, '修改收货时间卖家通知', 'cycelbuy_seller_date', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'cycelbuy', '周期购消息通知', '0'),
(74, '周期购定时发货通知', 'cycelbuy_terminal', 'OPENTM400232285', '', '任务完成通知', '{{first.DATA}}任务名称:{{keyword1.DATA}}任务类型:{{keyword2.DATA}}完成时间:{{keyword3.DATA}}{{remark.DATA}}', 'cycelbuy', '周期购消息通知', '0'),
(75, '修改收货时间买家通知', 'cycelbuy_buyer_date', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'cycelbuy', '周期购消息通知', '0'),
(76, '修改地址买家通知', 'cycelbuy_buyer_address', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'cycelbuy', '周期购消息通知', '0'),
(80, '成为团长通知', 'dividend_become', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'dividend', '团队分红通知', '0'),
(81, '成为团长通知(卖家)', 'dividend_become_saler', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'dividend', '团队分红通知', '0'),
(82, '团员成为团长通知', 'dividend_downline_become', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'dividend', '团队分红通知', '0'),
(83, '团长提现通知', 'dividend_apply', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'dividend', '团队分红通知', '0'),
(84, '提现审核完成通知', 'dividend_check', 'OPENTM207574677', '', '业务处理通知', '{{first.DATA}}业务类型:{{keyword1.DATA}}业务状态:{{keyword2.DATA}}业务内容:{{keyword3.DATA}}{{remark.DATA}}', 'dividend', '团队分红通知', '0');
truncate table ims_ewei_shop_diypage_template;
INSERT INTO `ims_ewei_shop_diypage_template` (`id`, `uniacid`, `type`, `name`, `data`, `preview`, `tplid`, `cate`, `deleted`, `merch`) VALUES
(1, 0, 2, '系统模板01', 'eyJwYWdlIjp7InR5cGUiOiIyIiwidGl0bGUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwMSIsIm5hbWUiOiJcdTMwMTBcdTZhMjFcdTY3N2ZcdTMwMTFcdTdjZmJcdTdlZGZcdTZhMjFcdTY3N2YwMSIsImRlc2MiOiIiLCJpY29uIjoiIiwia2V5d29yZCI6IiIsImJhY2tncm91bmQiOiIjZmFmYWZhIiwiZGl5bWVudSI6Ii0xIn0sIml0ZW1zIjp7Ik0xNDY1ODAyOTg0ODg1Ijp7InN0eWxlIjp7ImRvdHN0eWxlIjoicm91bmQiLCJkb3RhbGlnbiI6ImNlbnRlciIsImJhY2tncm91bmQiOiIjZmZmZmZmIiwibGVmdHJpZ2h0IjoiNSIsImJvdH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JpY29uLXNob3AiLCJyZW1hcmsiOiIiLCJkb3RudW0iOiIifX0sImlkIjoibGlzdG1lbnUifX19', '../addons/ewei_shopv2/plugin/diypage/static/template/commission2/preview.jpg', 15, 0, 0, 0);
INSERT INTO `ims_ewei_shop_express` (`id`, `name`, `express`, `status`, `displayorder`) VALUES
(1, '顺丰', 'shunfeng', 1, 0),
(2, '申通', 'shentong', 1, 0),
(3, '韵达快运', 'yunda', 1, 0),
(4, '天天快递', 'tiantian', 1, 0),
(5, '圆通速递', 'yuantong', 1, 0),
(6, '中通速递', 'zhongtong', 1, 0),
(7, 'ems快递', 'ems', 1, 0),
(8, '汇通快运', 'huitongkuaidi', 1, 0),
(9, '全峰快递', 'quanfengkuaidi', 1, 0),
(10, '宅急送', 'zhaijisong', 1, 0),
(11, 'aae全球专递', 'aae', 1, 0),
(12, '安捷快递', 'anjie', 1, 0),
(13, '安信达快递', 'anxindakuaixi', 1, 0),
(14, '彪记快递', 'biaojikuaidi', 1, 0),
(15, 'bht', 'bht', 1, 0),
(16, '百福东方国际物流', 'baifudongfang', 1, 0),
(17, '中国东方(COE)', 'coe', 1, 0),
(18, '长宇物流', 'changyuwuliu', 1, 0),
(19, '大田物流', 'datianwuliu', 1, 0),
(20, '德邦物流', 'debangwuliu', 1, 0),
(21, 'dhl', 'dhl', 1, 0),
(22, 'dpex', 'dpex', 1, 0),
(23, 'd速快递', 'dsukuaidi', 1, 0),
(24, '递四方', 'disifang', 1, 0),
(25, 'fedex(国外)', 'fedex', 1, 0),
(26, '飞康达物流', 'feikangda', 1, 0),
(27, '凤凰快递', 'fenghuangkuaidi', 1, 0),
(28, '飞快达', 'feikuaida', 1, 0),
(29, '国通快递', 'guotongkuaidi', 1, 0),
(30, '港中能达物流', 'ganzhongnengda', 1, 0),
(31, '广东邮政物流', 'guangdongyouzhengwuliu', 1, 0),
(32, '共速达', 'gongsuda', 1, 0),
(33, '恒路物流', 'hengluwuliu', 1, 0),
(34, '华夏龙物流', 'huaxialongwuliu', 1, 0),
(35, '海红', 'haihongwangsong', 1, 0),
(36, '海外环球', 'haiwaihuanqiu', 1, 0),
(37, '佳怡物流', 'jiayiwuliu', 1, 0),
(38, '京广速递', 'jinguangsudikuaijian', 1, 0),
(39, '急先达', 'jixianda', 1, 0),
(40, '佳吉物流', 'jjwl', 1, 0),
(41, '加运美物流', 'jymwl', 1, 0),
(42, '金大物流', 'jindawuliu', 1, 0),
(43, '嘉里大通', 'jialidatong', 1, 0),
(44, '晋越快递', 'jykd', 1, 0),
(45, '快捷速递', 'kuaijiesudi', 1, 0),
(46, '联邦快递(国内)', 'lianb', 1, 0),
(47, '联昊通物流', 'lianhaowuliu', 1, 0),
(48, '龙邦物流', 'longbanwuliu', 1, 0),
(49, '立即送', 'lijisong', 1, 0),
(50, '乐捷递', 'lejiedi', 1, 0),
(51, '民航快递', 'minghangkuaidi', 1, 0),
(52, '美国快递', 'meiguokuaidi', 1, 0),
(53, '门对门', 'menduimen', 1, 0),
(54, 'OCS', 'ocs', 1, 0),
(55, '配思货运', 'peisihuoyunkuaidi', 1, 0),
(56, '全晨快递', 'quanchenkuaidi', 1, 0),
(57, '全际通物流', 'quanjitong', 1, 0),
(58, '全日通快递', 'quanritongkuaidi', 1, 0),
(59, '全一快递', 'quanyikuaidi', 1, 0),
(60, '如风达', 'rufengda', 1, 0),
(61, '三态速递', 'santaisudi', 1, 0),
(62, '盛辉物流', 'shenghuiwuliu', 1, 0),
(63, '速尔物流', 'sue', 1, 0),
(64, '盛丰物流', 'shengfeng', 1, 0),
(65, '赛澳递', 'saiaodi', 1, 0),
(66, '天地华宇', 'tiandihuayu', 1, 0),
(67, 'tnt', 'tnt', 1, 0),
(68, 'ups', 'ups', 1, 0),
(69, '万家物流', 'wanjiawuliu', 1, 0),
(70, '文捷航空速递', 'wenjiesudi', 1, 0),
(71, '伍圆', 'wuyuan', 1, 0),
(72, '万象物流', 'wxwl', 1, 0),
(73, '新邦物流', 'xinbangwuliu', 1, 0),
(74, '信丰物流', 'xinfengwuliu', 1, 0),
(75, '亚风速递', 'yafengsudi', 1, 0),
(76, '一邦速递', 'yibangwuliu', 1, 0),
(77, '优速物流', 'youshuwuliu', 1, 0),
(78, '邮政包裹挂号信', 'youzhengguonei', 1, 0),
(79, '邮政国际包裹挂号信', 'youzhengguoji', 1, 0),
(80, '远成物流', 'yuanchengwuliu', 1, 0),
(81, '源伟丰快递', 'yuanweifeng', 1, 0),
(82, '元智捷诚快递', 'yuanzhijiecheng', 1, 0),
(83, '运通快递', 'yuntongkuaidi', 1, 0),
(84, '越丰物流', 'yuefengwuliu', 1, 0),
(85, '源安达', 'yad', 1, 0),
(86, '银捷速递', 'yinjiesudi', 1, 0),
(87, '中铁快运', 'zhongtiekuaiyun', 1, 0),
(88, '中邮物流', 'zhongyouwuliu', 1, 0),
(89, '忠信达', 'zhongxinda', 1, 0),
(90, '芝麻开门', 'zhimakaimen', 1, 0),
(91, '安能物流', 'annengwuliu', 1, 0);
INSERT INTO `ims_ewei_shop_plugin` (`id`, `displayorder`, `identity`, `name`, `version`, `author`, `status`, `category`, `thumb`, `desc`, `iscom`, `deprecated`, `isv2`) VALUES
(1, 1, 'qiniu', '七牛存储', '1.0', '官方', 1, 'tool', '../addons/ewei_shopv2/static/images/qiniu.jpg', NULL, 1, 0, 0),
(2, 2, 'taobao', '商品助手', '1.0', '官方', 1, 'tool', '../addons/ewei_shopv2/static/images/taobao.jpg', '', 0, 0, 0),
(3, 3, 'commission', '人人分销', '1.0', '官方', 1, 'biz', '../addons/ewei_shopv2/static/images/commission.jpg', '', 0, 0, 0),
(4, 4, 'poster', '超级海报', '1.2', '官方', 1, 'sale', '../addons/ewei_shopv2/static/images/poster.jpg', '', 0, 0, 0),
(5, 5, 'verify', 'O2O核销', '1.0', '官方', 1, 'biz', '../addons/ewei_shopv2/static/images/verify.jpg', NULL, 1, 0, 0),
(6, 6, 'tmessage', '会员群发', '1.0', '官方', 1, 'tool', '../addons/ewei_shopv2/static/images/tmessage.jpg', NULL, 1, 0, 0),
(7, 7, 'perm', '分权系统', '1.0', '官方', 1, 'help', '../addons/ewei_shopv2/static/images/perm.jpg', NULL, 1, 0, 0),
(8, 8, 'sale', '营销宝', '1.0', '官方', 1, 'sale', '../addons/ewei_shopv2/static/images/sale.jpg', NULL, 1, 0, 0),
(9, 9, 'designer', '店铺装修V1', '1.0', '官方', 1, 'help', '../addons/ewei_shopv2/static/images/designer.jpg', NULL, 0, 1, 0),
(10, 10, 'creditshop', '积分商城', '1.0', '官方', 1, 'biz', '../addons/ewei_shopv2/static/images/creditshop.jpg', '', 0, 0, 0),
(11, 11, 'virtual', '虚拟物品', '1.0', '官方', 1, 'biz', '../addons/ewei_shopv2/static/images/virtual.jpg', NULL, 1, 0, 0),
(12, 11, 'article', '文章营销', '1.0', '官方', 1, 'help', '../addons/ewei_shopv2/static/images/article.jpg', '', 0, 0, 0),
(13, 13, 'coupon', '超级券', '1.0', '官方', 1, 'sale', '../addons/ewei_shopv2/static/images/coupon.jpg', NULL, 1, 0, 0),
(14, 14, 'postera', '活动海报', '1.0', '官方', 1, 'sale', '../addons/ewei_shopv2/static/images/postera.jpg', '', 0, 0, 0),
(15, 16, 'system', '系统工具', '1.0', '官方', 0, 'help', '../addons/ewei_shopv2/static/images/system.jpg', NULL, 0, 1, 0),
(16, 15, 'diyform', '自定表单', '1.0', '官方', 1, 'help', '../addons/ewei_shopv2/static/images/diyform.jpg', '', 0, 0, 0),
(17, 16, 'exhelper', '快递助手', '1.0', '官方', 1, 'help', '../addons/ewei_shopv2/static/images/exhelper.jpg', '', 0, 0, 0),
(18, 19, 'groups', '人人拼团', '1.0', '官方', 1, 'biz', '../addons/ewei_shopv2/static/images/groups.jpg', '', 0, 0, 0),
(19, 20, 'diypage', '店铺装修', '2.0', '官方', 1, 'help', '../addons/ewei_shopv2/static/images/designer.jpg', '', 0, 0, 0),
(20, 22, 'globonus', '全民股东', '1.0', '官方', 1, 'biz', '../addons/ewei_shopv2/static/images/globonus.jpg', '', 0, 0, 0),
(21, 23, 'merch', '多商户', '1.0', '官方', 1, 'biz', '../addons/ewei_shopv2/static/images/merch.jpg', '', 0, 0, 1),
(22, 26, 'qa', '帮助中心', '1.0', '官方', 1, 'help', '../addons/ewei_shopv2/static/images/qa.jpg', '', 0, 0, 1),
(24, 27, 'sms', '短信提醒', '1.0', '官方', 1, 'tool', '../addons/ewei_shopv2/static/images/sms.jpg', '', 1, 0, 1),
(25, 29, 'sign', '积分签到', '1.0', '官方', 1, 'tool', '../addons/ewei_shopv2/static/images/sign.jpg', '', 0, 0, 1),
(26, 30, 'sns', '全民社区', '1.0', '官方', 1, 'sale', '../addons/ewei_shopv2/static/images/sns.jpg', '', 0, 0, 1),
(27, 33, 'wap', '全网通', '1.0', '官方', 1, 'tool', '', '', 1, 0, 1),
(28, 34, 'h5app', 'H5APP', '1.0', '官方', 1, 'tool', '', '', 1, 0, 1),
(29, 26, 'abonus', '区域代理', '1.0', '官方', 1, 'biz', '../addons/ewei_shopv2/static/images/abonus.jpg', '', 0, 0, 1),
(30, 33, 'printer', '小票打印机', '1.0', '官方', 1, 'tool', '', '', 1, 0, 1),
(31, 34, 'bargain', '砍价活动', '1.0', '官方', 1, 'tool', '../addons/ewei_shopv2/static/images/bargain.jpg', '', 0, 0, 1),
(32, 35, 'task', '任务中心', '1.0', '官方', 1, 'sale', '../addons/ewei_shopv2/static/images/task.jpg', '', 0, 0, 1),
(33, 36, 'cashier', '收银台', '1.0', '官方', 1, 'biz', '../addons/ewei_shopv2/static/images/cashier.jpg', '', 0, 0, 1),
(34, 37, 'messages', '消息群发', '1.0', '官方', 1, 'tool', '../addons/ewei_shopv2/static/images/messages.jpg', '', 0, 0, 1),
(35, 38, 'seckill', '整点秒杀', '1.0', '官方', 1, 'sale', '../addons/ewei_shopv2/static/images/seckill.jpg', '', 0, 0, 1),
(36, 39, 'exchange', '兑换中心', '1.0', '官方', 1, 'biz', '../addons/ewei_shopv2/static/images/exchange.jpg', '', 0, 0, 1),
(37, 40, 'lottery', '游戏营销', '1.0', '官方', 1, 'biz', '../addons/ewei_shopv2/static/images/lottery.jpg', '', 0, 0, 1),
(38, 41, 'wxcard', '微信卡券', '1.0', '官方', 1, 'sale', '', '', 1, 0, 1),
(39, 42, 'quick', '快速购买', '1.0', '官方', 1, 'biz', '../addons/ewei_shopv2/static/images/quick.jpg', '', 0, 0, 1),
(40, 43, 'mmanage', '手机端商家管理中心', '1.0', '官方', 1, 'tool', '../addons/ewei_shopv2/static/images/mmanage.jpg', '', 0, 0, 1),
(41, 44, 'pc', 'PC端', '1.0', '二开', 1, 'tool', '../addons/ewei_shopv2/static/images/pc.jpg', '', 0, 0, 0),
(42, 45, 'live', '互动直播', '1.0', '官方', 1, 'sale', '../addons/ewei_shopv2/static/images/live.jpg', '', 0, 0, 1),
(43, 46, 'invitation', '邀请卡', '1.0', '官方', 1, 'sale', '../addons/ewei_shopv2/static/images/invitation.png', '', 0, 0, 1),
(55, 55, 'app', '小程序', '1.0', '官方', 1,'biz', '../addons/ewei_shopv2/static/images/app.jpg', '', 0, 0, 1),
(60, 60, 'cycelbuy', '周期购', '1.0', '官方', 1, 'biz', '../addons/ewei_shopv2/static/images/cycelbuy.jpg', '', 0, 0, 1),
(70, 70, 'dividend', '团队分红', '1.0', '官方', 1,'biz', '../addons/ewei_shopv2/static/images/dividend.jpg', '', 0, 0, 1),
(80, 80, 'merchmanage', '多商户手机管理端', '1.0', '官方', 1, 'tool', '../addons/ewei_shopv2/static/images/merchmanage.jpg', '', 0, 0, 1),
(90, 90, 'membercard', '付费会员卡', '1.0', '官方', 1, 'sale', '../addons/ewei_shopv2/static/images/membercard.png', '', 0, 0, 1);
INSERT INTO `ims_ewei_shop_task_extension` (`id`, `taskname`, `taskclass`, `status`, `classify`, `classify_name`, `verb`, `unit`) VALUES
(1, '推荐人数', 'commission_member', 1, 'number', 'number', '推荐', '人'),
(2, '分销佣金', 'commission_money', 1, 'number', 'number', '达到', '元'),
(3, '分销订单', 'commission_order', 1, 'number', 'number', '达到', '笔'),
(4, '订单满额', 'cost_enough', 1, 'number', 'number', '满', '元'),
(5, '累计金额', 'cost_total', 1, 'number', 'number', '累计', '元'),
(6, '订单数量', 'cost_count', 1, 'number', 'number', '达到', '单'),
(7, '指定商品', 'cost_goods', 1, 'select', 'select', '购买指定商品', '件'),
(8, '商品评价', 'cost_comment', 1, 'number', 'number', '评价订单', '次'),
(9, '累计充值', 'cost_rechargetotal', 1, 'number', 'number', '达到', '元'),
(10, '充值满额', 'cost_rechargeenough', 1, 'number', 'number', '满', '元'),
(11, '完善信息', 'member_info', 1, 'boole', 'boole', '填写手机号', '');
truncate table ims_ewei_shop_task_type;
INSERT INTO `ims_ewei_shop_task_type` (`id`, `type_key`, `type_name`, `description`, `verb`,`numeric`,`unit`,`goods`,`theme`,`once`) VALUES
(1, 'poster', '任务海报', '把生成的海报并分享给朋友,朋友扫描并关注公众号即可获得奖励。', '转发海报并吸引', '1', '人关注', '0', 'primary', '0'),
(2, 'info_phone', '绑定手机', '在个人中心中,绑定手机号,即可完成任务获得奖励。', '绑定手机', '0', '', '0', 'warning', '0'),
(3, 'order_first', '首次购物', '在商城中首次下单,即可获得奖励,必须确认收货。', '首次在商城中下单购物', '0', '', '0', 'warning', '0'),
(4, 'recharge_full', '单笔充值满额', '在商城中充值余额,单笔充值满额,即可获得奖励。', '单笔充值满', '1', '元', '0', 'success', '1'),
(5, 'order_full', '单笔满额', '在商城中下单,单笔满额即可获得奖励,必须确认收货。', '单笔订单满', '1', '元', '0', 'success', '1'),
(6, 'order_all', '累计消费', '在商城中购物消费,累计满额即可获得奖励,无需确认收货。', '购物总消费额达到', '1', '元', '0', 'success', '0'),
(7, 'pyramid_money', '分销佣金', '只有分销商可接此任务。累计分销佣金满额,即可完成任务。', '分销商获得佣金金额达', '1', '元', '0', 'primary', '0'),
(8, 'pyramid_num', '下级人数', '只有分销商可接此任务。累计下级人数达标,即可完成任务。', '分销商推荐下级人数达', '1', '人', '0', 'primary', '0'),
(9, 'comment', '商品好评', '任意给一个商品五星好评,即可完成任务获得奖励。', '给商品好评', '0', '', '0', 'warning', '0'),
(10, 'post', '社区发帖', '在社区中发表指定篇帖子,即可完成任务获得奖励。', '在论坛中发表', '1', '篇帖子', '0', 'warning', '0'),
(11, 'goods', '购买指定商品', '购买指定商品后即可完成任务,必须确认收货。', '购买指定商品', '0', '', '1', 'info', '0'),
(12, 'recharge_count', '累计充值满额', '在商城中充值余额,累计充值满额,即可获得奖励。', '累计充值满', '1', '元', '0', 'success', '0');
");
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Tony_75/ewei_shopv2.git
[email protected]:Tony_75/ewei_shopv2.git
Tony_75
ewei_shopv2
ewei_shopv2
master

搜索帮助