Ver Fonte

前端gjy

gjy há 3 anos atrás
pai
commit
40b8f4ab9c

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
components/uview-ui/libs/util/city.js


+ 0 - 1
pageD/identity/companyIdentityThree.vue

@@ -133,7 +133,6 @@
 		},
 		methods: {
 			obtain() {
-				console.log(1111)
 				if (this.sendText == "获取验证码"){
 					this.getcode()
 				}

+ 3 - 3
pages/public/code.vue

@@ -171,9 +171,9 @@
 					})
 					this.$api.doRequest('get','/commonUser/loginVerifyCode',{phone:this.phone,verifyCode:this.inputList}).then(res => {
 					    if(res.data.code==200){
-							this.$api.doRequest('post','/auth/api/loginEnhanced',{companyName: "易粮易运",
-							password: "y123456",
-							username: "13333333333"}).then(res1 => {
+							this.$api.doRequest('post','/auth/api/loginEnhanced',{companyName: "佳屹农",
+password: "y123456",
+username: "jyn"}).then(res1 => {
 								uni.setStorageSync('pcUserInfo', res1.data.data)
 							})
 							uni.setStorageSync('userInfo', res.data.data)

+ 9 - 3
pages/public/login_account_number.vue

@@ -20,7 +20,7 @@
 				<view style='flex:1;text-align:center;border-right:1px solid #E8E9ED;'>忘记密码</view>
 				<view @click='gocode' style='flex:1;text-align:center;'>验证码登录</view>
 			</view>
-		    <button class='register'>手机号一键注册</button>
+		    <button @click='goregister' class='register'>手机号一键注册</button>
 		</view>
 		</view>
 	</view>
@@ -99,9 +99,9 @@
 				this.$api.doRequest('get','/commonUser/login',{phone:this.phone,password:this.password}).then(res => {
 					if(res.data.code==200){
 						uni.setStorageSync('userInfo', res.data.data)
-						this.$api.doRequest('post','/auth/api/loginEnhanced',{companyName: "易粮易运",
+						this.$api.doRequest('post','/auth/api/loginEnhanced',{companyName: "佳屹农",
 password: "y123456",
-username: "13333333333"}).then(res1 => {
+username: "jyn"}).then(res1 => {
 							uni.setStorageSync('pcUserInfo', res1.data.data)
 						})
 						that.$store.commit('login', res.data.data)
@@ -141,6 +141,11 @@ username: "13333333333"}).then(res1 => {
 					url:'/pages/public/reset'
 				})
 			},
+			goregister(){
+				uni.navigateTo({
+					url:'/pages/public/register'
+				})
+			},
 			appleLogin(){
 			    var that=this
 			    uni.getProvider({
@@ -332,6 +337,7 @@ username: "13333333333"}).then(res1 => {
 				uni.navigateBack();
 			},
 			toRegist() {
+				console.log(11)
 				uni.redirectTo({
 					url: '/pages/public/register'
 				})

+ 3 - 3
pages/public/register.vue

@@ -222,9 +222,9 @@
 							
 							if(res.data.code==200){
 								// pc登录
-								this.$api.doRequest('post','/auth/api/loginEnhanced',{companyName: "易粮易运",
-								password: "y123456",
-								username: "13333333333"}).then(res1 => {
+								this.$api.doRequest('post','/auth/api/loginEnhanced',{companyName: "佳屹农",
+password: "y123456",
+username: "jyn"}).then(res1 => {
 									uni.setStorageSync('pcUserInfo', res1.data.data)
 								})
 								uni.setStorageSync('userInfo', res.data)

+ 3 - 3
pages/public/reset.vue

@@ -144,9 +144,9 @@
 						})
 						this.$api.doRequest('get','/commonUser/login',{phone:this.phone,password:this.password}).then(req => {
 						if(res.data.code==200){
-							this.$api.doRequest('post','/auth/api/loginEnhanced',{companyName: "易粮易运",
-							password: "y123456",
-							username: "13333333333"}).then(res1 => {
+							this.$api.doRequest('post','/auth/api/loginEnhanced',{companyName: "佳屹农",
+password: "y123456",
+username: "jyn"}).then(res1 => {
 								uni.setStorageSync('pcUserInfo', res1.data.data)
 							})
 							uni.setStorageSync('userInfo', req.data.data)

+ 2 - 2
websocket_sdk.js

@@ -262,9 +262,9 @@ export default class Websocket {
 				uni.request({
 					url: baseUrlNew + '/auth/api/loginEnhanced',
 					data: {
-						companyName: "易粮易运",
+						companyName: "佳屹农",
 						password: "y123456",
-						username: "13333333333"
+						username: "jyn"
 					},
 					method: 'POST',
 					success: (res) => {						

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff