syntax = "proto3";
option go_package = ".;pb";
import "pay/pay_db.proto";
import "comm.proto";
import "errorcode.proto";

//充值记录
message PayRecordReq {

}
//充值记录
message PayRecordResp{
  DBUserPay info = 1;
}


//用户重置信息获取
message PayInfoReq {}
message PayInfoResp { DBPayDaily info = 1; }

//购买每日礼包
message PayDailyBuyReq { int32 id = 1; }
message PayDailyBuyResp { bool isucc = 1; repeated UserAssets items = 2;}


//充值完成推送
message PayShippedPush {
  string pid = 1;
  string orderid = 2;
  repeated UserAssets items = 3;
  DBUserPay info = 4; 
}

///支付系统发货请求
message PayDeliveryReq {
  string uid = 1;
  string orderid = 2;
  string productid = 3;
  int32 price = 4;
  int32 amount = 5;
}
///支付系统发货请求 回应
message PayDeliveryResp {
  ErrorCode code = 1;   //@go_tags(`json:"s""`) 头像
  string msg = 2;
  string data = 3;
}
