EasyShop/liuyu.txt
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
在Car 转order 时注意:
1.order表
2.ordermore表
产品母版页:
1.如果未传入ID值,以综合页面显示
2.如果传入ID值,以Product.master页面显示
针对TB_MC_Product 哪个是评价的字段
比如最新的几个:以是ID去排序呢,还是别的
create Table TB_MC_MyCar --购物车
(
uid VARCHAR(100) NOT NULL PRIMARY KEY,
UserID int not null ,--用户名
ProductId int not null,--产品ID
Num int not null,--数量
Price decimal(18,4) not null,--单价
AddDate datetime not null default(getdate()),--增加日期
Status int not null default(0) --如果是-1 删除
,tp int default(0)
)
go
ALTER TABLE TB_MC_MyCar ADD CONSTRAINT TB_MC_MyCar_Fk foreign KEY (ProductId) REFERENCES [dbo].[TB_MC_Product](id)
GO
CREATE INDEX I_MyCar_UP on TB_MC_MyCar
(
[UserID] ASC,
[ProductId] ASC
)
create table TB_MY_Interest
(
WarterId varchar(50) not null primary key,
UserId int not null,
ProductId int not null,
Type int not null default(1),--1 浏览,2为关注
AccDate datetime not null default(getdate())
)
go
alter table TB_MY_Interest add constraint Tb_My_Interest_Fk0 foreign KEY (UserId) REFERENCES [dbo].[TB_MC_User](id)
go
alter table TB_MY_Interest add constraint Tb_My_Interest_Fk1 foreign KEY (ProductId) REFERENCES [dbo].[TB_MC_Product](id)
go
create index TB_MY_Interest_I0 on TB_MY_Interest(UserId asc,[Type] asc)
index.aspx.ch
Get_Team_FirstPro 的方法,要注意在获取,团购的图片的时候,应该注意,图片的大小,所以应该放个小图
index.aspx 显示分类子类存在问题
ALTER TABLE TB_MC_Order ADD SessionState VARCHAR(20) NULL --记录当前订单 进度,如三个页面,到哪一步
后面还有 109 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。