mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	trade:完善砍价的下单流程
This commit is contained in:
		| @@ -21,4 +21,14 @@ public interface BargainRecordApi { | ||||
|      */ | ||||
|     BargainValidateJoinRespDTO validateJoinBargain(Long userId, Long bargainRecordId, Long skuId); | ||||
|  | ||||
|     /** | ||||
|      * 更新砍价记录的订单编号 | ||||
|      * | ||||
|      * 在砍价成功后,用户发起订单后,会记录该订单编号 | ||||
|      * | ||||
|      * @param id     砍价记录编号 | ||||
|      * @param orderId 订单编号 | ||||
|      */ | ||||
|     void updateBargainRecordOrderId(Long id, Long orderId); | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -99,6 +99,7 @@ public interface ErrorCodeConstants { | ||||
|     ErrorCode BARGAIN_RECORD_CREATE_FAIL_EXISTS = new ErrorCode(1_013_013_001, "参与失败,您已经参与当前砍价活动"); | ||||
|     ErrorCode BARGAIN_RECORD_CREATE_FAIL_LIMIT = new ErrorCode(1_013_013_002, "参与失败,您已达到当前砍价活动的参与上限"); | ||||
|     ErrorCode BARGAIN_JOIN_RECORD_NOT_SUCCESS = new ErrorCode(1_013_013_004, "下单失败,砍价未成功"); | ||||
|     ErrorCode BARGAIN_JOIN_RECORD_ALREADY_ORDER = new ErrorCode(1_013_013_005, "下单失败,该砍价已经下单"); | ||||
|  | ||||
|     // ========== 砍价助力 1-013-014-000 ========== | ||||
|     ErrorCode BARGAIN_HELP_CREATE_FAIL_RECORD_NOT_IN_PROCESS = new ErrorCode(1_013_014_000, "助力失败,砍价记录不处于进行中"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV