|
|
@@ -8,6 +8,7 @@ import java.util.List;
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
+import com.goafanti.common.constant.AFTConstants;
|
|
|
import com.goafanti.common.enums.AttachmentType;
|
|
|
import com.goafanti.common.model.*;
|
|
|
import com.goafanti.common.utils.DateUtils;
|
|
|
@@ -793,4 +794,17 @@ public class AdminNewOrderApiController extends CertifyApiController {
|
|
|
return res.data(orderAssistService.orderServiceList(orderNo));
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @RequestMapping(value = "/updateOrderUrl",method = RequestMethod.POST)
|
|
|
+ public Result updateOrderUrl(String orderNo,String contractPictureUrl,String agreementUrl,String serviceContent){
|
|
|
+ Result res = new Result();
|
|
|
+ if (!TokenManager.hasRole(AFTConstants.SUPERADMIN)){
|
|
|
+ res.getError().add(buildError("只有超级管理员能直接修改"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+ return res.data(orderNewService.updateOrderUrl(orderNo,contractPictureUrl,agreementUrl,serviceContent));
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|