|
|
@@ -6,6 +6,7 @@ import com.uas.platform.b2c.trade.support.ResultMap;
|
|
|
import com.uas.platform.core.model.PageParams;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.data.domain.Page;
|
|
|
+import org.springframework.web.bind.annotation.PathVariable;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
@@ -66,8 +67,8 @@ public class ProductAttachSubmitController {
|
|
|
* @param reason 原因
|
|
|
* @return
|
|
|
*/
|
|
|
- @RequestMapping(value = "/auditFailed", method = RequestMethod.POST, produces = "application/json")
|
|
|
- public ResultMap auditFailed(Long submitId, String reason) {
|
|
|
+ @RequestMapping(value = "/auditFailed/{id}", method = RequestMethod.POST, produces = "application/json")
|
|
|
+ public ResultMap auditFailed(@PathVariable("id") Long submitId, @RequestBody String reason) {
|
|
|
return productAttachService.auditFailed(submitId, reason);
|
|
|
}
|
|
|
|