瀏覽代碼

用户登录提示修改

anderx 7 年之前
父節點
當前提交
60321a1cca

+ 18 - 0
src/main/java/com/goafanti/app/controller/AppUserController.java

@@ -51,6 +51,7 @@ import com.goafanti.message.bo.MessageBo;
 import com.goafanti.message.bo.MessageListBo;
 import com.goafanti.message.service.MessageService;
 import com.goafanti.news.service.NewsService;
+import com.goafanti.order.service.JtOrderService;
 import com.goafanti.user.service.UserCareerService;
 import com.goafanti.user.service.UserIdentityService;
 import com.goafanti.user.service.UserInterestService;
@@ -82,6 +83,8 @@ public class AppUserController extends BaseApiController {
 	@Resource
 	AchievementInterestService achievementInterestService;
 	@Resource
+	JtOrderService	jtOrderService;
+	@Resource
 	private FieldGlossoryService fieldGlossoryService;
 	@Resource
 	private UserService	userService;
@@ -590,4 +593,19 @@ public class AppUserController extends BaseApiController {
 		VerifyCodeUtils.clearMobileCode();
 		VerifyCodeUtils.clearMobileCodeTime();
 	}
+	/*
+	 * userType-----0-购买者   1-出售者  2-管理员
+	 * 
+	 * */
+	@RequestMapping(value="/list",method = RequestMethod.GET)
+	public Result getMyJtOrderList(Integer orderType,String orderNo,String startCreateDate,String endCreateDate,String sellerName,String buyerName,String commodityName,Integer userType,Integer pageNo,Integer pageSize) {
+		Result result=new Result();
+		if(userType==null || userType>1 || userType<0) { 
+			result.getError().add(buildError(ErrorConstants.PARAM_ERROR,"","用户类型错误"));
+			return result;
+		}
+		
+		result.setData(jtOrderService.searchOrderList(orderType,orderNo, startCreateDate, endCreateDate, sellerName, buyerName, commodityName, userType, pageNo, pageSize)); 
+		return result;
+	}
 }

+ 1 - 1
src/main/webapp/WEB-INF/views/common.html

@@ -410,7 +410,7 @@
 					<form  id="form_login">
 						<div class="login_uesr">
 							<label for="uesname"><img th:src="${portalHost+'/img/login_use.png'}"/></label>
-							<input type="text" name="uesname" id="Lo_user" placeholder="用户名/邮箱/手机" />
+							<input type="text" name="uesname" id="Lo_user" placeholder="用户名" />
 							<img th:src="${portalHost+'/img/login_del.png'}" class="log_del"/>
 						</div>
 						<div class="login_pass">

文件差異過大導致無法顯示
+ 1 - 1
src/main/webapp/WEB-INF/views/portal/companyProfile.html