|
|
@@ -343,6 +343,16 @@ func (a Api) ShopVenueEquipQuery(ctx context.Context, r *pb.StandardRequest) (*p
|
|
|
return rst, nil
|
|
|
}
|
|
|
|
|
|
+// ShopVenueEquipAdd 商家设备添加
|
|
|
+func (a Api) ShopVenueEquipAdd(ctx context.Context, r *pb.StandardRequest) (*pb.StandardReply, error) {
|
|
|
+ // 获取token,并验证签名函数
|
|
|
+ token, q, sign := a.webToGoVerify(ctx, r)
|
|
|
+
|
|
|
+ rs := service.Shop{}.ShopVenueEquipAdd(token, q.ShopID, q.JsonStr, sign)
|
|
|
+ rst := a.toWebFunc(rs)
|
|
|
+ return rst, nil
|
|
|
+}
|
|
|
+
|
|
|
// ShopVenueEquipEdit 商家设备编辑
|
|
|
func (a Api) ShopVenueEquipEdit(ctx context.Context, r *pb.StandardRequest) (*pb.StandardReply, error) {
|
|
|
// 获取token,并验证签名函数
|
|
|
@@ -1110,7 +1120,9 @@ func (a Api) ClassStartConfirm(ctx context.Context, r *pb.CourseStandardRequest)
|
|
|
if q.IsScore == 1 {
|
|
|
// todo 调用评分系统接口
|
|
|
}
|
|
|
+ // todo 所有步骤执行成功后,调用课程Sn查询接口,生成R1验证Redis
|
|
|
|
|
|
+ // todo 使用StdId查询课程绑定显示端EqSn列表,内容为EqSnList,DuIdList
|
|
|
rst := a.toWebFunc(rs)
|
|
|
return rst, nil
|
|
|
}
|